43 #ifndef eConstThermo_H 44 #define eConstThermo_H 57 template<
class EquationOfState>
64 template<
class EquationOfState>
71 template<
class EquationOfState>
78 template<
class EquationOfState>
90 template<
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>
scalar limit(const scalar T) const
Limit temperature to be within the range.
scalar Hc() const
Chemical enthalpy [J/kg].
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator+=(const eConstThermo &)
scalar Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
static word typeName()
Return the instantiated type name.
Constant properties thermodynamics package templated on an equation of state.
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
A class for handling words, derived from Foam::string.
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< eConstThermo > clone() const
Construct and return a clone.
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/(kg K)].
scalar S(const scalar p, const scalar T) const
Entropy [J/(kg K)].
void write(Ostream &os) const
Write to Ostream.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
static autoPtr< eConstThermo > New(const dictionary &dict)