56 class integrationScheme;
58 template<
class CloudType>
61 template<
class CloudType>
76 template<
class CloudType>
80 public ThermoCloudName
109 typename parcelType::constantProperties
constProps_;
242 inline const typename parcelType::constantProperties&
246 inline typename parcelType::constantProperties&
constProps();
342 inline scalar
Tmax()
const;
345 inline scalar
Tmin()
const;
354 const scalar lagrangianDt
361 const scalar lagrangianDt,
362 const bool fullyDescribed
const volScalarField & T_
Temperature [K].
autoPtr< integrationScheme > TIntegrator_
Temperature integration.
const fluidThermo & carrierThermo_
Thermophysical properties of the carrier fluid.
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.
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.
const parcelThermo thermo_
SLG thermodynamics package.
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.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
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, y/n, t/f, or none/any.
volScalarField::Internal & radAreaPT4()
Radiation sum of parcel projected area*temperature^4 [m2K4].
tmp< fvScalarMatrix > Sh(const volScalarField &hs) const
Return sensible enthalpy source term [J/kg/m^3/s].
tmp< volScalarField::Internal > hsTrans() const
Return sensible enthalpy transfer [J/kg].
void cloudReset(ThermoCloud< CloudType > &c)
Reset state of cloud.
void preEvolve()
Pre-evolve.
const dimensionedScalar c
Speed of light in a vacuum.
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 & hsCoeffRef()
Access coefficient for carrier phase hs equation.
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 polyTopoChangeMap &)
Remap the cells of particles corresponding to the.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const parcelType::constantProperties & constProps() const
Return the constant properties.
Base-class for fluid thermodynamic properties.
ThermoCloud(const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const fluidThermo &carrierThermo, const bool readFields=true)
Construct given carrier fields and thermo.
TemplateName(FvFaceCellWave)
bool radiation() const
Radiation flag.
const integrationScheme & TIntegrator() const
Return reference to velocity integration.
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...
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.
virtual void writeFields() const
Write the field data for the cloud.
Forward declarations of fvMatrix specialisations.
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.
volScalarField::Internal & hsTransRef()
Access sensible enthalpy transfer [J/kg].
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.
const fluidThermo & carrierThermo() const
Return const access to carrier thermo package.
tmp< volScalarField::Internal > hsCoeff() const
Return coefficient for carrier phase hs equation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const parcelThermo & thermo() const
Return const access to thermo package.
const CompositionModel< ThermoCloud< CloudType > > & composition() const
Return const access to reacting composition model.
autoPtr< HeatTransferModel< ThermoCloud< CloudType > > > heatTransferModel_
Heat transfer model.
A class for managing temporary objects.
const dimensionedVector & g
Templated reacting parcel composition model class Consists of carrier species (via thermo package)...
Templated base class for dsmc cloud.
scalar Tmin() const
Minimum temperature.
void storeState()
Store the current cloud state.
void setModels()
Set cloud sub-models.
autoPtr< CompositionModel< ThermoCloud< CloudType > > > compositionModel_
Reacting composition model.
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.