Cantera 2.6.0
|
Base class for 'walls' (walls, pistons, etc.) connecting reactors. More...
#include <Wall.h>
Public Member Functions | |
WallBase (const WallBase &)=delete | |
WallBase & | operator= (const WallBase &)=delete |
virtual std::string | type () const |
String indicating the wall model implemented. More... | |
virtual double | vdot (double t) |
Rate of volume change (m^3/s) for the adjacent reactors. More... | |
virtual double | Q (double t) |
Heat flow rate through the wall (W). More... | |
double | area () |
Area in (m^2). More... | |
virtual void | setArea (double a) |
Set the area [m^2]. More... | |
bool | install (ReactorBase &leftReactor, ReactorBase &rightReactor) |
Install the wall between two reactors or reservoirs. More... | |
virtual void | initialize () |
Called just before the start of integration. More... | |
virtual bool | ready () |
True if the wall is correctly configured and ready to use. More... | |
ReactorBase & | left () const |
Return a reference to the Reactor or Reservoir to the left of the wall. More... | |
const ReactorBase & | right () |
Return a reference to the Reactor or Reservoir to the right of the wall. More... | |
Protected Attributes | |
ReactorBase * | m_left |
ReactorBase * | m_right |
std::vector< ReactorSurface > | m_surf |
double | m_area |
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
|
inlinevirtual |
|
inlinevirtual |
Rate of volume change (m^3/s) for the adjacent reactors.
This method is called by Reactor::evalWalls(). Base class method does nothing (that is, constant volume), but may be overloaded.
Reimplemented in Wall.
|
inlinevirtual |
Heat flow rate through the wall (W).
This method is called by Reactor::evalWalls(). Base class method does nothing (that is, an adiabatic wall), but may be overloaded.
Reimplemented in Wall.
bool install | ( | ReactorBase & | leftReactor, |
ReactorBase & | rightReactor | ||
) |
Install the wall between two reactors or reservoirs.
Definition at line 16 of file Wall.cpp.
References ReactorBase::addWall().
|
inlinevirtual |
Called just before the start of integration.
Definition at line 69 of file Wall.h.
Referenced by Reactor::initialize().
|
inlinevirtual |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |