Skip to content

Commit 980551c

Browse files
authored
Merge branch 'develop' into py_wrapper_moving_wall
2 parents d63931b + 086facf commit 980551c

25 files changed

Lines changed: 6100 additions & 1676 deletions

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.
@@ -6522,8 +6477,8 @@ class CConfig {
65226477
su2double GetWeightCd(void) const { return WeightCd; }
65236478

65246479
/*!
6525-
* \brief Value of the weight of the CD, CL, CM optimization.
6526-
* \return Value of the weight of the CD, CL, CM optimization.
6480+
* \brief Value of the damping factor for the Thrust BC (actuator disk).
6481+
* \return Value of the damping factor.
65276482
*/
65286483
void SetdNetThrust_dBCThrust(su2double val_dnetthrust_dbcthrust);
65296484

@@ -6587,12 +6542,6 @@ class CConfig {
65876542
*/
65886543
void SetdCL_dAlpha(su2double val_dcl_dalpha) { dCL_dAlpha = val_dcl_dalpha; }
65896544

6590-
/*!
6591-
* \brief Value of the weight of the CD, CL, CM optimization.
6592-
* \return Value of the weight of the CD, CL, CM optimization.
6593-
*/
6594-
void SetdCM_diH(su2double val_dcm_dhi) { dCM_diH = val_dcm_dhi; }
6595-
65966545
/*!
65976546
* \brief Value of the weight of the CD, CL, CM optimization.
65986547
* \return Value of the weight of the CD, CL, CM optimization.
@@ -8381,46 +8330,6 @@ class CConfig {
83818330
*/
83828331
const su2double* GetDisp_Dir(const string& val_index) const;
83838332

8384-
/*!
8385-
* \brief Get the amplitude of the sine-wave at a load boundary defined in cartesian coordinates.
8386-
* \param[in] val_index - Index corresponding to the load boundary.
8387-
* \return The load value.
8388-
*/
8389-
su2double GetLoad_Sine_Amplitude(const string& val_index) const;
8390-
8391-
/*!
8392-
* \brief Get the frequency of the sine-wave at a load boundary in cartesian coordinates.
8393-
* \param[in] val_index - Index corresponding to the load boundary.
8394-
* \return The load frequency.
8395-
*/
8396-
su2double GetLoad_Sine_Frequency(const string& val_index) const;
8397-
8398-
/*!
8399-
* \brief Get the force direction at a sine-wave loaded boundary in cartesian coordinates.
8400-
* \param[in] val_index - Index corresponding to the load boundary.
8401-
* \return The load direction.
8402-
*/
8403-
const su2double* GetLoad_Sine_Dir(const string& val_index) const;
8404-
8405-
/*!
8406-
* \brief Get the force value at an load boundary.
8407-
* \param[in] val_index - Index corresponding to the load boundary.
8408-
* \return The load value.
8409-
*/
8410-
su2double GetFlowLoad_Value(const string& val_index) const;
8411-
8412-
/*!
8413-
* \brief Cyclic pitch amplitude for rotor blades.
8414-
* \return The specified cyclic pitch amplitude.
8415-
*/
8416-
su2double GetCyclic_Pitch(void) const { return Cyclic_Pitch; }
8417-
8418-
/*!
8419-
* \brief Collective pitch setting for rotor blades.
8420-
* \return The specified collective pitch setting.
8421-
*/
8422-
su2double GetCollective_Pitch(void) const { return Collective_Pitch; }
8423-
84248333
/*!
84258334
* \brief Get name of the arbitrary mesh motion input file.
84268335
* \return File name of the arbitrary mesh motion input file.
@@ -8723,21 +8632,15 @@ class CConfig {
87238632
*/
87248633
unsigned long GetIter_dCL_dAlpha(void) const { return Iter_dCL_dAlpha; }
87258634

8726-
/*!
8727-
* \brief Get the value of the damping coefficient for fixed CL mode.
8728-
* \return Damping coefficient for fixed CL mode.
8729-
*/
8730-
su2double GetdCM_diH(void) const { return dCM_diH; }
8731-
87328635
/*!
87338636
* \brief Get the value of iterations to re-evaluate the angle of attack.
87348637
* \return Number of iterations.
87358638
*/
87368639
unsigned long GetIter_Fixed_NetThrust(void) const { return Iter_Fixed_NetThrust; }
87378640

87388641
/*!
8739-
* \brief Get the value of the damping coefficient for fixed CL mode.
8740-
* \return Damping coefficient for fixed CL mode.
8642+
* \brief Get the value of NetThrust_dBCThrust.
8643+
* \return Value NetThrust_dBCThrust.
87418644
*/
87428645
su2double GetdNetThrust_dBCThrust(void) const { return dNetThrust_dBCThrust; }
87438646

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)