Skip to content

Commit

Permalink
Merge branch 'develop' into fix_cornernode_comp
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristopher-Morales authored Aug 29, 2024
2 parents 48077f0 + ab5cfb7 commit 4b13197
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3920,6 +3920,13 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
SU2_MPI::Error("The use of FLUID_MIXTURE requires the INC_DENSITY_MODEL option to be VARIABLE",
CURRENT_FUNCTION);
}
/*--- Check whether the Kind scalar model used is correct, in the case of FLUID_MIXTURE the kind scalar model must
be SPECIES_TRANSPORT. Otherwise, if the scalar model is NONE, the species transport equations will not be solved.
--- */
if (Kind_Species_Model != SPECIES_MODEL::SPECIES_TRANSPORT) {
SU2_MPI::Error("The use of FLUID_MIXTURE requires the KIND_SCALAR_MODEL option to be SPECIES_TRANSPORT",
CURRENT_FUNCTION);
}

switch (Kind_ViscosityModel) {
case VISCOSITYMODEL::CONSTANT:
Expand Down

0 comments on commit 4b13197

Please sign in to comment.