How to open the odb file of abaqus using paraview

1、I downloaded that part of the code odb2vtk
2、Follow the documentation steps to set up

image
3、Send an error when I perform the following steps in the command window

ConvertOdb2Vtk(‘F:\Temp\odb2vtk.txt’)
Traceback (most recent call last):
File “”, line 1, in
File “F:\SIMULIA\EstProducts\2021\win_b64\code\python2.7\lib\odb2vtk.py”, line 34, in ConvertOdb2Vtk
odb_path = input[1]
IndexError: list index out of range

4、Using another function also reports an error

ConvertOdb2VtkP(‘F:\Temp’,‘CP10_L6_DP1’,‘F:\Temp\CP10_L6_DP1’,‘12’,‘2’,‘0’,‘20’,‘0’,‘0’)
Basic Information:
Model: CP10_L6_DP1 ; Mesh type: Hexahedron ; Number of blocks: 2
Convert frames: 0 to 20
Step & Instance : [‘0’] , [‘0’]
Traceback (most recent call last):
File “”, line 1, in
File “F:\SIMULIA\EstProducts\2021\win_b64\code\python2.7\lib\odb2vtk.py”, line 661, in ConvertOdb2VtkP
odb = openOdb(os.path.join(odb_path,odbname)+‘.odb’,readOnly=True)
OdbError: The database is from a previous release of Abaqus.
Run abaqus -upgrade -job -odb to upgrade it.

I fear this is a bug in the script you use, and not related to ParaView itself.

So you should better open an issue on the github repository you link.

Hello, The same question came up in my process.
Have you solved it?

check out this repo

1 Like

Did you consider writing VTKHDF output?

Yes. I did consider HDF when I first started the project. I did some research and trial and error but ended up not doing it because there was too much hassle dealing with Python 2. But eventually, I think HDF format is the way to go because it is more efficient than the conventional VTK data format. Not only does HDF has more condensed data storage but speeds up conversion runtime because there are fewer I/O operations involved. Now that Abaqus 2024 finally uses Python 3, I was hoping there are some out-of-the-box libraries I can directly use.

1 Like

What you have already done is an excellent contribution.

I was actually thinking along on the lines of C++ for HDF generation, since it is the most efficient solution, but I have never looked into implementing such code.

1 Like