43 #ifndef hConstThermo_H 44 #define hConstThermo_H 55 template<
class EquationOfState>
62 template<
class EquationOfState>
69 template<
class EquationOfState>
76 template<
class EquationOfState>
88 template<
class EquationOfState>
91 public EquationOfState
110 const EquationOfState& st,
140 return "hConst<" + EquationOfState::typeName() +
'>';
144 inline scalar
limit(
const scalar
T)
const;
150 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
153 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
156 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
159 inline scalar
Hc()
const;
162 inline scalar
S(
const scalar
p,
const scalar
T)
const;
165 inline scalar
Gstd(
const scalar
T)
const;
174 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
212 friend Ostream& operator<< <EquationOfState>
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
Constant properties thermodynamics package templated into the EquationOfState.
scalar limit(const scalar T) const
Limit temperature to be within the range.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
autoPtr< hConstThermo > clone() const
Construct and return a clone.
static autoPtr< hConstThermo > New(const dictionary &dict)
Selector from dictionary.
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
static word typeName()
Return the instantiated type name.
void operator+=(const hConstThermo &)
A class for handling words, derived from Foam::string.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kg K)].
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)
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)].
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
void write(Ostream &os) const
Write to Ostream.
scalar Hc() const
Chemical enthalpy [J/kg].