Extract GPSTRESS with tcl script

etrud011
etrud011 Altair Community Member
edited October 2020 in Community Q&A

Hello,

 

I would like to extract the node point stresses after an analysis using a tcl script for further analysis in Matlab. Control cards only allow me to export the GPSTRESS as HM or H3D which is not useful for running an analysis outside of hypermesh and hyperview.

 

What functions should I use to accomplish this? Or is there an easier way?

 

Thank you,

-Eric

Answers

  • tinh
    tinh Altair Community Member
    edited July 2018

    Hi

    If GPSTRESS is only output in HM/H3D, could you try output STRESS in OPTI format with 'LOCATION'=CUBIC or CORNER ?

  • etrud011
    etrud011 Altair Community Member
    edited July 2018

    Hi tinh,

     

    Thank you for the reply and sorry for the late reply. I have tried outputting STRESS with different locations but they end up producing the same results each time even when I try other locations such as 'CENTER'. I am using solid elements (CTETRA8). My settings are shown below;

     

    image.png.7a3f5bb32cf0e002e6269b594876859b.png

     

    I am not sure what I am doing wrong in this case. Any other suggestions and advice is greatly appreciated!

     

    -Eric

  • tinh
    tinh Altair Community Member
    edited July 2018

    I don't found any command to get result values in hm. But there is a command that makes curves from result,

    we can create a curve of which x values are node ids and y values are GPSTRESS,

    So that exports the stress to text file easily