39 #ifndef sensibleInternalEnergy_H 40 #define sensibleInternalEnergy_H 51 template<
class Thermo>
67 return "sensibleInternalEnergy";
89 volatile const scalar cv =
thermo.Cv(
p,
T);
125 volatile const scalar es =
thermo.Es(
p,
T);
145 volatile const scalar tes =
thermo.TEs(
e,
p,
T0);
scalar CpByCpv(const Thermo &thermo, const scalar p, const scalar T) const
Ratio of specific heats Cp/Cv [].
scalar Cpv(const Thermo &thermo, const scalar p, const scalar T) const
Heat capacity at constant volume [J/(kg K)].
const dimensionedScalar e
Elementary charge.
scalar HE(const Thermo &thermo, const scalar p, const scalar T) const
Sensible internal energy [J/kg].
A class for handling words, derived from Foam::string.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
scalar THE(const Thermo &thermo, const scalar e, const scalar p, const scalar T0) const
Temperature from sensible internal energy given an initial temperature T0 [K].
static word typeName()
Return the instantiated type name.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Thermodynamics mapping class to expose the sensible internal energy functions.
sensibleInternalEnergy()
Constructor.