38 components_ =
dict.toc();
39 properties_.setSize(components_.size());
72 components_(
s.components_),
73 properties_(
s.properties_.
clone())
96 rrho +=
Y[i]/properties_[i].rho();
109 Cp +=
Y[i]*properties_[i].Cp();
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
virtual autoPtr< solidMixtureProperties > clone() const
Construct and return a clone.
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...
PtrList< volScalarField > & Y
const volScalarField & Cp
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))
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define forAll(list, i)
Loop across all elements in list.