MV-5010: Rigid Body Animation (Advanced)

Learn how to view force and moment vectors from a MotionSolve results file, use the collision detection feature, and use the measure panel to extract information from animation results.

View Force and Moment Graphics

Use HyperView to view the change in force and moment in the form of dynamic vectors that represent the magnitude and direction of the force and moment.

Copy all of the h3d files located in the mbd_modeling\animation folder to your <working directory>.
  1. Start a new MotionView session or refresh your MotionView session by pressing SHIFT+F9.
  2. Change the application on the page to HyperView.
  3. Load the MotionSolve results file front_ride_h3d from your <working directory>.
  4. Click the (Vector) icon.

    Figure 1. Vector panel
  5. Under the Result type select Force (v).
  6. Click on the Display sub-tab and for Size scaling select By Magnitude.
  7. Click Apply.
  8. Click the (Start/Pause Animation) button to animate the results.
    You will see an arrow whose size and direction change dynamically as the simulation is animated from start to end. This arrow represents the magnitude and direction of force on a body or at a joint as it is specified for force output in the model.
  9. Click on the Clear Vector button to clear the force vector.
  10. Under the Result type select Moment (v).
  11. Repeat steps 6 through 8 to view the Moment vectors of the simulation.
  12. Under Display options, try changing the scale of the vectors by changing the Scale value.

Use Collision Detection

View and detect collisions between bodies during simulations using HyperView.

  1. On the Page Controls toolbar, click (Add Page).
  2. In the Select Application menu, select HyperView.
  3. Click (Load Results).
  4. In the panel, click the Load model file browser and select collision.h3d from your <working directory>.
  5. Click the Load results file browser and select collision.h3d from your <working directory>.
  6. Click Apply.
  7. Click the (Start/Pause Animation) button to animate the model.
  8. After the file is read, press (Start/Pause Animation) button again to stop/pause the animation.
  9. From the Tools toolbar, click the (Collision Detection) button.
    Tip: If this toolbar is not visible by default, go to the menu bar and select View > Toolbars > HyperView > Tools).
    This will display the Collision Detection panel.

    Figure 2. Collision Detection panel
  10. In the leftmost column under Collision Sets, click the Add button to add a new collision set.
  11. In the modeling window, click the Trunk body.
    Note: Clicking on the Components input collector will display the Extended Entity Selection dialog. The dialog provides you with criteria based selection options available for entity selection in HyperView. This method of selection is not used in this tutorial. See the Selecting Entities Using the Input Collector topic (located in the HyperView) to learn more about using this selection method.
  12. Click the Add to Group A button.
  13. In the modeling window, select the Car body.
  14. Click the Add to Group B button.
  15. Under the Proximity section, click Enable Proximity checking and specify the Minimum Distance for the proximity check.
  16. Under the Show result by section, click the Elements radio button.
  17. Click Apply.
  18. Click the (Start/Pause Animation) button to animate the model.
    The animation begins. Wherever areas of the trunklid collide with the trunk (car body), the colliding elements turn red. The color yellow indicates proximity. When neither proximity nor collision is detected, the bodies retain their natural colors.
  19. Stop the animation.
  20. Optional: Try these additional steps:
    • In the Show Results by section, view the Elements and Component results alternately using the radio buttons.
    • Click on the Summary below to get a text summary of the penetration.

Use the Measure Panel

Measure certain parameters during post-processing using HyperView.

  1. Press Shift + F9 to refresh your MotionView session.
    Note: Please refer to HyperView tutorial Using Keyboard Shortcuts and Function Keys - HV-2050 for more information regarding keyboard shortcuts.
  2. Change the application to HyperView.
  3. Load the file front_ride.h3d as the model and result file from your <working directory>.
  4. On the Annotations toolbar, click the (Measure) panel button.
  5. Under Measure Groups, click Add.
  6. From the measure type pull-down menu, select Position.

    Figure 3.
  7. Click on the Nodes button and from the modeling window pick a point of your choice.
  8. Activate the X, Y, and Z check boxes.
  9. Click the Create Curves button.
    The Create Curves dialog is displayed.

    Figure 4.
  10. In the dialog, from the Place on drop-down menu select New Plot.
  11. For the Y Axis, select X and activate the Live Link check box.
    Note: The Live Link helps you correlate the measured value with the animation. As you animate the current animation model a small square marker moves on the measured curve to indicate the value of the curve at the corresponding time step of the animation.
  12. Click OK.
  13. Repeat steps 11 through 12 twice more by selecting Y and Z and then clicking OK each time.
  14. Click the (Start/Pause Animation) button to animate the results.
    You will see a marker on all the three plots which corresponding to the simulation time step in the HyperView window.
For more advanced animation options, refer to the HyperView tutorials.