Hello everyone,
I come up with a solution to visualised TELEMAC3D .slf results in Paraview in on single file:
1/ convert results.slf into multiple .vtk using stbtel (or else, as described in multiple post on this forum):
2/ create a new file: results3d
.vtk.series that is a JSON like file
{
"file-series-version" : "1.0",
"files" : [
{ "name" : "r3d00000000.vtk", "time" : 0.0 },
{ "name" : "r3d00000001.vtk", "time" : 0.05 },
{ "name" : "r3d00000002.vtk", "time" : 0.1 },
....
]
}
3/ Open the results3d.vtk.series file in Paraview
You should be able to view all time-step (at least the one you wrote into the results3d.vtk.series file).
You can stop here, it works but so far Paraview is quite slow to go from one time-step to the other and freeze (so I am rather disappointed).
4/ Export into .vtu: File > Save as > "VTK UnstructuredGrid Files" (saving is a bit long)
5/ Open this last in Paraview:
more information and (big) Thanks to:
stackoverflow.com/questions/33771609/how...ew/34120782#34120782
Ps: I also tried / faced:
- meshio tool failed
- Paraview is on my windows and I can't (be asked to) (re)-compile Paraview so to implement Plug-in
- the first solution from stack_overflow Bertrand Gazanion answer: open all .vtk and try to save the whole into another format (I almost though it worked :| ) - XML crasesh, PVD worked but somehow only for the first time-step (even if I select "all time-step"
), same goes for PVTU...
On the todolist:
- write Python/whatever script to generate this file
Have a nice day
Pierre-Henri