Public Member Functions | Static Public Member Functions | Friends | List of all members
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...
 

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 ( 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(), and liquidProperties::New().

Here is the caller graph for this function:

Construct from Istream.

Definition at line 71 of file liquidProperties.C.

liquidProperties ( const dictionary dict)

Construct from dictionary.

Definition at line 87 of file liquidProperties.C.

Construct copy.

Definition at line 103 of file liquidProperties.C.

virtual ~liquidProperties ( )
inlinevirtual

Member Function Documentation

TypeName ( "liquidProperties"  )
declareRunTimeSelectionTable ( autoPtr  ,
liquidProperties  ,
()  ,
()   
)
declareRunTimeSelectionTable ( autoPtr  ,
liquidProperties  ,
Istream  ,
(Istream &is)  ,
(is)   
)
declareRunTimeSelectionTable ( autoPtr  ,
liquidProperties  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)
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(), and liquidProperties::New().

Here is the call graph for this function:

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, FatalErrorIn, Foam::Info, liquidProperties::liquidProperties(), and Foam::nl.

Referenced by liquidProperties::clone().

Here is the call graph for this function:

Here is the caller graph for this function:

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(), dictionaryName::dictName(), Foam::endl(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), Foam::nl, and dictionary::subDict().

Here is the call graph for this function:

Foam::scalar W ( ) const
inline

Molecular weight [kg/kmol].

Definition at line 26 of file liquidPropertiesI.H.

Referenced by liquidFilmThermo::W(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Tc ( ) const
inline

Critical temperature [K].

Definition at line 32 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Pc ( ) const
inline

Critical pressure [Pa].

Definition at line 38 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Vc ( ) const
inline

Critical volume [m^3/kmol].

Definition at line 44 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Zc ( ) const
inline

Critical compressibilty factor.

Definition at line 50 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Tt ( ) const
inline

Triple point temperature [K].

Definition at line 56 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Pt ( ) const
inline

Triple point pressure [Pa].

Definition at line 62 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar Tb ( ) const
inline

Normal boiling temperature [K].

Definition at line 68 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar dipm ( ) const
inline

Dipole moment [].

Definition at line 74 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar omega ( ) const
inline

Pitzer's ascentric factor [].

Definition at line 80 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar delta ( ) const
inline

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

Definition at line 86 of file liquidPropertiesI.H.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 227 of file liquidProperties.C.

References notImplemented.

Referenced by SprayParcel< ParcelType >::chi(), liquidFilmThermo::rho(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 237 of file liquidProperties.C.

References notImplemented.

Referenced by liquidFilmThermo::pv(), liquidProperties::pvInvert(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 247 of file liquidProperties.C.

References notImplemented.

Referenced by SprayParcel< ParcelType >::chi(), liquidFilmThermo::hl(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 257 of file liquidProperties.C.

References notImplemented.

Referenced by liquidFilmThermo::Cp(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 267 of file liquidProperties.C.

References notImplemented.

Referenced by SprayParcel< ParcelType >::chi(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 277 of file liquidProperties.C.

References notImplemented.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar mu ( scalar  p,
scalar  T 
) const
virtual
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 297 of file liquidProperties.C.

References notImplemented.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 307 of file liquidProperties.C.

References notImplemented.

Referenced by liquidFilmThermo::kappa(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 317 of file liquidProperties.C.

References notImplemented.

Referenced by liquidProperties::~liquidProperties().

Here is the caller graph for this function:

Foam::scalar sigma ( scalar  p,
scalar  T 
) const
virtual
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 337 of file liquidProperties.C.

References notImplemented.

Referenced by liquidFilmThermo::D(), and liquidProperties::~liquidProperties().

Here is the caller graph for this function:

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 347 of file liquidProperties.C.

References notImplemented.

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 357 of file liquidProperties.C.

References Foam::e, Foam::endl(), Foam::nl, liquidProperties::pv(), Foam::T(), and WarningIn.

Referenced by SprayParcel< ParcelType >::chi(), liquidFilmThermo::Tb(), and liquidProperties::~liquidProperties().

Here is the call graph for this function:

Here is the caller graph for this function:

void writeData ( Ostream os) const
virtual

Friends And Related Function Documentation

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

Ostream Operator.

Definition at line 264 of file liquidProperties.H.


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