55template<
class EquationOfState>
class eConstThermo;
57template<
class EquationOfState>
64template<
class EquationOfState>
71template<
class EquationOfState>
78template<
class EquationOfState>
90template<
class EquationOfState>
93 public EquationOfState
117 const EquationOfState& st,
147 return "eConst<" + EquationOfState::typeName() +
'>';
151 inline scalar
limit(
const scalar
T)
const;
157 inline scalar
Cv(
const scalar
p,
const scalar
T)
const;
160 inline scalar
Es(
const scalar
p,
const scalar
T)
const;
163 inline scalar
Ea(
const scalar
p,
const scalar
T)
const;
166 inline scalar
Hc()
const;
169 inline scalar
S(
const scalar
p,
const scalar
T)
const;
172 inline scalar
Gstd(
const scalar
T)
const;
181 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
218 friend Ostream& operator<< <EquationOfState>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Constant properties thermodynamics package templated on an equation of state.
scalar limit(const scalar T) const
Limit temperature to be within the range.
static word typeName()
Return the instantiated type name.
void operator+=(const eConstThermo &)
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
scalar Hc() const
Chemical enthalpy [J/kg].
scalar S(const scalar p, const scalar T) const
Entropy [J/(kg K)].
eConstThermo(const word &, const eConstThermo &)
Construct as named copy.
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
static autoPtr< eConstThermo > New(const dictionary &dict)
autoPtr< eConstThermo > clone() const
Construct and return a clone.
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
scalar Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
A class for handling words, derived from Foam::string.
const volScalarField & Cv
OBJstream os(runTime.globalPath()/outputName)