Cantera  3.0.0
Loading...
Searching...
No Matches

Zero-dimensional objects representing stirred reactors. More...

Collaboration diagram for Reactors:

Detailed Description

Zero-dimensional objects representing stirred reactors.

Reactors simulate time-dependent behavior considering gas-phase chemistry. Reactor objects should be instantiated via the newReactor3() function, for example:

shared_ptr<ReactorBase> r1 = newReactor3("IdealGasReactor");
shared_ptr< ReactorBase > newReactor3(const string &model)
Create a Reactor object of the specified type.

Classes

class  ConstPressureMoleReactor
 ConstPressureMoleReactor is a class for constant-pressure reactors which use a state of moles. More...
 
class  ConstPressureReactor
 Class ConstPressureReactor is a class for constant-pressure reactors. More...
 
class  FlowReactor
 Adiabatic flow in a constant-area duct with homogeneous and heterogeneous reactions. More...
 
class  IdealGasConstPressureMoleReactor
 IdealGasConstPressureMoleReactor is a class for ideal gas constant-pressure reactors which use a state of moles. More...
 
class  IdealGasConstPressureReactor
 Class ConstPressureReactor is a class for constant-pressure reactors. More...
 
class  IdealGasMoleReactor
 IdealGasMoleReactor is a class for ideal gas constant-volume reactors which use a state of moles. More...
 
class  IdealGasReactor
 Class IdealGasReactor is a class for stirred reactors that is specifically optimized for ideal gases. More...
 
class  MoleReactor
 MoleReactor is meant to serve the same purpose as the reactor class but with a state vector composed of moles. More...
 
class  Reactor
 Class Reactor is a general-purpose class for stirred reactors. More...
 
class  ReactorBase
 Base class for stirred reactors. More...
 
class  ReactorDelegator< R >
 Delegate methods of the Reactor class to external functions. More...
 
class  Reservoir
 A source or sink whose state remains constant regardless of any flows or other interactions with other Reactor objects. More...
 

Functions

ReactorBasenewReactor (const string &model)
 Create a Reactor object of the specified type.
 
shared_ptr< ReactorBasenewReactor3 (const string &model)
 Create a Reactor object of the specified type.
 

Function Documentation

◆ newReactor()

ReactorBase * newReactor ( const string &  model)

Create a Reactor object of the specified type.

Deprecated:
To be changed after Cantera 3.0; for new behavior, see newReactor3().

Definition at line 76 of file ReactorFactory.cpp.

◆ newReactor3()

shared_ptr< ReactorBase > newReactor3 ( const string &  model)

Create a Reactor object of the specified type.

Since
New in Cantera 3.0.
Todo:
Transition back to newReactor() after Cantera 3.0

Definition at line 83 of file ReactorFactory.cpp.