|
[Sponsors] |
May 5, 2016, 16:33 |
foamToEnsight & foamToVTK
|
#1 |
Member
Ruggero Poletto
Join Date: Nov 2013
Posts: 34
Rep Power: 12 |
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? |
|
May 7, 2016, 06:46 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
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.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
May 7, 2016, 08:57 |
|
#3 |
Member
Ruggero Poletto
Join Date: Nov 2013
Posts: 34
Rep Power: 12 |
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? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
foamToVTK will have a different values?! And the fvScheme questions. | wenxu | OpenFOAM Running, Solving & CFD | 20 | August 4, 2020 08:51 |
[OpenFOAM] OpenFOAM-3.0.x: error in foamToVTK (64-bit labels) | DrFloyd | ParaView | 8 | April 20, 2018 05:51 |
foamToVTK -fields syntax problem | KateEisenhower | OpenFOAM Post-Processing | 5 | September 22, 2016 06:56 |
Using FoamToEnsight with Dynamic Mesh Solvers | raunakbardia | OpenFOAM Post-Processing | 0 | February 25, 2016 15:01 |
Command foamToVTK | gruber | OpenFOAM | 0 | July 26, 2010 10:44 |