EulerImplicit< ChemistryModel > Class Template Reference

An Euler implicit solver for chemistry. More...

Inheritance diagram for EulerImplicit< ChemistryModel >:
Collaboration diagram for EulerImplicit< ChemistryModel >:

Public Member Functions

 TypeName ("EulerImplicit")
 Runtime type information. More...
 EulerImplicit (const fluidMulticomponentThermo &thermo)
 Construct from thermo. More...
virtual ~EulerImplicit ()
 Destructor. More...
virtual void solve (scalar &p, scalar &T, scalarField &c, const label li, scalar &deltaT, scalar &subDeltaT) const
 Update the concentrations and return the chemical time. More...
- Public Member Functions inherited from chemistrySolver< ChemistryModel >
 chemistrySolver (const fluidMulticomponentThermo &thermo)
 Construct from thermo. More...
virtual ~chemistrySolver ()
 Destructor. More...

Detailed Description

template<class ChemistryModel>
class Foam::EulerImplicit< ChemistryModel >

An Euler implicit solver for chemistry.

Euler implicit integration based on the reaction rate Jacobian is used to solver for the composition and Euler explicit integration for the temperature. Separating the integration of temperature from composition in this manner is significantly more stable for exothermic systems

Source files

Definition at line 55 of file EulerImplicit.H.

Constructor & Destructor Documentation

◆ EulerImplicit()

Construct from thermo.

Definition at line 33 of file EulerImplicit.C.

◆ ~EulerImplicit()



Definition at line 51 of file EulerImplicit.C.

Member Function Documentation

◆ TypeName()

TypeName ( "EulerImplicit< ChemistryModel >"  )

Runtime type information.

◆ solve()

void solve ( scalar &  p,
scalar &  T,
scalarField c,
const label  li,
scalar &  deltaT,
scalar &  subDeltaT 
) const

Update the concentrations and return the chemical time.

Implements chemistrySolver< ChemistryModel >.

Definition at line 58 of file EulerImplicit.C.

References Foam::constant::universal::c, Foam::e, Foam::max(), Foam::min(), nSpecie, p, Foam::sum(), and Foam::T().

Here is the call graph for this function:

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