@@ -140,7 +140,6 @@ CConfig::CConfig(istream &case_buffer, unsigned short val_software, bool verb_hi
140140
141141}
142142
143-
144143CConfig::CConfig (CConfig* config, char case_filename[MAX_STRING_SIZE], unsigned short val_software, unsigned short val_iZone, unsigned short val_nZone, bool verb_high) {
145144
146145 caseName = config->GetCaseName ();
@@ -356,7 +355,6 @@ void CConfig::addEnumOption(const string name, unsigned short & option_field, co
356355 return ;
357356}
358357
359-
360358// input_size is the number of options read in from the config file
361359template <class Tenum >
362360void CConfig::addEnumListOption (const string name, unsigned short & input_size, unsigned short * & option_field, const map<string, Tenum> & enum_map) {
@@ -1165,6 +1163,10 @@ void CConfig::SetConfig_Options() {
11651163 addBoolOption (" FROZEN_MIXTURE" , frozen, false );
11661164 /* DESCRIPTION: Specify if there is ionization */
11671165 addBoolOption (" IONIZATION" , ionization, false );
1166+ /* DESCRIPTION: Specify if there is VT transfer residual limiting */
1167+ addBoolOption (" VT_RESIDUAL_LIMITING" , vt_transfer_res_limit, false );
1168+ /* DESCRIPTION: Specify if the gas is monoatomic */
1169+ addBoolOption (" MONOATOMIC" , monoatomic, false );
11681170 /* DESCRIPTION: List of catalytic walls */
11691171 addStringListOption (" CATALYTIC_WALL" , nWall_Catalytic, Wall_Catalytic);
11701172 /* !\brief MARKER_MONITORING\n DESCRIPTION: Marker(s) of the surface where evaluate the non-dimensional coefficients \ingroup Config*/
@@ -3563,6 +3565,10 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
35633565 SU2_MPI::Error (" Only USER_DEFINED_NONEQ fluid model can be used with the NEMO solver. Mutation++ library will soon be available." , CURRENT_FUNCTION);
35643566 }
35653567
3568+ if (nemo && Kind_TransCoeffModel != WILKE ) {
3569+ SU2_MPI::Error (" Only WILKE transport model is stable for the NEMO solver." , CURRENT_FUNCTION);
3570+ }
3571+
35663572 if (!ideal_gas && !nemo) {
35673573 if (Kind_Upwind_Flow != ROE && Kind_Upwind_Flow != HLLC && Kind_Centered_Flow != JST) {
35683574 SU2_MPI::Error (" Only ROE Upwind, HLLC Upwind scheme, and JST scheme can be used for Non-Ideal Compressible Fluids" , CURRENT_FUNCTION);
@@ -4986,6 +4992,8 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
49864992 (Kind_Solver == INC_RANS) ||
49874993 (Kind_Solver == EULER) ||
49884994 (Kind_Solver == NAVIER_STOKES) ||
4995+ (Kind_Solver == NEMO_EULER) ||
4996+ (Kind_Solver == NEMO_NAVIER_STOKES) ||
49894997 (Kind_Solver == RANS) ||
49904998 (Kind_Solver == DISC_ADJ_EULER) ||
49914999 (Kind_Solver == DISC_ADJ_RANS) ||
@@ -5596,15 +5604,15 @@ void CConfig::SetOutput(unsigned short val_software, unsigned short val_izone) {
55965604 case NEMO_EULER:
55975605 if (Kind_Regime == COMPRESSIBLE) cout << " Compressible two-temperature thermochemical non-equilibrium Euler equations." << endl;
55985606 if (Kind_FluidModel == USER_DEFINED_NONEQ){
5599- if ((GasModel != " N2" ) && (GasModel != " AIR-5" ))
5600- SU2_MPI::Error (" The GAS_MODEL given as input is not valid. Choose one of the options: N2, AIR-5." , CURRENT_FUNCTION);
5607+ if ((GasModel != " N2" ) && (GasModel != " AIR-5" ) && (GasModel != " ARGON " ) )
5608+ SU2_MPI::Error (" The GAS_MODEL given as input is not valid. Choose one of the options: N2, AIR-5, ARGON ." , CURRENT_FUNCTION);
56015609 }
56025610 break ;
56035611 case NEMO_NAVIER_STOKES:
56045612 if (Kind_Regime == COMPRESSIBLE) cout << " Compressible two-temperature thermochemical non-equilibrium Navier-Stokes equations." << endl;
56055613 if (Kind_FluidModel == USER_DEFINED_NONEQ){
5606- if ((GasModel != " N2" ) && (GasModel != " AIR-5" ))
5607- SU2_MPI::Error (" The GAS_MODEL given as input is not valid. Choose one of the options: N2, AIR-5." , CURRENT_FUNCTION);
5614+ if ((GasModel != " N2" ) && (GasModel != " AIR-5" ) && (GasModel != " ARGON " ) )
5615+ SU2_MPI::Error (" The GAS_MODEL given as input is not valid. Choose one of the options: N2, AIR-5, ARGON ." , CURRENT_FUNCTION);
56085616 }
56095617 break ;
56105618 case FEM_LES:
@@ -6122,7 +6130,7 @@ void CConfig::SetOutput(unsigned short val_software, unsigned short val_izone) {
61226130 if (Kind_Upwind_Flow == SLAU2) cout << " Simple Low-Dissipation AUSM 2 solver for the flow inviscid terms." << endl;
61236131 if (Kind_Upwind_Flow == FDS) cout << " Flux difference splitting (FDS) upwind scheme for the flow inviscid terms." << endl;
61246132 if (Kind_Upwind_Flow == AUSMPLUSUP) cout << " AUSM+-up solver for the flow inviscid terms." << endl;
6125- if (Kind_Upwind_Flow == AUSMPLUSUP2) cout << " AUSM+-up2 solver for the flow inviscid terms." << endl;
6133+ if (Kind_Upwind_Flow == AUSMPLUSUP2) cout << " AUSM+-up2 solver for the flow inviscid terms." << endl;
61266134 if (Kind_Upwind_Flow == AUSMPWPLUS) cout << " AUSMPWPLUS solver for the flow inviscid terms." << endl;
61276135
61286136 if (Kind_Solver == EULER || Kind_Solver == DISC_ADJ_EULER ||
@@ -9297,6 +9305,13 @@ short CConfig::FindInterfaceMarker(unsigned short iInterface) const {
92979305 return -1 ;
92989306}
92999307
9308+ string CConfig::GetName_ObjFunc (unsigned short val_obj) const {
9309+ for (auto item : Objective_Map)
9310+ if (item.second == static_cast <ENUM_OBJECTIVE>(Kind_ObjFunc[val_obj]))
9311+ return item.first ;
9312+ return string ();
9313+ }
9314+
93009315void CConfig::Tick (double *val_start_time) {
93019316
93029317#ifdef PROFILE
0 commit comments