CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] foamToEnsight & foamToVTK

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2016, 16:33
Default foamToEnsight & foamToVTK
  #1
Member
 
Ruggero Poletto
Join Date: Nov 2013
Posts: 34
Rep Power: 12
rupole1185 is on a distinguished road
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?
__________________
___________________________

President of CONSELF, the new CFD company with a great cloud solution. Try for free it here!
rupole1185 is offline   Reply With Quote

Old   May 7, 2016, 06:46
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Old   May 7, 2016, 08:57
Default
  #3
Member
 
Ruggero Poletto
Join Date: Nov 2013
Posts: 34
Rep Power: 12
rupole1185 is on a distinguished road
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?
__________________
___________________________

President of CONSELF, the new CFD company with a great cloud solution. Try for free it here!
rupole1185 is offline   Reply With Quote

Old   May 9, 2016, 03:18
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Sure. Write to Paraview though, not OpenCFD.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:19.