@@ -191,7 +191,6 @@ class CConfig {
191191 nMarker_FarField, /* !< \brief Number of far-field markers. */
192192 nMarker_Custom,
193193 nMarker_SymWall, /* !< \brief Number of symmetry wall markers. */
194- nMarker_Pressure, /* !< \brief Number of pressure wall markers. */
195194 nMarker_PerBound, /* !< \brief Number of periodic boundary markers. */
196195 nMarker_MixingPlaneInterface, /* !< \brief Number of mixing plane interface boundary markers. */
197196 nMarker_Turbomachinery, /* !< \brief Number turbomachinery markers. */
@@ -234,7 +233,6 @@ class CConfig {
234233 *Marker_FarField, /* !< \brief Far field markers. */
235234 *Marker_Custom,
236235 *Marker_SymWall, /* !< \brief Symmetry wall markers. */
237- *Marker_Pressure, /* !< \brief Pressure boundary markers. */
238236 *Marker_PerBound, /* !< \brief Periodic boundary markers. */
239237 *Marker_PerDonor, /* !< \brief Rotationally periodic boundary donor markers. */
240238 *Marker_MixingPlaneInterface, /* !< \brief MixingPlane interface boundary markers. */
@@ -808,6 +806,9 @@ class CConfig {
808806 su2double AitkenStatRelax; /* !< \brief Aitken's relaxation factor (if set as static) */
809807 su2double AitkenDynMaxInit; /* !< \brief Aitken's maximum dynamic relaxation factor for the first iteration */
810808 su2double AitkenDynMinInit; /* !< \brief Aitken's minimum dynamic relaxation factor for the first iteration */
809+ bool RampAndRelease; /* !< \brief option for ramp load and release */
810+ bool Sine_Load; /* !< \brief option for sine load */
811+ su2double *SineLoad_Coeff; /* !< \brief Stores the load coefficient */
811812 su2double Wave_Speed; /* !< \brief Wave speed used in the wave solver. */
812813 su2double Thermal_Diffusivity; /* !< \brief Thermal diffusivity used in the heat solver. */
813814 su2double Cyclic_Pitch, /* !< \brief Cyclic pitch for rotorcraft simulations. */
@@ -892,8 +893,8 @@ class CConfig {
892893 bool PseudoStatic; /* !< Application of dead loads to the FE analysis */
893894 bool MatchingMesh; /* !< Matching mesh (while implementing interpolation procedures). */
894895 bool SteadyRestart; /* !< Restart from a steady state for FSI problems. */
895- su2double Newmark_alpha , /* !< \brief Parameter alpha for Newmark method. */
896- Newmark_delta ; /* !< \brief Parameter delta for Newmark method. */
896+ su2double Newmark_beta , /* !< \brief Parameter alpha for Newmark method. */
897+ Newmark_gamma ; /* !< \brief Parameter delta for Newmark method. */
897898 unsigned short nIntCoeffs; /* !< \brief Number of integration coeffs for structural calculations. */
898899 su2double *Int_Coeffs; /* !< \brief Time integration coefficients for structural method. */
899900 unsigned short nElasticityMod, /* !< \brief Number of different values for the elasticity modulus. */
@@ -914,7 +915,6 @@ class CConfig {
914915 unsigned long IncLoad_Nincrements; /* !< \brief Number of increments. */
915916 su2double *IncLoad_Criteria;/* !< \brief Criteria for the application of incremental loading. */
916917 su2double Ramp_Time; /* !< \brief Time until the maximum load is applied. */
917- su2double Static_Time; /* !< \brief Time while the structure is not loaded in FSI applications. */
918918 unsigned short Pred_Order; /* !< \brief Order of the predictor for FSI applications. */
919919 unsigned short Kind_Interpolation; /* !\brief type of interpolation to use for FSI applications. */
920920 bool Prestretch; /* !< Read a reference geometry for optimization purposes. */
@@ -953,7 +953,8 @@ class CConfig {
953953 *default_htp_axis, /* !< \brief Default HTP axis for the COption class. */
954954 *default_ffd_axis, /* !< \brief Default FFD axis for the COption class. */
955955 *default_inc_crit, /* !< \brief Default incremental criteria array for the COption class. */
956- *default_extrarelfac; /* !< \brief Default extra relaxation factor for Giles BC in the COption class. */
956+ *default_extrarelfac, /* !< \brief Default extra relaxation factor for Giles BC in the COption class. */
957+ *default_sineload_coeff; /* !< \brief Default values for a sine load. */
957958 unsigned short nSpanWiseSections; /* !< \brief number of span-wise sections */
958959 unsigned short nSpanMaxAllZones; /* !< \brief number of maximum span-wise sections for all zones */
959960 unsigned short *nSpan_iZones; /* !< \brief number of span-wise sections for each zones */
@@ -974,6 +975,7 @@ class CConfig {
974975 bool Body_Force; /* !< \brief Flag to know if a body force is included in the formulation. */
975976 su2double *Body_Force_Vector; /* !< \brief Values of the prescribed body force vector. */
976977 su2double *FreeStreamTurboNormal; /* !< \brief Direction to initialize the flow in turbomachinery computation */
978+ ofstream *ConvHistFile; /* !< \brief Store the pointer to each history file */
977979
978980 /* --- all_options is a map containing all of the options. This is used during config file parsing
979981 to track the options which have not been set (so the default values can be used). Without this map
@@ -7792,13 +7794,13 @@ class CConfig {
77927794 * \brief Get Newmark alpha parameter.
77937795 * \return Value of the Newmark alpha parameter.
77947796 */
7795- su2double GetNewmark_alpha (void );
7797+ su2double GetNewmark_beta (void );
77967798
77977799 /* !
77987800 * \brief Get Newmark delta parameter.
77997801 * \return Value of the Newmark delta parameter.
78007802 */
7801- su2double GetNewmark_delta (void );
7803+ su2double GetNewmark_gamma (void );
78027804
78037805 /* !
78047806 * \brief Get the number of integration coefficients provided by the user.
@@ -7877,6 +7879,24 @@ class CConfig {
78777879 */
78787880 su2double GetRamp_Time (void );
78797881
7882+ /* !
7883+ * \brief Check if the user wants to apply the load as a ramp.
7884+ * \return <code>TRUE</code> means that the load is to be applied as a ramp.
7885+ */
7886+ bool GetRampAndRelease_Load (void );
7887+
7888+ /* !
7889+ * \brief Check if the user wants to apply the load as a ramp.
7890+ * \return <code>TRUE</code> means that the load is to be applied as a ramp.
7891+ */
7892+ bool GetSine_Load (void );
7893+
7894+ /* !
7895+ * \brief Get the sine load properties.
7896+ * \param[in] val_index - Index corresponding to the load boundary.
7897+ * \return The pointer to the sine load values.
7898+ */
7899+ su2double* GetLoad_Sine (void );
78807900 /* !
78817901 * \brief Get the kind of load transfer method we want to use for dynamic problems
78827902 * \note This value is obtained from the config file, and it is constant
@@ -7897,12 +7917,6 @@ class CConfig {
78977917 */
78987918 su2double GetTotalDV_Penalty (void );
78997919
7900- /* !
7901- * \brief Get the maximum time of the ramp.
7902- * \return Value of the max time while the load is linearly increased
7903- */
7904- su2double GetStatic_Time (void );
7905-
79067920 /* !
79077921 * \brief Get the order of the predictor for FSI applications.
79087922 * \return Order of predictor
@@ -8000,6 +8014,16 @@ class CConfig {
80008014 * \return YES if the passed values is the integrated heat flux over the marker's surface.
80018015 */
80028016 bool GetIntegrated_HeatFlux (void );
8017+
8018+ /* !
8019+ * \brief Retrieve the ofstream of the history file for the current zone.
8020+ */
8021+ ofstream* GetHistFile (void );
8022+
8023+ /* !
8024+ * \brief Set the ofstream of the history file for the current zone.
8025+ */
8026+ void SetHistFile (ofstream *HistFile);
80038027};
80048028
80058029#include " config_structure.inl"
0 commit comments