53#ifndef liquidMixtureProperties_H
54#define liquidMixtureProperties_H
74 static const scalar TrMax;
125 inline label
size()
const
127 return components_.
size();
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual autoPtr< liquidMixtureProperties > clone() const
Construct and return a clone.
virtual ~liquidMixtureProperties()=default
Destructor.
static autoPtr< liquidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
scalar Tpc(const scalarField &X) const
Return pseudocritical temperature according to Kay's rule.
scalarField Xs(const scalar p, const scalar Tg, const scalar Tl, const scalarField &Xg, const scalarField &Xl) const
Return the surface molar fractions.
scalar omega(const scalarField &X) const
Return mixture accentric factor.
scalar Tpt(const scalarField &X) const
Return pseudo triple point temperature (mole averaged formulation)
scalar W(const scalarField &X) const
Calculate the mean molecular weight [kg/kmol].
scalar Tc(const scalarField &X) const
Calculate the critical temperature of mixture.
label size() const
Return the number of liquids in the mixture.
scalar pv(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture vapour pressure [Pa].
const List< word > & components() const
Return the liquid names.
scalar pvInvert(const scalar p, const scalarField &X) const
Invert the vapour pressure relationship to retrieve the boiling.
scalarField X(const scalarField &Y) const
Returns the mole fractions corresponding to the given mass fractions.
scalar Ppc(const scalarField &X) const
Return pseudocritical pressure (modified Prausnitz and Gunn)
scalar kappa(const scalar p, const scalar T, const scalarField &X) const
Estimate thermal conductivity [W/(m K)].
scalar hl(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture latent heat [J/kg].
const PtrList< liquidProperties > & properties() const
Return the liquid properties.
PtrList< volScalarField > & Y
const volScalarField & mu
const volScalarField & Cp
const dimensionedScalar & D