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
aca450de
Commit
aca450de
authored
Nov 04, 2011
by
andy
Browse files
ENH: Added access to janaf parameters in API
parent
95c83abb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/thermophysicalModels/specie/thermo/janaf/janafThermo.H
View file @
aca450de
...
...
@@ -153,6 +153,25 @@ public:
//- Limit the temperature to be in the range Tlow_ to Thigh_
inline
scalar
limit
(
const
scalar
T
)
const
;
// Access
//- Return const access to the low temperature limit
inline
scalar
Tlow
()
const
;
//- Return const access to the high temperature limit
inline
scalar
Thigh
()
const
;
//- Return const access to the common temperature
inline
scalar
Tcommon
()
const
;
//- Return const access to the high temperature poly coefficients
inline
const
coeffArray
&
highCpCoeffs
()
const
;
//- Return const access to the low temperature poly coefficients
inline
const
coeffArray
&
lowCpCoeffs
()
const
;
// Fundamental properties
//- Heat capacity at constant pressure [J/(kmol K)]
...
...
src/thermophysicalModels/specie/thermo/janaf/janafThermoI.H
View file @
aca450de
...
...
@@ -119,6 +119,43 @@ inline Foam::scalar Foam::janafThermo<EquationOfState>::limit
}
template
<
class
EquationOfState
>
inline
Foam
::
scalar
Foam
::
janafThermo
<
EquationOfState
>::
Tlow
()
const
{
return
Tlow_
;
}
template
<
class
EquationOfState
>
inline
Foam
::
scalar
Foam
::
janafThermo
<
EquationOfState
>::
Thigh
()
const
{
return
Thigh_
;
}
template
<
class
EquationOfState
>
inline
Foam
::
scalar
Foam
::
janafThermo
<
EquationOfState
>::
Tcommon
()
const
{
return
Tcommon_
;
}
template
<
class
EquationOfState
>
inline
const
typename
Foam
::
janafThermo
<
EquationOfState
>::
coeffArray
&
Foam
::
janafThermo
<
EquationOfState
>::
highCpCoeffs
()
const
{
return
highCpCoeffs_
;
}
template
<
class
EquationOfState
>
inline
const
typename
Foam
::
janafThermo
<
EquationOfState
>::
coeffArray
&
Foam
::
janafThermo
<
EquationOfState
>::
lowCpCoeffs
()
const
{
return
lowCpCoeffs_
;
}
template
<
class
EquationOfState
>
inline
Foam
::
scalar
Foam
::
janafThermo
<
EquationOfState
>::
cp
(
...
...
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