Go to the documentation of this file.
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].
A class for handling words, derived from Foam::string.
scalar Hc() const
Chemical enthalpy [J/kg].
scalar limit(const scalar T) const
Limit temperature to be within the range.
void write(Ostream &os) const
Write to Ostream.
void operator+=(const hConstThermo &)
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,...
OBJstream os(runTime.globalPath()/outputName)
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
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.