CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

VisIt reader plugin for OpenFOAM

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2007, 19:06
Default For the uninitiated (like me):
  #1
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,902
Rep Power: 33
hjasak will become famous soon enough
For the uninitiated (like me): I have just found out about a visualisation packaged called VisIt: http://www.llnl.gov/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?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   April 4, 2007, 22:43
Default I have used Visit, and it does
  #2
New Member
 
Joseph Kummer
Join Date: Mar 2009
Location: Fayetteville, NY, USA
Posts: 17
Rep Power: 17
jdkummer is on a distinguished road
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.
jdkummer is offline   Reply With Quote

Old   April 4, 2007, 22:45
Default More importantly, does it supp
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
More importantly, does it support proper display of non-conformal meshes So far I have only seen OpenDX do the job nicely!
msrinath80 is offline   Reply With Quote

Old   April 9, 2007, 07:07
Default Visit can display "time" of tr
  #4
New Member
 
Masato Otsuki
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 26
Rep Power: 17
otsuki is on a distinguished road
Visit can display "time" of transient data on
graphic window. For the other visualisation functionality, ParaView seems to be better.

Masato
otsuki is offline   Reply With Quote

Old   April 9, 2007, 10:18
Default I agree that generally ParaVie
  #5
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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:
http://www.cfd-online.com/OpenFOAM_D...es/1/2844.html

Takuya
7islands is offline   Reply With Quote

Old   June 12, 2007, 12:02
Default Hi, I just installed visit
  #6
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

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)?

Thanks!

pei
hsieh is offline   Reply With Quote

Old   January 17, 2008, 03:45
Default Hi, I like the simple pytho
  #7
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi,

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'.
Fabian
braennstroem is offline   Reply With Quote

Old   February 16, 2008, 07:59
Default me again... but it seems that
  #8
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
me again... but it seems that reading 'native' openfoam is pretty slow!?
braennstroem is offline   Reply With Quote

Old   September 25, 2008, 14:58
Default Hello all, I've modified th
  #9
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
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
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   September 25, 2008, 22:30
Default Hi Sandeep and all, I just
  #10
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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.

Takuya
7islands is offline   Reply With Quote

Old   September 26, 2008, 03:12
Default Hi, as I understood the vis
  #11
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi,

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

@Sandeep: nice!

Regards!
Fabian
braennstroem is offline   Reply With Quote

Old   September 26, 2008, 04:50
Default Hi,Sandeep,Takuya Just a sh
  #12
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Hi,Sandeep,Takuya

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?
lin is offline   Reply With Quote

Old   September 26, 2008, 05:07
Default Hi linzhenhua, Stability, co
  #13
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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.

Takuya
7islands is offline   Reply With Quote

Old   September 26, 2008, 05:32
Default Hi Fabian, Unfortunately, as
  #14
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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.

T
7islands is offline   Reply With Quote

Old   September 26, 2008, 10:37
Default Hi,Takuya Thanks for your wor
  #15
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Hi,Takuya
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.
lin is offline   Reply With Quote

Old   September 26, 2008, 11:17
Default Hi to you both, I am cheeri
  #16
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
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...

Fabian
braennstroem is offline   Reply With Quote

Old   September 26, 2008, 13:29
Default Hi linzhenhua and Fabian, @
  #17
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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.

Takuya
7islands is offline   Reply With Quote

Old   September 30, 2008, 05:02
Default to Sandeep: your reader doe
  #18
Member
 
Maxim Loginov
Join Date: Mar 2009
Posts: 33
Rep Power: 17
zeliboba is on a distinguished road
to Sandeep:

your reader does not support compressed data, does it?
zeliboba is offline   Reply With Quote

Old   September 30, 2008, 10:27
Default Maxim, Unfortunately, it do
  #19
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Maxim,
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.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   May 4, 2009, 01:58
Default
  #20
New Member
 
Peter Johnston
Join Date: Mar 2009
Location: Brisbane, Queensland, Australia
Posts: 25
Rep Power: 17
prjohnston is on a distinguished road
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.
prjohnston 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
[OpenFOAM] Native VisIt Reader Bugs tj22 ParaView 8 November 8, 2013 05:21
Open Source, Linux, Visit, Code-Saturne,openFOAM.. Ahmed Main CFD Forum 9 October 18, 2008 11:20
[OpenFOAM] ParaView Reader %7c Visit tj22 ParaView 16 September 25, 2008 15:01
[OpenFOAM] OpenFOAM reader in the ParaView CVS tj22 ParaView 16 December 22, 2007 10:05
[OpenFOAM] Posted OpenFOAM native reader for ParaView3CVS 7islands ParaView 0 October 24, 2007 11:52


All times are GMT -4. The time now is 00:06.