Go to the documentation of this file.
33 template<
class CloudType>
45 template<
class CloudType>
57 template<
class CloudType>
60 const typename parcelType::trackingData& td
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();
88 typename parcelType::trackingData& nctd =
89 const_cast<typename parcelType::trackingData&
>(td);
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())
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A primitive field of type <T> with automated input and output.
HeatTransferCoeff(const dictionary &dict, CloudType &owner, const word &modelName)
Calculates and writes particle heat transfer coefficient field on the cloud.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void write(Ostream &os) const
forAllConstIters(mixture.phases(), phase)
virtual void postEvolve(const typename parcelType::trackingData &td)
Templated base class for thermodynamic cloud.
Templated cloud function object base class.
scalarField Re(const UList< complex > &cf)
const dimensionedScalar c