fedoo.ListBC.add
- ListBC.add(*args, **kargs)
Add a boundary condition to the ListBC object, and then to the associated problem if there is one.
Three possible uses:
ListBC.add(bc), where bc is any BC object.
Add the object bc at the end of the list. (equivalent to ListBC.append(bc))
ListBC.add(bc_type, node_set, variable, value, time_func=None, start_value=None, name=””):
Define some standard boundary conditions (Dirichlet of Neumann BC), using the BoundaryCondition.create staticmethod, and add it at the end of the list.
Same agruments as the
fedoo.BoundaryCondition.create()static method.ListBC.add(bc_type, variable, value, time_func=None, start_value=None, name=””):
If a variable contains only one dof, the node_set parameter can be skiped.