OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

liquidMixture Class Reference

List of all members.

Detailed Description

Definition at line 60 of file liquidMixture.H.


Public Member Functions

 liquidMixture (const dictionary &)
 Construct from dictionary.
const List< word > & components () const
const PtrList< liquid > & properties () const
 Return the liquid properties.
scalar Tc (const scalarField &x) const
 Calculate the critical temperature of mixture.
scalar Tpc (const scalarField &x) const
 Return pseudocritical temperature according to Kay's rule.
scalar Ppc (const scalarField &x) const
 Return pseudocritical pressure (modified Prausnitz and Gunn).
scalar omega (const scalarField &x) const
 Return mixture accentric factor.
scalarField Xs (const scalar p, const scalar Tg, const scalar Tl, const scalarField &xg, const scalarField &xl) const
 Return the surface molar fractions.
scalar W (const scalarField &x) const
 Calculate the mean molecular weigth [kg/kmol].
scalarField Y (const scalarField &X) const
 Returns the mass fractions, given mole fractions.
scalarField X (const scalarField &Y) const
 Returns the mole fractions, given mass fractions.
scalar rho (const scalar p, const scalar T, const scalarField &x) const
 Calculate the mixture density [kg/m^3].
scalar pv (const scalar p, const scalar T, const scalarField &x) const
 Calculate the mixture vapour pressure [Pa].
scalar hl (const scalar p, const scalar T, const scalarField &x) const
 Calculate the mixture latent heat [J/kg].
scalar cp (const scalar p, const scalar T, const scalarField &x) const
 Calculate the mixture heat capacity [J/(kg K)].
scalar sigma (const scalar p, const scalar T, const scalarField &x) const
 Estimate mixture surface tension [N/m].
scalar mu (const scalar p, const scalar T, const scalarField &x) const
 Calculate the mixture viscosity [Pa s].
scalar K (const scalar p, const scalar T, const scalarField &x) const
 Estimate thermal conductivity [W/(m K)].
scalar D (const scalar p, const scalar T, const scalarField &x) const

Static Public Member Functions

static autoPtr< liquidMixture > New (const dictionary &)
 Select construct from dictionary.

Constructor & Destructor Documentation

liquidMixture ( const dictionary &   ) 

Construct from dictionary.


Member Function Documentation

static autoPtr<liquidMixture> New ( const dictionary &   )  [static]

Select construct from dictionary.

const List<word>& components (  )  const [inline]

Definition at line 97 of file liquidMixture.H.

const PtrList<liquid>& properties (  )  const [inline]

Return the liquid properties.

Definition at line 103 of file liquidMixture.H.

scalar Tc ( const scalarField &  x  )  const

Calculate the critical temperature of mixture.

scalar Tpc ( const scalarField &  x  )  const

Return pseudocritical temperature according to Kay's rule.

scalar Ppc ( const scalarField &  x  )  const

Return pseudocritical pressure (modified Prausnitz and Gunn).

scalar omega ( const scalarField &  x  )  const

Return mixture accentric factor.

scalarField Xs ( const scalar  p,
const scalar  Tg,
const scalar  Tl,
const scalarField &  xg,
const scalarField &  xl 
) const

Return the surface molar fractions.

scalar W ( const scalarField &  x  )  const

Calculate the mean molecular weigth [kg/kmol].

from mole fractions

scalarField Y ( const scalarField &  X  )  const

Returns the mass fractions, given mole fractions.

scalarField X ( const scalarField &  Y  )  const

Returns the mole fractions, given mass fractions.

scalar rho ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

Calculate the mixture density [kg/m^3].

scalar pv ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

Calculate the mixture vapour pressure [Pa].

scalar hl ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

Calculate the mixture latent heat [J/kg].

scalar cp ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

Calculate the mixture heat capacity [J/(kg K)].

scalar sigma ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

Estimate mixture surface tension [N/m].

scalar mu ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

Calculate the mixture viscosity [Pa s].

scalar K ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const

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

Li's method, Eq. 10-12.27 - 10.12-19

scalar D ( const scalar  p,
const scalar  T,
const scalarField &  x 
) const


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd