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 fluidReactionThermo &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 fluidReactionThermo &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()

EulerImplicit ( const fluidReactionThermo thermo)

Construct from thermo.

Definition at line 34 of file EulerImplicit.C.

◆ ~EulerImplicit()

~EulerImplicit ( )
virtual

Destructor.

Definition at line 51 of file EulerImplicit.C.

References EulerImplicit< ChemistryModel >::solve().

Here is the call graph for this function:

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
virtual

Update the concentrations and return the chemical time.

Implements chemistrySolver< ChemistryModel >.

Definition at line 59 of file EulerImplicit.C.

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

Referenced by EulerImplicit< ChemistryModel >::~EulerImplicit().

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

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