Skip to content

Commit d2e69ea

Browse files
authored
Merge branch 'develop' into feature_small_restart
2 parents f968780 + cde8892 commit d2e69ea

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Common/src/CConfig.cpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3483,6 +3483,22 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
34833483
if (Kind_Solver == MAIN_SOLVER::INC_RANS && Kind_Turb_Model == TURB_MODEL::NONE){
34843484
SU2_MPI::Error("A turbulence model must be specified with KIND_TURB_MODEL if SOLVER= INC_RANS", CURRENT_FUNCTION);
34853485
}
3486+
if (Kind_Turb_Model == TURB_MODEL::NONE && Kind_Trans_Model != TURB_TRANS_MODEL::NONE) {
3487+
SU2_MPI::Error("KIND_TURB_MODEL cannot be NONE to use a transition model", CURRENT_FUNCTION);
3488+
}
3489+
switch (Kind_Solver) {
3490+
case MAIN_SOLVER::EULER:
3491+
case MAIN_SOLVER::INC_EULER:
3492+
case MAIN_SOLVER::FEM_EULER:
3493+
case MAIN_SOLVER::NEMO_EULER:
3494+
if (nMarker_HeatFlux + nMarker_Isothermal + nMarker_HeatTransfer +
3495+
nMarker_Smoluchowski_Maxwell + nMarker_CHTInterface > 0) {
3496+
SU2_MPI::Error("Euler solvers are only compatible with slip walls (MARKER_EULER)", CURRENT_FUNCTION);
3497+
}
3498+
break;
3499+
default:
3500+
break;
3501+
}
34863502

34873503
/*--- Postprocess SST_OPTIONS into structure. ---*/
34883504
if (Kind_Turb_Model == TURB_MODEL::SST) {

0 commit comments

Comments
 (0)