HyperWorks Solvers

Visualizing Results - Animation and Request Plotting

Visualizing Results - Animation and Request Plotting

Previous topic Next topic No expanding text in this topic  

Visualizing Results - Animation and Request Plotting

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

MotionSolve provides you with simulation results in multiple file formats.  These files can be plotted and animated to create rich visualizations of simulations results.  This enables you to:

1.Easily grasp the physical phenomena.
2.Quickly detect errors.
3.Create compelling presentations.

VR_Img1

hg3d_ex

VRImg2

hg_ex

These images illustrate HyperWorks' powerful tools for visualizing the results of multi-body simulations in the form of 2-D and 3-D plots and animations.

Plotting

Plots are essential for obtaining detailed information regarding system behavior as well as for subsequent engineering calculations, such as filtering.

MotionSolve creates the following three file types for plotting:

1.Altair Binary Format (ABF): This binary file is optimized for fast plotting of very large data sets.  This is the recommended format for plotting.
2.Multibody Results File (MRF): The primary purpose of this binary file is to provide part displacement data to the post-processor module that creates the H3D file used for animation. The H3D file format is discussed later in this document.  The MRF file can also be used to create plots.  However, the performance may be slower than the ABF file.
3.Plot File (PLT): This is an ASCII file that can be plotted using HyperGraph.  The primary purpose of this file is to facilitate load transfers from MotionSolve to FEA software, such as NASTRAN and OptiStruct, for durability simulation, using the Load Summary utility available in MotionView.        

The MRF and ABF files contain, by default, the displacement time histories of all parts and certain other information as shown in the table below:

Type

Component

Description

Rigid Body

X, Y, Z

Position

E0, E1, E2, E3

Orientation in Euler parameters.

VM, VX, VY, VZ

Magnitude and X, Y, Z components of velocity.

WM, WX, WY, WZ

Magnitude and X, Y, Z components of angular velocity of the principle inertia axes.

ACCM, ACCX, ACCY, ACCZ

Magnitude and X, Y, Z components of acceleration.

WDTM, WDTX, WDTY, WDTZ

Magnitude and X, Y, Z components of angular acceleration of the principle inertia axes.

Flex Body

X, Y, Z

Position

E0, E1, E2, E3

Orientation in Euler parameters.

Q/i, i = 1, 2, …, n

Modal participation factors.

QD/i, i = 1, 2, …, n

Modal velocities. These are written to the output file when the attribute FLEX_VEL_ACC_OUTPUT is set to TRUE in ResOutput

VM, VX, VY, VZ

Magnitude and X, Y, Z components of velocity. These are written to the output file when the attribute FLEX_VEL_ACC_OUTPUT is set to TRUE in ResOutput

QDD/i, i = 1, 2, …, n

Modal accelerations. These are written to the output file when the attribute FLEX_VEL_ACC_OUTPUT is set to TRUE in ResOutput


ACCM, ACCX, ACCY, ACCZ

Magnitude and X, Y, Z components of acceleration. These are written to the output file when the attribute FLEX_VEL_ACC_OUTPUT is set to TRUE in ResOutput


SE

Strain Energy.

System

KE

Kinetic energy.

CPU Usage

Total CPU time used.

CPU/Sim. Time Ratio

The ratio between the total CPU time used and the simulation time.

Stepsize

Actual step size used in the integration.

Integration Order

Order of the integrator used in the integration.

Default Contents in the ABF and MRF Files

Using the Post_Request element, you can request the solver to generate almost any signal from your system.  Such requested signals are written to all three file formats: ABF, MRF, and PLT.  You may use the Post_Request element in the following three ways:

1.Using built-in types for commonly requested data, such as displacement, velocity, and acceleration, as well as forces on bodies and joints.
2.Using the MotionSolve expressions.  For example, DM(1, 2) returns the distance between the origins of two markers with identifiers 1 and 2.
3.Using user-defined subroutines in C/C++, Fortran, or Python.

Refer to the Post_Request topic in XML Format Reference Guide for details.

When one of these files is loaded in HyperGraph, the data is automatically organized under three separate categories: Type, Request, and Component.  Valid types include Displacement, Velocity, Acceleration, Force and User-Defined.  Your model may have one or more requests of each type.  All of them are listed under the Request column.  When you select a particular request from the list, all available components are displayed in the Component column, as shown in the image below. Please refer to the HyperGraph User's Guide for more details on HyperGraph usage.

type_req_comp

An example of organizing plot data into Type, Request and Component categories.

The following table displays the pre-defined components for each request type.

Type

Component

Description

Marker Displacement

DM, DX, DY, DZ

Magnitude and X, Y, Z components of displacement.

E0, E1, E2, E3

Orientation in Euler parameters.

 

PSI, THETA, PHI or YAW, PITCH, ROLL angles

Orientation of the principle inertia axes expressed in either Euler Angles (B313) or YAW, PITCH, ROLL angles. The choice is made by specifying the ANGLE_TYPE attribute in the ResOutput command.

Marker Velocity

VM, VX, VY, VZ

Magnitude and X, Y, Z components of velocity.

WM, WX, WY, WZ

Magnitude and X, Y, Z components of angular velocity of the principle inertia axes.

Marker Acceleration

ACCM, ACCX, ACCY, ACCZ

Magnitude and X, Y, Z components of acceleration.

WDTM, WDTX, WDTY, WDTZ

Magnitude and X, Y, Z components of angular acceleration of the principle inertia axes.

Marker Force

FM, FX, FY, FZ

Magnitude and X, Y, Z components of force.

TM, TX, TY, TZ

Magnitude and X, Y, Z components of torque.

Expressions

F1, F2, ..., F8

Vectors containing evaluated expressions.

Request Types Available in the ABF, MRF and PLT Files

In addition to the above, when you request a linear analysis, MotionSolve writes out a *_linz.mrf file that contains results from the linear analysis.  These are described below:

Type

Component

Description

Eigenvalue

real part

Real part of the eigenvalue

imag part

Imaginary part of the eigenvalue

freq (cycle)

Imaginary part of the eigenvalue (expressed in cycles per second).

freq = (imag part) / 2*PI

damping ratio

Damping ratio for each eigenvalue

natural freq

Natural frequency for each eigenvalue

Body Eigenvector

dx.real, dy.real, dz.real

Real part of the eigenvector for each body in the system

dx.imag, dy.imag, dz.imag

Imaginary part of the eigenvector for each body in the system

% distribution of Kinetic Energy

X, Y, Z

Modal KE distribution in the translational directions for each supported part

RXX, RYY, RZZ

Modal KE distribution in the rotational directions for each supported part

RXY, RXZ, RYZ

Modal KE distribution in the cross-rotational directions for each supported part

% distribution of Strain Energy

X, Y, Z

Modal SE distribution in the translational directions for each supported part

RX, RY, RZ

Modal SE distribution in the rotational directions for each supported part

% distribution of Dissipative Energy

X, Y, Z

Modal DE distribution in the translational directions for each supported part

RX, RY, RZ

Modal DE distribution in the rotational directions for each supported part

Animation

Animations not only provide a quick way to check for errors, they also help create compelling presentations to communicate your results to a wide audience.

MotionSolve creates the following two file types for animation, based on your selected simulation type: The H3D file is used to animate static, quasi-static, linear and transient simulation results.  The H3D file contains both the graphics as well as the results information.  The H3D file format provides the following benefits:

1.Compact file size with additional compression options
2.Fast animation
3.Single format for sharing engineering animation results from finite element as well as multi-body dynamics software
4.H3D files may be animated using the stand alone HyperViewPlayer

You may use the Post_Graphic modeling element to add graphics to visualize the elements in your models.  Below is a summary of the different types of graphics available in MotionSolve.  For details, see the Post_Graphic topic in the MotionSolve XML Format Reference Guide.

Rigid Bodies

You can choose from the following types of graphics to visualize rigid bodies:

ArcFromRadius

ArcFromRM

BoxDefinedFromCenter

BoxDefinedFromCorner

CircleFromRadius

CircleFromRM

Cylinder

Ellipsoid

Frustum

Plane

Sphere

TriaMesh

Parasolid

Note that these graphics are useful for visualization and contact only.  They do not affect the mass and inertia properties.  For example, when you use a box graphic to visualize a body, its mass and moments of inertia are not calculated based on the box geometry and material properties.

Forces and Moments

When your model includes a Post_Request element of type MARKER_FORCE asking for one or more forces and moments, MotionSolve automatically writes information to the H3D file that allows you to animate them as vectors as shown in the image below:

hv_force_vectors

Animating force vectors

Outline

This graphic type draws an outline connecting the origins of markers that are attached to multiple bodies.

hv_outline

Outline graphic connecting four spherical bodies.

Flexible Bodies

All the information related to flexible bodies (both CMS linear flexible bodies and NLFE bodies) is written to the H3D file, which provides a compact format to store animation data.  You may load the H3D file into HyperView to visualize the flexible body results using the following three approaches:

1.Contour plots

angle_spread

Result contours for CMS flexible control arms for a SLA suspension model

result_contours

Result contours for an NLFE stabilizer bar in a front suspension model

You may contour results of various types including displacements, rotation (CMS only), velocity (CMS only), acceleration (CMS only), strain, and stress.  For strain and stress, you must request the corresponding modes to be computed during the component mode synthesis solution for a CMS flexible component; for an NLFE body, these are written to the H3D by default.  For details on result averaging and other topics, see the Contour Panel topic in the HyperView User’s Guide.

Note: The NLFE element results are always written in NODAL format whereas the CMS flexible results can be written in NODAL or MODAL format (this is controlled by the FORMAT_OPTION) attribute in the H3DOutput command statement.

2.Vector plots

vector_plot

Displacement vectors for an NLFE beam superimposed on the stress contour plot

You may create vector plots of the following data types: displacement, velocity (CMS only), acceleration (CMS only), force (CMS only), and moment (torque, CMS only).  The vectors may be resolved in a variety of coordinate systems.  Scaling and querying are also supported.  The vector plots can also be overlaid over the stress contour plots.  For details, see the Vector Panel topic in the HyperView User’s Guide.

3.Tensor plots

tensor

Stress tensors for a control arm in an SLA suspension

You may create tensor plots to visualize tensor quantities such as stress and strain.  Two formats are available – Principal or Component.  The tensors may be resolved in a variety of coordinates systems.  Nodal averaging is also supported.  For details, see the Tensor Panel topic in the HyperView User’s Guide.

For all these visualization approaches, displacements and deformations are available by default, while stresses and strains must be requested during the component mode synthesis (CMS) solution.

For the NLFE bodies, displacements, stresses and strain information is written by default to the H3D.

3D Rigid body contact

During a simulation that contains rigid body contact elements, MotionSolve computes a number of contact related quantities like normal force, friction force, slip velocities etc. These are written to the H3D after the simulation so that they can be visualized in HyperView.

There are three types of contact-specific results that may be visualized in HyperView:

1.Contact summary frame:

The contact summary frame is a single frame in HyperView which allows you to visualize the maximum penetrations that occurred in your 3D geometries over the length of the entire simulation. A sample contact summary frame is shown below (in exploded view).

contact_summary_frame

Contact summary frame for bevel gears in contact

MotionSolve writes an additional load case, called “Contact Overview” to the animation H3D file when the model contains active 3D rigid body contact(s). Within this load case, you can create a contour plot defined by maximum penetration depth.

The summary frame allows you to quickly check for excessive penetrations in your simulation before animating it. It can also be used to assess whether the areas where contact occurred are as expected. For more information on the contact summary frame, please see the Post-processing section in MV-1010: Contact Simulation using MotionSolve.

2.Vector plots:

You may also use vector plots to display contact forces and velocities. In addition to the total contact force, you can visualize several other results including contact friction force:

contact_related_vector_plots

Contact related vector plot results

contact_normal_force

Normal contact force for a constant velocity joint geometry

You can plot these vectors for each triangular element on the rigid body or for a contact region. For more details, see the Vector Panel topic in the HyperView User’s Guide.

3.Contour plots:

You may also use vector plots to display contact forces and velocities. In addition to the total contact force, you can visualize several other results including contact friction force:

Contact force (including normal and friction force)
Contact velocity (including normal and tangential velocities)
Contact penetration depth

total_force_contour

Total contact force contour for a constant velocity joint geometry