38 template<
class ... Args>
39 void Foam::parcelCloudList::initialise
57 this->
setSize(cloudNames.size());
75 if (cloudIO.typeHeaderOk<IOdictionary>(
false))
83 Info<<
"Clouds not active: Neither " << cloudsIO.localObjectPath()
84 <<
" nor " << cloudIO.localObjectPath() <<
" found" <<
endl;
103 initialise(rho, U, mu, g);
118 initialise(rho, U, g, carrierThermo);
139 extrapolatedCalculatedFvPatchScalarField::typeName
const tmp< volScalarField > theta() const
Return the particle volume fraction field.
tmp< fvScalarMatrix > SYi(const label speciei, const volScalarField &Yi) const
Return mass source term for specie [kg/s].
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &)
Return a temporary field constructed from name, mesh.
tmp< volScalarField::Internal > hsCoeff() const
Sensible enthalpy transfer coefficient [J/K].
static autoPtr< parcelCloud > New(const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Selectors.
parcelCloudList(const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Construct with given carrier fields.
tmp< volScalarField > sigmap() const
Return equivalent particulate scattering factor [1/m].
T & ref() const
Return non-const reference or generate a fatal error.
~parcelCloudList()
Destructor.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const T & operator[](const label) const
Return element const reference.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet dimless
const Time & time() const
Return the top-level database.
tmp< fvVectorMatrix > SU(const volVectorField &U) const
Return momentum source term [kg m/s^2].
const dimensionSet dimLength
tmp< volVectorField::Internal > UTrans() const
Momentum transfer [kg m/s].
const dimensionSet dimTime
void info()
Print cloud information.
const dimensionSet dimAcceleration
GlobalIOList< word > wordGlobalIOList
A class for handling words, derived from string.
tmp< volScalarField::Internal > UCoeff() const
Momentum transfer coefficient [kg].
Base-class for fluid thermodynamic properties.
const dimensionSet dimDensity
const word & constant() const
Return constant name.
void storeGlobalPositions()
Call this before a topology change. Stores the particles global.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
tmp< volScalarField::Internal > Srho() const
Return total mass source [kg/m^3/s].
const dimensionSet dimVelocity
const Mesh & mesh() const
Return mesh.
tmp< volScalarField > ap() const
Return equivalent particulate absorption [1/m].
const dimensionSet dimEnergy
const dimensionSet dimMass
tmp< volScalarField::Internal > hsTrans() const
Sensible enthalpy transfer [J].
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fvMatrix< vector > fvVectorMatrix
A special matrix type and solver, designed for finite volume solutions of scalar equations.
void evolve()
Evolve the cloud.
static const word cloudsName
The name of the clouds.
A class for managing temporary objects.
tmp< volScalarField > Ep() const
Return equivalent particulate emission [kg/m/s^3].
tmp< fvScalarMatrix > Sh(const volScalarField &hs) const
Return sensible enthalpy source term [J/s].
const dimensionSet dimTemperature