extract data from odb file
extract data from odb file
(OP)
Dear all,
Is there any method to estract the data from an odb file? For example I would like to extract the stresses value along a certain path wich I have to define from the odb file. But I have to search for different step as well and that will be a very long process if I have to doit manually. The python script can help me i some way?
Thanks in advance,
Albert
Is there any method to estract the data from an odb file? For example I would like to extract the stresses value along a certain path wich I have to define from the odb file. But I have to search for different step as well and that will be a very long process if I have to doit manually. The python script can help me i some way?
Thanks in advance,
Albert





RE: extract data from odb file
RE: extract data from odb file
RE: extract data from odb file
Since I am new to python I still have a couples of questions that could sound silly for you.
How can I run the script example? from the shell python GUI? The results were will be printed?
Thanks again!
RE: extract data from odb file
Or, if you're not confortable with python, you can redirect the out to a file using the '>' symbol.
Try this on a command line to see what I mean:
In windows:
'dir > test.txt'
'more test.txt'
In Unix-ish OS'es:
'ls > test.txt'
'more test.txt'
---
So there's nothing to stop you from running
'abaqus python myscript.py > myoutput.txt'
Personally, I use Matlab to analyse the output from my models, so I call the script directly from the Matlab command line and assign the output to a matrix:
>>myoutput=eval('!abaqus python myscript.py');
Hope that helped.
RE: extract data from odb file
I run a similar script to print in output in a txt file the displacement of my odb file. It seems that it worked for one case but when I used another odb file the displacements are all zero. I used the same script changing the odb path but it seems that it can not read the displacement anynmore.
Do you know if there is any explanation about it?
Thanks again,
Albert
RE: extract data from odb file