fedoo.constraint.Pressure.from_elements

static Pressure.from_elements(mesh: Mesh, element_set: np.typing.ArrayLike[int] | str, pressure: float | np.ndarray, initial_pressure: float | np.ndarray | None = None, nlgeom: bool | None = None, name: str = '')

Create a pressure assembly from an element set.

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

See Pressure for more details on the parameters.