Skip to content

Commit 1f4dca2

Browse files
committed
remove duplicate entries, add deprecation statements
1 parent 458b636 commit 1f4dca2

3 files changed

Lines changed: 13 additions & 51 deletions

File tree

Common/include/CConfig.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6443,8 +6443,8 @@ class CConfig {
64436443
su2double GetWeightCd(void) const { return WeightCd; }
64446444

64456445
/*!
6446-
* \brief Value of the weight of the CD, CL, CM optimization.
6447-
* \return Value of the weight of the CD, CL, CM optimization.
6446+
* \brief Value of the damping factor for the Thrust BC (actuator disk).
6447+
* \return Value of the damping factor.
64486448
*/
64496449
void SetdNetThrust_dBCThrust(su2double val_dnetthrust_dbcthrust);
64506450

@@ -8560,8 +8560,8 @@ class CConfig {
85608560
unsigned long GetIter_Fixed_NetThrust(void) const { return Iter_Fixed_NetThrust; }
85618561

85628562
/*!
8563-
* \brief Get the value of the damping coefficient for fixed CL mode.
8564-
* \return Damping coefficient for fixed CL mode.
8563+
* \brief Get the value of NetThrust_dBCThrust.
8564+
* \return Value NetThrust_dBCThrust.
85658565
*/
85668566
su2double GetdNetThrust_dBCThrust(void) const { return dNetThrust_dBCThrust; }
85678567

Common/src/CConfig.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,15 +1415,15 @@ void CConfig::SetConfig_Options() {
14151415
addDoubleOption("TARGET_CL", Target_CL, 0.0);
14161416
/* DESCRIPTION: Damping factor for fixed CL mode. */
14171417
addDoubleOption("DCL_DALPHA", dCL_dAlpha, 0.2);
1418-
/* DESCRIPTION: Damping factor for fixed CL mode. */
1418+
/* DESCRIPTION: dCM/dHi */
14191419
addDoubleOption("DCM_DIH", dCM_diH, 0.05);
14201420
/* DESCRIPTION: Maximum number of iterations between AoA updates for fixed CL problem. */
14211421
addUnsignedLongOption("UPDATE_AOA_ITER_LIMIT", Update_AoA_Iter_Limit, 200);
14221422
/* DESCRIPTION: Number of times Alpha is updated in a fix CL problem. */
14231423
addUnsignedLongOption("UPDATE_IH", Update_iH, 5);
14241424
/* DESCRIPTION: Number of iterations to evaluate dCL_dAlpha . */
14251425
addUnsignedLongOption("ITER_DCL_DALPHA", Iter_dCL_dAlpha, 500);
1426-
/* DESCRIPTION: Damping factor for fixed CL mode. */
1426+
/* DESCRIPTION: Value of dNetThrust/dBCThrust */
14271427
addDoubleOption("DNETTHRUST_DBCTHRUST", dNetThrust_dBCThrust, 1.0);
14281428
/* DESCRIPTION: Number of times Alpha is updated in a fix CL problem. */
14291429
addUnsignedLongOption("UPDATE_BCTHRUST", Update_BCThrust, 5);

config_template.cfg

Lines changed: 7 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ TARGET_CL= 0.80
310310
% Estimation of dCL/dAlpha (0.2 per degree by default)
311311
DCL_DALPHA= 0.2
312312
%
313-
% Damping factor for fixed CL mode
313+
% Value of dCm/dHi (0.05 by default)
314314
DCM_DIH= 0.05
315315
%
316316
% Maximum number of iterations between AoA updates
@@ -324,7 +324,8 @@ ITER_DCL_DALPHA= 500
324324
%
325325
% Evaluate the dOF_dCL or dOF_dCMy during run time
326326
EVAL_DOF_DCX= NO
327-
% Damping factor for fixed CL mode.
327+
%
328+
% Damping factor for thrust BC (actuator disk).
328329
NETTHRUST_DBCTHRUST= 1.0
329330
%
330331
% parameter for the definition of a complex objective function
@@ -448,20 +449,6 @@ VT_RESIDUAL_LIMITING= NO
448449
INLET_TEMPERATURE_VE = 288.15
449450
INLET_GAS_COMPOSITION = (0.77, 0.23, 0.0, 0.0, 0.0)
450451

451-
% --------------------------- REFERENCE VALUES FOR DEFORMATION ----------------%
452-
%
453-
% Consider a reference solution for the structure
454-
REFERENCE_GEOMETRY= NO
455-
%
456-
% Penalty weight value for the objective function
457-
REFERENCE_GEOMETRY_PENALTY= 1E6
458-
%
459-
% Reference geometry filename
460-
REFERENCE_GEOMETRY_FILENAME= reference_geometry.dat
461-
%
462-
% Format of the reference geometry file
463-
REFERENCE_GEOMETRY_FORMAT=
464-
465452
% --------------------------- VISCOSITY MODEL ---------------------------------%
466453
%
467454
% Viscosity model (SUTHERLAND, CONSTANT_VISCOSITY, POLYNOMIAL_VISCOSITY, FLAMELET).
@@ -781,7 +768,7 @@ HB_PRECONDITION= NO
781768
% Omega_HB = 2*PI*frequency - frequencies for Harmonic Balance method
782769
OMEGA_HB= (0,1.0,-1.0)
783770
%
784-
% Determines if the single-zone driver is used. (TEMPORARY)
771+
% Determines if the single-zone driver is used. (deprecated)
785772
SINGLEZONE_DRIVER= NO
786773
%
787774
% Determines if the special output is written out
@@ -1964,13 +1951,13 @@ DEAD_LOAD= NO
19641951
% pseudo static analysis (no density in dynamic analysis)
19651952
PSEUDO_STATIC= NO
19661953
%
1967-
% Dynamic or static structural analysis
1954+
% Dynamic or static structural analysis (deprecated -> use TIME_DOMAIN)
19681955
DYNAMIC_ANALYSIS= NO
19691956
%
1970-
% Time Step for dynamic analysis (s)
1957+
% Time Step for dynamic analysis (s) (deprecated -> use TIME_STEP)
19711958
DYN_TIMESTEP= 0.0
19721959
%
1973-
% Total Physical Time for dual time stepping simulations (s)
1960+
% Total Physical Time for dual time stepping simulations (s) (deprecated -> use MAX_TIME)
19741961
DYN_TIME= 1.0
19751962
19761963
% ---------------- MESH DEFORMATION PARAMETERS (NEW SOLVER) -------------------%
@@ -2472,28 +2459,3 @@ PASTIX_VERBOSITY_LEVEL= 0
24722459
%
24732460
% Level of fill for PaStiX incomplete LU factorization
24742461
PASTIX_FILL_LEVEL= 1
2475-
2476-
% --------------------- PYTHON PARAMETERS -----------------------%
2477-
% DESCRIPTION: Gradient method
2478-
%GRADIENT_METHOD
2479-
%
2480-
% DESCRIPTION: Geometrical Parameter
2481-
%GEO_PARAM
2482-
%
2483-
% DESCRIPTION: Current value of the design variables
2484-
%DV_VALUE_NEW
2485-
%
2486-
% DESCRIPTION: Previous value of the design variables
2487-
%DV_VALUE_OLD
2488-
%
2489-
% DESCRIPTION: Number of partitions of the mesh
2490-
NUMBER_PART= 1
2491-
%
2492-
% DESCRIPTION: Verbosity of the python scripts to Stdout
2493-
%CONSOLE
2494-
%
2495-
% DESCRIPTION: Flag specifying if the mesh was decomposed
2496-
%DECOMPOSED
2497-
%
2498-
% DESCRIPTION: Number of zones of the problem
2499-
%NZONES= 1

0 commit comments

Comments
 (0)