Public Member Functions | Static Public Member Functions | List of all members
liquidMixtureProperties Class Reference

A mixture of liquids. More...

Public Member Functions

 liquidMixtureProperties (const dictionary &dict)
 
 liquidMixtureProperties (const liquidMixtureProperties &lm)
 
virtual autoPtr< liquidMixturePropertiesclone () const
 
virtual ~liquidMixtureProperties ()=default
 
const List< word > & components () const
 
const PtrList< liquidProperties > & properties () const
 
label size () const
 
scalar Tc (const scalarField &X) const
 
scalar pvInvert (const scalar p, const scalarField &X) const
 
scalar Tpc (const scalarField &X) const
 
scalar Ppc (const scalarField &X) const
 
scalar Tpt (const scalarField &X) const
 
scalar omega (const scalarField &X) const
 
scalarField Xs (const scalar p, const scalar Tg, const scalar Tl, const scalarField &Xg, const scalarField &Xl) const
 
scalar W (const scalarField &X) const
 
scalarField Y (const scalarField &X) const
 
scalarField X (const scalarField &Y) const
 
scalar rho (const scalar p, const scalar T, const scalarField &X) const
 
scalar pv (const scalar p, const scalar T, const scalarField &X) const
 
scalar hl (const scalar p, const scalar T, const scalarField &X) const
 
scalar Cp (const scalar p, const scalar T, const scalarField &X) const
 
scalar sigma (const scalar p, const scalar T, const scalarField &X) const
 
scalar mu (const scalar p, const scalar T, const scalarField &X) const
 
scalar kappa (const scalar p, const scalar T, const scalarField &X) const
 
scalar D (const scalar p, const scalar T, const scalarField &X) const
 

Static Public Member Functions

static autoPtr< liquidMixturePropertiesNew (const dictionary &)
 

Detailed Description

A mixture of liquids.

An example of a two component liquid mixture:

    <parentDictionary>
    {
        H2O; // employ default coefficients

        C7H16
        {
            // ... user defined properties for C7H16
        }
    }
Source files
See also
Foam::liquidProperties

Definition at line 64 of file liquidMixtureProperties.H.

Constructor & Destructor Documentation

◆ liquidMixtureProperties() [1/2]

Definition at line 34 of file liquidMixtureProperties.C.

References dict, forAll, and Foam::New().

Here is the call graph for this function:

◆ liquidMixtureProperties() [2/2]

Definition at line 67 of file liquidMixtureProperties.C.

References forAll.

◆ ~liquidMixtureProperties()

virtual ~liquidMixtureProperties ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual autoPtr<liquidMixtureProperties> clone ( ) const
inlinevirtual

Definition at line 89 of file liquidMixtureProperties.H.

References autoPtr::New().

Here is the call graph for this function:

◆ New()

Foam::autoPtr< Foam::liquidMixtureProperties > New ( const dictionary thermophysicalProperties)
static

Definition at line 85 of file liquidMixtureProperties.C.

References Foam::New().

Referenced by SLGThermo::SLGThermo().

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

◆ components()

const List<word>& components ( ) const
inline

Definition at line 108 of file liquidMixtureProperties.H.

◆ properties()

const PtrList<liquidProperties>& properties ( ) const
inline

Definition at line 114 of file liquidMixtureProperties.H.

◆ size()

label size ( ) const
inline

Definition at line 120 of file liquidMixtureProperties.H.

Referenced by liquidFilmModel::correctThermoFields(), and KinematicSurfaceFilm< CloudType >::transferParcel().

Here is the caller graph for this function:

◆ Tc()

Foam::scalar Tc ( const scalarField X) const

Definition at line 95 of file liquidMixtureProperties.C.

References forAll, and liquidMixtureProperties::X().

Here is the call graph for this function:

◆ pvInvert()

Foam::scalar pvInvert ( const scalar  p,
const scalarField X 
) const

Definition at line 125 of file liquidMixtureProperties.C.

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

Here is the call graph for this function:

◆ Tpc()

Foam::scalar Tpc ( const scalarField X) const

Definition at line 168 of file liquidMixtureProperties.C.

References forAll.

◆ Ppc()

Foam::scalar Ppc ( const scalarField X) const

Definition at line 181 of file liquidMixtureProperties.C.

References forAll, and Foam::constant::thermodynamic::RR.

◆ Tpt()

Foam::scalar Tpt ( const scalarField X) const

Definition at line 111 of file liquidMixtureProperties.C.

References forAll.

◆ omega()

Foam::scalar omega ( const scalarField X) const

Definition at line 196 of file liquidMixtureProperties.C.

References forAll.

◆ Xs()

Foam::scalarField Xs ( const scalar  p,
const scalar  Tg,
const scalar  Tl,
const scalarField Xg,
const scalarField Xl 
) const

Definition at line 210 of file liquidMixtureProperties.C.

References forAll, Foam::min(), and p.

Here is the call graph for this function:

◆ W()

Foam::scalar W ( const scalarField X) const

Definition at line 231 of file liquidMixtureProperties.C.

References forAll.

◆ Y()

Foam::scalarField Y ( const scalarField X) const

Definition at line 244 of file liquidMixtureProperties.C.

References forAll, and Y.

◆ X()

Foam::scalarField X ( const scalarField Y) const

Definition at line 261 of file liquidMixtureProperties.C.

References forAll, and Y.

Referenced by SprayCloud::setParcelThermoProperties(), and liquidMixtureProperties::Tc().

Here is the caller graph for this function:

◆ rho()

Foam::scalar rho ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 279 of file liquidMixtureProperties.C.

References forAll, Foam::min(), p, rho, and Foam::T().

Referenced by liquidFilmModel::correctThermoFields(), and SprayCloud::setParcelThermoProperties().

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

◆ pv()

Foam::scalar pv ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 309 of file liquidMixtureProperties.C.

References forAll, Foam::min(), p, and Foam::T().

Here is the call graph for this function:

◆ hl()

Foam::scalar hl ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 335 of file liquidMixtureProperties.C.

References forAll, Foam::min(), p, and Foam::T().

Here is the call graph for this function:

◆ Cp()

Foam::scalar Cp ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 361 of file liquidMixtureProperties.C.

References Cp, forAll, Foam::min(), p, and Foam::T().

Referenced by liquidFilmModel::correctThermoFields(), and SprayCloud::setParcelThermoProperties().

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

◆ sigma()

Foam::scalar sigma ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 387 of file liquidMixtureProperties.C.

References forAll, Foam::min(), p, sigma(), and Foam::T().

Referenced by liquidFilmModel::correctThermoFields(), SprayCloud::setParcelThermoProperties(), and KinematicSurfaceFilm< CloudType >::transferParcel().

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

◆ mu()

Foam::scalar mu ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 424 of file liquidMixtureProperties.C.

References Foam::exp(), forAll, Foam::log(), Foam::min(), Foam::constant::physicoChemical::mu, p, and Foam::T().

Referenced by liquidFilmModel::correctThermoFields(), SprayCloud::setParcelThermoProperties(), and KinematicSurfaceFilm< CloudType >::transferParcel().

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

◆ kappa()

Foam::scalar kappa ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 446 of file liquidMixtureProperties.C.

References forAll, Foam::min(), p, and Foam::T().

Here is the call graph for this function:

◆ D()

Foam::scalar D ( const scalar  p,
const scalar  T,
const scalarField X 
) const

Definition at line 492 of file liquidMixtureProperties.C.

References forAll, Foam::min(), p, and Foam::T().

Here is the call graph for this function:

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