2.2.4.1. Boundary conditions¶
- class opentidalfarm.boundary_conditions.BoundaryConditionSet(iterable=(), /)[source]¶
Stores a list of boundary conditions. Expression with an attribute named t will be automatically updated to the current timestep during the simultion.
- add_bc(function_name, expression=None, facet_id=None, bctype='strong_dirichlet')[source]¶
Valid choices for bctype: “weak_dirichlet”, “strong_dirichlet”, “flather”, “free_slip”