CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   VisIt reader plugin for OpenFOAM (

hjasak April 4, 2007 18:06

For the uninitiated (like me):
For the uninitiated (like me): I have just found out about a visualisation packaged called VisIt: In Septemner 2006 News it says that a native OpenFOAM reader has been implemented.

A kind thatnk you from me to the person who did the work. Did anyone on this forum actually install/use VisIt? What is it like?


jdkummer April 4, 2007 21:43

I have used Visit, and it does
I have used Visit, and it does an excellent job for visualization of CFD data, especially from Openfoam. If you're interested, I would be happy to send you a sampling of pictures from Visit to see some basic capabilities.

msrinath80 April 4, 2007 21:45

More importantly, does it supp
More importantly, does it support proper display of non-conformal meshes So far I have only seen OpenDX do the job nicely!

otsuki April 9, 2007 06:07

Visit can display "time" of tr
Visit can display "time" of transient data on
graphic window. For the other visualisation functionality, ParaView seems to be better.


7islands April 9, 2007 09:18

I agree that generally ParaVie
I agree that generally ParaView does slightly better jobs, but what I like about VisIt is its rock-stable volume rendering on Windows. Although the native reader itself still seems to need a bit of additional works especially for unstructured grids, I can count on VisIt's capability with reliability.

Oh, and the nice work attributes to Terry Jordan:


hsieh June 12, 2007 11:02

Hi, I just installed visit

I just installed visit 1.6. Can someone write a brief steps on how to read native OpenFOAM (version 1.4) data files? Or do I need to convert the data format to VTK first?

I selected the OpenFOAM file type. I have transient data sets in several time steps. Is it possible to read the whole directory with the time step folders under it? Or do I have to read each indivisual file (U/pd/gamma)?



braennstroem January 17, 2008 03:45

Hi, I like the simple pytho

I like the simple python macro recording feature of visit, which I miss in paraview (and it does not seem to work in the next months!?). And in addition to openfoam it has readers for StarCCM+, FLUENT, Ensight and a lot other. The only disadvantage compared to paraview is the lack of exporting data for external diagram plotting... and the complete integration into openfoam like 'paraFoam'.

braennstroem February 16, 2008 07:59

me again... but it seems that
me again... but it seems that reading 'native' openfoam is pretty slow!?

deepsterblue September 25, 2008 13:58

Hello all, I've modified th
Hello all,

I've modified the VisIt reader to accept variable time-step data. It's a very rough first-hack, but you're welcome to modify it as you see fit. VisItPlugin.tar.gz

7islands September 25, 2008 21:30

Hi Sandeep and all, I just
Hi Sandeep and all,

I just would like to let you know a status about the VisIt reader. About a month ago I passed a copy of my vtkOpenFOAMReader to a VisIt developer who read my post to the visit-users list and contacted to me. I am expecting it will take time even for him to port the reader to VisIt as he stated he is doing the work on weekend basis, but hopefully it will be a part of VisIt someday. I'll keep you posted about this.


braennstroem September 26, 2008 02:12

Hi, as I understood the vis

as I understood the visit developer, Takuya's Reader could be implemented in the next release.

@Sandeep: nice!


lin September 26, 2008 03:50

Hi,Sandeep,Takuya Just a sh

Just a short question.I have installed some time ago,version 1.10.
As I notice that it already could open openfoam file,but have not tried yet.

Could you give a short description of the difference of your implementation with the one already in the official release?

7islands September 26, 2008 04:07

Hi linzhenhua, Stability, co
Hi linzhenhua,
Stability, compatibility, performance, gzipped file support, lagrangian support, pointFiled support, builtin cell-to-point filter, OF 1.5 extended format support, etc, etc. Too many to list here.

If it helps to figure out by yourself the one I passed was a bit modified version of vtkOpenFOAMReader-20080628 posted to the native reader thread.


7islands September 26, 2008 04:32

Hi Fabian, Unfortunately, as
Hi Fabian,
Unfortunately, as far as I am aware the porting task is not so trivial, as my reader depends on some features only available in the newest VTK (which is not included in VisIt yet). So I'd like to ask you to cheer him up on the visit list so that he will not give it up :-) Until then Sandeep's reader should be a good choice... Indeed the variable timestep support was one of the most wanted features also for my reader.

p.s. By the way isn't there anyone who has, or plans to write, an OpenFOAM writer? I'm also asked to provide one (if any) but I don't have any plan to implement it.


lin September 26, 2008 09:37

Hi,Takuya Thanks for your wor
Thanks for your work.I indeed notice that you are very active in the visit mainling list.

As a normal user,I just use the build script to build visit.So for your newly implemented plugin,I do not know whether there is any instructions to build it with visit.

braennstroem September 26, 2008 10:17

Hi to you both, I am cheeri
Hi to you both,

I am cheering off-list :-) And it sounded, that he had some problems in the beginning, but could get it done in the near future...


7islands September 26, 2008 12:29

Hi linzhenhua and Fabian, @
Hi linzhenhua and Fabian,

@linzhenhua: as far as I am aware the porting task is not finished yet so it is not available anyway (sorry for this confusing story).

@Fabian: thanks! That sounds promising.


zeliboba September 30, 2008 04:02

to Sandeep: your reader doe
to Sandeep:

your reader does not support compressed data, does it?

deepsterblue September 30, 2008 09:27

Maxim, Unfortunately, it do
Unfortunately, it doesn't accept compressed data. I don't see too much of an issue in implementing it, though. You have to interface with zlib, just like OpenFOAM. I'm sure IOobject (or something related) has details of the implementation. But yes, compressed data support would be a nice thing to have.
I'm getting a little less impressed with VisIt - it does seem to be painfully slow while rendering animated timesteps.

prjohnston May 4, 2009 00:58

Dear All,

I have just downloaded VisIt 1.11.2 with a view to visualising data from OpenFOAM simulation runs. The software appears to work fine as I worked through the tutorials OK. It also works with VTK data that I generated from my OpenFOAM simulations (using foamToVTK). However, I have just no idea how to get native OpenFOAM data into VisIt.

I have checked the plugin manager and I know there is supposed to be a plugin for OpenFOAM databases active. There are also several OpenFOAM dylib files in /usr/local/src/visit/current/darwin-i386/plugins/databases.

I start VisIt in the directory in which I have just completed an OpenFOAM simulation run. The problem is I don't know which files to try and open. The manual suggests that everything is based on file extensions, but OpenFOAM does not use file extensions. The few files that I have attempted to open give error messages, usually saying there are no file extensions.

I'm sure the answer to my problem is quite straight forward, I just can't see what it is. Any thoughts would be much appreciated.

Thank you,

Peter Johnston.

All times are GMT -4. The time now is 02:09.