Script to export Strain, Stress and State Variables

Unknown
edited October 2020 in Community Q&A

Hi Everyone,

 

I am writing a script to export all the data from a simulation into text files. I however encounter a problem when I try to export stresses, strains and state variables: expected integer but got ''.

 

The script is based on the one from here.

https://community.altair.com/community?id=community_question&sys_id=12864c3a1b2bd0908017dc61ec4bcba3

 

What am I missing?

 

Thanks,

cedev

 

Unable to find an attachment - read this blog

Answers

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited June 2020

    there's something wrong while reading the state variables, and you might getting a null value, somehow.

    I've tracked to State Variables, but need further investigation. Removing the State Variable output would work.

    I've written the datanames as they should be, at least for your H3D file.

     

    Maybe the problem here in State Variables, it that they need you to specify the data component as well, do get the correct value.

    Unable to find an attachment - read this blog