35template<
class CloudType>
39 return *cloudCopyPtr_;
43template<
class CloudType>
51template<
class CloudType>
59template<
class CloudType>
66template<
class CloudType>
73template<
class CloudType>
80template<
class CloudType>
84 return *heatTransferModel_;
88template<
class CloudType>
96template<
class CloudType>
103template<
class CloudType>
110 <<
"Radiation field requested, but radiation model not active"
118template<
class CloudType>
125 <<
"Radiation field requested, but radiation model not active"
133template<
class CloudType>
140 <<
"Radiation field requested, but radiation model not active"
148template<
class CloudType>
155 <<
"Radiation field requested, but radiation model not active"
163template<
class CloudType>
170 <<
"Radiation field requested, but radiation model not active"
178template<
class CloudType>
185 <<
"Radiation field requested, but radiation model not active"
193template<
class CloudType>
201template<
class CloudType>
209template<
class CloudType>
217template<
class CloudType>
225template<
class CloudType>
231 Info<<
"hsTrans min/max = " <<
min(hsTrans()).value() <<
", "
232 <<
max(hsTrans()).value() <<
nl
233 <<
"hsCoeff min/max = " <<
min(hsCoeff()).value() <<
", "
239 if (this->
solution().semiImplicit(
"h"))
243 Vdt(this->
mesh().V()*this->db().time().deltaT());
247 - fvm::SuSp(hsCoeff()/(
Cp*Vdt), hs)
248 + hsCoeff()/(
Cp*Vdt)*hs;
255 fvm.
source() = -hsTrans()/(this->db().time().deltaT());
265template<
class CloudType>
274 this->
name() +
":radiation:Ep",
289 const scalar dt = this->db().time().deltaTValue();
291 const scalar
epsilon = constProps_.epsilon0();
292 const scalarField& sumAreaPT4 = radAreaPT4_->field();
301template<
class CloudType>
310 this->
name() +
":radiation:ap",
325 const scalar dt = this->db().time().deltaTValue();
327 const scalar
epsilon = constProps_.epsilon0();
337template<
class CloudType>
347 this->
name() +
":radiation:sigmap",
362 const scalar dt = this->db().time().deltaTValue();
364 const scalar
epsilon = constProps_.epsilon0();
365 const scalar
f = constProps_.f0();
368 sigmap = sumAreaP*(1.0 -
f)*(1.0 -
epsilon)/V/dt;
375template<
class CloudType>
379 bool nonEmpty =
false;
383 val =
max(val,
p.T());
396template<
class CloudType>
400 bool nonEmpty =
false;
404 val =
min(val,
p.T());
Class to hold DSMC particle constant properties.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Templated class to calculate the fluid-particle heat transfer coefficients based on a specified Nusse...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
scalar Sh() const
Sherwood number.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
Templated base class for thermodynamic cloud.
const parcelType::constantProperties & constProps() const
Return the constant properties.
volScalarField::Internal & radAreaP()
Radiation sum of parcel projected areas [m2].
volScalarField::Internal & hsCoeff()
Return coefficient for carrier phase hs equation.
volScalarField::Internal & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
const volScalarField & T() const
Return const access to the carrier temperature field.
bool radiation() const
Radiation flag.
scalar Tmin() const
Minimum temperature.
volScalarField::Internal & radT4()
Radiation sum of parcel temperature^4 [K4].
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
const SLGThermo & thermo() const
Return const access to thermo package.
const integrationScheme & TIntegrator() const
Return reference to velocity integration.
const ThermoCloud & cloudCopy() const
Return a reference to the cloud copy.
scalar Tmax() const
Maximum temperature.
tmp< volScalarField > sigmap() const
Return tmp equivalent particulate scattering factor.
const HeatTransferModel< ThermoCloud< CloudType > > & heatTransfer() const
Return reference to heat transfer model.
volScalarField::Internal & hsTrans()
Sensible enthalpy transfer [J/kg].
const volScalarField & p() const
Return const access to the carrier pressure field.
tmp< volScalarField > Ep() const
Return tmp equivalent particulate emission.
tmp< volScalarField > ap() const
Return tmp equivalent particulate absorption.
const Type & value() const
Return const reference to value.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Field< Type > & source() noexcept
Base for a set of schemes which integrate simple ODEs which arise from semi-implcit rate expressions.
Selector class for relaxation factors, solver type and solution.
A class for managing temporary objects.
const volScalarField & Cp
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
Different types of constants.
const dimensionSet dimless
Dimensionless.
const dimensionSet dimEnergy
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
errorManip< error > abort(error &err)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Reduce (copy) and return value.
constexpr char nl
The newline '\n' character (0x0a)