Go to the documentation of this file.
30 template<
class CloudType>
33 if (thetaPtr_.valid())
47 template<
class CloudType>
60 template<
class CloudType>
73 template<
class CloudType>
80 template<
class CloudType>
83 if (thetaPtr_.valid())
85 thetaPtr_->internalField() = 0.0;
97 this->owner().
name() +
"Theta",
98 mesh.time().timeName(),
111 template<
class CloudType>
124 template<
class CloudType>
136 theta[cellI] += dt*
p.nParticle()*
p.volume();
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
VoidFraction(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
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 fvMesh & mesh() const
Return refernce to the mesh.
InternalField & internalField()
Return internal field.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
virtual void preEvolve()
Pre-evolve hook.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
virtual ~VoidFraction()
Destructor.
Creates particle void fraction field on carrier phase.
Templated cloud function object base class.
void reset(const label nPoints, const label nInternalFaces, const label nFaces, const label nCells)
Reset this primitiveMesh given the primitive array sizes.
virtual void postMove(parcelType &p, const label cellI, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
Generic GeometricField class.
virtual void write()
Write post-processing info.
virtual void postEvolve()
Post-evolve hook.
word name(const complex &)
Return a string representation of a complex.