Go to the documentation of this file.
59 template<
class CloudType>
66 template<
class CloudType>
108 typename parcelType::constantProperties
constProps_;
231 inline const typename parcelType::constantProperties&
235 inline typename parcelType::constantProperties&
constProps();
323 inline scalar
Tmax()
const;
326 inline scalar
Tmin()
const;
335 const scalar lagrangianDt
342 const scalar lagrangianDt,
343 const bool fullyDescribed
362 void preEvolve(
const typename parcelType::trackingData& td);
void evolve()
Evolve the cloud.
parcelType::constantProperties constProps_
Thermo parcel constant properties.
const volScalarField & p() const
Return const access to the carrier pressure field.
const SLGThermo & thermo_
SLG thermodynamics package.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Virtual abstract base class for templated ThermoCloud.
A class for handling words, derived from Foam::string.
scalar Tmin() const
Minimum temperature.
tmp< fvScalarMatrix > Sh(volScalarField &hs) const
Return sensible enthalpy source term [J/kg/m3/s].
autoPtr< volScalarField::Internal > hsCoeff_
Coefficient for carrier phase hs equation [W/K].
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
A class for managing temporary objects.
autoPtr< volScalarField::Internal > hsTrans_
Sensible enthalpy transfer [J/kg].
const volScalarField & T_
Temperature [K].
void scaleSources()
Apply scaling to (transient) cloud sources.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
autoPtr< HeatTransferModel< ThermoCloud< CloudType > > > heatTransferModel_
Heat transfer model.
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.
const volScalarField & p_
Pressure [Pa].
autoPtr< volScalarField::Internal > radAreaPT4_
Radiation sum of parcel projected areas * temperature^4.
Templated heat transfer model class.
virtual ~ThermoCloud()=default
Destructor.
void restoreState()
Reset the current cloud to the previously stored state.
tmp< volScalarField > ap() const
Return tmp equivalent particulate absorption.
const word & cloudName() const
Return the cloud type.
const parcelType::constantProperties & constProps() const
Return the constant properties.
const integrationScheme & TIntegrator() const
Return reference to velocity integration.
void cloudReset(ThermoCloud< CloudType > &c)
Reset state of cloud.
void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve.
const fvMesh & mesh() const
Return reference to the mesh.
word name(const complex &c)
Return string representation of complex.
const SLGThermo & thermo() const
Return const access to thermo package.
CloudType cloudType
Type of cloud this cloud was instantiated for.
volScalarField::Internal & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
volScalarField::Internal & hsCoeff()
Return coefficient for carrier phase hs equation.
void resetSourceTerms()
Reset the cloud source terms.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
tmp< volScalarField > Ep() const
Return tmp equivalent particulate emission.
Templated base class for dsmc cloud.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
ThermoCloud< CloudType > thermoCloudType
Convenience typedef for this cloud type.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
const uniformDimensionedVectorField & g
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Switch radiation_
Include radiation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const ThermoCloud & cloudCopy() const
Return a reference to the cloud copy.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
void setModels()
Set cloud sub-models.
void info()
Print cloud information.
Templated base class for thermodynamic cloud.
autoPtr< volScalarField::Internal > radAreaP_
Radiation sum of parcel projected areas.
const HeatTransferModel< ThermoCloud< CloudType > > & heatTransfer() const
Return reference to heat transfer model.
virtual autoPtr< Cloud< parcelType > > clone(const word &name)
Construct and return clone based on (this) with new name.
scalar Tmax() const
Maximum temperature.
autoPtr< integrationScheme > TIntegrator_
Temperature integration.
bool radiation() const
Radiation flag.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
volScalarField::Internal & radT4()
Radiation sum of parcel temperature^4 [K4].
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const dimensionedScalar c
Speed of light in a vacuum.
void relaxSources(const ThermoCloud< CloudType > &cloudOldTime)
Apply relaxation to (steady state) cloud sources.
autoPtr< volScalarField::Internal > radT4_
Radiation sum of parcel temperature^4.
const volScalarField & T() const
Return const access to the carrier temperature field.
void storeState()
Store the current cloud state.
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...