MotionView User's Guide

Flexbody Post-processing

Flexbody Post-processing

Previous topic Next topic No expanding text in this topic  

Flexbody Post-processing

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

MotionView models solved in MotionSolve or Adams can be animated in Hyperview.  In addition, the plots for these models can also be viewed in HyperGraph.

Flexbody solved in MotionSolve

To view the animation of flexible body results generated using MotionSolve, the result H3D file must be loaded in HyperView:

1.From the Select application menu, select HyperView clientHyperView-24.
2.Click the Open Model button fileOpenModel-24 on the Standard toolbar, or from the File menu select Open > Model.

See Opening Files in HWD for additional information.

3.From the Load Model panel, verify that the Load model and Load results check boxes are activated.

load_model_panel_hv

4.Click the Load model file browser file_browser_icon_new_hv.

The Load Model File dialog is displayed.

5.Open the .h3d result file.

The same file is automatically loaded into the Load results field.

6.Click Apply.

Flexbody solved in ADAMS

HyperView supports post-processing of transient analyses and modal (ADAMS Linear) analyses of ADAMS simulations that contain flexbodies.

The following files are required to completely post-process an ADAMS flexbody:

FLX (ASCII file)
GRA (rigid body graphics and results)
RES (ASCII of flexbody modal participation factors)
H3D #1 (first flexbody)
H3D #2 (second flexbody)
H3D #N (Nth flexbody)
NoteTo view stresses or displacements on a flexbody model during animation solved using the ADAMS solver, the RES file should be requested.  In absence of the RES file, the stresses in the ADAMS results will not be shown in the animation.  Refer to the Solver Parameters section of the Exporting MDL Models to ADAMS topic for additional information.  HyperView can only read the ASCII format of the ADAMS .res file.

When MDL generates the ADAMS solver input deck, it also creates a FLX file.  The FLX file is a small ASCII file that points to the files necessary for post-processing the ADAMS run corresponding to that MDL model.  The path to the files is relative.

Commands supported in the FLX file include:

*ModelSource()

*ResultSource()

*FlexSource()

*AssignIdToVarname()

*AddObjectsFromFile()

*DefineColor()

*TempFileDirectory()

*SetAdamsDirectory()

*ModelSource(), *ResultSource(), and *FlexSource() assemble all necessary information for animation. *TempFileDirectory() allows you to define the directory to which scratch files are written.

A subset of the total time or total mode set can be animated using the following statements inside the FLX file.  This allows all frames to be calculated at load time, without requiring all frames to be included in the calculation.  For models containing large flexbodies, the reduced calculation time can reduce the initial load time.  The following commands are valid for FLX files:

Command

Description

*ModelSource(string)

Defines the source of the file containing rigid body graphics.

*ResultSource(string)

Defines the source of the file containing flexbody modal participation factors as well as rigid body time histories.

*FlexSource(string, body_id,

scale)

Defines the source of the graphics for the flexbody as well as identifying the ID of the flexbody in the solver input deck and animation scale.  Scale determines the magnification of the deformation of the flexbody and can be set independently for each flexbody.

*AssignIdToVarname

Matches an ADAMS varname with a MotionView ID.

*AddObjectsFromFile

Parses ADAMS CMD file and reads in all WaveFront objects.

*DefineColor

Defines a color used in the ADAMS CMD file.  All default colors that exist when ADAMS is started do not need to be defined.

*TempFileDirectory("string")

Allows you to control which directory is used when MotionView creates scratch files during the processing of flexbody animations.

*SetAdamsDirectory()

For parasolid objects, use *SetAdamsDirectory() in the FLX file.  While creating an H3D file for a parasolid, select Manual Mesh and activate the Place Elements on Surface Component option.

NoteYou should briefly review the FLX file if it has been moved from one location to another to confirm relative paths.

If Apply is not highlighted in HyperView's Load Model panel, one or more files in the FLX file cannot be located.

An example FLX file is shown below:

*ModelSource("double_link.gra")

*ResultSource("double_link.res")

*FlexSource("../h3d_flexbodies/link_flex.h3d", 1, 100000.0)

*FlexSource("../h3d_flexbodies/link_flex.h3d", 2, 10000.0)

*AssignIdToVarname(ges_chassis_BODY, 51)

*AddObjectsFromFile("u222_ltlc_full_sys_cnrd_1.cmd")

*DefineColor("ForestGreen", 52, 97, 254)

To animate the flexible body results and view contours in HyperView:

1.Click the Open Model button fileOpenModel-24 on the Standard toolbar, or from the File menu select Open > Model.

See Opening Files in HWD for additional information.

2.From the Load Model panel, verify that the Load model and Load results check boxes are activated.

load_model_panel_hv

3.Click the Load model file browser file_browser_icon_new_hv.

The Load Model File dialog is displayed.

4.Open the ALTAIR.flx file.

The same file is automatically loaded into the Load results field.

5.Click Apply.
6.Click the Start/Pause button animationStart-24 on the Animation toolbar to animate the results.
7.Click the Contour panel button resultsContour-24 located on the Results toolbar.

The Contour panel is displayed.

8.Use the Contour panel to view displacement or stress contours on the model.