radiograph_grid#
- ens_calculator.radiograph_grid(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, dir_X: float, dir_Y: float, dir_Z: float, num_points: int, variable: ENS_VAR | str | int, component: str = '[X]', output_varname: str | None = None) ENS_VAR #
Computes a per element scalar variable defined as the integration of a variable in the direction specified through the model given a specified integration step
- Args:
- source_parts:
Any 1D or 2D part(s) or a part number.
- dir_X:
Enter X direction component value.
- dir_Y:
Enter Y direction component value.
- dir_Z:
Enter Z direction component value.
- num_points:
Enter number of points to use in integration direction.
- variable:
A scalar or vector variable.
- component:
A vector component [X], [Y], [Z] or [] for magnitude.
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See Radiograph_grid() for function details.