×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Loading ResultMath Template in Hyperview

Loading ResultMath Template in Hyperview

Loading ResultMath Template in Hyperview

(OP)
Note the following:
1) I carried out a frequency response Analysis SOL 111 and got the results in ".op2" format.
2) I tried to implement tutorial HMath-5000 so i defined a function in Hypermath and saved it as ".hml".
3) To register the above function i wrote a script in a simple "post_rmath.mvw" file. (given at the end of this post)
4) I registered post_rmath.mvw and loaded it in hyperview. Then i applied the same function "" to my structure model.
5) When i generate contour for the above function i get the following error:
"This ResultMath Template is designed to be used for advanced use-cases and for full functionality requires a certain set of datatypes which are note available in provided files"

Can anyone help me in this regard? I have not registered any result template in post_rmath.mvw file. As far as i think this error is due to the usage of wrong result template.

SCRIPT FOR STEP 3- post_rmath.mvw is given below:

*Id("HyperStudy v12.0")
*BeginDefaults()
{rmath_template_dir = getenv("ALTAIR_HOME") + "/io/result_readers/rmxml"}
*BeginGraphicDefaults()

*RegisterResultMathPlugin(Brittle_Calcs, "Brittle failure theory", HYPERMATH, "<your_location>/HyperMath_Brittle.hml", SCALAR, ELEM, "", "Hml_BrittleMatFailureTheory", "")


*RegisterResultMathTemplate("Standard", {rmath_template_dir + "/standard.xml"})
*RegisterResultMathTemplate("Advanced", {rmath_template_dir + "/advanced.xml"})
*RegisterResultMathTemplate("NVH", {rmath_template_dir + "/nvh.xml"})
*RegisterResultMathTemplate("Composite", {rmath_template_dir + "/composite.xml"})
*DefaultResultMathTemplate("Standard")
*ResultMathState("On")

*EndGraphicDefaults()
*EndDefaults()

Regards

RE: Loading ResultMath Template in Hyperview

(OP)
I altered the above script to the following:

*Id("HyperStudy v12.0")
*BeginDefaults()

*BeginGraphicDefaults()

*RegisterResultMathPlugin(Brittle_Calcs, "Brittle failure theory", HYPERMATH, "<your_location>/HyperMath_Brittle.hml", SCALAR, ELEM, "", "Hml_BrittleMatFailureTheory", "")


*EndGraphicDefaults()
*EndDefaults()

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources