Public Member Functions | |
TypeName ("N2") | |
Runtime type information. More... | |
N2 () | |
Construct null. More... | |
N2 (const liquidProperties &l, const Function1s::NSRDS5 &density, const Function1s::NSRDS1 &vapourPressure, const Function1s::NSRDS6 &heatOfVapourisation, const Function1s::NSRDS0 &heatCapacity, const Function1s::NSRDS0 &enthalpy, const Function1s::NSRDS7 &idealGasHeatCapacity, const Function1s::NSRDS4 &secondVirialCoeff, const Function1s::NSRDS1 &dynamicViscosity, const Function1s::NSRDS2 &vapourDynamicViscosity, const Function1s::NSRDS0 &thermalConductivity, const Function1s::NSRDS2 &vapourThermalConductivity, const Function1s::NSRDS6 &surfaceTension, const Function2s::APIdiffCoef &vapourDiffusivity) | |
Construct from components. More... | |
N2 (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< liquidProperties > | clone () const |
Construct and return clone. More... | |
scalar | rho (scalar p, scalar T) const |
Liquid density [kg/m^3]. More... | |
scalar | pv (scalar p, scalar T) const |
Vapour pressure [Pa]. More... | |
scalar | hl (scalar p, scalar T) const |
Heat of vapourisation [J/kg]. More... | |
scalar | Cp (scalar p, scalar T) const |
Liquid heat capacity [J/kg/K]. More... | |
scalar | hs (scalar p, scalar T) const |
Liquid sensible enthalpy [J/kg]. More... | |
scalar | hf () const |
Liquid heat of formation [J/kg]. More... | |
scalar | ha (scalar p, scalar T) const |
Liquid absolute enthalpy [J/kg]. More... | |
scalar | Cpg (scalar p, scalar T) const |
Ideal gas heat capacity [J/kg/K]. More... | |
scalar | B (scalar p, scalar T) const |
Second Virial Coefficient [m^3/kg]. More... | |
scalar | mu (scalar p, scalar T) const |
Liquid viscosity [Pa s]. More... | |
scalar | mug (scalar p, scalar T) const |
Vapour viscosity [Pa s]. More... | |
scalar | kappa (scalar p, scalar T) const |
Liquid thermal conductivity [W/m/K]. More... | |
scalar | kappag (scalar p, scalar T) const |
Vapour thermal conductivity [W/m/K]. More... | |
scalar | sigma (scalar p, scalar T) const |
Surface tension [N/m]. More... | |
scalar | D (scalar p, scalar T) const |
Vapour diffusivity [m^2/s]. More... | |
scalar | D (scalar p, scalar T, scalar Wb) const |
Vapour diffusivity [m^2/s] with specified binary pair. More... | |
void | write (Ostream &os) const |
Write the function coefficients. More... | |
Public Member Functions inherited from liquidProperties | |
TypeName ("liquid") | |
declareRunTimeSelectionTable (autoPtr, liquidProperties,,(),()) | |
declareRunTimeSelectionTable (autoPtr, liquidProperties, dictionary,(const dictionary &dict),(dict)) | |
liquidProperties (const word &name, scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta) | |
Construct from components. More... | |
liquidProperties (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~liquidProperties () |
Destructor. More... | |
virtual const word & | name () const |
Return the name of the liquid. More... | |
scalar | Y () const |
Mass fraction of this specie in mixture. More... | |
scalar | Tc () const |
Critical temperature [K]. More... | |
scalar | Pc () const |
Critical pressure [Pa]. More... | |
scalar | Vc () const |
Critical volume [m^3/kmol]. More... | |
scalar | Zc () const |
Critical compressibility factor. More... | |
scalar | Tt () const |
Triple point temperature [K]. More... | |
scalar | Pt () const |
Triple point pressure [Pa]. More... | |
scalar | Tb () const |
Normal boiling temperature [K]. More... | |
scalar | dipm () const |
Dipole moment []. More... | |
scalar | omega () const |
Pitzer's acentric factor []. More... | |
scalar | delta () const |
Solubility parameter [(J/m^3)^(1/2)]. More... | |
scalar | limit (const scalar T) const |
Limit the temperature to be in the range Tlow_ to Thigh_. More... | |
scalar | psi (scalar p, scalar T) const |
Liquid compressibility [s^2/m^2]. More... | |
scalar | CpMCv (scalar p, scalar T) const |
Return (Cp - Cv) [J/(kg K]. More... | |
scalar | es (scalar p, const scalar T) const |
Sensible internal energy [J/kg]. More... | |
scalar | ea (scalar p, scalar T) const |
Absolute internal energy [J/kg]. More... | |
scalar | s (const scalar p, const scalar T) const |
Liquid entropy [J/kg/K]. More... | |
virtual scalar | pvInvert (scalar p) const |
Invert the vapour pressure relationship to retrieve the. More... | |
void | readIfPresent (const dictionary &dict) |
Read and set the properties present it the given dictionary. More... | |
template<class Func > | |
void | readIfPresent (Func &f, const Function1< scalar > &, const word &name, const dimensionSet &dims, const dictionary &dict) |
Read and set the function coefficients. More... | |
template<class Func > | |
void | readIfPresent (Func &f, const Function2< scalar > &, const word &name, const dimensionSet &dims, const dictionary &dict) |
Read and set the function coefficients. More... | |
template<class Func > | |
void | readIfPresent (Func &f, const word &name, const dimensionSet &dims, const dictionary &dict) |
Read and set the function coefficients. More... | |
template<class Liquid > | |
void | readIfPresent (Liquid &l, const dictionary &dict) |
Read and set the function coefficients. More... | |
template<class Func > | |
void | write (const Func &f, const Function1< scalar > &, const dimensionSet &dims, Ostream &os) const |
... More... | |
template<class Func > | |
void | write (const Func &f, const Function2< scalar > &, const dimensionSet &dims, Ostream &os) const |
... More... | |
template<class Func > | |
void | write (const Func &f, const dimensionSet &dims, Ostream &os) const |
... More... | |
template<class Func > | |
void | write (const autoPtr< Func > &f, const dimensionSet &dims, Ostream &os) const |
... More... | |
template<class Liquid > | |
void | write (const Liquid &l, Ostream &os) const |
Write the data for each of the property functions. More... | |
Public Member Functions inherited from thermophysicalProperties | |
TypeName ("thermophysicalProperties") | |
declareRunTimeSelectionTable (autoPtr, thermophysicalProperties,,(),()) | |
declareRunTimeSelectionTable (autoPtr, thermophysicalProperties, dictionary,(const dictionary &dict),(dict)) | |
thermophysicalProperties (scalar W) | |
Construct from molecular weight. More... | |
thermophysicalProperties (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~thermophysicalProperties () |
Destructor. More... | |
scalar | W () const |
Molecular weight [kg/kmol]. More... | |
scalar | limit (const scalar T) const |
Limit the temperature to be in the range Tlow_ to Thigh_. More... | |
void | readIfPresent (const dictionary &dict) |
Read and set the properties present it the given dictionary. More... | |
Friends | |
class | liquidProperties |
Additional Inherited Members | |
Static Public Member Functions inherited from liquidProperties | |
static autoPtr< liquidProperties > | New (const word &name) |
Return a pointer to a new liquidProperties created from name. More... | |
static autoPtr< liquidProperties > | New (const dictionary &dict) |
Return a pointer to a new liquidProperties created from dictionary. More... | |
Static Public Member Functions inherited from thermophysicalProperties | |
static autoPtr< thermophysicalProperties > | New (const word &name) |
Return a pointer to a new thermophysicalProperties created from name. More... | |
static autoPtr< thermophysicalProperties > | New (const dictionary &dict) |
Return a pointer to a new thermophysicalProperties. More... | |
Static Public Attributes inherited from liquidProperties | |
static const bool | incompressible = true |
Is the equation of state is incompressible i.e. rho != f(p) More... | |
static const bool | isochoric = false |
Is the equation of state is isochoric i.e. rho = const. More... | |
N2 | ( | ) |
Construct null.
Definition at line 43 of file N2.C.
Referenced by N2::clone().
N2 | ( | const liquidProperties & | l, |
const Function1s::NSRDS5 & | density, | ||
const Function1s::NSRDS1 & | vapourPressure, | ||
const Function1s::NSRDS6 & | heatOfVapourisation, | ||
const Function1s::NSRDS0 & | heatCapacity, | ||
const Function1s::NSRDS0 & | enthalpy, | ||
const Function1s::NSRDS7 & | idealGasHeatCapacity, | ||
const Function1s::NSRDS4 & | secondVirialCoeff, | ||
const Function1s::NSRDS1 & | dynamicViscosity, | ||
const Function1s::NSRDS2 & | vapourDynamicViscosity, | ||
const Function1s::NSRDS0 & | thermalConductivity, | ||
const Function1s::NSRDS2 & | vapourThermalConductivity, | ||
const Function1s::NSRDS6 & | surfaceTension, | ||
const Function2s::APIdiffCoef & | vapourDiffusivity | ||
) |
N2 | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 147 of file N2.C.
References dict, and liquidProperties::readIfPresent().
TypeName | ( | "N2" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return clone.
Implements liquidProperties.
Definition at line 118 of file N2.H.
References N2::N2().
|
inlinevirtual |
Liquid density [kg/m^3].
Implements thermophysicalProperties.
Definition at line 26 of file N2I.H.
References Foam::T(), and NSRDS5::value().
|
inlinevirtual |
Vapour pressure [Pa].
Implements liquidProperties.
Definition at line 32 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Heat of vapourisation [J/kg].
Implements liquidProperties.
Definition at line 38 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Liquid heat capacity [J/kg/K].
Implements thermophysicalProperties.
Definition at line 44 of file N2I.H.
References Foam::T().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Liquid absolute enthalpy [J/kg].
Implements liquidProperties.
Definition at line 62 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Ideal gas heat capacity [J/kg/K].
Implements liquidProperties.
Definition at line 68 of file N2I.H.
References Foam::T().
|
inline |
|
inlinevirtual |
Liquid viscosity [Pa s].
Implements liquidProperties.
Definition at line 80 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Vapour viscosity [Pa s].
Implements liquidProperties.
Definition at line 86 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Liquid thermal conductivity [W/m/K].
Implements liquidProperties.
Definition at line 92 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Vapour thermal conductivity [W/m/K].
Implements liquidProperties.
Definition at line 98 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Surface tension [N/m].
Implements liquidProperties.
Definition at line 104 of file N2I.H.
References Foam::T().
|
inlinevirtual |
Vapour diffusivity [m^2/s].
Implements liquidProperties.
Definition at line 110 of file N2I.H.
|
inlinevirtual |
Vapour diffusivity [m^2/s] with specified binary pair.
Implements liquidProperties.
Definition at line 116 of file N2I.H.
|
virtual |
Write the function coefficients.
Implements liquidProperties.
Definition at line 157 of file N2.C.
References liquidProperties::write().
|
friend |