assign_translate_motion#

Maxwell3d.assign_translate_motion(assignment, coordinate_system='Global', axis='Z', positive_movement=True, start_position=0, periodic_translate=True, negative_limit=0, positive_limit=0, velocity=0, mechanical_transient=False, mass=1, damping=0, load_force=0, motion_name=None)[source]#

Assign a translation 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_systemstr, optional

Coordinate system name. The default is "Global".

axisstr or int, optional

Coordinate system axis. The default is "Z". It can be a ansys.aedt.core.generic.constants.AXIS enumerator value.

positive_movementbool, optional

Whether movement is positive. The default is True.

start_positionfloat or str, optional

Starting position of the movement. The default is 0. If a float value is used, default modeler units are applied.

periodic_translatebool, optional

Whether movement is periodic. The default is False.

negative_limitfloat or str, optional

Negative limit of the movement. The default is 0. If a float value is used, the default modeler units are applied.

positive_limitfloat or str, optional

Positive limit of the movement. The default is 0. If a float value is used, the default modeler units are applied.

velocityfloat or str, optional

Initial velocity. The default is 0. If a float value is used, “m_per_sec” units are applied.

mechanical_transientbool, optional

Whether to consider the mechanical movement. The default is False.

massfloat or str, optional

Mechanical mass. The default is 1. If a float value is used, “Kg” units are applied.

dampingfloat, optional

Damping factor. The default is 0.

load_forcefloat or str, optional

Load force is positive if it’s applied in the same direction as the moving vector and negative in the opposite direction. The default is 0. If a float value is used, “newton” units are applied.

motion_namestr, optional

Motion name. The default is None.

Returns:
ansys.aedt.core.modules.boundary.BoundaryObject or False

Boundary object or bool if not successful.

References

>>> oModule.AssignBand