32 template<
class CloudType>
41 sigma_(
dict.getScalar(
"sigma"))
45 template<
class CloudType>
58 template<
class CloudType>
61 const typename parcelType::trackingData&
td 64 auto&
c = this->owner();
66 auto* resultPtr =
c.template getObjectPtr<IOField<scalar>>(
"We");
85 auto& We = *resultPtr;
90 for (
const parcelType&
p :
c)
92 We[parceli++] =
p.We(
td, sigma_);
95 const bool haveParticles =
c.size();
98 We.write(haveParticles);
A list of keyword definitions, which are a keyword followed by a number of values (eg...
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
A class for handling words, derived from Foam::string.
const dimensionedScalar c
Speed of light in a vacuum.
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.
KinematicWeberNumber(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
Calculates and writes particle Weber number field on the cloud.