Skip to content
Snippets Groups Projects
Commit 95c83abb authored by andy's avatar andy
Browse files

BUG: Wrong error type used in janaf thermo check data

parent 09f60581
No related branches found
No related tags found
No related merge requests found
......@@ -35,21 +35,21 @@ void Foam::janafThermo<EquationOfState>::checkInputData() const
{
FatalErrorIn("janafThermo<EquationOfState>::check()")
<< "Tlow(" << Tlow_ << ") >= Thigh(" << Thigh_ << ')'
<< exit(FatalIOError);
<< exit(FatalError);
}
if (Tcommon_ <= Tlow_)
{
FatalErrorIn("janafThermo<EquationOfState>::check()")
<< "Tcommon(" << Tcommon_ << ") <= Tlow(" << Tlow_ << ')'
<< exit(FatalIOError);
<< exit(FatalError);
}
if (Tcommon_ > Thigh_)
{
FatalErrorIn("janafThermo<EquationOfState>::check()")
<< "Tcommon(" << Tcommon_ << ") > Thigh(" << Thigh_ << ')'
<< exit(FatalIOError);
<< exit(FatalError);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment