@@ -1354,16 +1354,12 @@ void CConfig::SetConfig_Options() {
13541354 addDoubleOption (" AOA" , AoA, 0.0 );
13551355 /* DESCRIPTION: Activate fixed CL mode (specify a CL instead of AoA). */
13561356 addBoolOption (" FIXED_CL_MODE" , Fixed_CL_Mode, false );
1357- /* DESCRIPTION: Activate fixed CM mode (specify a CM instead of iH). */
1358- addBoolOption (" FIXED_CM_MODE" , Fixed_CM_Mode, false );
13591357 /* DESCRIPTION: Evaluate the dOF_dCL or dOF_dCMy during run time. */
13601358 addBoolOption (" EVAL_DOF_DCX" , Eval_dOF_dCX, false );
13611359 /* DESCRIPTION: DIscard the angle of attack in the solution and the increment in the geometry files. */
13621360 addBoolOption (" DISCARD_INFILES" , Discard_InFiles, false );
13631361 /* DESCRIPTION: Specify a fixed coefficient of lift instead of AoA (only for compressible flows) */
13641362 addDoubleOption (" TARGET_CL" , Target_CL, 0.0 );
1365- /* DESCRIPTION: Specify a fixed coefficient of lift instead of AoA (only for compressible flows) */
1366- addDoubleOption (" TARGET_CM" , Target_CM, 0.0 );
13671363 /* DESCRIPTION: Damping factor for fixed CL mode. */
13681364 addDoubleOption (" DCL_DALPHA" , dCL_dAlpha, 0.2 );
13691365 /* DESCRIPTION: Damping factor for fixed CL mode. */
@@ -1785,8 +1781,6 @@ void CConfig::SetConfig_Options() {
17851781 /* !\par CONFIG_CATEGORY: Convergence\ingroup Config*/
17861782 /* --- Options related to convergence ---*/
17871783
1788- // This option is deprecated. After a grace period until 7.2.0 the usage warning should become an error.
1789- addStringOption (" CONV_CRITERIA" , ConvCriteria, " this option is deprecated" );
17901784 /* !\brief CONV_RESIDUAL_MINVAL\n DESCRIPTION: Min value of the residual (log10 of the residual)\n DEFAULT: -14.0 \ingroup Config*/
17911785 addDoubleOption (" CONV_RESIDUAL_MINVAL" , MinLogResidual, -14.0 );
17921786 /* !\brief CONV_STARTITER\n DESCRIPTION: Iteration number to begin convergence monitoring\n DEFAULT: 5 \ingroup Config*/
@@ -1944,16 +1938,6 @@ void CConfig::SetConfig_Options() {
19441938 /* DESCRIPTION: parameter for the definition of a complex objective function */
19451939 addDoubleOption (" DCMZ_DCL_VALUE" , dCMz_dCL, 0.0 );
19461940
1947- /* DESCRIPTION: parameter for the definition of a complex objective function */
1948- addDoubleOption (" DCD_DCMY_VALUE" , dCD_dCMy, 0.0 );
1949-
1950- obj_coeff[0 ]=0.0 ; obj_coeff[1 ]=0.0 ; obj_coeff[2 ]=0.0 ; obj_coeff[3 ]=0.0 ; obj_coeff[4 ]=0.0 ;
1951- /* !\brief OBJ_CHAIN_RULE_COEFF
1952- * \n DESCRIPTION: Coefficients defining the objective function gradient using the chain rule
1953- * with area-averaged outlet primitive variables. This is used with the genereralized outflow
1954- * objective. \ingroup Config */
1955- addDoubleArrayOption (" OBJ_CHAIN_RULE_COEFF" , 5 , obj_coeff);
1956-
19571941 geo_loc[0 ] = 0.0 ; geo_loc[1 ] = 1.0 ;
19581942 /* DESCRIPTION: Definition of the airfoil section */
19591943 addDoubleArrayOption (" GEO_BOUNDS" , 2 , geo_loc);
@@ -2966,19 +2950,18 @@ void CConfig::SetConfig_Parsing(istream& config_buffer){
29662950 newString.append (" UNST_RESTART_ITER is deprecated. Use RESTART_ITER instead.\n\n " );
29672951 else if (!option_name.compare (" DYN_RESTART_ITER" ))
29682952 newString.append (" DYN_RESTART_ITER is deprecated. Use RESTART_ITER instead.\n\n " );
2969- // This option is deprecated. After a grace period until 7.2.0 the usage warning should become an error.
2970- /* else if (!option_name.compare("CONV_CRITERIA"))
2971- newString.append(string("CONV_CRITERIA is deprecated. SU2 will choose the criteria automatically based on the CONV_FIELD.\n") +
2972- string("RESIDUAL for any RMS_* BGS_* value. CAUCHY for coefficients like DRAG etc.\n\n"));*/
2973- if (!option_name.compare (" THERMAL_DIFFUSIVITY" ))
2953+ else if (!option_name.compare (" CONV_CRITERIA" ))
2954+ newString.append (" CONV_CRITERIA is deprecated. SU2 will choose the criteria automatically based on the CONV_FIELD.\n "
2955+ " RESIDUAL for any RMS_* BGS_* value. CAUCHY for coefficients like DRAG etc.\n\n " );
2956+ else if (!option_name.compare (" THERMAL_DIFFUSIVITY" ))
29742957 newString.append (" THERMAL_DIFFUSIVITY is deprecated. See the INC_ENERGY_EQUATION options instead.\n\n " );
2975- if (!option_name.compare (" THERMAL_DIFFUSIVITY_SOLID" ))
2958+ else if (!option_name.compare (" THERMAL_DIFFUSIVITY_SOLID" ))
29762959 newString.append (" THERMAL_DIFFUSIVITY_SOLID is deprecated. Set THERMAL_CONDUCTIVITY_CONSTANT, MATERIAL_DENSITY and SPECIFIC_HEAT_CP instead.\n\n " );
2977- if (!option_name.compare (" SOLID_THERMAL_CONDUCTIVITY" ))
2960+ else if (!option_name.compare (" SOLID_THERMAL_CONDUCTIVITY" ))
29782961 newString.append (" SOLID_THERMAL_CONDUCTIVITY is deprecated. Use THERMAL_CONDUCTIVITY_CONSTANT instead.\n\n " );
2979- if (!option_name.compare (" SOLID_DENSITY" ))
2962+ else if (!option_name.compare (" SOLID_DENSITY" ))
29802963 newString.append (" SOLID_DENSITY is deprecated. Use MATERIAL_DENSITY instead.\n\n " );
2981- if (!option_name.compare (" SOLID_TEMPERATURE_INIT" ))
2964+ else if (!option_name.compare (" SOLID_TEMPERATURE_INIT" ))
29822965 newString.append (" SOLID_TEMPERATURE_INIT is deprecated. Use FREESTREAM_TEMPERATURE instead.\n\n " );
29832966 else {
29842967 /* --- Find the most likely candidate for the unrecognized option, based on the length
@@ -3378,12 +3361,6 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
33783361 }
33793362 }
33803363
3381- /* --- Fixed CM mode requires a static movement of the grid ---*/
3382-
3383- if (Fixed_CM_Mode) {
3384- Kind_GridMovement = MOVING_HTP;
3385- }
3386-
33873364 /* --- Initialize the AoA and Sideslip variables for the incompressible
33883365 solver. This is typically unused (often internal flows). Also fixed CL
33893366 mode for incompressible flows is not implemented ---*/
@@ -4534,7 +4511,6 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
45344511 the AoA with each iteration to false ---*/
45354512
45364513 if (Fixed_CL_Mode) Update_AoA = false ;
4537- if (Fixed_CM_Mode) Update_HTPIncidence = false ;
45384514
45394515 if (DirectDiff != NO_DERIVATIVE) {
45404516#ifndef CODI_FORWARD_TYPE
@@ -4603,11 +4579,6 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
46034579
46044580 if (!ContinuousAdjoint & !DiscreteAdjoint) {
46054581 if (Fixed_CL_Mode) nInnerIter += Iter_dCL_dAlpha;
4606-
4607- if (Fixed_CM_Mode) {
4608- nInnerIter += Iter_dCL_dAlpha;
4609- MinLogResidual = -24 ;
4610- }
46114582 }
46124583
46134584 /* --- Set Finite Difference mode to false by default --- */
@@ -5233,11 +5204,6 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
52335204
52345205 } // species transport checks
52355206
5236- // This option is deprecated. After a grace period until 7.2.0 the usage warning should become an error.
5237- if (OptionIsSet (" CONV_CRITERIA" ) && rank == MASTER_NODE) {
5238- cout << " \n\n WARNING: CONV_CRITERIA is deprecated. SU2 will choose the criteria automatically based on the CONV_FIELD.\n "
5239- " That is, RESIDUAL for any RMS_* BGS_* value, and CAUCHY for coefficients such as DRAG etc.\n " << endl;
5240- }
52415207}
52425208
52435209void CConfig::SetMarkers (SU2_COMPONENT val_software) {
@@ -5892,10 +5858,6 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
58925858 if (Fixed_CL_Mode) {
58935859 cout << " Fixed CL mode, target value: " << Target_CL << " ." << endl;
58945860 }
5895- if (Fixed_CM_Mode) {
5896- cout << " Fixed CM mode, target value: " << Target_CM << " ." << endl;
5897- cout << " HTP rotation axis (X,Z): (" << htp_axis[0 ] <<" , " << htp_axis[1 ] <<" )." << endl;
5898- }
58995861 }
59005862
59015863 if (EquivArea) {
@@ -5909,7 +5871,6 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
59095871 switch (Kind_GridMovement) {
59105872 case NO_MOVEMENT: cout << " no direct movement." << endl; break ;
59115873 case RIGID_MOTION: cout << " rigid mesh motion." << endl; break ;
5912- case MOVING_HTP: cout << " HTP moving." << endl; break ;
59135874 case ROTATING_FRAME: cout << " rotating reference frame." << endl; break ;
59145875 case EXTERNAL: cout << " externally prescribed motion." << endl; break ;
59155876 }
@@ -6254,7 +6215,6 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
62546215 switch (Kind_ObjFunc[0 ]) {
62556216 case DRAG_COEFFICIENT: cout << " CD objective function" ;
62566217 if (Fixed_CL_Mode) { cout << " using fixed CL mode, dCD/dCL = " << dCD_dCL << " ." << endl; }
6257- else if (Fixed_CM_Mode) { cout << " using fixed CMy mode, dCD/dCMy = " << dCD_dCMy << " ." << endl; }
62586218 else { cout << " ." << endl; }
62596219 break ;
62606220 case LIFT_COEFFICIENT: cout << " CL objective function." << endl; break ;
0 commit comments