57 #ifndef liquidMixtureProperties_H 58 #define liquidMixtureProperties_H 80 static const scalar TrMax;
137 return components_.
size();
scalarField X(const scalarField &Y) const
Returns the mole fractions corresponding to the given mass fractions.
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 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].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar D(const scalar p, const scalar T, const scalarField &X) const
Vapour diffussivity [m2/s].
const List< word > & components() const
Return the liquid names.
scalar Tpc(const scalarField &X) const
Return pseudocritical temperature according to Kay's rule.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar Tc(const scalarField &X) const
Calculate the critical temperature of mixture.
void size(const label)
Override size to be inconsistent with allocated storage.
scalar sigma(const scalar p, const scalar T, const scalarField &X) const
Estimate mixture surface tension [N/m].
liquidMixtureProperties(const dictionary &dict)
Construct from dictionary.
virtual ~liquidMixtureProperties()
Destructor.
scalar Tpt(const scalarField &X) const
Return pseudo triple point temperature (mole averaged formulation)
scalar Ppc(const scalarField &X) const
Return pseudocritical pressure (modified Prausnitz and Gunn)
scalar K(const scalar p, const scalar T, const scalarField &X) const
Estimate thermal conductivity [W/(m K)].
static autoPtr< liquidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
scalar pvInvert(const scalar p, const scalarField &X) const
Invert the vapour pressure relationship to retrieve the boiling.
scalarField Xs(const scalar p, const scalar Tg, const scalar Tl, const scalarField &Xg, const scalarField &Xl) const
Return the surface molar fractions.
scalar mu(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture viscosity [Pa s].
scalar omega(const scalarField &X) const
Return mixture accentric factor.
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.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
label size() const
Return the number of liquids in the mixture.
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...
scalar W(const scalarField &X) const
Calculate the mean molecular weight [kg/kmol].
scalar rho(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture density [kg/m^3].