TCL Script for reading stress for selected elements in Hypermesh

AndrewSkocz
AndrewSkocz Altair Community Member

I am trying to create a TCL script that will extract a specified stress type for selected elements in Hypermesh (not in Hyperview!!!). The results would be loaded from an ODB file.

I want to use this data for further calculations.

Tagged:

Answers

  • Hello @AndrewSkocz ,

    did you already to try Tools (formerly Results Query) in Post ribbon:

    Hope that helps,

    Michael

  • AndrewSkocz
    AndrewSkocz Altair Community Member

    Hi Michael, thanks for your reply.

    Yes, I have used the Tools. Unfortunately, this is not what I am looking for.

    What I am trying to do is to extract stress for an element set, calculate the average stress for the whole panel and then check the panel buckling using LR equations and criteria,

    I've been looking at the hm_getvalue. and then either field or results but can't figure it out yet.

  • hello @AndrewSkocz ,

    thanks for your feedback.

    You should be able to automate Tools and use hm_getresults in combination with xml config file to extract the values of interest:

    hm_getresults id=$resultid xml="path/queryconfig.xml"

    Also, I would have loved to propose you Certifiucation here, which is doing this job for OptiStruct, but it has not been extended yet to Abaqus.
    If you second my opinion and consider Certification could help speeding up your workflows, please feel free to open a report case so that we can track your request.

    Best Regards,

    Michael