chemistrySolver< ChemistryModel > Class Template Referenceabstract

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

Inheritance diagram for chemistrySolver< ChemistryModel >:
[legend]
Collaboration diagram for chemistrySolver< ChemistryModel >:
[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 52 of file chemistrySolver.H.

Constructor & Destructor Documentation

◆ chemistrySolver()

chemistrySolver ( typename ChemistryModel::reactionThermo &  thermo)

Construct from thermo.

Definition at line 34 of file chemistrySolver.C.

◆ ~chemistrySolver()

~chemistrySolver ( )
virtual

Destructor.

Definition at line 45 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: