Go to the documentation of this file.
42 #ifndef eConstThermo_H
43 #define eConstThermo_H
56 template<
class EquationOfState>
63 template<
class EquationOfState>
70 template<
class EquationOfState>
77 template<
class EquationOfState>
89 template<
class EquationOfState>
92 public EquationOfState
110 const EquationOfState& st,
138 return "eConst<" + EquationOfState::typeName() +
'>';
142 inline scalar
limit(
const scalar
T)
const;
148 inline scalar
Cv(
const scalar
p,
const scalar
T)
const;
151 inline scalar
Es(
const scalar
p,
const scalar
T)
const;
154 inline scalar
Ea(
const scalar
p,
const scalar
T)
const;
157 inline scalar
Hc()
const;
160 inline scalar
S(
const scalar
p,
const scalar
T)
const;
168 inline scalar
dGdT(
const scalar
p,
const scalar
T)
const;
171 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
208 friend Ostream& operator<< <EquationOfState>
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/(kg K)].
autoPtr< eConstThermo > clone() const
Construct and return a clone.
static autoPtr< eConstThermo > New(const dictionary &dict)
A class for handling words, derived from Foam::string.
Constant properties thermodynamics package templated on an equation of state.
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
void write(Ostream &os) const
Write to Ostream.
scalar dGdT(const scalar p, const scalar T) const
Derivative of Gibbs free energy w.r.t. temperature.
void operator+=(const eConstThermo &)
static word typeName()
Return the instantiated type name.
scalar Hc() const
Chemical enthalpy [J/kg].
scalar Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [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)].
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...