Public Member Functions | List of all members
chemistrySolver< ChemistryModel > Class Template Referenceabstract

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

Inheritance diagram for chemistrySolver< ChemistryModel >:
Inheritance graph
[legend]
Collaboration diagram for chemistrySolver< ChemistryModel >:
Collaboration graph
[legend]

Public Member Functions

 chemistrySolver (typename ChemistryModel::reactionThermo &thermo)
 Construct from thermo. More...
 
virtual ~chemistrySolver ()
 Destructor. More...
 
virtual void solve (scalarField &c, scalar &T, scalar &p, 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 50 of file chemistrySolver.H.

Constructor & Destructor Documentation

◆ chemistrySolver()

chemistrySolver ( typename ChemistryModel::reactionThermo &  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 ( scalarField c,
scalar &  T,
scalar &  p,
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: