Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
95c83abb
Commit
95c83abb
authored
Nov 04, 2011
by
andy
Browse files
BUG: Wrong error type used in janaf thermo check data
parent
09f60581
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/thermophysicalModels/specie/thermo/janaf/janafThermo.C
View file @
95c83abb
...
...
@@ -35,21 +35,21 @@ void Foam::janafThermo<EquationOfState>::checkInputData() const
{
FatalErrorIn
(
"janafThermo<EquationOfState>::check()"
)
<<
"Tlow("
<<
Tlow_
<<
") >= Thigh("
<<
Thigh_
<<
')'
<<
exit
(
Fatal
IO
Error
);
<<
exit
(
FatalError
);
}
if
(
Tcommon_
<=
Tlow_
)
{
FatalErrorIn
(
"janafThermo<EquationOfState>::check()"
)
<<
"Tcommon("
<<
Tcommon_
<<
") <= Tlow("
<<
Tlow_
<<
')'
<<
exit
(
Fatal
IO
Error
);
<<
exit
(
FatalError
);
}
if
(
Tcommon_
>
Thigh_
)
{
FatalErrorIn
(
"janafThermo<EquationOfState>::check()"
)
<<
"Tcommon("
<<
Tcommon_
<<
") > Thigh("
<<
Thigh_
<<
')'
<<
exit
(
Fatal
IO
Error
);
<<
exit
(
FatalError
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment