Building Models Motion
Building Models Motion
Overview of Motion
A motion generator dictates the movement of a part as a function of time. It supplies whatever force is
required to make the part satisfy the motion. For example, a translational joint motion prescribes that a
joint on a part move at 10 mm/second in the z direction. You can apply the motion to either idealized
joints or between a pair of parts.
Types of Motion
Adams/View provides you with the following types of motion:
• Joint Motion - Prescribes translational or rotational motion on a translational, revolute, or
cylindrical joint. Each joint motion removes one degree of freedom (DOF) from your model.
Joint motions are very easy to create, but they limit you to motions that are applied to the above
listed joints and movements in only one direction or rotation.
• Point Motion - Prescribes the movement between two parts. When you create a point motion,
you specify the direction along which the motion occurs. You can impose a point motion on any
type of idealized joint, such as a spherical or cylindrical.
Point motions enable you to build complex movements into your model without having to add
joints or invisible parts. For example, you can represent the movement along an arc, of a ship in
the ocean, or a robot’s arm.
For more on point motions, see About Creating Point Motions.
• Function expression - You can use Adams/View function expressions to specify the exact
movement applied to a joint as a function of time. For example, using function expressions you
can define a motion function that holds the joint in a fixed position, as well as one that moves the
joint with the required force to produce a constant velocity. To learn more about function
expressions, see Function Builder and Adams/View Function Builder online help.
Note: If you make your function a function of displacements or forces, Adams/View issues an
error and stops execution. These types of functions contain a VARVAL (function that
returns variable name), and although a VARVAL is allowed in the function, Adams/View
issues a warning. The motion function containing the VARVAL will not give correct
velocities, accelerations, or reaction forces in a joint, and may have trouble converging to
a solution.
• Parameters to be passed to a user-written subroutine - You can create a much more complex
motion by creating a MOTSUB User-written subroutine and entering the values to be passed to
the subroutine to determine the motion. For more on creating subroutines and passing values to
them, see the Subroutines section of the Adams/Solver help.
2. In the settings container, specify the speed of the motion in displacement units per second. By
default, Adams/View creates a rotational motion with a speed of 30 degrees per second and a
translational motion with a speed of 10 millimeters per second.
To enter a function expression or user-written subroutine, right-click the Speed text box, point to
Parameterize, and then select Expression Builder to display the Adams/View Function Builder.
For information on using the Function Builder, see Function Builder and Adams/View Function
Builder online help.
3. Use the left mouse button to select the joint on the screen to which the motion will be applied.
Note: You can also modify joint properties using the Table Editor.
If you selected Function, enter the following in the Function (time) text box that appears:
• Numerical value (For rotational motion, specify the magnitude in radians.)
• Function expression:
To enter a function expression, next to the Function (time) text box, select the More tool
to display the Adams/View Function Builder. For information on using the Function Builder,
see Function Builder and Adams/View Function Builder online help.
If you selected Subroutine, enter the parameters to be passed to a User-written subroutine
MOTSUB and its ID or you can specify an alternative library and name for the user subroutine in
the Routine text box. For more on subroutines, see the Subroutines section of the Adams/Solver
online help. Learn about specifying your own routine with ROUTINE Argument.
5. Set Type to Displacement, Velocity, or Acceleration to specify how motion magnitude is
defined.
6. In the Displacement IC or Velocity IC text boxes, enter the initial conditions for displacement
or velocity. The text boxes that appear depend on how the magnitude of the motion is defined.
When you create a point motion, you specify the parts to which the motion is to be applied and the
location and orientation of the motion. Adams/View creates markers on each part at the location of the
motion. The marker that Adams/View creates on the first part you select is called the moving point. It
moves or rotates relative to the marker on the second part, called the reference point. The z-axis of the
reference point defines the positive direction using the right-hand rule.
When you create a point motion, Adams/View creates a motion at the specified location.
• For a single point motion, Adams/View defines the motion as a constant velocity over time,
based on a speed value that you can enter. The speed value can be a numerical value, function
expression, or User-written subroutine, as explained in Defining the Motion Magnitude.
By default, Adams creates the point motion around or along the z-axis. You specify the direction
of the z-axis when you create the single point motion. You can change the axis around or along
which the motion is applied.
• For a general point motion, Adams/View creates a motion around or along all six coordinates of
the markers created on the selected parts. It does not define the magnitude of the motion. You’ll
need to modify the motion to define its magnitude.
6 Adams/View
Motion
Note: You can also modify point motion using the Table Editor.
Note: You can also modify point motion using the Table Editor.
8 Adams/View
Motion