59 template<
class CloudType>
66 template<
class CloudType>
108 typename parcelType::constantProperties
constProps_;
228 inline const ThermoCloud&
cloudCopy()
const;
231 inline const typename parcelType::constantProperties&
235 inline typename parcelType::constantProperties&
constProps();
238 inline const SLGThermo&
thermo()
const;
292 const typename parcelType::trackingData&
td 331 inline scalar
Tmax()
const;
334 inline scalar
Tmin()
const;
343 const scalar lagrangianDt
350 const scalar lagrangianDt,
351 const bool fullyDescribed
370 void preEvolve(
const typename parcelType::trackingData&
td);
const volScalarField & T_
Temperature [K].
autoPtr< integrationScheme > TIntegrator_
Temperature integration.
void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve.
CloudType cloudType
Type of cloud this cloud was instantiated for.
Switch radiation_
Include radiation.
autoPtr< IOobject > clone() const
Clone.
const SLGThermo & thermo_
SLG thermodynamics package.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
Templated class to calculate the fluid-particle heat transfer coefficients based on a specified Nusse...
volScalarField::Internal & hsTrans()
Sensible enthalpy transfer [J/kg].
const ThermoCloud & cloudCopy() const
Return a reference to the cloud copy.
tmp< volScalarField > sigmap() const
Return tmp equivalent particulate scattering factor.
const word & cloudName() const
Return the cloud type.
const word & name() const noexcept
Return the object name.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
void restoreState()
Reset the current cloud to the previously stored state.
const volScalarField & p() const
Return const access to the carrier pressure field.
autoPtr< volScalarField::Internal > hsTrans_
Sensible enthalpy transfer [J/kg].
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
volScalarField::Internal & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
void cloudReset(ThermoCloud< CloudType > &c)
Reset state of cloud.
void transferToCarrier(const parcelType &p, const typename parcelType::trackingData &td)
Transfer the effect of parcel to the carrier phase.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated base class for thermodynamic cloud.
ThermoCloud< CloudType > thermoCloudType
Convenience typedef for this cloud type.
virtual ~ThermoCloud()=default
Destructor.
parcelType::constantProperties constProps_
Thermo parcel constant properties.
const HeatTransferModel< ThermoCloud< CloudType > > & heatTransfer() const
Return reference to heat transfer model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField::Internal & radAreaP()
Radiation sum of parcel projected areas [m2].
autoPtr< volScalarField::Internal > radT4_
Radiation sum of parcel temperature^4.
volScalarField::Internal & radT4()
Radiation sum of parcel temperature^4 [K4].
tmp< volScalarField > ap() const
Return tmp equivalent particulate absorption.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
A class for handling words, derived from Foam::string.
const parcelType::constantProperties & constProps() const
Return the constant properties.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
bool radiation() const
Radiation flag.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const uniformDimensionedVectorField & g
const integrationScheme & TIntegrator() const
Return reference to velocity integration.
Virtual abstract base class for templated ThermoCloud.
const SLGThermo & thermo() const
Return const access to thermo package.
const volScalarField & T() const
Return const access to the carrier temperature field.
autoPtr< volScalarField::Internal > radAreaPT4_
Radiation sum of parcel projected areas * temperature^4.
Base for a set of schemes which integrate simple ODEs which arise from semi-implcit rate expressions...
tmp< fvScalarMatrix > Sh(volScalarField &hs) const
Return sensible enthalpy source term [J/kg/m3/s].
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
void resetSourceTerms()
Reset the cloud source terms.
const volScalarField & p_
Pressure [Pa].
const fvMesh & mesh() const
Return reference to the mesh.
autoPtr< volScalarField::Internal > hsCoeff_
Coefficient for carrier phase hs equation [W/K].
scalar Tmax() const
Maximum temperature.
tmp< volScalarField > Ep() const
Return tmp equivalent particulate emission.
void evolve()
Evolve the cloud.
autoPtr< volScalarField::Internal > radAreaP_
Radiation sum of parcel projected areas.
void info()
Print cloud information.
Mesh data needed to do the Finite Volume discretisation.
const dimensionedScalar c
Speed of light in a vacuum.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void scaleSources()
Apply scaling to (transient) cloud sources.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
autoPtr< HeatTransferModel< ThermoCloud< CloudType > > > heatTransferModel_
Heat transfer model.
A class for managing temporary objects.
volScalarField::Internal & hsCoeff()
Return coefficient for carrier phase hs equation.
Templated base class for dsmc cloud.
scalar Tmin() const
Minimum temperature.
void storeState()
Store the current cloud state.
void setModels()
Set cloud sub-models.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
void relaxSources(const ThermoCloud< CloudType > &cloudOldTime)
Apply relaxation to (steady state) cloud sources.