fipy.boundaryConditions.fixedValue¶
Boundary condition of order 0
Classes
  | 
Adds a Dirichlet contribution to the system of equations.  | 
- class fipy.boundaryConditions.fixedValue.FixedValue(faces, value)¶
 Bases:
BoundaryConditionAdds a Dirichlet contribution to the system of equations.
Implements
\[\phi|_\text{faces} = \text{value}\]The contributions are given by \(-\mathtt{value}\times G_{\text{face}}\) for the RHS vector and \(G_{\text{face}}\) for the coefficient matrix. The parameter \(G_{\text{face}}\) represents the term’s geometric coefficient, which depends on the type of term and the mesh geometry.
Contributions are only added to entries corresponding to the specified faces.
- Parameters:
 faces (
FaceVariableofbool) – Mask of faces where this condition applies.value (
float) – Value to impose.
- __repr__()¶
 Return repr(self).
                Last updated on Sep 16, 2025.
                Created using Sphinx 7.1.2.
                
              
        FiPy