Skip to content

Commit 61f4070

Browse files
protection to set monoatomic when using argon
1 parent d10eebf commit 61f4070

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Common/src/CConfig.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3557,6 +3557,10 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
35573557
SU2_MPI::Error("ARGON is not working with SU2_NONEQ fluid model!", CURRENT_FUNCTION);
35583558
}
35593559

3560+
if (GetGasModel() == "ARGON" && GetMonoatomic() == false){
3561+
SU2_MPI::Error("If you're running an argon mixture, set MONOATOMIC= YES in the .cfg file!", CURRENT_FUNCTION);
3562+
}
3563+
35603564
if(GetBoolTurbomachinery()){
35613565
nBlades = new su2double[nZone];
35623566
FreeStreamTurboNormal= new su2double[3];

0 commit comments

Comments
 (0)