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;
88 const fvMesh&
mesh = this->owner().mesh();
96 this->owner().
name() +
"Theta",
97 mesh.time().timeName(),
110 template<
class CloudType>
113 const typename parcelType::trackingData& td
118 const fvMesh&
mesh = this->owner().mesh();
120 theta.primitiveFieldRef() /=
mesh.time().deltaTValue()*
mesh.V();
126 template<
class CloudType>
137 theta[
p.cell()] += dt*
p.nParticle()*
p.volume();
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
Creates particle void fraction field on carrier phase.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
errorManip< error > abort(error &err)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
virtual void write()
Write post-processing info.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
VoidFraction(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
Templated base class for dsmc cloud.
Templated cloud function object base class.
static constexpr const zero Zero
Global zero (0)