Skip to content

Commit 46bd9d4

Browse files
authored
Merge pull request #1934 from su2code/update_config_template
Update config_template.cfg
2 parents 5024b19 + c3d8b9c commit 46bd9d4

7 files changed

Lines changed: 596 additions & 273 deletions

File tree

Common/include/CConfig.hpp

Lines changed: 4 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ class CConfig {
214214
nMarker_Damper, /*!< \brief Number of damper surface markers. */
215215
nMarker_Load_Dir, /*!< \brief Number of load surface markers defined by magnitude and direction. */
216216
nMarker_Disp_Dir, /*!< \brief Number of load surface markers defined by magnitude and direction. */
217-
nMarker_Load_Sine, /*!< \brief Number of load surface markers defined by magnitude and direction. */
218-
nMarker_FlowLoad, /*!< \brief Number of load surface markers. */
219217
nMarker_Internal, /*!< \brief Number of internal flow markers. */
220218
nMarker_All, /*!< \brief Total number of markers using the grid information. */
221219
nMarker_Max, /*!< \brief Max number of number of markers using the grid information. */
@@ -269,7 +267,6 @@ class CConfig {
269267
*Marker_Load_Dir, /*!< \brief Load markers defined in cartesian coordinates. */
270268
*Marker_Disp_Dir, /*!< \brief Load markers defined in cartesian coordinates. */
271269
*Marker_Load_Sine, /*!< \brief Sine-wave loaded markers defined in cartesian coordinates. */
272-
*Marker_FlowLoad, /*!< \brief Flow Load markers. */
273270
*Marker_Internal, /*!< \brief Internal flow markers. */
274271
*Marker_All_TagBound; /*!< \brief Global index for markers using grid information. */
275272

@@ -328,10 +325,6 @@ class CConfig {
328325
su2double *Disp_Dir_Multiplier; /*!< \brief Specified multiplier for load boundaries defined in cartesian coordinates. */
329326
su2double **Load_Dir; /*!< \brief Specified flow direction vector (unit vector) for inlet boundaries. */
330327
su2double **Disp_Dir; /*!< \brief Specified structural displacement direction (unit vector). */
331-
su2double *Load_Sine_Amplitude; /*!< \brief Specified amplitude for a sine-wave load. */
332-
su2double *Load_Sine_Frequency; /*!< \brief Specified multiplier for load boundaries defined in cartesian coordinates. */
333-
su2double **Load_Sine_Dir; /*!< \brief Specified flow direction vector (unit vector) for inlet boundaries. */
334-
su2double *FlowLoad_Value; /*!< \brief Specified force for flow load boundaries. */
335328
su2double *ActDiskInlet_MassFlow; /*!< \brief Specified inlet mass flow for actuator disk. */
336329
su2double *ActDiskInlet_Temperature; /*!< \brief Specified inlet temperature for actuator disk. */
337330
su2double *ActDiskInlet_TotalTemperature; /*!< \brief Specified inlet total temperature for actuator disk. */
@@ -518,8 +511,6 @@ class CConfig {
518511
Kind_Deform_Linear_Solver_Prec, /*!< \brief Preconditioner of the linear solver. */
519512
Kind_Linear_Solver, /*!< \brief Numerical solver for the implicit scheme. */
520513
Kind_Linear_Solver_Prec, /*!< \brief Preconditioner of the linear solver. */
521-
Kind_AdjTurb_Linear_Solver, /*!< \brief Numerical solver for the turbulent adjoint implicit scheme. */
522-
Kind_AdjTurb_Linear_Prec, /*!< \brief Preconditioner of the turbulent adjoint linear solver. */
523514
Kind_DiscAdj_Linear_Solver, /*!< \brief Linear solver for the discrete adjoint system. */
524515
Kind_DiscAdj_Linear_Prec, /*!< \brief Preconditioner of the discrete adjoint linear solver. */
525516
Kind_TimeNumScheme, /*!< \brief Global explicit or implicit time integration. */
@@ -632,9 +623,7 @@ class CConfig {
632623
su2double Roe_Kappa; /*!< \brief Relaxation of the Roe scheme. */
633624
su2double Relaxation_Factor_Adjoint; /*!< \brief Relaxation coefficient for variable updates of adjoint solvers. */
634625
su2double Relaxation_Factor_CHT; /*!< \brief Relaxation coefficient for the update of conjugate heat variables. */
635-
su2double AdjTurb_Linear_Error; /*!< \brief Min error of the turbulent adjoint linear solver for the implicit formulation. */
636626
su2double EntropyFix_Coeff; /*!< \brief Entropy fix coefficient. */
637-
unsigned short AdjTurb_Linear_Iter; /*!< \brief Min error of the turbulent adjoint linear solver for the implicit formulation. */
638627
unsigned short nLocationStations, /*!< \brief Number of section cuts to make when outputting mesh and cp . */
639628
nWingStations; /*!< \brief Number of section cuts to make when calculating internal volume. */
640629
su2double Kappa_1st_AdjFlow, /*!< \brief Lax 1st order dissipation coefficient for adjoint flow equations (coarse multigrid levels). */
@@ -678,7 +667,6 @@ class CConfig {
678667
su2double Total_CM; /*!< \brief Specify a Total CM instead of AoA (external flow only). */
679668
su2double Total_CD; /*!< \brief Specify a target CD instead of AoA (external flow only). */
680669
su2double dCL_dAlpha; /*!< \brief value of dCl/dAlpha. */
681-
su2double dCM_diH; /*!< \brief value of dCM/dHi. */
682670
unsigned long Iter_Fixed_CM; /*!< \brief Iterations to re-evaluate the angle of attack (external flow only). */
683671
unsigned long Iter_Fixed_NetThrust; /*!< \brief Iterations to re-evaluate the angle of attack (external flow only). */
684672
unsigned long Iter_dCL_dAlpha; /*!< \brief Number of iterations to evaluate dCL_dAlpha. */
@@ -940,8 +928,6 @@ class CConfig {
940928
bool RampAndRelease; /*!< \brief option for ramp load and release */
941929
bool Sine_Load; /*!< \brief option for sine load */
942930
su2double Thermal_Diffusivity; /*!< \brief Thermal diffusivity used in the heat solver. */
943-
su2double Cyclic_Pitch, /*!< \brief Cyclic pitch for rotorcraft simulations. */
944-
Collective_Pitch; /*!< \brief Collective pitch for rotorcraft simulations. */
945931
su2double Mach_Motion; /*!< \brief Mach number based on mesh velocity and freestream quantities. */
946932

947933
su2double Motion_Origin[3] = {0.0}, /*!< \brief Mesh motion origin. */
@@ -1123,7 +1109,6 @@ class CConfig {
11231109
distortion[2], /*!< \brief SU2_GEO section locations array for the COption class. */
11241110
ea_lim[3], /*!< \brief equivalent area limit array for the COption class. */
11251111
grid_fix[6], /*!< \brief fixed grid (non-deforming region) array for the COption class. */
1126-
htp_axis[2], /*!< \brief HTP axis for the COption class. */
11271112
ffd_axis[3], /*!< \brief FFD axis for the COption class. */
11281113
inc_crit[3], /*!< \brief incremental criteria array for the COption class. */
11291114
extrarelfac[2], /*!< \brief extra relaxation factor for Giles BC in the COption class. */
@@ -4295,18 +4280,6 @@ class CConfig {
42954280
*/
42964281
su2double GetSemiSpan(void) const { return SemiSpan; }
42974282

4298-
/*!
4299-
* \brief Get the kind of solver for the implicit solver.
4300-
* \return Numerical solver for implicit formulation (solving the linear system).
4301-
*/
4302-
unsigned short GetKind_AdjTurb_Linear_Solver(void) const { return Kind_AdjTurb_Linear_Solver; }
4303-
4304-
/*!
4305-
* \brief Get the kind of preconditioner for the implicit solver.
4306-
* \return Numerical preconditioner for implicit formulation (solving the linear system).
4307-
*/
4308-
unsigned short GetKind_AdjTurb_Linear_Prec(void) const { return Kind_AdjTurb_Linear_Prec; }
4309-
43104283
/*!
43114284
* \brief Get the kind of solver for the implicit solver.
43124285
* \return Numerical solver for implicit formulation (solving the linear system).
@@ -4325,30 +4298,12 @@ class CConfig {
43254298
*/
43264299
unsigned short GetKind_Deform_Linear_Solver_Prec(void) const { return Kind_Deform_Linear_Solver_Prec; }
43274300

4328-
/*!
4329-
* \brief Set the kind of preconditioner for the implicit solver.
4330-
* \return Numerical preconditioner for implicit formulation (solving the linear system).
4331-
*/
4332-
void SetKind_AdjTurb_Linear_Prec(unsigned short val_kind_prec) { Kind_AdjTurb_Linear_Prec = val_kind_prec; }
4333-
4334-
/*!
4335-
* \brief Get min error of the linear solver for the implicit formulation.
4336-
* \return Min error of the linear solver for the implicit formulation.
4337-
*/
4338-
su2double GetAdjTurb_Linear_Error(void) const { return AdjTurb_Linear_Error; }
4339-
43404301
/*!
43414302
* \brief Get the entropy fix.
43424303
* \return Vaule of the entropy fix.
43434304
*/
43444305
su2double GetEntropyFix_Coeff(void) const { return EntropyFix_Coeff; }
43454306

4346-
/*!
4347-
* \brief Get max number of iterations of the linear solver for the implicit formulation.
4348-
* \return Max number of iterations of the linear solver for the implicit formulation.
4349-
*/
4350-
unsigned short GetAdjTurb_Linear_Iter(void) const { return AdjTurb_Linear_Iter; }
4351-
43524307
/*!
43534308
* \brief Get CFL reduction factor for adjoint turbulence model.
43544309
* \return CFL reduction factor.
@@ -6503,8 +6458,8 @@ class CConfig {
65036458
su2double GetWeightCd(void) const { return WeightCd; }
65046459

65056460
/*!
6506-
* \brief Value of the weight of the CD, CL, CM optimization.
6507-
* \return Value of the weight of the CD, CL, CM optimization.
6461+
* \brief Value of the damping factor for the Thrust BC (actuator disk).
6462+
* \return Value of the damping factor.
65086463
*/
65096464
void SetdNetThrust_dBCThrust(su2double val_dnetthrust_dbcthrust);
65106465

@@ -6568,12 +6523,6 @@ class CConfig {
65686523
*/
65696524
void SetdCL_dAlpha(su2double val_dcl_dalpha) { dCL_dAlpha = val_dcl_dalpha; }
65706525

6571-
/*!
6572-
* \brief Value of the weight of the CD, CL, CM optimization.
6573-
* \return Value of the weight of the CD, CL, CM optimization.
6574-
*/
6575-
void SetdCM_diH(su2double val_dcm_dhi) { dCM_diH = val_dcm_dhi; }
6576-
65776526
/*!
65786527
* \brief Value of the weight of the CD, CL, CM optimization.
65796528
* \return Value of the weight of the CD, CL, CM optimization.
@@ -8362,46 +8311,6 @@ class CConfig {
83628311
*/
83638312
const su2double* GetDisp_Dir(const string& val_index) const;
83648313

8365-
/*!
8366-
* \brief Get the amplitude of the sine-wave at a load boundary defined in cartesian coordinates.
8367-
* \param[in] val_index - Index corresponding to the load boundary.
8368-
* \return The load value.
8369-
*/
8370-
su2double GetLoad_Sine_Amplitude(const string& val_index) const;
8371-
8372-
/*!
8373-
* \brief Get the frequency of the sine-wave at a load boundary in cartesian coordinates.
8374-
* \param[in] val_index - Index corresponding to the load boundary.
8375-
* \return The load frequency.
8376-
*/
8377-
su2double GetLoad_Sine_Frequency(const string& val_index) const;
8378-
8379-
/*!
8380-
* \brief Get the force direction at a sine-wave loaded boundary in cartesian coordinates.
8381-
* \param[in] val_index - Index corresponding to the load boundary.
8382-
* \return The load direction.
8383-
*/
8384-
const su2double* GetLoad_Sine_Dir(const string& val_index) const;
8385-
8386-
/*!
8387-
* \brief Get the force value at an load boundary.
8388-
* \param[in] val_index - Index corresponding to the load boundary.
8389-
* \return The load value.
8390-
*/
8391-
su2double GetFlowLoad_Value(const string& val_index) const;
8392-
8393-
/*!
8394-
* \brief Cyclic pitch amplitude for rotor blades.
8395-
* \return The specified cyclic pitch amplitude.
8396-
*/
8397-
su2double GetCyclic_Pitch(void) const { return Cyclic_Pitch; }
8398-
8399-
/*!
8400-
* \brief Collective pitch setting for rotor blades.
8401-
* \return The specified collective pitch setting.
8402-
*/
8403-
su2double GetCollective_Pitch(void) const { return Collective_Pitch; }
8404-
84058314
/*!
84068315
* \brief Get name of the arbitrary mesh motion input file.
84078316
* \return File name of the arbitrary mesh motion input file.
@@ -8704,21 +8613,15 @@ class CConfig {
87048613
*/
87058614
unsigned long GetIter_dCL_dAlpha(void) const { return Iter_dCL_dAlpha; }
87068615

8707-
/*!
8708-
* \brief Get the value of the damping coefficient for fixed CL mode.
8709-
* \return Damping coefficient for fixed CL mode.
8710-
*/
8711-
su2double GetdCM_diH(void) const { return dCM_diH; }
8712-
87138616
/*!
87148617
* \brief Get the value of iterations to re-evaluate the angle of attack.
87158618
* \return Number of iterations.
87168619
*/
87178620
unsigned long GetIter_Fixed_NetThrust(void) const { return Iter_Fixed_NetThrust; }
87188621

87198622
/*!
8720-
* \brief Get the value of the damping coefficient for fixed CL mode.
8721-
* \return Damping coefficient for fixed CL mode.
8623+
* \brief Get the value of NetThrust_dBCThrust.
8624+
* \return Value NetThrust_dBCThrust.
87228625
*/
87238626
su2double GetdNetThrust_dBCThrust(void) const { return dNetThrust_dBCThrust; }
87248627

Common/include/grid_movement/CSurfaceMovement.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ class CSurfaceMovement : public CGridMovement {
156156
void SetBoundary_Flutter3D(CGeometry* geometry, CConfig* config, CFreeFormDefBox** FFDBox, unsigned long iter,
157157
unsigned short iZone);
158158

159-
/*!
160-
* \brief Set the collective pitch for a blade surface movement.
161-
* \param[in] geometry - Geometrical definition of the problem.
162-
* \param[in] config - Definition of the particular problem.
163-
*/
164-
void SetCollective_Pitch(CGeometry* geometry, CConfig* config);
165-
166159
/*!
167160
* \brief Set any surface deformationsbased on an input file.
168161
* \param[in] geometry - Geometrical definition of the problem.

Common/include/option_structure.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ class COptionDVParam : public COptionBase {
654654
default: {
655655
string newstring;
656656
newstring.append(this->name);
657-
newstring.append(": undefined design variable type found in configuration file.");
657+
newstring.append(": undefined design variable type found in configuration file. ");
658658
return newstring;
659659
}
660660
}

0 commit comments

Comments
 (0)