CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Native ParaView Reader Bugs

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2008, 11:37
Default Hi Frank, Does it work with
  #21
Senior Member
 
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17
jens_klostermann is on a distinguished road
Hi Frank,

Does it work with the /system/controlDict (without the controlDict.foam)?
Choose File -> Open -> Files of Type -> All Files (*)
and than OpenFoam. (all the way down!)

Jens
jens_klostermann is offline   Reply With Quote

Old   January 23, 2008, 11:48
Default Hi Jens, That seems to wor
  #22
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Hi Jens,

That seems to work! Apparently the compilation process was successful.

What does not work are the time dirs.....How do I visualise those ??

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   January 23, 2008, 11:50
Default Never mind, it works! thanks J
  #23
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Never mind, it works! thanks Jens,

Frank

ps: The time dirs are on a different tab compared to 2.4.
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   January 23, 2008, 12:07
Default Hi Frank, so it look like y
  #24
Senior Member
 
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17
jens_klostermann is on a distinguished road
Hi Frank,

so it look like your links "system/controlDict.foam" are at the wrong place or pointing to the wrong place?

Jens

PS. Paraview-3.3.0 rocks!!
jens_klostermann is offline   Reply With Quote

Old   January 23, 2008, 14:46
Default Hi, Paraview 3.3.0 is real
  #25
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Hi,

Paraview 3.3.0 is really fast !! It looks so much better, and more efficient (less clicks for same result).

The only thing what I miss is the interpolated point values to visualise smooth pressure and velocity. Now I use the "cell data to point data" filter, which works fine, but this is somewhat tedious when visualising different patches and different cell sets.....

Altogether it works very very well !!!

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   January 23, 2008, 14:55
Default Hi Frank, Good Evening! And
  #26
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hi Frank,

Good Evening! And good to see you active again after a fairly long period of "apparent hibernation" :-)!

Could you expand a little on what you exactly meant, when you mentioned that its tedious to visualise different patches and cell sets using the "cell data to point data" filter in Paraview 3.3.0 ?

It would be great to get some feedback from everyone using the OpenFOAM reader for Paraview 3.x.x, to see what needs to be improved, what features need to be added, and which bugs need to be looked into.... :-)!

One question regarding Paraview 3.3.0 ... have you tried using the "Lookmark" feature in PV 3.3.0, with for example, the colour bar (legend) turned on, the data scaled to a specific range, and positioned at a specific view?

It seems to me, that the lookmarks generated by PV3 are much more primitive than the ones generated by the PV2 versions.... On loading a lookmark, I dont get back everything that was present in the scene when the lookmark was made.

Have you had the same problems too?

Regards,

Philippose
philippose is offline   Reply With Quote

Old   January 23, 2008, 15:45
Default Hi Philippose! Concerning
  #27
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Hi Philippose!

Concerning the hibernation period, I've been quit busy working on the improvement of the moving mesh methods. Right now, some nice results are within reach and the new paraview may be what I need.

What I mean by tedious is that, CellDataToPointData doesn't contain the patches. When visualising the data on a patch I need to use ExtractDataSets which only shows the blocks....It is a minor issue, everything (what I need) seems to work fine....

I'm not familiar with the lookmarks, but it seems to work fine with me. When I find any more problems, I'll post it here....

Furthermore, at first paraview 3.3.0 seems less responsive when the case is very large, I will test this in more detail....For extremely large cases, is there a way to run paraview in batch-mode to create the figures of each time separately. How to use the parallel paraview on a cluster with pbs queue-ing system ?

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   January 23, 2008, 17:53
Default Hello again Frank, A quick
  #28
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello again Frank,

A quick remark regarding your reply.....

In the latest reader from Takuya (which is posted in this thread), if you open an OpenFOAM case, and as the first operation if you run the "Cell Data to Point Data" filter on the mesh data, from then on, you should be able to view the patches as point data.

I havent had to use ExtractDataSets in Paraview 3.3.0 in order to view patches....

Anyway, here are a couple of screenshots....









Are we talking about the same thing :-)!? Or have I completely mis-understood you ??

Regards,

Philippose
philippose is offline   Reply With Quote

Old   January 24, 2008, 02:58
Default Hi Philippose, I have some
  #29
Senior Member
 
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17
jens_klostermann is on a distinguished road
Hi Philippose,

I have some problems with the lookmark tool:

If I create one I get an error message Source deleted with outputs attached. But this error is hard to reproduce.

I confirm that it is quite slow for larger cases but I think still faster than the paraview-2 versions.

improvements for me are:
-the Annotate Time filter
-Annotation "Show cube axes" they fit now with the geometry

some annoying thinks are:
-the color of the annotations is set to white per default, and I don't know where to change the default
-with "Show cube axes" per default the y- and z-axis are relative to the x-axis, This can't be changed at the moment. Right now I take the Transform Filter to solve this issue.
-the Offsets in the Slicing/Cutting Filter have no clear reference to the geometry Data. The frame of reference for the Slicing/Cutting Filter is not the same as for the geometry. So I have to transform it by hand which sucks.

But still I like the new paraview-3.3.x

Jens
jens_klostermann is offline   Reply With Quote

Old   January 24, 2008, 05:18
Default Hi Philippose, In the prop
  #30
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Hi Philippose,

In the properties tab from controlDict, all mesh regions (the patches) are available as well as the cell arrays for p and U.

When I create a "cellDataToPointData" filter on controlDict, I see nothing (only a button ("pass cell to data"), so I cannot select the patches of this "cellDataToPointData" filter.

Of course I should keep all patches and Inernal Mesh active in controlDict in order to visualise slices i.e.

Any ideas on how to active the patches in the "cellDataToPointData" filter ?

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   January 24, 2008, 06:26
Default Hello again, Okkk... first
  #31
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello again,

Okkk... first and foremost :-)! I was actually asking for feedback from users who use the "OpenFOAM reader in" paraview 3.x.x, and not the bugs and shortfalls of Paraview 3.x.x itself :-)! Though... no problems... if anyone involved in the development of Paraview is reading these posts, it would help.

And as for visualisation of the patches.... in Paraview 3.3.0, if you change the patch selection in the properties tab of "controlDict.foam", and press the "Accept" button, these changes are automatically carried down to all the downstream filters....

So... if you make the controlDict.foam tab (which contains the "cell" data) invisible (by clicking on the eye to the left of it), then change the patch selections, and finally press the "Accept" button, the "CellDatatoPointData" filter will only display the patches that are enabled in the "controlDict.foam" tab.

If you are still not clear, maybe I can try to come up with a short video using "Wink" :-)!

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   January 24, 2008, 07:12
Default Thanks for your time! In my op
  #32
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Thanks for your time! In my opinion, paraview 3.3 is already very well suitable for the use with openfoam. Still I have a small problem when visualising a slice (cut) and the patches.

When I create a cut plane (i.e. to show contours) I need all patches selected in controlDict (especially Internal Mesh). Therefore, I have no success in generating a cut plane AND some patches (without the internal mesh).

Summarising:
1) For the patches: I need to switch off all patches in controlDict except the ones to visualise.
2) For the cut plane: I need to switch on all patches in controlDict, especially Internal Mesh.

I could be that I am not yet fully mastering the basic paraview features....any more ideas?

Good day to you too!!

Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   March 19, 2008, 08:16
Default Hi ParaView3 users, As a rece
  #33
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 ParaView3 users,
As a recent overhaul in the dataset API of the ParaView 3.3 CVS head made the previous (20071023) version of the reader unusable, I made necessary changes to support the new API, in addition to some updates, to the reader, which resulted in a new release here.

The reader now supports the CVS head newer than Feb. 16, 2008 and the 3.2.1 released version. Major changes from the previous version are as follows.

Technical changes: The reader now
  • has a builtin cell data to point data filter (not as accurate as the volPoint interpolator in paraFoam but better than the one in ParaView, see Notes).,
  • decomposes polyhedral cells (so that you don't have to tetrahedralize).
  • supports all combinations of vol/point/lagrangian-Scalar/Vector/SphericalTensor/SymmTensor/Tensor fields.
  • handles all fields and point coordinates in single precision for performance and memory footprint reasons.
  • has several Mac OS X Leopard specific (but should somewhat work for other OSes too) performance improvements for mid-large cases (> 2-3 million cells).
  • outputs empty patches as zero-sized datasets. So you have to have a valid patch definition for every patch even e. g. for defaultFaces with nFaces 0. This change was made to keep the behavior of Extract Block filter as consistent as possible for topo-change cases.
Usability changes: Now you
  • can open either an empty stub file <casename>.foam right under the case directory, where <casename> is an arbitrary string other than the strings that starts with "controlDict," or the symbolic link system/controlDict.foam (to system/controlDict) to load an OpenFOAM case. So if you use the stub files you can distinguish the cases in the Pipeline Browser when multiple cases are loaded simultaneously.
  • no longer have to create the lagrangian/ subdirectory under the initial timestep directory to load a case with Lagrangians.
  • won't see a blank white geometry after loading a case, since the reader now colorize with an appropriate scalar variable (typically CellToPoint/p).
Others:
  • Lots of small fine tunings and bug fixes in many corner cases.
Please have a careful look through
ReleaseNotes
before proceeding, and try if you think it's worth trying.
vtkOpenFOAMReader-20080318.tar.bz2
I'd like to express my thanks again to Philippose Rajan for testing the code and having interesting and important discussions.

Regards,
Takuya
7islands is offline   Reply With Quote

Old   March 20, 2008, 08:29
Default And here's a paraFoam-like scr
  #34
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
And here's a paraFoam-like script, pvFoam, to launch ParaView and load a case with the reader. You have to adjust the paraviewPath variable at line 34 to the path to ParaView. pvFoam Takuya
7islands is offline   Reply With Quote

Old   March 26, 2008, 01:02
Default Hi again ParaView3 Users, I
  #35
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 again ParaView3 Users,

I noticed a rather silly compatibility problem with the Calculator filter, the detail of which is described here, after the release of the 20080318 version. I believe this is a bug in ParaView but anyway the confusing "CellToPoint/" and "Lagrangian/" prefixes had to be changed. Apologies for this frequent update.

Technical change:
  • The naming schemes of point filtered arrays and Lagrangian arrays have been changed from CellToPoint/arrayName and Lagrangian/arrayName to CellToPoint[arrayName] and Lagrangian:arrayName so that the array names don't confuse the Calculator filter.
Usability change:
  • Now you don't have to create a time directory only for viewing mesh under the constant subdirectory.
Other:
  • Added a simple Python scripting example (pythonExample.py).
Here are and.

Takuya
7islands is offline   Reply With Quote

Old   March 26, 2008, 01:04
Default Hi again ParaView3 Users, I
  #36
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 again ParaView3 Users,

I noticed a rather silly compatibility problem with the Calculator filter, the detail of which is described here, after the release of the 20080318 version. I believe this is a bug in ParaView but anyway the confusing "CellToPoint/" and "Lagrangian/" prefixes had to be changed. Apologies for this frequent update.

Technical change:
  • The naming schemes of point filtered arrays and Lagrangian arrays have been changed from CellToPoint/arrayName and Lagrangian/arrayName to CellToPoint[arrayName] and Lagrangian:arrayName so that the array names don't confuse the Calculator filter.
Usability change:
  • Now you don't have to create a time directory only for viewing mesh under the constant subdirectory.
Other:
  • Added a simple Python scripting example (pythonExample.py).
Here are ReleaseNotes and vtkOpenFOAMReader-20080324.tar.bz2 .

Takuya
7islands is offline   Reply With Quote

Old   March 29, 2008, 08:11
Default Hi, at first thanks for thi
  #37
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17
stephan is on a distinguished road
Hi,

at first thanks for this great reader!!!
i experienced some trouble visualizing lagrangian data. maybe somebody might explain how to do this with the new reader - is this working for binary lagr. data too?
thanx in advance
regards
stephan
stephan is offline   Reply With Quote

Old   March 29, 2008, 08:21
Default hi, i am actually asking si
  #38
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17
stephan is on a distinguished road
hi,

i am actually asking since i get errors like this:

ERROR: In /home/foam13/OpenFOAM/linux/ParaView3/VTK/IO/vtkOpenFOAMReader.cxx, line 5736
vtkOpenFOAMReader (0x871e620): Error reading line 28 of /home/foam13/OpenFOAM/foam13-1.4.1/run/reaktor/1/lagrangian/positions: Expected punctuation token ')', found ���Mb`?���R!��?0
so i am not sure if i do something wrong or if the reader cant handle binaries?
thanks
stephan
stephan is offline   Reply With Quote

Old   March 29, 2008, 08:48
Default Hi Stephan, With which OF ver
  #39
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 Stephan,
With which OF version did you run the case? The reader only supports lagrangian data created by OF version 1.4 or later (maybe I should have written that in the ReleaseNotes).

If the case is run with OF 1.4 or later, would it be possible to send me the problematic positions file? (just a single file will be fine)

Takuya
7islands is offline   Reply With Quote

Old   March 29, 2008, 11:34
Default Hi Takuya, the file should
  #40
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17
stephan is on a distinguished road
Hi Takuya,

the file should reach you in second. actually every binary position file seems to show the same problem?!
thanks for helping me!
best regards
stephan
stephan 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] Extract Block with paraview native reader kandelabr ParaView 4 August 30, 2021 02:28
[OpenFOAM] Decomposed multiregion cases in Paraview with native reader Yann ParaView 2 January 16, 2019 05:48
Updated native OpenFOAM reader for ParaView 5.3 opencfd OpenFOAM Announcements from ESI-OpenCFD 4 July 13, 2017 10:14
[OpenFOAM] Native VisIt Reader Bugs tj22 ParaView 8 November 8, 2013 04:21
[OpenFOAM] Paraview Windows VTK Reader trex930 ParaView 0 November 3, 2010 19:31


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