Go to the documentation of this file.
42 #ifndef hConstThermo_H
43 #define hConstThermo_H
54 template<
class EquationOfState>
61 template<
class EquationOfState>
68 template<
class EquationOfState>
75 template<
class EquationOfState>
87 template<
class EquationOfState>
90 public EquationOfState
103 const EquationOfState& st,
131 return "hConst<" + EquationOfState::typeName() +
'>';
135 inline scalar
limit(
const scalar
T)
const;
141 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
144 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
147 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
150 inline scalar
Hc()
const;
153 inline scalar
S(
const scalar
p,
const scalar
T)
const;
161 inline scalar
dGdT(
const scalar
p,
const scalar
T)
const;
164 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
202 friend Ostream& operator<< <EquationOfState>
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
A class for handling words, derived from Foam::string.
scalar Hc() const
Chemical enthalpy [J/kg].
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.
void operator+=(const hConstThermo &)
scalar dGdT(const scalar p, const scalar T) const
Derivative of Gibbs free energy w.r.t. temperature.
static word typeName()
Return the instantiated type name.
static autoPtr< hConstThermo > New(const dictionary &dict)
Selector from dictionary.
autoPtr< hConstThermo > clone() const
Construct and return a clone.
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
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.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
scalar S(const scalar p, const scalar T) const
Entropy [J/(kg K)].
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kg K)].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Constant properties thermodynamics package templated into the EquationOfState.