Public Member Functions | Static Public Member Functions | Private Attributes | Friends
liquidProperties Class Reference

The thermophysical properties of a liquidProperties. More...

Inheritance diagram for liquidProperties:
Inheritance graph
[legend]

Public Member Functions

 TypeName ("liquidProperties")
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties, Istream,(Istream &is),(is))
 
 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 (Istream &is)
 Construct from Istream. More...
 
 liquidProperties (const dictionary &dict)
 Construct from dictionary. More...
 
 liquidProperties (const liquidProperties &liq)
 Construct copy. More...
 
virtual autoPtr< liquidPropertiesclone () const
 Construct and return clone. More...
 
virtual ~liquidProperties ()
 Destructor. More...
 
scalar W () const
 Molecular weight [kg/kmol]. 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 compressibilty 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 ascentric factor []. More...
 
scalar delta () const
 Solubility parameter [(J/m^3)^(1/2)]. More...
 
virtual scalar rho (scalar p, scalar T) const
 Liquid rho [kg/m^3]. More...
 
virtual scalar pv (scalar p, scalar T) const
 Vapour pressure [Pa]. More...
 
virtual scalar hl (scalar p, scalar T) const
 Heat of vapourisation [J/kg]. More...
 
virtual scalar Cp (scalar p, scalar T) const
 Liquid heat capacity [J/(kg K)]. More...
 
virtual scalar h (scalar p, scalar T) const
 Liquid enthalpy [J/kg] - reference to 298.15 K. More...
 
virtual scalar Cpg (scalar p, scalar T) const
 Ideal gas heat capacity [J/(kg K)]. More...
 
virtual scalar mu (scalar p, scalar T) const
 Liquid viscosity [Pa s]. More...
 
virtual scalar mug (scalar p, scalar T) const
 Vapour viscosity [Pa s]. More...
 
virtual scalar K (scalar p, scalar T) const
 Liquid thermal conductivity [W/(m K)]. More...
 
virtual scalar Kg (scalar p, scalar T) const
 Vapour thermal conductivity [W/(m K)]. More...
 
virtual scalar sigma (scalar p, scalar T) const
 Surface tension [N/m]. More...
 
virtual scalar D (scalar p, scalar T) const
 Vapour diffussivity [m2/s]. More...
 
virtual scalar D (scalar p, scalar T, scalar Wb) const
 Vapour diffussivity [m2/s] with specified binary pair. More...
 
virtual scalar pvInvert (scalar p) const
 Invert the vapour pressure relationship to retrieve the. More...
 
virtual void writeData (Ostream &os) const
 Write the function coefficients. More...
 

Static Public Member Functions

static autoPtr< liquidPropertiesNew (Istream &is)
 Return a pointer to a new liquidProperties created from input. More...
 
static autoPtr< liquidPropertiesNew (const dictionary &dict)
 Return a pointer to a new liquidProperties created from dictionary. More...
 

Private Attributes

scalar W_
 Molecular weight [kg/kmol]. More...
 
scalar Tc_
 Critical temperature [K]. More...
 
scalar Pc_
 Critical pressure [Pa]. More...
 
scalar Vc_
 Critical volume [m^3/kmol]. More...
 
scalar Zc_
 Critical compressibility factor []. More...
 
scalar Tt_
 Triple point temperature [K]. More...
 
scalar Pt_
 Triple point pressure [Pa]. More...
 
scalar Tb_
 Normal boiling temperature [K]. More...
 
scalar dipm_
 Dipole moment []. More...
 
scalar omega_
 Pitzer's accentric factor []. More...
 
scalar delta_
 Solubility parameter [(J/m^3)^0.5]. More...
 

Friends

Ostreamoperator<< (Ostream &os, const liquidProperties &l)
 Ostream Operator. More...
 

Detailed Description

The thermophysical properties of a liquidProperties.

Source files

Definition at line 53 of file liquidProperties.H.

Constructor & Destructor Documentation

◆ liquidProperties() [1/4]

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.

Definition at line 43 of file liquidProperties.C.

Referenced by liquidProperties::clone().

Here is the caller graph for this function:

◆ liquidProperties() [2/4]

Construct from Istream.

Definition at line 71 of file liquidProperties.C.

◆ liquidProperties() [3/4]

liquidProperties ( const dictionary dict)

Construct from dictionary.

Definition at line 87 of file liquidProperties.C.

◆ liquidProperties() [4/4]

Construct copy.

Definition at line 103 of file liquidProperties.C.

◆ ~liquidProperties()

virtual ~liquidProperties ( )
inlinevirtual

Destructor.

Definition at line 170 of file liquidProperties.H.

Member Function Documentation

◆ TypeName()

TypeName ( "liquidProperties"  )

◆ declareRunTimeSelectionTable() [1/3]

declareRunTimeSelectionTable ( autoPtr  ,
liquidProperties  ,
()  ,
()   
)

◆ declareRunTimeSelectionTable() [2/3]

declareRunTimeSelectionTable ( autoPtr  ,
liquidProperties  ,
Istream  ,
(Istream &is)  ,
(is)   
)

◆ declareRunTimeSelectionTable() [3/3]

declareRunTimeSelectionTable ( autoPtr  ,
liquidProperties  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

◆ clone()

virtual autoPtr<liquidProperties> clone ( ) const
inlinevirtual

Construct and return clone.

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 154 of file liquidProperties.H.

References liquidProperties::liquidProperties().

Here is the call graph for this function:

◆ New() [1/2]

Foam::autoPtr< Foam::liquidProperties > New ( Istream is)
static

Return a pointer to a new liquidProperties created from input.

Definition at line 121 of file liquidProperties.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.

Here is the call graph for this function:

◆ New() [2/2]

Foam::autoPtr< Foam::liquidProperties > New ( const dictionary dict)
static

Return a pointer to a new liquidProperties created from dictionary.

Definition at line 167 of file liquidProperties.C.

References Foam::abort(), dict, dictionaryName::dictName(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), Foam::nl, and dictionary::subDict().

Here is the call graph for this function:

◆ W()

Foam::scalar W ( ) const
inline

Molecular weight [kg/kmol].

Definition at line 26 of file liquidPropertiesI.H.

References liquidProperties::W_.

Referenced by liquidFilmThermo::W().

Here is the caller graph for this function:

◆ Tc()

Foam::scalar Tc ( ) const
inline

Critical temperature [K].

Definition at line 32 of file liquidPropertiesI.H.

◆ Pc()

Foam::scalar Pc ( ) const
inline

Critical pressure [Pa].

Definition at line 38 of file liquidPropertiesI.H.

◆ Vc()

Foam::scalar Vc ( ) const
inline

Critical volume [m^3/kmol].

Definition at line 44 of file liquidPropertiesI.H.

◆ Zc()

Foam::scalar Zc ( ) const
inline

Critical compressibilty factor.

Definition at line 50 of file liquidPropertiesI.H.

◆ Tt()

Foam::scalar Tt ( ) const
inline

Triple point temperature [K].

Definition at line 56 of file liquidPropertiesI.H.

◆ Pt()

Foam::scalar Pt ( ) const
inline

Triple point pressure [Pa].

Definition at line 62 of file liquidPropertiesI.H.

◆ Tb()

Foam::scalar Tb ( ) const
inline

Normal boiling temperature [K].

Definition at line 68 of file liquidPropertiesI.H.

◆ dipm()

Foam::scalar dipm ( ) const
inline

Dipole moment [].

Definition at line 74 of file liquidPropertiesI.H.

◆ omega()

Foam::scalar omega ( ) const
inline

Pitzer's ascentric factor [].

Definition at line 80 of file liquidPropertiesI.H.

◆ delta()

Foam::scalar delta ( ) const
inline

Solubility parameter [(J/m^3)^(1/2)].

Definition at line 86 of file liquidPropertiesI.H.

◆ rho()

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

Liquid rho [kg/m^3].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 223 of file liquidProperties.C.

References NotImplemented.

Referenced by SprayParcel::chi().

Here is the caller graph for this function:

◆ pv()

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

Vapour pressure [Pa].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 230 of file liquidProperties.C.

References NotImplemented.

◆ hl()

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

Heat of vapourisation [J/kg].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 237 of file liquidProperties.C.

References NotImplemented.

Referenced by SprayParcel::chi().

Here is the caller graph for this function:

◆ Cp()

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

Liquid heat capacity [J/(kg K)].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 244 of file liquidProperties.C.

References NotImplemented.

◆ h()

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

Liquid enthalpy [J/kg] - reference to 298.15 K.

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 251 of file liquidProperties.C.

References NotImplemented.

Referenced by SprayParcel::chi().

Here is the caller graph for this function:

◆ Cpg()

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

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

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 258 of file liquidProperties.C.

References NotImplemented.

◆ mu()

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

Liquid viscosity [Pa s].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 265 of file liquidProperties.C.

References NotImplemented.

Referenced by ThermoSurfaceFilm< CloudType >::drySplashInteraction(), and ThermoSurfaceFilm< CloudType >::wetSplashInteraction().

Here is the caller graph for this function:

◆ mug()

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

Vapour viscosity [Pa s].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 272 of file liquidProperties.C.

References NotImplemented.

◆ K()

Foam::scalar K ( scalar  p,
scalar  T 
) const
virtual

Liquid thermal conductivity [W/(m K)].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 279 of file liquidProperties.C.

References NotImplemented.

◆ Kg()

Foam::scalar Kg ( scalar  p,
scalar  T 
) const
virtual

Vapour thermal conductivity [W/(m K)].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 286 of file liquidProperties.C.

References NotImplemented.

◆ sigma()

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

Surface tension [N/m].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 293 of file liquidProperties.C.

References NotImplemented.

Referenced by ThermoSurfaceFilm< CloudType >::drySplashInteraction(), and ThermoSurfaceFilm< CloudType >::wetSplashInteraction().

Here is the caller graph for this function:

◆ D() [1/2]

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

Vapour diffussivity [m2/s].

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 300 of file liquidProperties.C.

References NotImplemented.

◆ D() [2/2]

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

Vapour diffussivity [m2/s] with specified binary pair.

Reimplemented in IDEA, aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H18, C9H20, CH3OH, CH4N2O, IC8H18, MB, N2, C8H10, H2O, iC3H8O, and nC3H8O.

Definition at line 307 of file liquidProperties.C.

References NotImplemented.

◆ pvInvert()

Foam::scalar pvInvert ( scalar  p) const
virtual

Invert the vapour pressure relationship to retrieve the.

boiling temperuture as a function of pressure

Definition at line 314 of file liquidProperties.C.

References Foam::e, Foam::endl(), Foam::nl, p, Foam::T(), and WarningInFunction.

Referenced by SprayParcel::chi(), and liquidFilmThermo::Tb().

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

◆ writeData()

void writeData ( Ostream os) const
virtual

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const liquidProperties l 
)
friend

Ostream Operator.

Definition at line 264 of file liquidProperties.H.

Field Documentation

◆ W_

scalar W_
private

Molecular weight [kg/kmol].

Definition at line 58 of file liquidProperties.H.

Referenced by liquidProperties::W().

◆ Tc_

scalar Tc_
private

Critical temperature [K].

Definition at line 61 of file liquidProperties.H.

◆ Pc_

scalar Pc_
private

Critical pressure [Pa].

Definition at line 64 of file liquidProperties.H.

◆ Vc_

scalar Vc_
private

Critical volume [m^3/kmol].

Definition at line 67 of file liquidProperties.H.

◆ Zc_

scalar Zc_
private

Critical compressibility factor [].

Definition at line 70 of file liquidProperties.H.

◆ Tt_

scalar Tt_
private

Triple point temperature [K].

Definition at line 73 of file liquidProperties.H.

◆ Pt_

scalar Pt_
private

Triple point pressure [Pa].

Definition at line 76 of file liquidProperties.H.

◆ Tb_

scalar Tb_
private

Normal boiling temperature [K].

Definition at line 79 of file liquidProperties.H.

◆ dipm_

scalar dipm_
private

Dipole moment [].

Definition at line 82 of file liquidProperties.H.

◆ omega_

scalar omega_
private

Pitzer's accentric factor [].

Definition at line 85 of file liquidProperties.H.

◆ delta_

scalar delta_
private

Solubility parameter [(J/m^3)^0.5].

Definition at line 88 of file liquidProperties.H.


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