How can I use the data in the .mrf file for calculating 'User defined results' in HyperView?

Mohit Singhal
Mohit Singhal Altair Community Member
edited May 2021 in Community Q&A

I have performed Liner analysis in MotionSolve and got the .mrf file after the simulation containing the Eigen frequency and mode shapes data. Using this .mrf file I want to calculate the Energy content in each DOF for each mode. I have the expressions for the calculation and I want to implement these expressions in HyperView as a post processing step. 

Therefore, is there a way to utilize the data of the .mrf file in the Hyperview and perform user defined calculations on it?

Answers

  • Patrick Goulding_21563
    Patrick Goulding_21563 New Altair Community Member
    edited May 2021

    Hi Mohit,

     

    I think the best way to do this is to write a function in Altair Compose and "register" the function so it will be accessible in other HyperWorks tools.  I'm not perfectly clear what your final goal is, but hopefully this will be helpful:

    - Compose can read output data from a MotionSolve run (.mrf file) using the readvector() command.  Generating the correct arguments for readvector() is simple.  Run the command readvectorbuilder in the Compose command window and use the GUI to access your .mrf file and choose the component(s) from which you would like to extract data.

    - Write a function (or functions) in Compose that will return your necessary energy values for each DOF.  Highlight the function name and right click on it and choose "Register Function".  Now this function can be called in other HyperWorks tools.  HyperGraph, I believe, will be the post-processing tool you'll be needing to use, but I may be wrong depending on post-processing goal.

    In Compose, go to the online Help and search for "Register Function".  There is some documentation on this feature that may be helpful.

     

    Hope that helps get you started,

    Patrick