33 template<
class CloudType>
42 GName_(this->coeffDict().getWord(
"GName"))
46 template<
class CloudType>
59 template<
class CloudType>
62 const typename parcelType::trackingData& td
65 auto&
c = this->owner();
67 auto* resultPtr =
c.template getObjectPtr<IOField<scalar>>(
"D");
90 const fvMesh&
mesh = this->owner().mesh();
97 const parcelType&
p = parcelIter();
99 D[parceli] +=
G[
p.cell()]*
mesh.time().deltaTValue();
103 const bool haveParticles =
c.size();
106 D.write(haveParticles);
A list of keyword definitions, which are a keyword followed by a number of values (eg...
ParticleDose(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
const dimensionedScalar G
Newtonian constant of gravitation.
const dimensionedScalar re
Classical electron radius: default SI units: [m].
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from Foam::string.
Calculate the doses absorbed by a particle as the time integral of the particle track along the radia...
const dimensionedScalar c
Speed of light in a vacuum.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
const dimensionedScalar & D
bool returnReduceOr(const bool value, const label comm=UPstream::worldComm)
Perform logical (or) MPI Allreduce on a copy. Uses UPstream::reduceOr.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Templated base class for dsmc cloud.
Templated cloud function object base class.
A primitive field of type <T> with automated input and output.
forAllConstIters(mixture.phases(), phase)
static constexpr const zero Zero
Global zero (0)