34 #ifndef ParcelCloudBase_H 35 #define ParcelCloudBase_H 50 template<
class ParticleType>
53 public Cloud<ParticleType>,
71 const word& cloudName,
79 Cloud<ParticleType>(rho.
mesh(), cloudName, false),
86 const word& cloudName,
94 Cloud<ParticleType>(rho.
mesh(), cloudName, false),
105 Cloud<ParticleType>(c.mesh_, name, c),
117 Cloud<ParticleType>(mesh, name,
IDLList<ParticleType>()),
151 this->
name() +
":UTrans",
162 this->
name() +
":UCoeffs",
185 this->
name() +
":hsTrans",
196 this->
name() +
":hsCoeffs",
207 this->
name() +
":radiation:Ep",
218 this->
name() +
":radiation:ap",
229 this->
name() +
":radiation:sigmap",
267 this->
name() +
":Srho",
Template class for intrusive linked lists.
fvMatrix< scalar > fvScalarMatrix
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &)
Return a temporary field constructed from name, mesh.
tmp< fvScalarMatrix > SYi(const label i, const volScalarField &Yi) const
Return mass source term for specie [kg/s].
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the specified type.
const fvMesh & mesh_
Reference to the mesh.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
tmp< volScalarField::Internal > hsCoeff() const
Sensible enthalpy transfer coefficient [J/T].
ParcelCloudBase(const word &cloudName, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g, const bool readFields=true)
Construct given carrier fields.
const dimensionSet dimless
tmp< volScalarField > sigmap() const
Return equivalent particulate scattering factor [1/m].
const dimensionedScalar c
Speed of light in a vacuum.
const dimensionSet dimLength
tmp< volScalarField > ap() const
Return equivalent particulate absorption [1/m].
const dimensionSet dimTime
const dimensionSet dimAcceleration
A class for handling words, derived from string.
tmp< fvScalarMatrix > Sh(const volScalarField &hs) const
Return sensible enthalpy source term [J/s].
Base-class for fluid thermodynamic properties.
const dimensionSet dimDensity
tmp< volScalarField::Internal > Srho() const
Return total mass source [kg/m^3/s].
tmp< volVectorField::Internal > UTrans() const
Momentum transfer [kg m/s].
tmp< fvVectorMatrix > SU(const volVectorField &U) const
Return momentum source term [kg m/s^2].
Base cloud calls templated on particle type.
const dimensionSet dimVelocity
tmp< volScalarField::Internal > UCoeff() const
Momentum transfer coefficient [kg].
const dimensionSet dimEnergy
const dimensionSet dimMass
dimensionedScalar pow3(const dimensionedScalar &ds)
Virtual abstract base class for parcel clouds. Inserted by ParcelCloudBase into the base of the cloud...
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const fvMesh & mesh() const
Return reference to the mesh.
tmp< volScalarField > Ep() const
Return equivalent particulate emission [kg/m/s^3].
Mesh data needed to do the Finite Volume discretisation.
fvMatrix< vector > fvVectorMatrix
A special matrix type and solver, designed for finite volume solutions of scalar equations.
A class for managing temporary objects.
tmp< volScalarField::Internal > hsTrans() const
Sensible enthalpy transfer [J].
Base template for parcel clouds. Inserts the parcelCloudBase virtualisation layer into the class...
const dimensionSet dimTemperature