Demetrio92
Mechanical
- Jun 24, 2017
- 2
Hi everibody,
I'm trying to work on odb files via Python script. More in detail, I want to extract the E11 strain component value for each frame (61 frames) of a step (Implicit dynamic step) for some nodes which I'm interested in, and save these values into a file.
The script I've written works fine except for two things:
1) the odb reading is extremely slow: extracting the 61 values for the sets of interest (which are more or less 40) takes more than 1 hour (the odbs size is around 5 GB);
2) the odb increases its size while I'm reading data from it! It grows and shifts from 5GB to 200GB or more ! Once the reading is completed, I can open the odb and apparently nothing has changed, apart from the size . How can this be possible?
I'm new to python scripting, so I'm probably missing something! Attached you can find the script.
Kind regards,
Demetrio
I'm trying to work on odb files via Python script. More in detail, I want to extract the E11 strain component value for each frame (61 frames) of a step (Implicit dynamic step) for some nodes which I'm interested in, and save these values into a file.
The script I've written works fine except for two things:
1) the odb reading is extremely slow: extracting the 61 values for the sets of interest (which are more or less 40) takes more than 1 hour (the odbs size is around 5 GB);
2) the odb increases its size while I'm reading data from it! It grows and shifts from 5GB to 200GB or more ! Once the reading is completed, I can open the odb and apparently nothing has changed, apart from the size . How can this be possible?
I'm new to python scripting, so I'm probably missing something! Attached you can find the script.
Kind regards,
Demetrio