53 template<
class CloudType>
60 template<
class CloudType>
93 typename parcelType::constantProperties
constProps_;
219 inline const typename parcelType::constantProperties&
223 inline typename parcelType::constantProperties&
constProps();
311 inline scalar
Tmax()
const;
314 inline scalar
Tmin()
const;
323 const scalar lagrangianDt
330 const scalar lagrangianDt,
331 const bool fullyDescribed
const volScalarField & T_
Temperature [K].
autoPtr< integrationScheme > TIntegrator_
Temperature integration.
CloudType cloudType
Type of cloud this cloud was instantiated for.
Switch radiation_
Include radiation.
autoPtr< IOobject > clone() const
Clone.
const word & name() const
Return name.
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 heat transfer model class.
volScalarField::Internal & hsTrans()
Sensible enthalpy transfer [J/kg].
const ThermoCloud & cloudCopy() const
Return a reference to the cloud copy.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the specified type.
tmp< volScalarField > sigmap() const
Return tmp equivalent particulate scattering factor.
const word & cloudName() const
Return the cloud type.
void restoreState()
Reset the current cloud to the previously stored state.
ThermoCloud(const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const SLGThermo &thermo, bool readFields=true)
Construct given carrier gas fields.
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, y/n, t/f, or none/any.
volScalarField::Internal & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
void cloudReset(ThermoCloud< CloudType > &c)
Reset state of cloud.
void preEvolve()
Pre-evolve.
const dimensionedScalar & c
Speed of light in a vacuum.
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.
parcelType::constantProperties constProps_
Thermo parcel constant properties.
const HeatTransferModel< ThermoCloud< CloudType > > & heatTransfer() const
Return reference to heat transfer model.
volScalarField::Internal & radAreaP()
Radiation sum of parcel projected areas [m^2].
autoPtr< volScalarField::Internal > radT4_
Radiation sum of parcel temperature^4.
void operator=(const ThermoCloud &)=delete
Disallow default bitwise assignment.
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.
A class for handling words, derived from 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.
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/m^3/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 references 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.
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
autoPtr< HeatTransferModel< ThermoCloud< CloudType > > > heatTransferModel_
Heat transfer model.
A class for managing temporary objects.
const dimensionedVector & g
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.
virtual ~ThermoCloud()
Destructor.