Public Member Functions | Private Attributes
COxidationDiffusionLimitedRate Class Reference

Diffusion limited rate surface reaction model for coal parcels. Limited to: More...

Public Member Functions

 TypeName ("COxidationDiffusionLimitedRate")
 Runtime type information. More...
 
 COxidationDiffusionLimitedRate (const dictionary &dict, CloudType &owner)
 Construct from dictionary. More...
 
 COxidationDiffusionLimitedRate (const COxidationDiffusionLimitedRate< CloudType > &srm)
 Construct copy. More...
 
virtual autoPtr< SurfaceReactionModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~COxidationDiffusionLimitedRate ()
 Destructor. More...
 
virtual scalar calculate (const scalar dt, const label cellI, const scalar d, const scalar T, const scalar Tc, const scalar pc, const scalar rhoc, const scalar mass, const scalarField &YGas, const scalarField &YLiquid, const scalarField &YSolid, const scalarField &YMixture, const scalar N, scalarField &dMassGas, scalarField &dMassLiquid, scalarField &dMassSolid, scalarField &dMassSRCarrier) const
 Update surface reactions. More...
 

Private Attributes

const scalar Sb_
 Stoichiometry of reaction. More...
 
const scalar D_
 Diffusion coefficient of oxidants [m2/s]. More...
 
label CsLocalId_
 Cs positions in global/local lists. More...
 
label O2GlobalId_
 O2 position in global list. More...
 
label CO2GlobalId_
 CO2 positions in global list. More...
 
scalar WC_
 Molecular weight of C [kg/kmol]. More...
 
scalar WO2_
 Molecular weight of O2 [kg/kmol]. More...
 
scalar HcCO2_
 Formation enthalpy for CO2 [J/kg]. More...
 

Detailed Description

Diffusion limited rate surface reaction model for coal parcels. Limited to:

C(s) + Sb*O2 -> CO2

where Sb is the stoichiometry of the reaction

Definition at line 49 of file COxidationDiffusionLimitedRate.H.

Constructor & Destructor Documentation

◆ COxidationDiffusionLimitedRate() [1/2]

COxidationDiffusionLimitedRate ( const dictionary dict,
CloudType owner 
)

Construct from dictionary.

Definition at line 35 of file COxidationDiffusionLimitedRate.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.

Here is the call graph for this function:

◆ COxidationDiffusionLimitedRate() [2/2]

Construct copy.

Definition at line 76 of file COxidationDiffusionLimitedRate.C.

◆ ~COxidationDiffusionLimitedRate()

Destructor.

Definition at line 96 of file COxidationDiffusionLimitedRate.C.

Member Function Documentation

◆ TypeName()

TypeName ( "COxidationDiffusionLimitedRate"  )

Runtime type information.

◆ clone()

virtual autoPtr<SurfaceReactionModel<CloudType> > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 117 of file COxidationDiffusionLimitedRate.H.

◆ calculate()

Foam::scalar calculate ( const scalar  dt,
const label  cellI,
const scalar  d,
const scalar  T,
const scalar  Tc,
const scalar  pc,
const scalar  rhoc,
const scalar  mass,
const scalarField YGas,
const scalarField YLiquid,
const scalarField YSolid,
const scalarField YMixture,
const scalar  N,
scalarField dMassGas,
scalarField dMassLiquid,
scalarField dMassSolid,
scalarField dMassSRCarrier 
) const
virtual

Update surface reactions.

Definition at line 104 of file COxidationDiffusionLimitedRate.C.

References Foam::min(), Foam::constant::mathematical::pi(), and Foam::T().

Here is the call graph for this function:

Field Documentation

◆ Sb_

const scalar Sb_
private

Stoichiometry of reaction.

Definition at line 65 of file COxidationDiffusionLimitedRate.H.

◆ D_

const scalar D_
private

Diffusion coefficient of oxidants [m2/s].

Definition at line 68 of file COxidationDiffusionLimitedRate.H.

◆ CsLocalId_

label CsLocalId_
private

Cs positions in global/local lists.

Definition at line 74 of file COxidationDiffusionLimitedRate.H.

◆ O2GlobalId_

label O2GlobalId_
private

O2 position in global list.

Definition at line 77 of file COxidationDiffusionLimitedRate.H.

◆ CO2GlobalId_

label CO2GlobalId_
private

CO2 positions in global list.

Definition at line 80 of file COxidationDiffusionLimitedRate.H.

◆ WC_

scalar WC_
private

Molecular weight of C [kg/kmol].

Definition at line 86 of file COxidationDiffusionLimitedRate.H.

◆ WO2_

scalar WO2_
private

Molecular weight of O2 [kg/kmol].

Definition at line 89 of file COxidationDiffusionLimitedRate.H.

◆ HcCO2_

scalar HcCO2_
private

Formation enthalpy for CO2 [J/kg].

Definition at line 92 of file COxidationDiffusionLimitedRate.H.


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