force1d#
- ens_calculator.force1d(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, pressure: ENS_VAR | str | int, surface_normal: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR #
Computes a vector variable defined as the pressure*length force acting in the normal direction given
- Args:
- source_parts:
Any 1D part(s) or a part number.
- pressure:
A pressure variable.
- surface_normal:
A surface normal variable.
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See Force1D() for function details.