Skip to content

Commit 1a1b6cd

Browse files
committed
Merge branch 'develop' into adaptive_edge_color_group_size
2 parents 88b1272 + a0cab87 commit 1a1b6cd

8 files changed

Lines changed: 598 additions & 275 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. */
@@ -4296,18 +4281,6 @@ class CConfig {
42964281
*/
42974282
su2double GetSemiSpan(void) const { return SemiSpan; }
42984283

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

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

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

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

@@ -6569,12 +6524,6 @@ class CConfig {
65696524
*/
65706525
void SetdCL_dAlpha(su2double val_dcl_dalpha) { dCL_dAlpha = val_dcl_dalpha; }
65716526

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

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

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

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

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)