max_position#
- ScalarReal.max_position(over: CalculatorGeometry) VectorReal#
Position of the maximum over a geometry (calculator
MaxPos).- Parameters:
- over
CalculatorGeometry Geometry used for the reduction.
- over
- Returns:
VectorRealReal vector expression locating the maximum position.
Examples
Find the maximum position on a surface.
>>> from ansys.aedt.core.visualization.post.field_calculator_expressions import FieldExpressions, Surface >>> fx = FieldExpressions(calculator=None) >>> fx.scalar("Phi", is_complex=False).max_position(Surface("Sheet1")).operations[-1] "Operation('MaxPos')"