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...

Inheritance diagram for XiModel:
Collaboration diagram for XiModel:

Public Member Functions

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

Static Public Member Functions

static autoPtr< XiModelNew (const dictionary &XiProperties, const psiuMulticomponentThermo &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. More...
 

Protected Attributes

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

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 instability 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 instability.

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 instability. It is a constant (default 2.5).

Source files

Definition at line 108 of file XiModel.H.

Constructor & Destructor Documentation

◆ XiModel() [1/2]

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

Construct from components.

Definition at line 39 of file XiModel.C.

◆ XiModel() [2/2]

XiModel ( const XiModel )

Disallow default bitwise copy construction.

◆ ~XiModel()

~XiModel ( )
virtual

Destructor.

Definition at line 80 of file XiModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "XiModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

Foam::autoPtr< Foam::XiModel > New ( const dictionary XiProperties,
const psiuMulticomponentThermo 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.

Definition at line 30 of file XiModelNew.C.

References b, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), Foam::nl, rho, Foam::fvc::Su(), thermo, and turbulence().

Here is the call graph for this function:

◆ Xi()

virtual const volScalarField& Xi ( ) const
inlinevirtual

Return the flame-wrinkling Xi.

Definition at line 202 of file XiModel.H.

References XiModel::Xi_.

◆ Db()

virtual tmp<volScalarField> Db ( ) const
inlinevirtual

Return the flame diffusivity.

Reimplemented in transport, and algebraic.

Definition at line 208 of file XiModel.H.

References GeometricField< Type, PatchField, GeoMesh >::New(), and XiModel::turbulence_.

Here is the call graph for this function:

◆ addXi()

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

Add Xi to the multivariateSurfaceInterpolationScheme table.

if required

Reimplemented in transport.

Definition at line 219 of file XiModel.H.

◆ correct() [1/2]

virtual void correct ( )
pure virtual

Correct the flame-wrinkling Xi.

Implemented in transport, fixed, and algebraic.

Referenced by XiModel::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 229 of file XiModel.H.

References XiModel::correct().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary XiProperties)
pure virtual

Update properties from given dictionary.

Implemented in transport, fixed, and algebraic.

Definition at line 86 of file XiModel.C.

References dictionary::optionalSubDict(), and Foam::type().

Referenced by algebraic::read(), fixed::read(), and transport::read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeFields()

virtual void writeFields ( )
pure virtual

Write fields related to Xi model.

Implemented in transport, fixed, and algebraic.

◆ operator=()

void operator= ( const XiModel )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ XiModelCoeffs_

dictionary XiModelCoeffs_
protected

Definition at line 115 of file XiModel.H.

◆ thermo_

const psiuMulticomponentThermo& thermo_
protected

Definition at line 117 of file XiModel.H.

◆ turbulence_

const compressible::RASModel& turbulence_
protected

Definition at line 118 of file XiModel.H.

Referenced by XiModel::Db().

◆ Su_

const volScalarField& Su_
protected

Definition at line 119 of file XiModel.H.

◆ rho_

const volScalarField& rho_
protected

Definition at line 120 of file XiModel.H.

◆ b_

const volScalarField& b_
protected

Definition at line 121 of file XiModel.H.

◆ phi_

const surfaceScalarField& phi_
protected

Definition at line 122 of file XiModel.H.

◆ Xi_

volScalarField Xi_
protected

Flame wrinkling field.

Definition at line 125 of file XiModel.H.

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


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