-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the ANSYS-Data-Extractor wiki! Dear GITHUB Members, I am a mechanical engineer with very limited programming skills and very new to Github.
I’m currently working on extracting data of multiple .rst/.rth files 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 and 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.
If you find it interesting please help. Thank you for your help and support in advance.
Regards NC