Loading [MathJax]/extensions/tex2jax.js
Cantera  3.2.0a1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

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");

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

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

Function Documentation

◆ 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*.

Definition at line 103 of file ReactorFactory.cpp.