Go to the documentation of this file.
39 #ifndef eRefConstThermo_H
40 #define eRefConstThermo_H
51 template<
class EquationOfState>
58 template<
class EquationOfState>
65 template<
class EquationOfState>
72 template<
class EquationOfState>
84 template<
class EquationOfState>
87 public EquationOfState
102 const EquationOfState& st,
132 return "eRefConst<" + EquationOfState::typeName() +
'>';
136 inline scalar
limit(
const scalar
T)
const;
142 inline scalar
Cv(
const scalar
p,
const scalar
T)
const;
145 inline scalar
Es(
const scalar
p,
const scalar
T)
const;
148 inline scalar
Ea(
const scalar
p,
const scalar
T)
const;
151 inline scalar
Hc()
const;
154 inline scalar
S(
const scalar
p,
const scalar
T)
const;
162 inline scalar
dGdT(
const scalar
p,
const scalar
T)
const;
165 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
202 friend Ostream& operator<< <EquationOfState>
A class for handling words, derived from Foam::string.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
static word typeName()
Return the instantiated type name.
void write(Ostream &os) const
Write to Ostream.
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/(kg K)].
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
scalar dGdT(const scalar p, const scalar T) const
Derivative of Gibbs free energy w.r.t. temperature.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator+=(const eRefConstThermo &)
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
autoPtr< eRefConstThermo > clone() const
Construct and return a clone.
scalar Hc() const
Chemical enthalpy [J/kg].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar S(const scalar p, const scalar T) const
Entropy [J/(kg K)].
Constant properties thermodynamics package templated into the EquationOfState.
scalar Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< eRefConstThermo > New(const dictionary &dict)
Selector from dictionary.