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

foamToEnsight & foamToVTK

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 5, 2016, 15:33
Default foamToEnsight & foamToVTK
  #1
Member
 
Ruggero Poletto
Join Date: Nov 2013
Posts: 30
Rep Power: 4
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, 05:46
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,129
Rep Power: 20
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.
*Join the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oHPxcPqde7HtA2
akidess is online now   Reply With Quote

Old   May 7, 2016, 07:57
Default
  #3
Member
 
Ruggero Poletto
Join Date: Nov 2013
Posts: 30
Rep Power: 4
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, 02:18
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,129
Rep Power: 20
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.
*Join the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oHPxcPqde7HtA2
akidess is online now   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using FoamToEnsight with Dynamic Mesh Solvers raunakbardia OpenFOAM Post-Processing 0 February 25, 2016 15:01
foamToVTK will have a different values?! And the fvScheme questions. wenxu OpenFOAM Running, Solving & CFD 19 September 21, 2015 20:49
Error during foamToVTK Lana OpenFOAM Post-Processing 4 April 7, 2015 13:08
Command foamToVTK gruber OpenFOAM 0 July 26, 2010 09:44
FoamTOVTK yapalparvi OpenFOAM Post-Processing 3 August 12, 2009 08:19


All times are GMT -4. The time now is 03:31.