51 #ifndef liquidMixtureProperties_H 52 #define liquidMixtureProperties_H 72 static const scalar TrMax;
129 return components_.
size();
scalar Cp(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture heat capacity [J/kg/K].
virtual autoPtr< liquidMixtureProperties > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void size(const label)
Override size to be inconsistent with allocated storage.
label size() const
Return the number of liquids in the mixture.
const List< word > & components() const
Return the liquid names.
liquidMixtureProperties(const dictionary &dict)
Construct from dictionary.
scalar D(const scalar p, const scalar T, const scalarField &X) const
Vapour diffusivity [m^2/s].
virtual ~liquidMixtureProperties()
Destructor.
scalar mu(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture viscosity [Pa s].
scalar kappa(const scalar p, const scalar T, const scalarField &X) const
Estimate thermal conductivity [W/m/K].
scalarField Xs(const scalar p, const scalar Tg, const scalar Tl, const scalarField &Xg, const scalarField &Xl) const
Return the surface molar fractions.
scalar rho(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture density [kg/m^3].
scalar Tpc(const scalarField &X) const
Return pseudocritical temperature according to Kay's rule.
static autoPtr< liquidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
scalar Ppc(const scalarField &X) const
Return pseudocritical pressure (modified Prausnitz and Gunn)
scalarField X(const scalarField &Y) const
Returns the mole fractions corresponding to the given mass fractions.
scalar sigma(const scalar p, const scalar T, const scalarField &X) const
Estimate mixture surface tension [N/m].
scalar Tc(const scalarField &X) const
Calculate the critical temperature of mixture.
scalarField Y(const scalarField &X) const
Returns the mass fractions corresponding to the given mole fractions.
scalar Tpt(const scalarField &X) const
Return pseudo triple point temperature (mole averaged formulation)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar hl(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture latent heat [J/kg].
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
scalar pv(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture vapour pressure [Pa].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar W(const scalarField &X) const
Calculate the mean molecular weight [kg/kmol].
const PtrList< liquidProperties > & properties() const
Return the liquid properties.
scalar omega(const scalarField &X) const
Return mixture accentric factor.
scalar pvInvert(const scalar p, const scalarField &X) const
Invert the vapour pressure relationship to retrieve the boiling.