OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

ThermoCloud< ParcelType > Class Template Reference

Templated base class for thermodynamic cloud. More...

Inheritance diagram for ThermoCloud< ParcelType >:
Collaboration diagram for ThermoCloud< ParcelType >:

List of all members.


Public Types

typedef ParcelType parcelType
 Type of parcel the cloud was instantiated for.

Public Member Functions

 ThermoCloud (const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, basicThermo &thermo)
 Construct given carrier gas fields.
virtual ~ThermoCloud ()
 Destructor.
const
ParcelType::constantProperties & 
constProps () const
 Return the constant properties.
const basicThermo & carrierThermo () const
 Return const access to thermo package.
basicThermo & carrierThermo ()
 Return access to thermo package.
const HeatTransferModel
< ThermoCloud< ParcelType > > & 
heatTransfer () const
 Return reference to heat transfer model.
const scalarIntegrationScheme & TIntegrator () const
 Return reference to velocity integration.
bool radiation () const
 Radiation flag.
DimensionedField< scalar,
volMesh > & 
hsTrans ()
 Return reference to sensible enthalpy source.
tmp< DimensionedField< scalar,
volMesh > > 
Shs () const
 Return tmp total sensible enthalpy source term.
DimensionedField< scalar,
volMesh > & 
hcTrans ()
 Return reference to chemical enthalpy source.
tmp< DimensionedField< scalar,
volMesh > > 
Shc () const
 Return tmp chemical enthalpy source term.
tmp< DimensionedField< scalar,
volMesh > > 
Sh () const
 Return tmp total enthalpy source term.
tmp< volScalarField > Ep () const
 Return tmp equivalent particulate emission.
tmp< volScalarField > ap () const
 Return tmp equivalent particulate absorption.
tmp< volScalarField > sigmap () const
 Return tmp equivalent particulate scattering factor.
void info () const
 Print cloud information.
void checkParcelProperties (ParcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
 Check parcel properties.
void resetSourceTerms ()
 Reset the spray source terms.
void evolve ()
 Evolve the spray (inject, move).

Protected Member Functions

void preEvolve ()
 Pre-evolve.
void postEvolve ()
 Post-evolve.

Protected Attributes

ParcelType::constantProperties constProps_
 Thermo parcel constant properties.
basicThermo & carrierThermo_
 Thermodynamics package (basic).
autoPtr< HeatTransferModel
< ThermoCloud< ParcelType > > > 
heatTransferModel_
 Heat transfer model.
autoPtr< scalarIntegrationScheme > TIntegrator_
 Temperature integration.
Switch radiation_
 Include radiation.
DimensionedField< scalar, volMesh > hsTrans_
 Sensible enthalpy transfer.
DimensionedField< scalar, volMesh > hcTrans_
 Chemical enthalpy transfer.

Detailed Description

template<class ParcelType>
class Foam::ThermoCloud< ParcelType >

Templated base class for thermodynamic cloud.

  • Adds to kinematic cloud
    • Heat transfer

Source files

Definition at line 56 of file ThermoCloud.H.


Member Typedef Documentation


Constructor & Destructor Documentation

ThermoCloud ( const word &  cloudName,
const volScalarField &  rho,
const volVectorField &  U,
const dimensionedVector &  g,
basicThermo &  thermo 
) [inline]

Construct given carrier gas fields.

Definition at line 28 of file ThermoCloud.C.

~ThermoCloud (  )  [inline, virtual]

Destructor.

Definition at line 98 of file ThermoCloud.C.


Member Function Documentation

const Foam::basicThermo & carrierThermo (  )  const [inline]

Return const access to thermo package.

Definition at line 32 of file ThermoCloudI.H.

Foam::basicThermo & carrierThermo (  )  [inline]

Return access to thermo package.

Definition at line 40 of file ThermoCloudI.H.

const Foam::HeatTransferModel< Foam::ThermoCloud< ParcelType > > & heatTransfer (  )  const [inline]

Return reference to heat transfer model.

Definition at line 48 of file ThermoCloudI.H.

const Foam::scalarIntegrationScheme & TIntegrator (  )  const [inline]

Return reference to velocity integration.

Definition at line 56 of file ThermoCloudI.H.

bool radiation (  )  const [inline]

Radiation flag.

Definition at line 63 of file ThermoCloudI.H.

Foam::DimensionedField< Foam::scalar, Foam::volMesh > & hsTrans (  )  [inline]

Return reference to sensible enthalpy source.

Definition at line 71 of file ThermoCloudI.H.

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Shs (  )  const [inline]

Return tmp total sensible enthalpy source term.

Definition at line 79 of file ThermoCloudI.H.

Foam::DimensionedField< Foam::scalar, Foam::volMesh > & hcTrans (  )  [inline]

Return reference to chemical enthalpy source.

Definition at line 113 of file ThermoCloudI.H.

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Shc (  )  const [inline]

Return tmp chemical enthalpy source term.

Definition at line 121 of file ThermoCloudI.H.

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Sh (  )  const [inline]

Return tmp total enthalpy source term.

Definition at line 155 of file ThermoCloudI.H.

Foam::tmp< Foam::volScalarField > Ep (  )  const [inline, virtual]

Return tmp equivalent particulate emission.

Implements thermoCloud.

Definition at line 189 of file ThermoCloudI.H.

Foam::tmp< Foam::volScalarField > ap (  )  const [inline, virtual]

Return tmp equivalent particulate absorption.

Implements thermoCloud.

Definition at line 232 of file ThermoCloudI.H.

Foam::tmp< Foam::volScalarField > sigmap (  )  const [inline, virtual]

Return tmp equivalent particulate scattering factor.

Implements thermoCloud.

Definition at line 275 of file ThermoCloudI.H.


Member Data Documentation

Thermodynamics package (basic).

Definition at line 81 of file ThermoCloud.H.

Heat transfer model.

Definition at line 88 of file ThermoCloud.H.

Temperature integration.

Definition at line 94 of file ThermoCloud.H.

Switch radiation_ [protected]

Include radiation.

Definition at line 100 of file ThermoCloud.H.

Sensible enthalpy transfer.

Definition at line 106 of file ThermoCloud.H.

Referenced by ThermoCloud< ParcelType >::preEvolve().

Chemical enthalpy transfer.

  • If solving for total enthalpy, the carrier phase enthalpy will receive the full enthalpy of reaction via creation of reaction products

Definition at line 114 of file ThermoCloud.H.

Referenced by ThermoCloud< ParcelType >::preEvolve().


The documentation for this class was generated from the following files:
  • src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.H
  • src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C
  • src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H
Copyright © 2000-2009 OpenCFD Ltd