CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] ParaView Reader %7c Visit (https://www.cfd-online.com/Forums/paraview/61115-paraview-reader-7c-visit.html)

tj22 August 3, 2006 13:22

ParaView Reader %7c Visit
 
I have finished my paraview reader and I was hoping some you would want to test it out. I tried the tutorial data and it seems to work on all of it. I am attempting to submit it to paraview so hopefully paraview will have native support soon.

There is another application similar to paraview called visit www.llnl.gov/visit. I have already submitted the reader to them and there should be native support in 1.5.4 which sould be released by September.

hemph August 3, 2006 14:10

Hi Terry, I would be happy to
 
Hi Terry, I would be happy to try it. Where can I download it?

How does it differ from the PVFoamReader-module?

tj22 August 3, 2006 14:58

The purpose of my reader is to
 
The purpose of my reader is to get in incorporated into the paraview release so you wont need to build openfoam and run parafoam. Hopefully you will just be able to download the paraview binary and use it on your dataset.

It is different because it does not use OpenFOAM's libs. It reads the files directly.

I currently dont have it available for download I will have to distribute it directly.

You will need 2 files from me and to make changes to 3 files, a little complicated now but it is necessary to get it integrated into paraview.

hemph August 3, 2006 15:56

Ah, it sounds good. You can se
 
Ah, it sounds good. You can send the details to my mail if you do not want to post it here.
Out of curiosity, as my datasets frequently involves a bunch of particles. Is there any support for lagrangian particles yet?

tj22 August 3, 2006 16:03

I only looked to the file form
 
I only looked to the file format and the datasets I had so in all likelihood my reader does not support those. As far as geometry I have the internal mesh, (owner, neighbor. faces, points), boundaries, point Zones, cell zones, and face zones.

Once this reader is incorporated I would more than welcome anyone would like to try, to make changes or suggest changes and then I could resubmit it with upgraded features.

If you want to test it I will need to send you my files, would you like it sent to the email you have listed here? I assume you have built paraview from source before? It is not that difficult regardless, unless you are using windows then you need the compiler. Under linux it is a snap.

hemph August 4, 2006 02:54

No problem, I would be happy t
 
No problem, I would be happy to give a hand on the lagrangian stuff. With foamToVTK, the lagrangian data is converted to polydata with field attributes. I have built paraview before. The email address of the forum is fine.

mattijs August 4, 2006 04:03

Sounds nice. How does it handl
 
Sounds nice. How does it handle polyhedral cells (i.e. more complex than hex)? The current OpenFOAM reader decomposes these on the fly which is not nice.

If you want some sample polyhedral cells to play with let me know and I'll send some.

tj22 August 4, 2006 11:13

It does handle polyhedral but
 
It does handle polyhedral but is quite slow which is a problem inherited from VTk. I use convexpointsets. There is polyhedral in the icoDyFoam/mixer2d. actually I had to use convexpointset for polyhedral, foam Wedge and foam tetWedge as paraview has no corresponding shape for these.

Mattijs did you want to test it out also?

I will send it later today if so.

mattijs August 4, 2006 14:30

Hi Terry, convexPointSet is
 
Hi Terry,

convexPointSet is probably quite ok for small cases. If it is really easy to build I wouldn't mind giving it a quick go (I'm running Paraview 2.4.4).

tj22 August 8, 2006 09:53

I found a small bug. I am goi
 
I found a small bug. I am going to correct it and make up a quick doc on how to build it into paraview and I will email it to you both.

deinstein August 8, 2006 11:21

I would be very interested in
 
I would be very interested in the Paraview reader as well and would love to get a copy.

tj22 August 8, 2006 12:19

Ok I will add you to the list.
 
Ok I will add you to the list. I am finishing it up now.

irc August 8, 2006 12:37

Terry - I am interested in a W
 
Terry - I am interested in a Windows port. Currently, Brooks has ported OpenFOAM to Cygwin, but there is no port of the OpenFoam version of paraview (paraFOAM) to Cygwin. I'd be interested in trying to get this built. What else is needed - you mentioned that you need "th compiler".

tj22 August 8, 2006 13:42

A compiler I believe at least
 
A compiler I believe at least Windows C++ 6.0 or .NET. Regardless I will forward the changes to you. So get the paraview source make the changes (I am sending you) and build paraview.

olesen August 25, 2006 04:38

Hi Terry, Could you please
 
Hi Terry,

Could you please add me to the list and let me know where I can find the reader modules. It sounds inordinately useful.

/mark

tj22 August 25, 2006 16:22

Mark if you can wait a week or
 
Mark if you can wait a week or so you can just get it from the paraview cvs.

deepsterblue September 25, 2008 15:01

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.

http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif VisItPlugin.tar.gz


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