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
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.
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.
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.