fipy.boundaryConditions.fixedFlux¶
Boundary condition of order 1
Classes
|
Adds a Neumann contribution to the system of equations. |
- class fipy.boundaryConditions.fixedFlux.FixedFlux(faces, value)¶
Bases:
BoundaryCondition
Adds a Neumann contribution to the system of equations.
Implements
\[\hat{n}\cdot\vec{J}|_\text{faces} = \text{value}\]The contribution, given by value, is only added to entries corresponding to the specified faces, and is weighted by the face areas.
- Parameters:
faces (
FaceVariable
ofbool
) – Mask of faces where this condition applies.value (float) – Value to impose.
- __repr__()¶
Return repr(self).
Last updated on Nov 20, 2024.
Created using Sphinx 7.1.2.