Go to the documentation of this file.
35 template<
class CloudType>
39 return *cloudCopyPtr_;
43 template<
class CloudType>
44 inline const typename CloudType::particleType::constantProperties&
51 template<
class CloudType>
52 inline typename CloudType::particleType::constantProperties&
59 template<
class CloudType>
66 template<
class CloudType>
73 template<
class CloudType>
80 template<
class CloudType>
84 return *heatTransferModel_;
88 template<
class CloudType>
96 template<
class CloudType>
103 template<
class CloudType>
110 <<
"Radiation field requested, but radiation model not active"
118 template<
class CloudType>
125 <<
"Radiation field requested, but radiation model not active"
133 template<
class CloudType>
140 <<
"Radiation field requested, but radiation model not active"
148 template<
class CloudType>
155 <<
"Radiation field requested, but radiation model not active"
163 template<
class CloudType>
170 <<
"Radiation field requested, but radiation model not active"
178 template<
class CloudType>
185 <<
"Radiation field requested, but radiation model not active"
193 template<
class CloudType>
201 template<
class CloudType>
209 template<
class CloudType>
217 template<
class CloudType>
225 template<
class CloudType>
231 Info<<
"hsTrans min/max = " <<
min(hsTrans()).value() <<
", "
232 <<
max(hsTrans()).value() <<
nl
233 <<
"hsCoeff min/max = " <<
min(hsCoeff()).value() <<
", "
234 <<
max(hsCoeff()).value() <<
endl;
239 if (this->
solution().semiImplicit(
"h"))
243 Vdt(this->
mesh().V()*this->db().time().deltaT());
248 + hsCoeff()/(
Cp*Vdt)*hs;
255 fvm.
source() = -hsTrans()/(this->db().time().deltaT());
265 template<
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();
301 template<
class CloudType>
310 this->
name() +
":radiation:ap",
325 const scalar dt = this->db().time().deltaTValue();
327 const scalar
epsilon = constProps_.epsilon0();
337 template<
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;
375 template<
class CloudType>
379 bool nonEmpty =
false;
396 template<
class CloudType>
400 bool nonEmpty =
false;
int debug
Static debugging option.
const volScalarField & p() const
Return const access to the carrier pressure field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
label ListType::const_reference val
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
Selector class for relaxation factors, solver type and solution.
scalar Tmin() const
Minimum temperature.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
tmp< fvScalarMatrix > Sh(volScalarField &hs) const
Return sensible enthalpy source term [J/kg/m3/s].
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero.
const dimensionSet dimEnergy
Different types of constants.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
ParticleType parcelType
Parcels are just particles.
tmp< volScalarField > sigmap() const
Return tmp equivalent particulate scattering factor.
Base for a set of schemes which integrate simple ODEs which arise from semi-implcit rate expressions.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Templated heat transfer model class.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< volScalarField > ap() const
Return tmp equivalent particulate absorption.
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
fvMatrix< scalar > fvScalarMatrix
const parcelType::constantProperties & constProps() const
Return the constant properties.
const integrationScheme & TIntegrator() const
Return reference to velocity integration.
dimensionedScalar pow3(const dimensionedScalar &ds)
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
const SLGThermo & thermo() const
Return const access to thermo package.
volScalarField::Internal & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
volScalarField::Internal & hsCoeff()
Return coefficient for carrier phase hs equation.
tmp< volScalarField > Ep() const
Return tmp equivalent particulate emission.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
errorManip< error > abort(error &err)
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
const ThermoCloud & cloudCopy() const
Return a reference to the cloud copy.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated base class for thermodynamic cloud.
const HeatTransferModel< ThermoCloud< CloudType > > & heatTransfer() const
Return reference to heat transfer model.
scalar Tmax() const
Maximum temperature.
bool radiation() const
Radiation flag.
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
const volScalarField & Cp
volScalarField::Internal & radT4()
Radiation sum of parcel temperature^4 [K4].
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
const volScalarField & T() const
Return const access to the carrier temperature field.
volScalarField::Internal & radAreaP()
Radiation sum of parcel projected areas [m2].
volScalarField::Internal & hsTrans()
Sensible enthalpy transfer [J/kg].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...