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;
97 this->owner().
name() +
"Theta",
111 template<
class CloudType>
124 template<
class CloudType>
136 theta[celli] += dt*p.nParticle()*p.volume();
virtual void postMove(parcelType &p, const label celli, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Creates particle void fraction field on carrier phase.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
A class for handling words, derived from string.
virtual ~VoidFraction()
Destructor.
scalar deltaTValue() const
Return time step value.
errorManip< error > abort(error &err)
virtual void preEvolve()
Pre-evolve hook.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
virtual void postEvolve()
Post-evolve hook.
virtual void write()
Write post-processing info.
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
VoidFraction(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Templated base class for dsmc cloud.
Templated cloud function object base class.