Go to the documentation of this file.
33 template<
class CloudType>
50 template<
class CloudType>
63 template<
class CloudType>
76 template<
class CloudType>
79 const typename parcelType::trackingData& td
84 thetaPtr_->primitiveFieldRef() = 0.0;
96 this->owner().
name() +
"Theta",
97 mesh.time().timeName(),
110 template<
class CloudType>
113 const typename parcelType::trackingData& td
126 template<
class CloudType>
137 theta[
p.cell()] += dt*
p.nParticle()*
p.volume();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
VoidFraction(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
const fvMesh & mesh() const
Return reference to the mesh.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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 preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
virtual void write()
Write post-processing info.
const dimensionSet dimless
Dimensionless.