53 template<
class CloudType>
60 template<
class CloudType>
102 typename parcelType::constantProperties
constProps_;
225 inline const typename parcelType::constantProperties&
229 inline typename parcelType::constantProperties&
constProps();
317 inline scalar
Tmax()
const;
320 inline scalar
Tmin()
const;
329 const scalar lagrangianDt
336 const scalar lagrangianDt,
337 const bool fullyDescribed
const volScalarField & T_
Temperature [K].
CloudType cloudType
Type of cloud this cloud was instantiated for.
Switch radiation_
Include radiation.
autoPtr< DimensionedField< scalar, volMesh > > radT4_
Radiation sum of parcel temperature^4.
const SLGThermo & thermo_
SLG thermodynamics package.
tmp< volScalarField > sigmap() const
Return tmp equivalent particulate scattering factor.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
Templated heat transfer model class.
DimensionedField< scalar, volMesh > & hsTrans()
Sensible enthalpy transfer [J/kg].
scalar Tmin() const
Minimum temperature.
const parcelType::constantProperties & constProps() const
Return the constant properties.
autoPtr< DimensionedField< scalar, volMesh > > hsTrans_
Sensible enthalpy transfer [J/kg].
void restoreState()
Reset the current cloud to the previously stored state.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
const SLGThermo & thermo() const
Return const access to thermo package.
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.
DimensionedField< scalar, volMesh > & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
void cloudReset(ThermoCloud< CloudType > &c)
Reset state of cloud.
void preEvolve()
Pre-evolve.
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.
DimensionedField< scalar, volMesh > & radAreaP()
Radiation sum of parcel projected areas [m2].
DimensionedField< scalar, volMesh > & radT4()
Radiation sum of parcel temperature^4 [K4].
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
autoPtr< scalarIntegrationScheme > TIntegrator_
Temperature integration.
A class for handling words, derived from string.
scalar Tmax() const
Maximum temperature.
Foam::autoPtr< IOobject > clone() const
Clone.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
const HeatTransferModel< ThermoCloud< CloudType > > & heatTransfer() const
Return reference to heat transfer model.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const dimensionedVector & g
bool radiation() const
Radiation flag.
Virtual abstract base class for templated ThermoCloud.
virtual void readFields()
Read the field data for the cloud of particles. Dummy at.
const volScalarField & T() const
Return const access to the carrier temperature field.
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 ThermoCloud & cloudCopy() const
Return a reference to the cloud copy.
void evolve()
Evolve the cloud.
const fvMesh & mesh() const
Return refernce to the mesh.
autoPtr< DimensionedField< scalar, volMesh > > radAreaPT4_
Radiation sum of parcel projected areas * temperature^4.
void info()
Print cloud information.
Mesh data needed to do the Finite Volume discretisation.
const dimensionedScalar c
Speed of light in a vacuum.
Top level model for Integration schemes.
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.
autoPtr< DimensionedField< scalar, volMesh > > hsCoeff_
Coefficient for carrier phase hs equation [W/K].
const word & cloudName() const
Return the cloud type.
const volScalarField & p() const
Return const access to the carrier prressure field.
tmp< fvScalarMatrix > Sh(volScalarField &hs) const
Return sensible enthalpy source term [J/kg/m3/s].
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.
autoPtr< DimensionedField< scalar, volMesh > > radAreaP_
Radiation sum of parcel projected areas.
DimensionedField< scalar, volMesh > & hsCoeff()
Return coefficient for carrier phase hs equation.
tmp< volScalarField > ap() const
Return tmp equivalent particulate absorption.
Templated base class for dsmc cloud.
const scalarIntegrationScheme & TIntegrator() const
Return reference to velocity integration.
const word & name() const
Return name.
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.
tmp< volScalarField > Ep() const
Return tmp equivalent particulate emission.