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();
scalar Cp(const scalar p, const scalar T) const
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar rho(const scalarField &Y) const
Calculate the mixture density [kg/m^3] as a function of.
scalar Cp(const scalarField &Y) const
Calculate the mixture heat capacity [J/kg/K] as a function of.
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.
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
PtrList< volScalarField > & Y