OOF2: The Manual
Name
DivergenceEquation — An Equation subclass for divergence equations
Synopses
Consult the Equation
base class for base class method documentation.
Description
The DivergenceEquation class represents
equations
of the form (2.8) or, more generally, (2.9):
DivergenceEquation objects should only be
constructed in Python. Other than the constructor, its methods
that are useful for extension authors are all defined in the
Equation base class. See Section 8.3 for more information.
Methods
DivergenceEquation(name, flux, dim)
The DivergenceEquation python
constructor takes three arguments:
- name
- The name of the equation, as it will be seen in the GUI.
- flux
-
A
Fluxobject. This is the flux that appears on the left hand side of Eq. (182). - dim
- The integer dimension of the equation. This should be equal to the number of in-plane components of the divergence of the flux. The dimension of the heat equation is 1 and the dimension of the force balance equation is 2.



