38 components_ =
dict.toc();
39 properties_.setSize(components_.
size());
69 const solidMixtureProperties&
s 72 components_(
s.components_),
73 properties_(
s.properties_.clone())
96 rrho +=
Y[i]/properties_[i].rho();
109 Cp +=
Y[i]*properties_[i].Cp();
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
void size(const label n)
Older name for setAddressableSize.
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 a number of values (eg...
#define forAll(list, i)
Loop across all elements in list.
scalar Cp(const scalarField &Y) const
Calculate the mixture heat capacity [J/(kg K)] as a function of.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const volScalarField & Cp
PtrList< volScalarField > & Y
solidMixtureProperties(const dictionary &)
Construct from dictionary.
static autoPtr< solidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.