fedoo.constraint.Pressure.from_nodes

static Pressure.from_nodes(mesh: Mesh, node_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 a node set.

This constructor automatically extact the surface mesh from a node set.

See Pressure for more details on the parameters.