Defining Profiles from Mathematical Expressions

From the Function Builder, you can define motor or force profiles from expressions combining functions of time, existing results, or cycle angle.

Some Function Builder options are not available for Animation or Basic Motion study types.
  1. From the Motor or Force PropertyManager, under Type, click Expression .
  2. Select the function Value:
    • Displacement
    • Velocity
    • Acceleration
    For path mate motors in Motion Analysis type studies, select from the following:
    • Distance Along Path
    • Tangential Velocity
    • Tangential Acceleration
  3. Enter the function in the Expression Definition area by typing the function or by selecting from the Expression Elements list:
    • Mathematical Functions
    • Variables and Constants
    • Motion Study Results
    The lower right corner of the Expression Definition area indicates expression validity:
    You can combine expression elements with ordinary mathematical operators: +, -, *, / and **.
    For example, to enter an expression for
    sin(t)e-3t
    
    
    1. From Mathematical Functions, double-click Sin(a).

    2. From Variables and Constants, double-click Time.

    3. Click outside the parentheses and enter *EXP(-3*Time).

    For motor profiles, you can view displacement, velocity, acceleration, and jerk in the Function Builder. For force profiles, you can view a plot of the force profile.
  4. Click OK.
    Before clicking OK, you can select Make function available to define other motors or forces for this model and enter a function Name. The function name appears in the PropertyManager.
To specify units of degrees for calculated expressions, click Unit System > Edit Document Units (Status bar), and for Angle, select Degrees.