53 #ifndef liquidMixtureProperties_H 54 #define liquidMixtureProperties_H 74 static const scalar TrMax;
125 inline label
size()
const 127 return components_.
size();
scalar Cp(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture heat capacity [J/(kg K)].
void size(const label n)
Older name for setAddressableSize.
virtual ~liquidMixtureProperties()=default
Destructor.
virtual autoPtr< liquidMixtureProperties > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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 [m2/s].
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 list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
scalar pv(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture vapour pressure [Pa].
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
scalar W(const scalarField &X) const
Calculate the mean molecular weight [kg/kmol].
const PtrList< liquidProperties > & properties() const
Return the liquid properties.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
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.