assign_rotate_motion#
- Maxwell3d.assign_rotate_motion(assignment, coordinate_system='Global', axis='Z', positive_movement=True, start_position=0, has_rotation_limits=True, negative_limit=0, positive_limit=360, non_cylindrical=False, mechanical_transient=False, angular_velocity='0rpm', inertia='1', damping=0, load_torque='0newton')[source]#
Assign a rotation motion to an object container.
For both rotational and translational problems, the band objects must always enclose all the moving objects.
- Parameters:
- assignmentstr,
Object container.
- coordinate_system
str
,optional
Coordinate system name. The default is
"Global"
.- axis
str
orint
,optional
Coordinate system axis. The default is
"Z"
. It can be aansys.aedt.core.generic.constants.AXIS
enumerator value.- positive_movementbool,
optional
Whether the movement is positive. The default is
True
.- start_position
float
orstr
,optional
Starting position of the movement. The default is
0
. If a float value is used, “deg” units are applied.- has_rotation_limitsbool,
optional
Whether there is a limit in rotation. The default is
False
.- negative_limit
float
orstr
,optional
Negative limit of the movement. The default is
0
. If a float value is used, “deg” units are applied.- positive_limit
float
orstr
,optional
Positive limit of the movement. The default is
360
. If a float value is used, “deg” units are applied.- non_cylindricalbool,
optional
Whether to consider non-cylindrical rotation. The default is
False
.- angular_velocity
float
orstr
,optional
Movement velocity. The default is
"0rpm"
. If a float value is used, “rpm” units are applied.- mechanical_transientbool,
optional
Whether to consider mechanical movement. The default is
False
.- inertia
float
,optional
Mechanical inertia. The default is
1
.- damping
float
,optional
Damping factor. The default is
0
.- load_torque
float
orstr
,optional
Load torque sign is determined based on the moving vector, using the right-hand rule. The default is
"0NewtonMeter"
. If a float value is used “NewtonMeter” units are applied.
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Boundary object.
References
>>> oModule.AssignBand