Skip to content

Commit 6ed9a1d

Browse files
authored
Merge branch 'develop' into publish
2 parents e313c05 + 1477381 commit 6ed9a1d

105 files changed

Lines changed: 2922 additions & 2155 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Common/include/CConfig.hpp

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class CConfig {
554554
STRUCT_DEFORMATION Kind_Struct_Solver; /*!< \brief Determines the geometric condition (small or large deformations) for structural analysis. */
555555
unsigned short Kind_DV_FEA; /*!< \brief Kind of Design Variable for FEA problems.*/
556556

557-
unsigned short Kind_Turb_Model; /*!< \brief Turbulent model definition. */
557+
TURB_MODEL Kind_Turb_Model; /*!< \brief Turbulent model definition. */
558558
unsigned short Kind_SGS_Model; /*!< \brief LES SGS model definition. */
559559
unsigned short Kind_Trans_Model, /*!< \brief Transition model definition. */
560560
Kind_ActDisk, Kind_Engine_Inflow,
@@ -821,10 +821,13 @@ class CConfig {
821821
Pressure_Thermodynamic, /*!< \brief Thermodynamic pressure of the fluid. */
822822
Temperature_FreeStream, /*!< \brief Total temperature of the fluid. */
823823
Temperature_ve_FreeStream; /*!< \brief Total vibrational-electronic temperature of the fluid. */
824-
su2double Prandtl_Lam, /*!< \brief Laminar Prandtl number for the gas. */
825-
Prandtl_Turb, /*!< \brief Turbulent Prandtl number for the gas. */
826-
wallModelKappa, /*!< \brief von Karman constant kappa for turbulence wall modeling */
827-
wallModelB, /*!< \brief constant B for turbulence wall modeling */
824+
unsigned short wallModel_MaxIter; /*!< \brief maximum number of iterations for the Newton method for the wall model */
825+
su2double wallModel_Kappa, /*!< \brief von Karman constant kappa for turbulence wall modeling */
826+
wallModel_B, /*!< \brief constant B for turbulence wall modeling */
827+
wallModel_RelFac, /*!< \brief relaxation factor for the Newton method used in the wall model */
828+
wallModel_MinYplus; /*!< \brief minimum Y+ value, below which the wall model is not used anymore */
829+
su2double Prandtl_Lam, /*!< \brief Laminar Prandtl number for the gas. */
830+
Prandtl_Turb, /*!< \brief Turbulent Prandtl number for the gas. */
828831
Length_Ref, /*!< \brief Reference length for non-dimensionalization. */
829832
Pressure_Ref, /*!< \brief Reference pressure for non-dimensionalization. */
830833
Temperature_Ref, /*!< \brief Reference temperature for non-dimensionalization.*/
@@ -833,7 +836,7 @@ class CConfig {
833836
Velocity_Ref, /*!< \brief Reference velocity for non-dimensionalization.*/
834837
Time_Ref, /*!< \brief Reference time for non-dimensionalization. */
835838
Viscosity_Ref, /*!< \brief Reference viscosity for non-dimensionalization. */
836-
Conductivity_Ref, /*!< \brief Reference conductivity for non-dimensionalization. */
839+
Thermal_Conductivity_Ref, /*!< \brief Reference conductivity for non-dimensionalization. */
837840
Energy_Ref, /*!< \brief Reference viscosity for non-dimensionalization. */
838841
Wall_Temperature, /*!< \brief Temperature at an isotropic wall in Kelvin. */
839842
Omega_Ref, /*!< \brief Reference angular velocity for non-dimensionalization. */
@@ -1671,13 +1674,31 @@ class CConfig {
16711674
* \brief Get the value of the von Karman constant kappa for turbulence wall modeling.
16721675
* \return von Karman constant.
16731676
*/
1674-
su2double GetwallModelKappa(void) const { return wallModelKappa; }
1677+
su2double GetwallModel_Kappa() const { return wallModel_Kappa; }
16751678

16761679
/*!
1677-
* \brief Get the value of the von Karman constant kappa for turbulence wall modeling.
1678-
* \return von Karman constant.
1680+
* \brief Get the value of the max. number of Newton iterations for turbulence wall modeling.
1681+
* \return Max number of iterations.
1682+
*/
1683+
unsigned short GetwallModel_MaxIter() const { return wallModel_MaxIter; }
1684+
1685+
/*!
1686+
* \brief Get the value of the relaxation factor for turbulence wall modeling.
1687+
* \return Relaxation factor.
1688+
*/
1689+
su2double GetwallModel_RelFac() const { return wallModel_RelFac; }
1690+
1691+
/*!
1692+
* \brief Get the value of the minimum Y+ value below which the wall function is deactivated.
1693+
* \return Minimum Y+ value.
1694+
*/
1695+
su2double GetwallModel_MinYPlus() const { return wallModel_MinYplus; }
1696+
1697+
/*!
1698+
* \brief Get the value of the wall model constant B for turbulence wall modeling.
1699+
* \return Wall model constant B.
16791700
*/
1680-
su2double GetwallModelB(void) const { return wallModelB; }
1701+
su2double GetwallModel_B() const { return wallModel_B; }
16811702

16821703
/*!
16831704
* \brief Get the value of the thermal diffusivity for solids.
@@ -1753,10 +1774,10 @@ class CConfig {
17531774
su2double GetFan_Poly_Eff(void) const { return Fan_Poly_Eff; }
17541775

17551776
/*!
1756-
* \brief Get the value of the reference conductivity for non-dimensionalization.
1757-
* \return Reference conductivity for non-dimensionalization.
1777+
* \brief Get the value of the reference thermal conductivity for non-dimensionalization.
1778+
* \return Reference thermal conductivity for non-dimensionalization.
17581779
*/
1759-
su2double GetConductivity_Ref(void) const { return Conductivity_Ref; }
1780+
su2double GetThermal_Conductivity_Ref(void) const { return Thermal_Conductivity_Ref; }
17601781

17611782
/*!
17621783
* \brief Get the value of the reference angular velocity for non-dimensionalization.
@@ -2376,7 +2397,7 @@ class CConfig {
23762397
* \brief Set the reference conductivity for nondimensionalization.
23772398
* \param[in] val_conductivity_ref - Value of the reference conductivity.
23782399
*/
2379-
void SetConductivity_Ref(su2double val_conductivity_ref) { Conductivity_Ref = val_conductivity_ref; }
2400+
void SetConductivity_Ref(su2double val_conductivity_ref) { Thermal_Conductivity_Ref = val_conductivity_ref; }
23802401

23812402
/*!
23822403
* \brief Set the nondimensionalized freestream pressure.
@@ -4162,7 +4183,7 @@ class CConfig {
41624183
* \brief Get the kind of the turbulence model.
41634184
* \return Kind of the turbulence model.
41644185
*/
4165-
unsigned short GetKind_Turb_Model(void) const { return Kind_Turb_Model; }
4186+
TURB_MODEL GetKind_Turb_Model(void) const { return Kind_Turb_Model; }
41664187

41674188
/*!
41684189
* \brief Get the kind of the transition model.

Common/include/code_config.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* You should have received a copy of the GNU Lesser General Public
2525
* License along with SU2. If not, see <http://www.gnu.org/licenses/>.
2626
*/
27-
2827
#pragma once
2928

3029
#include <type_traits>

Common/include/linear_algebra/CSysMatrix.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class CSysMatrix {
111111
const int rank; /*!< \brief MPI Rank. */
112112
const int size; /*!< \brief MPI Size. */
113113

114-
enum : size_t { MAXNVAR = 8 }; /*!< \brief Maximum number of variables the matrix can handle. The static
114+
enum : size_t { MAXNVAR = 20 }; /*!< \brief Maximum number of variables the matrix can handle. The static
115115
size is needed for fast, per-thread, static memory allocation. */
116116

117117
enum { OMP_MAX_SIZE_L = 8192 }; /*!< \brief Max. chunk size used in light parallel for loops. */

Common/include/option_structure.hpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -888,25 +888,25 @@ static const MapType<std::string, ENUM_LIMITER> Limiter_Map = {
888888
/*!
889889
* \brief Types of turbulent models
890890
*/
891-
enum ENUM_TURB_MODEL {
892-
NO_TURB_MODEL = 0, /*!< \brief No turbulence model. */
893-
SA = 1, /*!< \brief Kind of Turbulent model (Spalart-Allmaras). */
894-
SA_NEG = 2, /*!< \brief Kind of Turbulent model (Spalart-Allmaras). */
895-
SA_E = 3, /*!< \brief Kind of Turbulent model (Spalart-Allmaras Edwards). */
896-
SA_COMP = 4, /*!< \brief Kind of Turbulent model (Spalart-Allmaras Compressibility Correction). */
897-
SA_E_COMP = 5, /*!< \brief Kind of Turbulent model (Spalart-Allmaras Edwards with Compressibility Correction). */
898-
SST = 6, /*!< \brief Kind of Turbulence model (Menter SST). */
899-
SST_SUST = 7 /*!< \brief Kind of Turbulence model (Menter SST with sustaining terms for free-stream preservation). */
900-
};
901-
static const MapType<std::string, ENUM_TURB_MODEL> Turb_Model_Map = {
902-
MakePair("NONE", NO_TURB_MODEL)
903-
MakePair("SA", SA)
904-
MakePair("SA_NEG", SA_NEG)
905-
MakePair("SA_E", SA_E)
906-
MakePair("SA_COMP", SA_COMP)
907-
MakePair("SA_E_COMP", SA_E_COMP)
908-
MakePair("SST", SST)
909-
MakePair("SST_SUST", SST_SUST)
891+
enum class TURB_MODEL {
892+
NONE, /*!< \brief No turbulence model. */
893+
SA, /*!< \brief Kind of Turbulent model (Spalart-Allmaras). */
894+
SA_NEG, /*!< \brief Kind of Turbulent model (Spalart-Allmaras). */
895+
SA_E, /*!< \brief Kind of Turbulent model (Spalart-Allmaras Edwards). */
896+
SA_COMP, /*!< \brief Kind of Turbulent model (Spalart-Allmaras Compressibility Correction). */
897+
SA_E_COMP, /*!< \brief Kind of Turbulent model (Spalart-Allmaras Edwards with Compressibility Correction). */
898+
SST, /*!< \brief Kind of Turbulence model (Menter SST). */
899+
SST_SUST /*!< \brief Kind of Turbulence model (Menter SST with sustaining terms for free-stream preservation). */
900+
};
901+
static const MapType<std::string, TURB_MODEL> Turb_Model_Map = {
902+
MakePair("NONE", TURB_MODEL::NONE)
903+
MakePair("SA", TURB_MODEL::SA)
904+
MakePair("SA_NEG", TURB_MODEL::SA_NEG)
905+
MakePair("SA_E", TURB_MODEL::SA_E)
906+
MakePair("SA_COMP", TURB_MODEL::SA_COMP)
907+
MakePair("SA_E_COMP", TURB_MODEL::SA_E_COMP)
908+
MakePair("SST", TURB_MODEL::SST)
909+
MakePair("SST_SUST", TURB_MODEL::SST_SUST)
910910
};
911911

912912
/*!

Common/include/option_structure.inl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,7 @@ public:
18891889
this->doubleInfo[i] = new su2double[1];
18901890

18911891
/* Check for a valid RANS turbulence model. */
1892-
map<string, ENUM_TURB_MODEL>::const_iterator iit;
1892+
map<string, TURB_MODEL>::const_iterator iit;
18931893
iit = Turb_Model_Map.find(option_value[counter++]);
18941894
if(iit == Turb_Model_Map.end()) {
18951895
string newstring;
@@ -1904,8 +1904,6 @@ public:
19041904
return newstring;
19051905
}
19061906

1907-
this->intInfo[i][0] = iit->second;
1908-
19091907
/* Extract the exchange distance. */
19101908
istringstream ss_1st(option_value[counter++]);
19111909
if (!(ss_1st >> this->doubleInfo[i][0])) {

Common/src/CConfig.cpp

Lines changed: 44 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ void CConfig::SetConfig_Options() {
10761076
/*!\brief MATH_PROBLEM \n DESCRIPTION: Mathematical problem \n Options: DIRECT, ADJOINT \ingroup Config*/
10771077
addMathProblemOption("MATH_PROBLEM", ContinuousAdjoint, false, DiscreteAdjoint, discAdjDefault, Restart_Flow, discAdjDefault);
10781078
/*!\brief KIND_TURB_MODEL \n DESCRIPTION: Specify turbulence model \n Options: see \link Turb_Model_Map \endlink \n DEFAULT: NO_TURB_MODEL \ingroup Config*/
1079-
addEnumOption("KIND_TURB_MODEL", Kind_Turb_Model, Turb_Model_Map, NO_TURB_MODEL);
1079+
addEnumOption("KIND_TURB_MODEL", Kind_Turb_Model, Turb_Model_Map, TURB_MODEL::NONE);
10801080
/*!\brief KIND_TRANS_MODEL \n DESCRIPTION: Specify transition model OPTIONS: see \link Trans_Model_Map \endlink \n DEFAULT: NO_TRANS_MODEL \ingroup Config*/
10811081
addEnumOption("KIND_TRANS_MODEL", Kind_Trans_Model, Trans_Model_Map, NO_TRANS_MODEL);
10821082

@@ -1223,10 +1223,20 @@ void CConfig::SetConfig_Options() {
12231223
addDoubleOption("PRANDTL_LAM", Prandtl_Lam, 0.72);
12241224
/*!\brief PRANDTL_TURB \n DESCRIPTION: Turbulent Prandtl number (0.9 (air), only for compressible flows) \n DEFAULT 0.90 \ingroup Config*/
12251225
addDoubleOption("PRANDTL_TURB", Prandtl_Turb, 0.90);
1226-
/*!\brief WALLMODELKAPPA \n DESCRIPTION: von Karman constant used for the wall model \n DEFAULT 0.41 \ingroup Config*/
1227-
addDoubleOption("WALLMODELKAPPA", wallModelKappa, 0.41);
1228-
/*!\brief WALLMODELB \n DESCRIPTION: constant B used for the wall model \n DEFAULT 5.0 \ingroup Config*/
1229-
addDoubleOption("WALLMODELB", wallModelB, 5.5);
1226+
1227+
/*--- Options related to wall models. ---*/
1228+
1229+
/*!\brief WALLMODEL_KAPPA \n DESCRIPTION: von Karman constant used for the wall model \n DEFAULT 0.41 \ingroup Config*/
1230+
addDoubleOption("WALLMODEL_KAPPA", wallModel_Kappa, 0.41);
1231+
/*!\brief WALLMODEL_MAXITER \n DESCRIPTION: Max iterations used for the wall model \n DEFAULT 200 \ingroup Config*/
1232+
addUnsignedShortOption("WALLMODEL_MAXITER", wallModel_MaxIter, 200);
1233+
/*!\brief WALLMODEL_RELFAC \n DESCRIPTION: Relaxation factor used for the wall model \n DEFAULT 0.5 \ingroup Config*/
1234+
addDoubleOption("WALLMODEL_RELFAC", wallModel_RelFac, 0.5);
1235+
/*!\brief WALLMODEL_MINYPLUS \n DESCRIPTION: lower limit for Y+ used for the wall model \n DEFAULT 5.0 \ingroup Config*/
1236+
addDoubleOption("WALLMODEL_MINYPLUS", wallModel_MinYplus, 5.0);
1237+
/*!\brief WALLMODEL_B \n DESCRIPTION: constant B used for the wall model \n DEFAULT 5.5 \ingroup Config*/
1238+
addDoubleOption("WALLMODEL_B", wallModel_B, 5.5);
1239+
12301240
/*!\brief BULK_MODULUS \n DESCRIPTION: Value of the Bulk Modulus \n DEFAULT 1.42E5 \ingroup Config*/
12311241
addDoubleOption("BULK_MODULUS", Bulk_Modulus, 1.42E5);
12321242
/* DESCRIPTION: Epsilon^2 multipier in Beta calculation for incompressible preconditioner. */
@@ -3273,16 +3283,16 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
32733283
}
32743284
}
32753285

3276-
if (Kind_Solver == NAVIER_STOKES && Kind_Turb_Model != NONE){
3286+
if (Kind_Solver == NAVIER_STOKES && Kind_Turb_Model != TURB_MODEL::NONE){
32773287
SU2_MPI::Error("KIND_TURB_MODEL must be NONE if SOLVER= NAVIER_STOKES", CURRENT_FUNCTION);
32783288
}
3279-
if (Kind_Solver == INC_NAVIER_STOKES && Kind_Turb_Model != NONE){
3289+
if (Kind_Solver == INC_NAVIER_STOKES && Kind_Turb_Model != TURB_MODEL::NONE){
32803290
SU2_MPI::Error("KIND_TURB_MODEL must be NONE if SOLVER= INC_NAVIER_STOKES", CURRENT_FUNCTION);
32813291
}
3282-
if (Kind_Solver == RANS && Kind_Turb_Model == NONE){
3292+
if (Kind_Solver == RANS && Kind_Turb_Model == TURB_MODEL::NONE){
32833293
SU2_MPI::Error("A turbulence model must be specified with KIND_TURB_MODEL if SOLVER= RANS", CURRENT_FUNCTION);
32843294
}
3285-
if (Kind_Solver == INC_RANS && Kind_Turb_Model == NONE){
3295+
if (Kind_Solver == INC_RANS && Kind_Turb_Model == TURB_MODEL::NONE){
32863296
SU2_MPI::Error("A turbulence model must be specified with KIND_TURB_MODEL if SOLVER= INC_RANS", CURRENT_FUNCTION);
32873297
}
32883298

@@ -3295,11 +3305,18 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
32953305
if (Kind_WallFunctions[iMarker] != WALL_FUNCTIONS::NONE)
32963306
Wall_Functions = true;
32973307

3298-
if ((Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::ADAPTIVE_FUNCTION) || (Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::SCALABLE_FUNCTION)
3299-
|| (Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::NONEQUILIBRIUM_MODEL))
3300-
3308+
if ((Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::ADAPTIVE_FUNCTION) ||
3309+
(Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::SCALABLE_FUNCTION) ||
3310+
(Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::NONEQUILIBRIUM_MODEL))
33013311
SU2_MPI::Error(string("For RANS problems, use NONE, STANDARD_WALL_FUNCTION or EQUILIBRIUM_WALL_MODEL.\n"), CURRENT_FUNCTION);
33023312

3313+
if (Kind_WallFunctions[iMarker] == WALL_FUNCTIONS::STANDARD_FUNCTION) {
3314+
if (!((Kind_Solver == RANS) || (Kind_Solver == INC_RANS)))
3315+
SU2_MPI::Error(string("Wall model STANDARD_FUNCTION only available for RANS or INC_RANS.\n"), CURRENT_FUNCTION);
3316+
if (nRough_Wall != 0)
3317+
SU2_MPI::Error(string("Wall model STANDARD_FUNCTION and WALL_ROUGHNESS migh not be compatible. Checking required!\n"), CURRENT_FUNCTION);
3318+
}
3319+
33033320
}
33043321
}
33053322

@@ -4043,18 +4060,18 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
40434060
if (MGCycle == FULLMG_CYCLE) FinestMesh = nMGLevels;
40444061

40454062
if ((Kind_Solver == NAVIER_STOKES) &&
4046-
(Kind_Turb_Model != NONE))
4063+
(Kind_Turb_Model != TURB_MODEL::NONE))
40474064
Kind_Solver = RANS;
40484065

40494066
if ((Kind_Solver == INC_NAVIER_STOKES) &&
4050-
(Kind_Turb_Model != NONE))
4067+
(Kind_Turb_Model != TURB_MODEL::NONE))
40514068
Kind_Solver = INC_RANS;
40524069

40534070
if (Kind_Solver == EULER ||
40544071
Kind_Solver == INC_EULER ||
40554072
Kind_Solver == NEMO_EULER ||
40564073
Kind_Solver == FEM_EULER)
4057-
Kind_Turb_Model = NONE;
4074+
Kind_Turb_Model = TURB_MODEL::NONE;
40584075

40594076
Kappa_2nd_Flow = jst_coeff[0];
40604077
Kappa_4th_Flow = jst_coeff[1];
@@ -4435,7 +4452,7 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
44354452
for (int i=0; i<7; ++i) eng_cyl[i] /= 12.0;
44364453
}
44374454

4438-
if ((Kind_Turb_Model != SA) && (Kind_Trans_Model == BC)){
4455+
if ((Kind_Turb_Model != TURB_MODEL::SA) && (Kind_Trans_Model == BC)){
44394456
SU2_MPI::Error("BC transition model currently only available in combination with SA turbulence model!", CURRENT_FUNCTION);
44404457
}
44414458

@@ -4533,7 +4550,7 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
45334550

45344551
/* --- Throw error if UQ used for any turbulence model other that SST --- */
45354552

4536-
if (Kind_Solver == RANS && Kind_Turb_Model != SST && Kind_Turb_Model != SST_SUST && using_uq){
4553+
if (Kind_Solver == RANS && Kind_Turb_Model != TURB_MODEL::SST && Kind_Turb_Model != TURB_MODEL::SST_SUST && using_uq){
45374554
SU2_MPI::Error("UQ capabilities only implemented for NAVIER_STOKES solver SST turbulence model", CURRENT_FUNCTION);
45384555
}
45394556

@@ -5620,13 +5637,14 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
56205637
if (Kind_Regime == ENUM_REGIME::INCOMPRESSIBLE) cout << "Incompressible RANS equations." << endl;
56215638
cout << "Turbulence model: ";
56225639
switch (Kind_Turb_Model) {
5623-
case SA: cout << "Spalart Allmaras" << endl; break;
5624-
case SA_NEG: cout << "Negative Spalart Allmaras" << endl; break;
5625-
case SA_E: cout << "Edwards Spalart Allmaras" << endl; break;
5626-
case SA_COMP: cout << "Compressibility Correction Spalart Allmaras" << endl; break;
5627-
case SA_E_COMP: cout << "Compressibility Correction Edwards Spalart Allmaras" << endl; break;
5628-
case SST: cout << "Menter's SST" << endl; break;
5629-
case SST_SUST: cout << "Menter's SST with sustaining terms" << endl; break;
5640+
case TURB_MODEL::NONE: break;
5641+
case TURB_MODEL::SA: cout << "Spalart Allmaras" << endl; break;
5642+
case TURB_MODEL::SA_NEG: cout << "Negative Spalart Allmaras" << endl; break;
5643+
case TURB_MODEL::SA_E: cout << "Edwards Spalart Allmaras" << endl; break;
5644+
case TURB_MODEL::SA_COMP: cout << "Compressibility Correction Spalart Allmaras" << endl; break;
5645+
case TURB_MODEL::SA_E_COMP: cout << "Compressibility Correction Edwards Spalart Allmaras" << endl; break;
5646+
case TURB_MODEL::SST: cout << "Menter's SST" << endl; break;
5647+
case TURB_MODEL::SST_SUST: cout << "Menter's SST with sustaining terms" << endl; break;
56305648
}
56315649
if (QCR) cout << "Using Quadratic Constitutive Relation, 2000 version (QCR2000)" << endl;
56325650
if (Kind_Trans_Model == BC) cout << "Using the revised BC transition model (2020)" << endl;
@@ -6456,8 +6474,8 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
64566474
break;
64576475
case EULER_IMPLICIT:
64586476
cout << "Euler implicit method for the flow equations." << endl;
6459-
if((Kind_Solver == NEMO_EULER) || (Kind_Solver == NEMO_NAVIER_STOKES))
6460-
SU2_MPI::Error("Implicit time scheme is not working with NEMO. Use EULER_EXPLICIT.", CURRENT_FUNCTION);
6477+
if (Kind_Solver == NEMO_NAVIER_STOKES)
6478+
SU2_MPI::Error("Implicit time scheme is not working with NEMO for viscous problems. Use EULER_EXPLICIT.", CURRENT_FUNCTION);
64616479
switch (Kind_Linear_Solver) {
64626480
case BCGSTAB:
64636481
case FGMRES:

Common/src/wall_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CWallModel::CWallModel(CConfig *config) {
4141
Pr_lam = config->GetPrandtl_Lam();
4242
Pr_turb = config->GetPrandtl_Turb();
4343

44-
karman = config->GetwallModelKappa(); // von Karman constant -> k = 0.41; or 0.38;
44+
karman = config->GetwallModel_Kappa(); // von Karman constant -> k = 0.41; or 0.38;
4545
}
4646

4747
void CWallModel::WallShearStressAndHeatFlux(const su2double rhoExchange,

0 commit comments

Comments
 (0)