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

ReactingMultiphaseCloud< ParcelType > Class Template Reference

Templated base class for multiphase reacting cloud. More...

#include <lagrangianIntermediate/ReactingMultiphaseCloud_.H>


Detailed Description

template<class ParcelType>
class Foam::ReactingMultiphaseCloud< ParcelType >

Templated base class for multiphase reacting cloud.

- Adds to reacting cloud

  • multiphase composition
  • devolatilisatsion
  • surface reactions
Source files

Definition at line 65 of file ReactingMultiphaseCloud_.H.

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

List of all members.

Public Types

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

Public Member Functions

 ReactingMultiphaseCloud (const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, basicThermo &thermo, bool readFields=true)
 Construct given carrier gas fields.
virtual  ~ReactingMultiphaseCloud ()
 Destructor.
const
ParcelType::constantProperties &  
constProps () const
 Return the constant properties.
const DevolatilisationModel
< ReactingMultiphaseCloud
< ParcelType > > &  
devolatilisation () const
 Return reference to devolatilisation model.
const SurfaceReactionModel
< ReactingMultiphaseCloud
< ParcelType > > &  
surfaceReaction () const
 Return reference to reacting surface reaction model.
void  info () const
 Print cloud information.
void  addToMassDevolatilisation (const scalar dMass)
 Add to cumulative volatilisation mass transfer.
void  addToMassSurfaceReaction (const scalar dMass)
 Add to cumulative surface reaction transfer.
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_
 Parcel constant properties.
autoPtr< DevolatilisationModel
< ReactingMultiphaseCloud
< ParcelType > > >  
devolatilisationModel_
 Devolatilisation model.
autoPtr< SurfaceReactionModel
< ReactingMultiphaseCloud
< ParcelType > > >  
surfaceReactionModel_
 Surface reaction model.
scalar  dMassDevolatilisation_
 Total mass transferred to continuous phase via devolatilisation.
scalar  dMassSurfaceReaction_
 Total mass transferred to continuous phase via surface.

Member Typedef Documentation

typedef ParcelType parcelType

Type of parcel the cloud was instantiated for.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 149 of file ReactingMultiphaseCloud_.H.


Constructor & Destructor Documentation

ReactingMultiphaseCloud ( 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 118 of file ReactingMultiphaseCloud_.C.

References Foam::readFields().

~ReactingMultiphaseCloud (  ) [virtual]

Destructor.

Definition at line 158 of file ReactingMultiphaseCloud_.C.


Member Function Documentation

void preEvolve (  ) [protected]

Pre-evolve.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 34 of file ReactingMultiphaseCloud_.C.

void evolveCloud (  ) [protected]

Evolve the cloud.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 41 of file ReactingMultiphaseCloud_.C.

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

void postEvolve (  ) [protected]

Post-evolve.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 108 of file ReactingMultiphaseCloud_.C.

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

Return the constant properties.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 30 of file ReactingMultiphaseCloudI_.H.

const DevolatilisationModel< ReactingMultiphaseCloud<ParcelType> >& devolatilisation (  ) const [inline]

Return reference to devolatilisation model.

const SurfaceReactionModel< ReactingMultiphaseCloud<ParcelType> >& surfaceReaction (  ) const [inline]

Return reference to reacting surface reaction model.

void info (  ) const

Print cloud information.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 238 of file ReactingMultiphaseCloud_.C.

References Foam::Info, Foam::nl, and Foam::returnReduce().

void addToMassDevolatilisation ( const scalar   dMass  )

Add to cumulative volatilisation mass transfer.

Definition at line 250 of file ReactingMultiphaseCloud_.C.

void addToMassSurfaceReaction ( const scalar   dMass  )

Add to cumulative surface reaction transfer.

Definition at line 260 of file ReactingMultiphaseCloud_.C.

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

Check parcel properties.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 166 of file ReactingMultiphaseCloud_.C.

References composition.

void resetSourceTerms (  )

Reset the spray source terms.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 214 of file ReactingMultiphaseCloud_.C.

void evolve (  )

Evolve the spray (inject, move)

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 221 of file ReactingMultiphaseCloud_.C.

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


Member Data Documentation

ParcelType::constantProperties constProps_ [protected]

Parcel constant properties.

Reimplemented from ReactingCloud< ParcelType >.

Definition at line 84 of file ReactingMultiphaseCloud_.H.

Devolatilisation model.

Definition at line 94 of file ReactingMultiphaseCloud_.H.

Surface reaction model.

Definition at line 101 of file ReactingMultiphaseCloud_.H.

scalar dMassDevolatilisation_ [protected]

Total mass transferred to continuous phase via devolatilisation.

Definition at line 107 of file ReactingMultiphaseCloud_.H.

scalar dMassSurfaceReaction_ [protected]

Total mass transferred to continuous phase via surface.

reactions

Definition at line 111 of file ReactingMultiphaseCloud_.H.


The documentation for this class was generated from the following files: