51 #ifndef liquidMixtureProperties_H
52 #define liquidMixtureProperties_H
72 static const scalar TrMax;
129 return components_.
size();
void size(const label)
Override size to be inconsistent with allocated storage.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar mu(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture viscosity [Pa s].
scalar D(const scalar p, const scalar T, const scalarField &X) const
Vapour diffusivity [m^2/s].
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 sigma(const scalar p, const scalar T, const scalarField &X) const
Estimate mixture surface tension [N/m].
scalar Tpt(const scalarField &X) const
Return pseudo triple point temperature (mole averaged formulation)
const PtrList< liquidProperties > & properties() const
Return the liquid properties.
scalarField Y(const scalarField &X) const
Returns the mass fractions corresponding to the given mole fractions.
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.
const List< word > & components() const
Return the liquid names.
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].
liquidMixtureProperties(const dictionary &dict)
Construct from dictionary.
scalar pvInvert(const scalar p, const scalarField &X) const
Invert the vapour pressure relationship to retrieve the boiling.
virtual ~liquidMixtureProperties()
Destructor.
scalarField X(const scalarField &Y) const
Returns the mole fractions corresponding to the given mass fractions.
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.
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].
scalar rho(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture density [kg/m^3].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)