fedoo.constraint.SurfaceForce.from_elements

static SurfaceForce.from_elements(mesh: Mesh, element_set: np.typing.ArrayLike[int] | str, force: np.typing.ArrayLike[float], initial_force: np.typing.ArrayLike[float] | None = None, nlgeom: bool | None = None, name: str = '')

Create a SurfaceForce assembly from an element set.

This constructor automatically extact the surface mesh from an element set.

See SurfaceForce for more details on the parameters.