|
|
|
chemistrySolver< CompType, ThermoType > Class Template ReferenceAn abstract base class for solving chemistry. More...
Inheritance diagram for chemistrySolver< CompType, ThermoType >:
![]()
Collaboration diagram for chemistrySolver< CompType, ThermoType >:
![]()
Detailed Descriptiontemplate<class CompType, class ThermoType>
An abstract base class for solving chemistry.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| chemistrySolver | ( | ODEChemistryModel< CompType, ThermoType > & | model, | |
| const word & | modelName | |||
| ) | [inline] |
| ~chemistrySolver | ( | ) | [inline, virtual] |
| TypeName | ( | "chemistrySolver< CompType, ThermoType >" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , | |
| chemistrySolver< CompType, ThermoType > | , | |||
| dictionary | , | |||
| (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName) | , | |||
| (model, modelName) | ||||
| ) |
| Foam::autoPtr< Foam::chemistrySolver< CompType, ThermoType > > New | ( | ODEChemistryModel< CompType, ThermoType > & | model, | |
| const word & | compTypeName, | |||
| const word & | thermoTypeName | |||
| ) | [inline, static] |
Selector.
Definition at line 25 of file newChemistrySolver.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::Info, and Foam::nl.

| virtual scalar solve | ( | scalarField & | c, | |
| const scalar | T, | |||
| const scalar | p, | |||
| const scalar | t0, | |||
| const scalar | dt | |||
| ) | const [pure virtual] |
Update the concentrations and return the chemical time.
Implemented in EulerImplicit< CompType, ThermoType >, ode< CompType, ThermoType >, and sequential< CompType, ThermoType >.
ODEChemistryModel<CompType, ThermoType>& model_ [protected] |