Go to the documentation of this file.
42 #ifndef hRefConstThermo_H
43 #define hRefConstThermo_H
54 template<
class EquationOfState>
61 template<
class EquationOfState>
68 template<
class EquationOfState>
75 template<
class EquationOfState>
87 template<
class EquationOfState>
90 public EquationOfState
105 const EquationOfState& st,
135 return "hRefConst<" + EquationOfState::typeName() +
'>';
139 inline scalar
limit(
const scalar
T)
const;
145 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
148 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
151 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
154 inline scalar
Hc()
const;
157 inline scalar
S(
const scalar
p,
const scalar
T)
const;
165 inline scalar
dGdT(
const scalar
p,
const scalar
T)
const;
168 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
205 friend Ostream& operator<< <EquationOfState>
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
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.
autoPtr< hRefConstThermo > clone() const
Construct and return a clone.
scalar S(const scalar p, const scalar T) const
Entropy [J/(kg K)].
static word typeName()
Return the instantiated type name.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kg K)].
scalar Hc() const
Chemical enthalpy [J/kg].
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator+=(const hRefConstThermo &)
scalar dGdT(const scalar p, const scalar T) const
Derivative of Gibbs free energy w.r.t. temperature.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void write(Ostream &os) const
Write to Ostream.
static autoPtr< hRefConstThermo > New(const dictionary &dict)
Selector from dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
Constant properties thermodynamics package templated into the EquationOfState.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...