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 (const fvMesh &mesh, const word &phaseName)
 Construct from components and phase name. 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 51 of file chemistrySolver.H.

Constructor & Destructor Documentation

◆ chemistrySolver()

chemistrySolver ( const fvMesh mesh,
const word phaseName 
)

Construct from components and phase name.

Definition at line 32 of file chemistrySolver.C.

◆ ~chemistrySolver()

~chemistrySolver ( )
virtual

Destructor.

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