Go to the documentation of this file.
39 virtual std::string
type()
const {
48 virtual double vdot(
double t) {
57 virtual double Q(
double t) {
76 "To be removed after Cantera 2.5. "
77 "Replace with WallBase::area.");
89 return (m_left != 0 && m_right != 0);
106 std::vector<ReactorSurface> m_surf;
123 virtual std::string
type()
const {
145 virtual double vdot(
double t);
162 virtual double Q(
double t);
164 void setThermalResistance(
double Rth) {
180 if (epsilon > 1.0 || epsilon < 0.0) {
182 "emissivity must be between 0.0 and 1.0");
double m_rrth
heat transfer coefficient
Base class for stirred reactors.
void setHeatFlux(Func1 *q)
Specify the heat flux function .
virtual double vdot(double t)
Rate of volume change (m^3/s) for the adjacent reactors.
double getExpansionRateCoeff() const
Get the expansion rate coefficient.
virtual bool ready()
True if the wall is correctly configured and ready to use.
Func1 * m_qf
Heat flux function.
virtual double vdot(double t)
Rate of volume change (m^3/s) for the adjacent reactors.
virtual void initialize()
Called just before the start of integration.
ReactorBase & left() const
Return a reference to the Reactor or Reservoir to the left of the wall.
double area()
Area in (m^2).
const int WallType
Magic numbers.
double m_k
expansion rate coefficient
void setEmissivity(double epsilon)
Set the emissivity.
virtual std::string type() const
String indicating the wall model implemented.
virtual std::string type() const
String indicating the wall model implemented.
virtual double Q(double t)
Heat flow rate through the wall (W).
double getHeatTransferCoeff() const
Get the overall heat transfer coefficient [W/m^2/K].
void setVelocity(Func1 *f=0)
Set the wall velocity to a specified function of time, i.e. .
const ReactorBase & right()
Return a reference to the Reactor or Reservoir to the right of the wall.
Represents a wall between between two ReactorBase objects.
double getEmissivity() const
Get the emissivity.
virtual double Q(double t)
Heat flow rate through the wall (W).
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
bool install(ReactorBase &leftReactor, ReactorBase &rightReactor)
Install the wall between two reactors or reservoirs.
Base class for 'functor' classes that evaluate a function of one variable.
Func1 * m_vf
Velocity function.
Base class for exceptions thrown by Cantera classes.
double getArea() const
Get the area [m^2].
Namespace for the Cantera kernel.
void setHeatTransferCoeff(double U)
Set the overall heat transfer coefficient [W/m^2/K].
void setExpansionRateCoeff(double k)
Set the expansion rate coefficient.
virtual void setArea(double a)
Set the area [m^2].