Cantera  3.2.0a2
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 newReactor() function, for example:

shared_ptr<ReactorBase> r1 = newReactor("IdealGasReactor");
shared_ptr< ReactorBase > newReactor(const string &model, shared_ptr< Solution > contents, const string &name)
Create a Reactor object of the specified type and contents.

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 reactor objects. More...
 
class  ReactorDelegator< R >
 Delegate methods of the Reactor class to external functions. More...
 
class  ReactorSurface
 A surface where reactions can occur that is in contact with the bulk fluid of a Reactor. More...
 
class  Reservoir
 A source or sink whose state remains constant regardless of any flows or other interactions with other Reactor objects. More...
 

Functions

shared_ptr< ReactorBasenewReactorBase (const string &model, shared_ptr< Solution > contents, const string &name="(none)")
 Create a ReactorBase object of the specified type and contents.
 
shared_ptr< ReactorBasenewReactor (const string &model, shared_ptr< Solution > contents, const string &name="(none)")
 Create a Reactor object of the specified type and contents.
 
shared_ptr< ReactornewReactor4 (const string &model, shared_ptr< Solution > contents, const string &name="(none)")
 Create a Reactor object of the specified type and contents.
 
shared_ptr< ReservoirnewReservoir (shared_ptr< Solution > contents, const string &name="(none)")
 Create a Reservoir object with the specified contents.
 

Function Documentation

◆ newReactorBase()

shared_ptr< ReactorBase > newReactorBase ( const string &  model,
shared_ptr< Solution contents,
const string &  name = "(none)" 
)

Create a ReactorBase object of the specified type and contents.

Since
New in Cantera 3.2.

Definition at line 100 of file ReactorFactory.cpp.

◆ newReactor()

shared_ptr< ReactorBase > newReactor ( const string &  model,
shared_ptr< Solution contents,
const string &  name = "(none)" 
)

Create a Reactor object of the specified type and contents.

Since
Starting in Cantera 3.1, this method requires a valid Solution object and returns a shared_ptr<ReactorBase> instead of a ReactorBase*.
Deprecated:
Behavior changes after Cantera 3.2, when a shared_ptr<Reactor> will be returned. For new behavior, see newReactor4.

Definition at line 107 of file ReactorFactory.cpp.

◆ newReactor4()

shared_ptr< Reactor > newReactor4 ( const string &  model,
shared_ptr< Solution contents,
const string &  name = "(none)" 
)

Create a Reactor object of the specified type and contents.

Since
New in Cantera 3.2. Transitional method returning a Reactor object.

Definition at line 115 of file ReactorFactory.cpp.

◆ newReservoir()

shared_ptr< Reservoir > newReservoir ( shared_ptr< Solution contents,
const string &  name = "(none)" 
)

Create a Reservoir object with the specified contents.

Since
New in Cantera 3.2.

Definition at line 127 of file ReactorFactory.cpp.