Dear RG Members,

I’m currently working on extracting data of multiple .rst/.rth files, which are having same mesh and same node numbering, using PyANSYS/PyMAPDL. The end target is to use this data for LCF/Creep/Creep-fatigue/fracture calculations. Currently this data extraction is done manually, we want to automate this process.

The elements I am using is plane77 (with axisymmetric option) for thermal analysis and plane 183 (axisymmetric) for structural analysis (in ANSYS).

Please look at the figure attached.

I want to provide path for all my rth/rst files and respective load/substep numbers for which I want to extract data. On pressing confirm a popup will ask for node number and desired data (temperature/stress/strain/creep strain) for that node number should be there in the output column from all these files (that's the wish). First row data (temperature from a rth file for steady state thermal run) I was able to extract. Got stuck in the second row where I want von Mieses stress from a steady state structural run.

However, when I attempt to parse the result sets using result.parse_step_substep(), I receive only integer indices representing the result sets, rather than a tuple containing the actual load step and substep numbers. For example, my .rst file shows 3 result sets, but the step info returned is simply 0, 1, and 2, without any clear mapping to the original load step and substep numbers from the simulation. Is there a current method within PyMAPDL to directly retrieve data based on specific load step and substep numbers (e.g., Load Step 3, Substep 5), rather than relying on the result set indices?

Thank you for your help and support in advance.

Regards

NC

More Naveen Bhatt's questions See All
Similar questions and discussions