FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

ThermoCloud< ParcelType > Class Template Reference

Templated base class for thermodynamic cloud. More...

#include <lagrangianIntermediate/ThermoCloud_.H>


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 61 of file ThermoCloud_.H.

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, bool readFields=true)
 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 ()
 Sensible enthalpy transfer [J/kg].
tmp< DimensionedField< scalar,
volMesh > >  
Sh () const
 Return enthalpy source [J/kg/m3/s].
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  evolveCloud ()
 Evolve the cloud.
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 [J/kg].

Member Typedef Documentation

typedef ParcelType parcelType

Type of parcel the cloud was instantiated for.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 149 of file ThermoCloud_.H.


Constructor & Destructor Documentation

ThermoCloud ( const word &   cloudName,
const volScalarField &   rho,
const volVectorField &   U,
const dimensionedVector &   g,
basicThermo &   thermo,
bool   readFields = true  
)

Construct given carrier gas fields.

Definition at line 111 of file ThermoCloud_.C.

References Foam::readFields().

~ThermoCloud (  ) [virtual]

Destructor.

Definition at line 174 of file ThermoCloud_.C.


Member Function Documentation

void preEvolve (  ) [protected]

Pre-evolve.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 35 of file ThermoCloud_.C.

void evolveCloud (  ) [protected]

Evolve the cloud.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 42 of file ThermoCloud_.C.

References cp, mu, rho, GeometricField< Type, PatchField, GeoMesh >::T(), T, and U.

void postEvolve (  ) [protected]

Post-evolve.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 101 of file ThermoCloud_.C.

const ParcelType::constantProperties & constProps (  ) const [inline]

Return the constant properties.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 32 of file ThermoCloudI_.H.

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

Return const access to thermo package.

Definition at line 40 of file ThermoCloudI_.H.

Foam::basicThermo & carrierThermo (  ) [inline]

Return access to thermo package.

Definition at line 48 of file ThermoCloudI_.H.

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

Return reference to heat transfer model.

Definition at line 56 of file ThermoCloudI_.H.

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

Return reference to velocity integration.

Definition at line 64 of file ThermoCloudI_.H.

bool radiation (  ) const [inline]

Radiation flag.

Definition at line 71 of file ThermoCloudI_.H.

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

Sensible enthalpy transfer [J/kg].

Definition at line 79 of file ThermoCloudI_.H.

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

Return enthalpy source [J/kg/m3/s].

Definition at line 87 of file ThermoCloudI_.H.

References mesh, name(), and timeName.

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

Return tmp equivalent particulate emission.

Implements thermoCloud.

Definition at line 112 of file ThermoCloudI_.H.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, forAllConstIter, mesh, name(), p, pow3(), pow4(), Foam::radiation::sigmaSB, timeName, fvMesh::V(), and dimensioned< Type >::value().

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

Return tmp equivalent particulate absorption.

Implements thermoCloud.

Definition at line 155 of file ThermoCloudI_.H.

References Foam::dimLength, Foam::dimless, forAllConstIter, mesh, name(), p, timeName, and fvMesh::V().

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

Return tmp equivalent particulate scattering factor.

Implements thermoCloud.

Definition at line 198 of file ThermoCloudI_.H.

References Foam::dimLength, Foam::dimless, f(), forAllConstIter, mesh, name(), p, timeName, and fvMesh::V().

void info (  ) const

Print cloud information.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 229 of file ThermoCloud_.C.

void checkParcelProperties ( ParcelType &   parcel,
const scalar   lagrangianDt,
const bool   fullyDescribed  
)

Check parcel properties.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 182 of file ThermoCloud_.C.

void resetSourceTerms (  )

Reset the spray source terms.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 204 of file ThermoCloud_.C.

void evolve (  )

Evolve the spray (inject, move)

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 212 of file ThermoCloud_.C.

References Foam::endl(), and Foam::Info.


Member Data Documentation

ParcelType::constantProperties constProps_ [protected]

Thermo parcel constant properties.

Reimplemented from KinematicCloud< ParcelType >.

Reimplemented in ReactingCloud< ParcelType >, and ReactingMultiphaseCloud< ParcelType >.

Definition at line 80 of file ThermoCloud_.H.

Thermodynamics package (basic)

Definition at line 86 of file ThermoCloud_.H.

Heat transfer model.

Definition at line 93 of file ThermoCloud_.H.

Temperature integration.

Definition at line 99 of file ThermoCloud_.H.

Switch radiation_ [protected]

Include radiation.

Definition at line 105 of file ThermoCloud_.H.

DimensionedField<scalar, volMesh> hsTrans_ [protected]

Sensible enthalpy transfer [J/kg].

Definition at line 111 of file ThermoCloud_.H.


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