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