FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

The thermophysical properties of a liquid. More...

#include <liquids/liquid.H>


Detailed Description

The thermophysical properties of a liquid.

Source files

Definition at line 53 of file liquid.H.

Inheritance diagram for liquid:

List of all members.

Public Member Functions

 TypeName ("liquid")
 declareRunTimeSelectionTable (autoPtr, liquid,,(),())
 declareRunTimeSelectionTable (autoPtr, liquid, Istream,(Istream &is),(is))
 liquid (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.
 liquid (Istream &is)
 Construct from Istream.
virtual  ~liquid ()
 Destructor.
scalar  W () const
 Molecular weight [kg/kmol].
scalar  Tc () const
 Critical temperature [K].
scalar  Pc () const
 Critical pressure [Pa].
scalar  Vc () const
 Critical volume [m^3/mol].
scalar  Zc () const
 Critical compressibilty factor.
scalar  Tt () const
 Triple point temperature [K].
scalar  Pt () const
 Triple point pressure [Pa].
scalar  Tb () const
 Normal boiling temperature [K].
scalar  dipm () const
 Dipole moment [].
scalar  omega () const
 Pitzer's ascentric factor [].
scalar  delta () const
 Solubility parameter [(J/m^3)^(1/2)].
virtual scalar  rho (scalar p, scalar T) const =0
 Liquid rho [kg/m^3].
virtual scalar  pv (scalar p, scalar T) const =0
 Vapour pressure [Pa].
virtual scalar  hl (scalar p, scalar T) const =0
 Heat of vapourisation [J/kg].
virtual scalar  cp (scalar p, scalar T) const =0
 Liquid heat capacity [J/(kg K)].
virtual scalar  h (scalar p, scalar T) const =0
 Liquid enthalpy [J/kg] - reference to 298.15 K.
virtual scalar  cpg (scalar p, scalar T) const =0
 Ideal gas heat capacity [J/(kg K)].
virtual scalar  mu (scalar p, scalar T) const =0
 Liquid viscosity [Pa s].
virtual scalar  mug (scalar p, scalar T) const =0
 Vapour viscosity [Pa s].
virtual scalar  K (scalar p, scalar T) const =0
 Liquid thermal conductivity [W/(m K)].
virtual scalar  Kg (scalar p, scalar T) const =0
 Vapour thermal conductivity [W/(m K)].
virtual scalar  sigma (scalar p, scalar T) const =0
 Surface tension [N/m].
virtual scalar  D (scalar p, scalar T) const =0
 Vapour diffussivity [m2/s].
virtual scalar  D (scalar p, scalar T, scalar Wb) const =0
 Vapour diffussivity [m2/s] with specified binary pair.
virtual void  writeData (Ostream &os) const
 Write the function coefficients.

Static Public Member Functions

static autoPtr< liquid >  New (Istream &is)
 Return a pointer to a new liquid created from input.

Friends

Ostream &  operator<< (Ostream &os, const liquid &l)
 Ostream Operator.

Constructor & Destructor Documentation

liquid ( scalar   W,
scalar   Tc,
scalar   Pc,
scalar   Vc,
scalar   Zc,
scalar   Tt,
scalar   Pt,
scalar   Tb,
scalar   dipm,
scalar   omega,
scalar   delta  
) [inline]

Construct from components.

Definition at line 121 of file liquid.H.

liquid ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 149 of file liquid.H.

virtual ~liquid (  ) [inline, virtual]

Destructor.

Definition at line 165 of file liquid.H.


Member Function Documentation

TypeName ( "liquid"    )
declareRunTimeSelectionTable ( autoPtr   ,
liquid   ,
()   ,
()    
)
declareRunTimeSelectionTable ( autoPtr   ,
liquid   ,
Istream   ,
(Istream &is)   ,
(is)    
)
Foam::autoPtr< Foam::liquid > New ( Istream &   is  ) [static]

Return a pointer to a new liquid created from input.

Definition at line 42 of file liquid.C.

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

Foam::scalar W (  ) const [inline]

Molecular weight [kg/kmol].

Definition at line 26 of file liquidI.H.

Foam::scalar Tc (  ) const [inline]

Critical temperature [K].

Definition at line 32 of file liquidI.H.

Foam::scalar Pc (  ) const [inline]

Critical pressure [Pa].

Definition at line 38 of file liquidI.H.

Foam::scalar Vc (  ) const [inline]

Critical volume [m^3/mol].

Definition at line 44 of file liquidI.H.

Foam::scalar Zc (  ) const [inline]

Critical compressibilty factor.

Definition at line 50 of file liquidI.H.

Foam::scalar Tt (  ) const [inline]

Triple point temperature [K].

Definition at line 56 of file liquidI.H.

Foam::scalar Pt (  ) const [inline]

Triple point pressure [Pa].

Definition at line 62 of file liquidI.H.

Foam::scalar Tb (  ) const [inline]

Normal boiling temperature [K].

Definition at line 68 of file liquidI.H.

Foam::scalar dipm (  ) const [inline]

Dipole moment [].

Definition at line 74 of file liquidI.H.

Foam::scalar omega (  ) const [inline]

Pitzer's ascentric factor [].

Definition at line 80 of file liquidI.H.

Foam::scalar delta (  ) const [inline]

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

Definition at line 86 of file liquidI.H.

virtual scalar rho ( scalar   p,
scalar   T  
) const [pure virtual]
virtual scalar pv ( scalar   p,
scalar   T  
) const [pure virtual]

Vapour pressure [Pa].

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

virtual scalar hl ( scalar   p,
scalar   T  
) const [pure virtual]

Heat of vapourisation [J/kg].

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

virtual scalar cp ( scalar   p,
scalar   T  
) const [pure virtual]

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

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

virtual scalar h ( scalar   p,
scalar   T  
) const [pure virtual]

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

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

virtual scalar cpg ( scalar   p,
scalar   T  
) const [pure virtual]

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

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

virtual scalar mu ( scalar   p,
scalar   T  
) const [pure virtual]

Liquid viscosity [Pa s].

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

virtual scalar mug ( scalar   p,
scalar   T  
) const [pure virtual]

Vapour viscosity [Pa s].

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

virtual scalar K ( scalar   p,
scalar   T  
) const [pure virtual]

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

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

virtual scalar Kg ( scalar   p,
scalar   T  
) const [pure virtual]

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

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

virtual scalar sigma ( scalar   p,
scalar   T  
) const [pure virtual]

Surface tension [N/m].

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

virtual scalar D ( scalar   p,
scalar   T  
) const [pure virtual]

Vapour diffussivity [m2/s].

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

virtual scalar D ( scalar   p,
scalar   T,
scalar   Wb  
) const [pure virtual]

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

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

virtual void writeData ( Ostream &   os  ) const [inline, virtual]

Write the function coefficients.

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

Definition at line 252 of file liquid.H.

References token::SPACE.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &   os,
const liquid &   l  
) [friend]

Ostream Operator.

Definition at line 264 of file liquid.H.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/liquids/liquid/liquid.H
  • src/thermophysicalModels/liquids/liquid/liquid.C
  • src/thermophysicalModels/liquids/liquid/liquidI.H