42 Foam::wordList Foam::parcelCloudList::cloudNames(
const objectRegistry& db)
44 typeIOobject<wordGlobalIOList> cloudNamesIO
53 if (cloudNamesIO.headerOk())
58 typeIOobject<IOdictionary> cloudIO
67 if (cloudIO.headerOk())
73 <<
"Cloud properties were not found in either "
74 << cloudNamesIO.relativeObjectPath() <<
" or "
163 cloudNamesName +
":alpha",
166 extrapolatedCalculatedFvPatchScalarField::typeName
171 ttheta.
ref() += operator[](i).alpha();
185 tSU.
ref() += operator[](i).SU(
U);
197 cloudNamesName +
":UTrans",
204 tUTrans.
ref() += operator[](i).UTrans();
216 cloudNamesName +
":UCoeff",
223 tUCoeff.
ref() += operator[](i).UCoeff();
237 tSh.
ref() += operator[](i).Sh(
hs);
249 cloudNamesName +
":hsTrans",
256 thsTrans.
ref() += operator[](i).hsTrans();
268 cloudNamesName +
":hsCoeff",
275 thsCoeff.
ref() += operator[](i).hsCoeff();
287 cloudNamesName +
":radiation:Ep",
294 tEp.
ref() += operator[](i).Ep();
306 cloudNamesName +
":radiation:ap",
313 tap.
ref() += operator[](i).ap();
326 cloudNamesName +
":radiation:sigmap",
333 tsigmap.
ref() += operator[](i).sigmap();
348 tSYi.
ref() += operator[](i).SYi(speciei, Yi);
362 tSrho.
ref() += operator[](i).Srho(
rho);
374 cloudNamesName +
":Srho",
381 tSrho.
ref() += operator[](i).Srho();
391 operator[](i).info();
400 operator[](i).evolve();
409 operator[](i).storeGlobalPositions();
418 operator[](i).topoChange(map);
427 operator[](i).mapMesh(map);
436 operator[](i).distribute(map);
scalar hs(const scalar p, const scalar T) const
#define forAll(list, i)
Loop across all elements in list.
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Return a temporary field constructed from name, mesh,.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
void size(const label)
Override size to be inconsistent with allocated storage.
static const List< word > & null()
Return a null List.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
Base-class for fluid thermodynamic properties.
List of parcel clouds, with the same interface as an individual parcel cloud. This is the object that...
static const wordList defaultCloudNames
The default cloud names (i.e., a list of length one with the.
tmp< fvScalarMatrix > Sh(const volScalarField &hs) const
Return sensible enthalpy source term [J/s].
tmp< volScalarField::Internal > UCoeff() const
Momentum transfer coefficient [kg].
tmp< volVectorField::Internal > UTrans() const
Momentum transfer [kg m/s].
~parcelCloudList()
Destructor.
const tmp< volScalarField > alpha() const
Return the particle volume fraction field.
void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
tmp< fvScalarMatrix > SYi(const label speciei, const volScalarField &Yi) const
Return mass source term for specie [kg/s].
void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
tmp< volScalarField > sigmap() const
Return equivalent particulate scattering factor [1/m].
void evolve()
Evolve the cloud.
parcelCloudList(const wordList &cloudNames, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Construct specified clouds with given carrier fields.
tmp< volScalarField::Internal > hsCoeff() const
Sensible enthalpy transfer coefficient [J/K].
static const word defaultCloudName
The default cloud name.
void info()
Print cloud information.
tmp< fvVectorMatrix > SU(const volVectorField &U) const
Return momentum source term [kg m/s^2].
tmp< volScalarField::Internal > Srho() const
Return total mass source [kg/m^3/s].
void storeGlobalPositions()
Call this before a topology change. Stores the particles global.
tmp< volScalarField > Ep() const
Return equivalent particulate emission [kg/m/s^3].
tmp< volScalarField::Internal > hsTrans() const
Sensible enthalpy transfer [J].
static const word cloudNamesName
The name of the clouds file in which multiple cloud names are.
tmp< volScalarField > ap() const
Return equivalent particulate absorption [1/m].
Virtual abstract base class for parcel clouds. As parcelCloudBase but with additional virtualisation ...
static autoPtr< parcelCloud > New(const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Selectors.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionedScalar mu
Atomic mass unit.
errorManipArg< error, int > exit(error &err, const int errNo=1)
List< word > wordList
A List of words.
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 dimensionSet dimEnergy
dimensionedScalar pow3(const dimensionedScalar &ds)
fvMatrix< scalar > fvScalarMatrix
const dimensionSet dimless
GlobalIOList< word > wordGlobalIOList
const dimensionSet dimLength
const dimensionSet dimTemperature
const dimensionSet dimAcceleration
const dimensionSet dimTime
const dimensionSet dimDensity
fvMatrix< vector > fvVectorMatrix
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
const dimensionSet dimMass
const dimensionSet dimVelocity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.