33template<
class CloudType>
45template<
class CloudType>
57template<
class CloudType>
63 auto& c = this->owner();
84 auto& htc = c.template lookupObjectRef<IOField<scalar>>(
"htc");
85 htc.setSize(c.size());
87 const auto& heatTransfer = tc.heatTransfer();
94 const parcelType&
p = parcelIter();
96 scalar Ts, rhos, mus,
Pr, kappas;
97 p.template calcSurfaceValues<CloudType>
99 c, nctd,
p.
T(), Ts, rhos, mus,
Pr, kappas
101 const scalar
Re =
p.Re(rhos,
p.U(), td.Uc(),
p.d(), mus);
103 htc[parceli++] = heatTransfer.htc(
p.d(),
Re,
Pr, kappas, 0);
107 if (c.size() && c.time().writeTime())
Templated cloud function object base class.
Templated base class for dsmc cloud.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
Calculates and writes particle heat transfer coefficient field on the cloud.
A primitive field of type <T> with automated input and output.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual void postEvolve()
Post-evolve hook.
Templated base class for thermodynamic cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class used to pass data into container.
virtual bool write(const bool valid=true) const
Write using setting from DB.
A class for handling words, derived from Foam::string.
scalarField Re(const UList< complex > &cf)
Extract real component.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.