FreeFOAM The Cross-Platform CFD Toolkit
sequential< CompType, ThermoType > Class Template Reference

Foam::sequential. More...

#include <chemistryModel/sequential.H>


Detailed Description

template<class CompType, class ThermoType>
class Foam::sequential< CompType, ThermoType >

Foam::sequential.

Source files

Definition at line 56 of file sequential.H.

+ Inheritance diagram for sequential< CompType, ThermoType >:
+ Collaboration diagram for sequential< CompType, ThermoType >:

List of all members.

Public Member Functions

 TypeName ("sequential")
 Runtime type information.
 sequential (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName)
 Construct from components.
virtual ~sequential ()
 Destructor.
scalar solve (scalarField &c, const scalar T, const scalar p, const scalar t0, const scalar dt) const
 Update the concentrations and return the chemical time.
- Public Member Functions inherited from chemistrySolver< CompType, ThermoType >
 TypeName ("chemistrySolver")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, chemistrySolver, dictionary,(ODEChemistryModel< CompType, ThermoType > &model, const word &modelName),(model, modelName))
 chemistrySolver (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName)
 Construct from components.
virtual ~chemistrySolver ()
 Destructor.

Additional Inherited Members

- Static Public Member Functions inherited from chemistrySolver< CompType, ThermoType >
static autoPtr< chemistrySolverNew (ODEChemistryModel< CompType, ThermoType > &model, const word &compTypeName, const word &thermoTypeName)
 Selector.
- Protected Attributes inherited from chemistrySolver< CompType, ThermoType >
ODEChemistryModel< CompType,
ThermoType > & 
model_
 Reference to the chemistry model.
const word name_
 Name of the chemistry solver.

Constructor & Destructor Documentation

sequential ( ODEChemistryModel< CompType, ThermoType > &  model,
const word modelName 
)

Construct from components.

Definition at line 33 of file sequential.C.

~sequential ( )
virtual

Destructor.

Definition at line 48 of file sequential.C.


Member Function Documentation

TypeName ( "sequential< CompType, ThermoType >"  )

Runtime type information.

Foam::scalar solve ( scalarField c,
const scalar  T,
const scalar  p,
const scalar  t0,
const scalar  dt 
) const
virtual

Update the concentrations and return the chemical time.

Implements chemistrySolver< CompType, ThermoType >.

Definition at line 56 of file sequential.C.

References Reaction< ReactionThermo >::lhs(), Foam::mag(), Foam::max(), R, Reaction< ReactionThermo >::rhs(), and List< T >::size().


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