Public Member Functions | Private Attributes | Static Private Attributes
COxidationMurphyShaddix Class Reference

Limited to C(s) + O2 -> CO2. More...

Public Member Functions

 TypeName ("COxidationMurphyShaddix")
 Runtime type information. More...
 
 COxidationMurphyShaddix (const dictionary &dict, CloudType &owner)
 Construct from dictionary. More...
 
 COxidationMurphyShaddix (const COxidationMurphyShaddix< CloudType > &srm)
 Construct copy. More...
 
virtual autoPtr< SurfaceReactionModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~COxidationMurphyShaddix ()
 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 D0_
 Reference diffusion constant. More...
 
const scalar rho0_
 Reference density for reference diffusion constant. More...
 
const scalar T0_
 Reference temperature for reference diffusion constant. More...
 
const scalar Dn_
 Exponent for diffusion equation. More...
 
const scalar A_
 Kinetic rate coefficient. More...
 
const scalar E_
 Kinetic rate activation energy. More...
 
const scalar n_
 Reaction order. More...
 
const scalar WVol_
 Effective molecular weight of gaseous volatiles. 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...
 

Static Private Attributes

static label maxIters_ = 1000
 Maximum number of iterations. More...
 
static scalar tolerance_ = 1e-06
 Tolerance used in inner iterations. More...
 

Detailed Description

Limited to C(s) + O2 -> CO2.

Loosely based on the reference: Murphy, J. J., Shaddix, C. R., Combustion kinetics of coal chars in oxygen-enriched environments, Combustion and Flame 144, pp710-729, 2006

Definition at line 48 of file COxidationMurphyShaddix.H.

Constructor & Destructor Documentation

◆ COxidationMurphyShaddix() [1/2]

COxidationMurphyShaddix ( const dictionary dict,
CloudType owner 
)

Construct from dictionary.

Definition at line 42 of file COxidationMurphyShaddix.C.

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

Here is the call graph for this function:

◆ COxidationMurphyShaddix() [2/2]

Construct copy.

Definition at line 82 of file COxidationMurphyShaddix.C.

◆ ~COxidationMurphyShaddix()

Destructor.

Definition at line 107 of file COxidationMurphyShaddix.C.

Member Function Documentation

◆ TypeName()

TypeName ( "COxidationMurphyShaddix"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Definition at line 143 of file COxidationMurphyShaddix.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 115 of file COxidationMurphyShaddix.C.

References Foam::endl(), Foam::exp(), Foam::mag(), Foam::min(), N, Foam::nl, Foam::constant::mathematical::pi(), Foam::Pout, Foam::pow(), Foam::constant::thermodynamic::RR, Foam::sqr(), T, and WarningInFunction.

Here is the call graph for this function:

Field Documentation

◆ D0_

const scalar D0_
private

Reference diffusion constant.

Definition at line 64 of file COxidationMurphyShaddix.H.

◆ rho0_

const scalar rho0_
private

Reference density for reference diffusion constant.

Definition at line 67 of file COxidationMurphyShaddix.H.

◆ T0_

const scalar T0_
private

Reference temperature for reference diffusion constant.

Definition at line 70 of file COxidationMurphyShaddix.H.

◆ Dn_

const scalar Dn_
private

Exponent for diffusion equation.

Definition at line 73 of file COxidationMurphyShaddix.H.

◆ A_

const scalar A_
private

Kinetic rate coefficient.

Definition at line 76 of file COxidationMurphyShaddix.H.

◆ E_

const scalar E_
private

Kinetic rate activation energy.

Definition at line 79 of file COxidationMurphyShaddix.H.

◆ n_

const scalar n_
private

Reaction order.

Definition at line 82 of file COxidationMurphyShaddix.H.

◆ WVol_

const scalar WVol_
private

Effective molecular weight of gaseous volatiles.

Definition at line 85 of file COxidationMurphyShaddix.H.

◆ maxIters_

Foam::label maxIters_ = 1000
staticprivate

Maximum number of iterations.

Definition at line 91 of file COxidationMurphyShaddix.H.

◆ tolerance_

Foam::scalar tolerance_ = 1e-06
staticprivate

Tolerance used in inner iterations.

Definition at line 94 of file COxidationMurphyShaddix.H.

◆ CsLocalId_

label CsLocalId_
private

Cs positions in global/local lists.

Definition at line 100 of file COxidationMurphyShaddix.H.

◆ O2GlobalId_

label O2GlobalId_
private

O2 position in global list.

Definition at line 103 of file COxidationMurphyShaddix.H.

◆ CO2GlobalId_

label CO2GlobalId_
private

CO2 positions in global list.

Definition at line 106 of file COxidationMurphyShaddix.H.

◆ WC_

scalar WC_
private

Molecular weight of C [kg/kmol].

Definition at line 112 of file COxidationMurphyShaddix.H.

◆ WO2_

scalar WO2_
private

Molecular weight of O2 [kg/kmol].

Definition at line 115 of file COxidationMurphyShaddix.H.

◆ HcCO2_

scalar HcCO2_
private

Formation enthalpy for CO2 [J/kg].

Definition at line 118 of file COxidationMurphyShaddix.H.


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