radiograph_mesh#
- ens_calculator.radiograph_mesh(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, dir_X: float, dir_Y: float, dir_Z: float, 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 the variable in the direction specified through the model given
- 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.
- 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_mesh() for function details.