35 components_ = dict.
toc();
36 properties_.setSize(components_.
size());
49 components_(s.components_),
50 properties_(s.properties_.size())
54 properties_.set(i, s.properties_(i)->clone());
81 rhoInv += Y[i]/properties_[i].rho();
82 X[i] = Y[i]/properties_[i].rho();
95 val += properties_[i].rho()*X[i];
106 val += properties_[i].Cp()*Y[i];
scalarField Y(const scalarField &X) const
Returns the mass fractions, given mole fractions.
wordList toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
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.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
static autoPtr< solidProperties > New(Istream &is)
Return a pointer to a new solidProperties created from input.
scalarField X(const scalarField &Y) const
Returns the mole fractions, given mass fractions.
solidMixtureProperties(const dictionary &)
Construct from dictionary.
static autoPtr< solidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
scalar Cp(const scalarField &Y) const
Calculate the mixture heat capacity [J/(kg K)] as a function.
A class for managing temporary objects.
scalar rho(const scalarField &X) const
Calculate the mixture density [kg/m^3] as a function of.