foamToEnsight & foamToVTK
Dear foamers,
here I am with few questions about mesh and data translation from OpenFOAM. I would like to have VTK or Ensight files from my openfoam data, but none of the two readers above really satisfy me because: 1) foamToVTK creates multiple VTK files, each of which is readable by paraview. What is missing is the VTM file that connects multiple time/iterations in just one place 2) foamToEnsight works smoothly and also when I run the ens_checker everything seems ok. But when I open it with Paraview (v5.0.1) I jet "insufficient time values!!!" and then it crashes. I tried to edit the .case file many time but insuccesfully .. Anyone has experienced something similar? |
1) If you run foamToVTK -time X:Y, then you will get resuts as BASENAME_COUNT.vtk. Paraview will recognize files with the same basename to belong together and let you load them in one go as BASENAME_....vtk.
2) foamToEnsight makes one .case file per time step. The Ensight Gold case file documentation is actually decent, if you have a look you should be able to create a case file for all your time steps. At the end of the case file you have a list of time values (e.g. 5.001, 5.002, 5.003, ...) which you are probably missing. |
Yep. Thanks .. The trick with vtk files was really useful.
Regarding the case file instead I think I found a bug on paraview ... Because it can't handle what ensight can ... Should I add this to bug-trackibg system? |
Sure. Write to Paraview though, not OpenCFD.
|
All times are GMT -4. The time now is 18:05. |