chemistrySolver< ChemistryModel > Class Template Referenceabstract

An abstract base class for solving chemistry. More...

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

Public Member Functions

 chemistrySolver (const fluidReactionThermo &thermo)
 Construct from thermo. More...
 
virtual ~chemistrySolver ()
 Destructor. More...
 
virtual void solve (scalar &p, scalar &T, scalarField &c, const label li, scalar &deltaT, scalar &subDeltaT) const =0
 Update the concentrations and return the chemical time. More...
 

Detailed Description

template<class ChemistryModel>
class Foam::chemistrySolver< ChemistryModel >

An abstract base class for solving chemistry.

Source files

Definition at line 51 of file chemistrySolver.H.

Constructor & Destructor Documentation

◆ chemistrySolver()

chemistrySolver ( const fluidReactionThermo thermo)

Construct from thermo.

Definition at line 32 of file chemistrySolver.C.

◆ ~chemistrySolver()

~chemistrySolver ( )
virtual

Destructor.

Definition at line 43 of file chemistrySolver.C.

Member Function Documentation

◆ solve()

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

Update the concentrations and return the chemical time.

Implemented in EulerImplicit< ChemistryModel >, ode< ChemistryModel >, and noChemistrySolver< ChemistryModel >.


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