4.2.4.1. Boundary conditions¶
- class opentidalfarm.boundary_conditions.BoundaryConditionSet[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, facet_id, bctype='strong_dirichlet')[source]¶
Valid choices for bctype: “weak_dirichlet”, “strong_dirichlet”, “flather”