How to get the material name and list of nodes associated to the material in HyperView using TCL or Python?

Akash Purushothaman
Akash Purushothaman Altair Community Member
edited October 25 in Community Q&A

In HyperView, I would like to get the list of all materials and the list of nodes associated to each of the materials using TCL or Python commands?

I am able to achieve this in HyperView. But for a postprocessing activity I would like to do the same in HyperView. 
FYI: I use abaqus result file (odb) (if that helps)

Best Regards,

Akash Purushothaman 

Answers

  • Michael Herve_21439
    Michael Herve_21439
    Altair Employee

    Hello @Akash Purushothaman ,

    this is not as straight forward in HyperView than in HyperMesh as HyperView readers are not parsing all entities, including materials.

    Depending on what you try to achieve (from our side the most regular request for getting material data in HyperView is to Compute reserve factor), I see a couple of options:

    1. . If you have the material information you are interested in available inb your inp file, I would recommend the option below:
      https://youtu.be/Yu0e7_wgSWA?si=R_PMvqUKRQJLeLXF2
    2. You could also use hwascii format to load a file in HyperView containing node ids and correponding material attributes (eg the yield stress), then use Derived Results to do the Math
    3. Or you could load your inp file in a window/page of your post-processing session to query material information

    Hope that helps,

    Michael