32 template<
class CloudType>
44 template<
class CloudType>
56 template<
class CloudType>
59 const typename parcelType::trackingData& td
62 auto&
c = this->owner();
64 auto* resultPtr =
c.template getObjectPtr<IOField<scalar>>(
"Re");
83 auto&
Re = *resultPtr;
90 const parcelType&
p = parcelIter();
92 Re[parceli++] =
p.Re(td);
95 const bool haveParticles =
c.size();
98 Re.write(haveParticles);
void resize(const label len)
Adjust allocated size of list.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const dimensionedScalar re
Classical electron radius: default SI units: [m].
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
A class for handling words, derived from Foam::string.
Calculates and writes particle Reynolds number field on the cloud. The normalisation factors are calc...
scalarField Re(const UList< complex > &cmplx)
Extract real component.
const dimensionedScalar c
Speed of light in a vacuum.
KinematicReynoldsNumber(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
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)