35 components_ = dict.
toc();
36 properties_.setSize(components_.
size());
40 if (dict.
isDict(components_[i]))
65 components_(s.components_),
66 properties_(s.properties_.size())
70 properties_.set(i, s.properties_(i)->clone());
97 rrho += Y[i]/properties_[i].rho();
110 Cp += Y[i]*properties_[i].Cp();
#define forAll(list, i)
Loop across all elements in list.
scalar rho(const scalarField &Y) const
Calculate the mixture density [kg/m^3] as a function of.
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.
wordList toc() const
Return the table of contents.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
scalar Cp(const scalarField &Y) const
Calculate the mixture heat capacity [J/(kg K)] as a function of.
PtrList< volScalarField > & Y
solidMixtureProperties(const dictionary &)
Construct from dictionary.
static autoPtr< solidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.