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_->primitiveFieldRef() = 0.0;
89 const fvMesh& mesh = this->owner().mesh();
97 this->owner().
name() +
"Theta",
111 template<
class CloudType>
116 const fvMesh& mesh = this->owner().mesh();
124 template<
class CloudType>
135 theta[
p.cell()] += dt*
p.nParticle()*
p.volume();
Templated cloud function object base class.
virtual void postEvolve()
Post-evolve hook.
Templated base class for dsmc cloud.
Generic GeometricField class.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
scalar deltaTValue() const
Return time step value.
Creates particle void fraction field on carrier phase.
virtual void postEvolve()
Post-evolve hook.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
virtual ~VoidFraction()
Destructor.
virtual void write()
Write post-processing info.
VoidFraction(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual void preEvolve()
Pre-evolve hook.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return const reference to name.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
void reset(const label nPoints, const label nInternalFaces, const label nFaces, const label nCells)
Reset this primitiveMesh given the primitive array sizes.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const bool)
Return a word representation of a bool.
errorManip< error > abort(error &err)
const dimensionSet dimless