integralvolume#
- ens_calculator.integralvolume(source_parts: List[ENS_PART] | List[int] | List[str], variable: ENS_VAR | str | int, component: str = '[X]', result_type: str = 'Compute_Per_case', output_varname: str | None = None) ENS_VAR #
Computes a constant variable defined as the integral of the variable specified over the volume of the part(s)
- Args:
- source_parts:
Any 3D part(s) or a part number.
- variable:
A scalar or vector variable.
- component:
A vector component [X], [Y], [Z] or [] for magnitude.
- result_type:
Per/Case or Per/Part Results
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See IntegralVolume() for function details.