All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CH4N2O Class Reference

urea, note that some of the properties are unavailable in the literature and have been copied from water. More...

Inheritance diagram for CH4N2O:
Collaboration diagram for CH4N2O:

Public Member Functions

 TypeName ("CH4N2O")
 Runtime type information. More...
 
 CH4N2O ()
 Construct null. More...
 
 CH4N2O (const liquidProperties &l, const thermophysicalFunctions::NSRDS0 &density, const thermophysicalFunctions::NSRDS1 &vapourPressure, const thermophysicalFunctions::NSRDS6 &heatOfVapourisation, const thermophysicalFunctions::NSRDS0 &heatCapacity, const thermophysicalFunctions::NSRDS0 &enthalpy, const thermophysicalFunctions::NSRDS7 &idealGasHeatCapacity, const thermophysicalFunctions::NSRDS4 &secondVirialCoeff, const thermophysicalFunctions::NSRDS1 &dynamicViscosity, const thermophysicalFunctions::NSRDS2 &vapourDynamicViscosity, const thermophysicalFunctions::NSRDS0 &thermalConductivity, const thermophysicalFunctions::NSRDS2 &vapourThermalConductivity, const thermophysicalFunctions::NSRDS6 &surfaceTension, const thermophysicalFunctions::APIdiffCoef &vapourDiffusivity)
 Construct from components. More...
 
 CH4N2O (const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< liquidPropertiesclone () 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 h (scalar p, scalar T) const
 Liquid 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 (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...
 
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 Hs (const scalar p, const scalar T) const
 Sensible enthalpy [J/kg]. More...
 
scalar Hf () const
 Enthalpy of formation [J/kg]. More...
 
scalar Ha (const scalar p, const scalar T) const
 Absolute enthalpy [J/kg]. More...
 
scalar S (const scalar p, const scalar T) const
 
scalar alphah (const scalar p, const scalar T) const
 Liquid thermal diffusivity of enthalpy [kg/m/s]. 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 word &name, 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 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< liquidPropertiesNew (const word &name)
 Return a pointer to a new liquidProperties created from name. More...
 
static autoPtr< liquidPropertiesNew (const dictionary &dict)
 Return a pointer to a new liquidProperties created from dictionary. More...
 
- Static Public Member Functions inherited from thermophysicalProperties
static autoPtr< thermophysicalPropertiesNew (const word &name)
 Return a pointer to a new thermophysicalProperties created from name. More...
 
static autoPtr< thermophysicalPropertiesNew (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...
 

Detailed Description

urea, note that some of the properties are unavailable in the literature and have been copied from water.

Source files

Definition at line 59 of file CH4N2O.H.

Constructor & Destructor Documentation

◆ CH4N2O() [1/3]

CH4N2O ( )

Construct null.

Definition at line 40 of file CH4N2O.C.

Referenced by CH4N2O::clone().

Here is the caller graph for this function:

◆ CH4N2O() [2/3]

CH4N2O ( const liquidProperties l,
const thermophysicalFunctions::NSRDS0 density,
const thermophysicalFunctions::NSRDS1 vapourPressure,
const thermophysicalFunctions::NSRDS6 heatOfVapourisation,
const thermophysicalFunctions::NSRDS0 heatCapacity,
const thermophysicalFunctions::NSRDS0 enthalpy,
const thermophysicalFunctions::NSRDS7 idealGasHeatCapacity,
const thermophysicalFunctions::NSRDS4 secondVirialCoeff,
const thermophysicalFunctions::NSRDS1 dynamicViscosity,
const thermophysicalFunctions::NSRDS2 vapourDynamicViscosity,
const thermophysicalFunctions::NSRDS0 thermalConductivity,
const thermophysicalFunctions::NSRDS2 vapourThermalConductivity,
const thermophysicalFunctions::NSRDS6 surfaceTension,
const thermophysicalFunctions::APIdiffCoef vapourDiffusivity 
)

Construct from components.

Definition at line 80 of file CH4N2O.C.

◆ CH4N2O() [3/3]

CH4N2O ( const dictionary dict)

Construct from dictionary.

Definition at line 114 of file CH4N2O.C.

References liquidProperties::readIfPresent().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "CH4N2O"  )

Runtime type information.

◆ clone()

virtual autoPtr<liquidProperties> clone ( ) const
inlinevirtual

Construct and return clone.

Implements liquidProperties.

Definition at line 115 of file CH4N2O.H.

References CH4N2O::B(), CH4N2O::CH4N2O(), CH4N2O::Cp(), CH4N2O::Cpg(), CH4N2O::D(), CH4N2O::h(), CH4N2O::hl(), CH4N2O::kappa(), CH4N2O::kappag(), CH4N2O::mu(), CH4N2O::mug(), p, CH4N2O::pv(), CH4N2O::rho(), CH4N2O::sigma(), Foam::T(), and CH4N2O::write().

Here is the call graph for this function:

◆ rho()

Foam::scalar rho ( scalar  p,
scalar  T 
) const
inlinevirtual

Liquid density [kg/m^3].

Implements thermophysicalProperties.

Definition at line 26 of file CH4N2OI.H.

References NSRDS0::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pv()

Foam::scalar pv ( scalar  p,
scalar  T 
) const
inlinevirtual

Vapour pressure [Pa].

Implements liquidProperties.

Definition at line 32 of file CH4N2OI.H.

References NSRDS1::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hl()

Foam::scalar hl ( scalar  p,
scalar  T 
) const
inlinevirtual

Heat of vapourisation [J/kg].

Implements liquidProperties.

Definition at line 38 of file CH4N2OI.H.

References NSRDS6::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cp()

Foam::scalar Cp ( scalar  p,
scalar  T 
) const
inlinevirtual

Liquid heat capacity [J/kg/K].

Implements thermophysicalProperties.

Definition at line 44 of file CH4N2OI.H.

References NSRDS0::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ h()

Foam::scalar h ( scalar  p,
scalar  T 
) const
inlinevirtual

Liquid enthalpy [J/kg].

Implements liquidProperties.

Definition at line 50 of file CH4N2OI.H.

References NSRDS0::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cpg()

Foam::scalar Cpg ( scalar  p,
scalar  T 
) const
inlinevirtual

Ideal gas heat capacity [J/kg/K].

Implements liquidProperties.

Definition at line 56 of file CH4N2OI.H.

References NSRDS7::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ B()

Foam::scalar B ( scalar  p,
scalar  T 
) const
inline

Second Virial Coefficient [m^3/kg].

Definition at line 62 of file CH4N2OI.H.

References NSRDS4::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mu()

Foam::scalar mu ( scalar  p,
scalar  T 
) const
inlinevirtual

Liquid viscosity [Pa s].

Implements liquidProperties.

Definition at line 68 of file CH4N2OI.H.

References NSRDS1::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mug()

Foam::scalar mug ( scalar  p,
scalar  T 
) const
inlinevirtual

Vapour viscosity [Pa s].

Implements liquidProperties.

Definition at line 74 of file CH4N2OI.H.

References NSRDS2::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kappa()

Foam::scalar kappa ( scalar  p,
scalar  T 
) const
inlinevirtual

Liquid thermal conductivity [W/m/K].

Implements liquidProperties.

Definition at line 80 of file CH4N2OI.H.

References NSRDS0::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kappag()

Foam::scalar kappag ( scalar  p,
scalar  T 
) const
inlinevirtual

Vapour thermal conductivity [W/m/K].

Implements liquidProperties.

Definition at line 86 of file CH4N2OI.H.

References NSRDS2::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sigma()

Foam::scalar sigma ( scalar  p,
scalar  T 
) const
inlinevirtual

Surface tension [N/m].

Implements liquidProperties.

Definition at line 92 of file CH4N2OI.H.

References NSRDS6::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ D() [1/2]

Foam::scalar D ( scalar  p,
scalar  T 
) const
inlinevirtual

Vapour diffusivity [m^2/s].

Implements liquidProperties.

Definition at line 98 of file CH4N2OI.H.

References APIdiffCoef::f().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ D() [2/2]

Foam::scalar D ( scalar  p,
scalar  T,
scalar  Wb 
) const
inlinevirtual

Vapour diffusivity [m^2/s] with specified binary pair.

Implements liquidProperties.

Definition at line 104 of file CH4N2OI.H.

References APIdiffCoef::f().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write the function coefficients.

Implements liquidProperties.

Definition at line 124 of file CH4N2O.C.

References liquidProperties::write().

Referenced by CH4N2O::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ liquidProperties

friend class liquidProperties
friend

Definition at line 81 of file CH4N2O.H.


The documentation for this class was generated from the following files: