diff --git a/Common/src/CConfig.cpp b/Common/src/CConfig.cpp index bd291561566..28fd7dfb35a 100644 --- a/Common/src/CConfig.cpp +++ b/Common/src/CConfig.cpp @@ -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: