Loading...
Searching...
No Matches
XiModel Class Referenceabstract

Base-class for all Xi models used by the b-Xi combustion model. See Technical Report SH/RE/01R for details on the PDR modelling. More...

#include <XiModel.H>

Inheritance diagram for XiModel:
Collaboration diagram for XiModel:

Public Member Functions

 TypeName ("XiModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, XiModel, dictionary,(const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi),(XiProperties, thermo, turbulence, Su, rho, b, phi))
 XiModel (const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi)
 Construct from components.
virtual ~XiModel ()
 Destructor.
virtual const volScalarFieldXi () const
 Return the flame-wrinkling Xi.
virtual tmp< volScalarFieldDb () const
 Return the flame diffusivity.
virtual void addXi (multivariateSurfaceInterpolationScheme< scalar >::fieldTable &)
 Add Xi to the multivariateSurfaceInterpolationScheme table.
virtual void correct ()=0
 Correct the flame-wrinkling Xi.
virtual void correct (const fv::convectionScheme< scalar > &)
 Correct the flame-wrinkling Xi using the given convection scheme.
virtual bool read (const dictionary &XiProperties)=0
 Update properties from given dictionary.
virtual void writeFields ()=0
 Write fields related to Xi model.

Static Public Member Functions

static autoPtr< XiModel > New (const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi)
 Return a reference to the selected Xi model.

Protected Attributes

dictionary XiModelCoeffs_
const psiuReactionThermothermo_
const compressible::RASModelturbulence_
const volScalarFieldSu_
const volScalarFieldrho_
const volScalarFieldb_
const surfaceScalarFieldphi_
volScalarField Xi_
 Flame wrinkling field.

Detailed Description

Base-class for all Xi models used by the b-Xi combustion model. See Technical Report SH/RE/01R for details on the PDR modelling.

Xi is given through an algebraic expression (algebraic.H), by solving a transport equation (transport.H) or a fixed value (fixed.H).

See report TR/HGW/10 for details on the Weller two equations model.

In the algebraic and transport methods $\Xi_{eq}$ is calculated in similar way. In the algebraic approach, $\Xi_{eq}$ is the value used in the $ b $ transport equation.

$\Xi_{eq}$ is calculated as follows:

$\Xi_{eq} = 1 + (1 + 2\Xi_{coeff}(0.5 - \dwea{b}))(\Xi^* - 1)$

where:

$ \dwea{b} $ is the regress variable.

$ \Xi_{coeff} $ is a model constant.

$ \Xi^* $ is the total equilibrium wrinkling combining the effects of the flame inestability and turbulence interaction and is given by

\‍[        \Xi^* = \frac {R}{R - G_\eta - G_{in}}
\‍]

where:

$ G_\eta $ is the generation rate of wrinkling due to turbulence interaction.

$ G_{in} = \kappa \rho_{u}/\rho_{b} $ is the generation rate due to the flame inestability.

By adding the removal rates of the two effects:

\‍[        R = G_\eta \frac{\Xi_{\eta_{eq}}}{\Xi_{\eta_{eq}} - 1}
          + G_{in} \frac{\Xi_{{in}_{eq}}}{\Xi_{{in}_{eq}} - 1}
\‍]

where:

$ R $ is the total removal.

$ G_\eta $ is a model constant.

$ \Xi_{\eta_{eq}} $ is the flame wrinkling due to turbulence.

$ \Xi_{{in}_{eq}} $ is the equilibrium level of the flame wrinkling generated by inestability. It is a constant (default 2.5).

Source files

Definition at line 106 of file XiModel.H.

Constructor & Destructor Documentation

◆ XiModel()

XiModel ( const dictionary & XiProperties,
const psiuReactionThermo & thermo,
const compressible::RASModel & turbulence,
const volScalarField & Su,
const volScalarField & rho,
const volScalarField & b,
const surfaceScalarField & phi )

Construct from components.

References b, phi, rho, and Foam::Su().

Here is the call graph for this function:

◆ ~XiModel()

virtual ~XiModel ( )
virtual

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "XiModel" )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr ,
XiModel ,
dictionary ,
(const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi) ,
(XiProperties, thermo, turbulence, Su, rho, b, phi)  )

References b, phi, rho, and Foam::Su().

Here is the call graph for this function:

◆ New()

autoPtr< XiModel > New ( const dictionary & XiProperties,
const psiuReactionThermo & thermo,
const compressible::RASModel & turbulence,
const volScalarField & Su,
const volScalarField & rho,
const volScalarField & b,
const surfaceScalarField & phi )
static

Return a reference to the selected Xi model.

References b, phi, rho, and Foam::Su().

Here is the call graph for this function:

◆ Xi()

virtual const volScalarField & Xi ( ) const
inlinevirtual

Return the flame-wrinkling Xi.

Definition at line 224 of file XiModel.H.

References Xi_.

◆ Db()

virtual tmp< volScalarField > Db ( ) const
inlinevirtual

Return the flame diffusivity.

Reimplemented in algebraic, and transport.

Definition at line 232 of file XiModel.H.

References turbulence_.

◆ addXi()

virtual void addXi ( multivariateSurfaceInterpolationScheme< scalar >::fieldTable & )
inlinevirtual

Add Xi to the multivariateSurfaceInterpolationScheme table.

if required

Reimplemented in transport.

Definition at line 242 of file XiModel.H.

◆ correct() [1/2]

virtual void correct ( )
pure virtual

Correct the flame-wrinkling Xi.

Implemented in algebraic, fixed, and transport.

Referenced by correct().

Here is the caller graph for this function:

◆ correct() [2/2]

virtual void correct ( const fv::convectionScheme< scalar > & )
inlinevirtual

Correct the flame-wrinkling Xi using the given convection scheme.

Reimplemented in transport.

Definition at line 256 of file XiModel.H.

References correct().

Here is the call graph for this function:

◆ read()

virtual bool read ( const dictionary & XiProperties)
pure virtual

Update properties from given dictionary.

Implemented in algebraic, fixed, and transport.

◆ writeFields()

virtual void writeFields ( )
pure virtual

Write fields related to Xi model.

Implemented in algebraic, fixed, and transport.

Member Data Documentation

◆ XiModelCoeffs_

dictionary XiModelCoeffs_
protected

Definition at line 113 of file XiModel.H.

◆ thermo_

const psiuReactionThermo& thermo_
protected

Definition at line 115 of file XiModel.H.

◆ turbulence_

const compressible::RASModel& turbulence_
protected

Definition at line 116 of file XiModel.H.

Referenced by Db().

◆ Su_

const volScalarField& Su_
protected

Definition at line 117 of file XiModel.H.

◆ rho_

const volScalarField& rho_
protected

Definition at line 118 of file XiModel.H.

◆ b_

const volScalarField& b_
protected

Definition at line 119 of file XiModel.H.

◆ phi_

const surfaceScalarField& phi_
protected

Definition at line 120 of file XiModel.H.

◆ Xi_

volScalarField Xi_
protected

Flame wrinkling field.

Definition at line 125 of file XiModel.H.

Referenced by transport::addXi(), and Xi().


The documentation for this class was generated from the following file:
  • applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H