CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Issue Involving Paraview

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

LinkBack Thread Tools Display Modes
Old   October 30, 2010, 13:25
Senior Member
mturcios777's Avatar
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 728
Rep Power: 20
mturcios777 will become famous soon enough
Thanks Bruno. FoamToVTK is a little impractical with the setup I have going. After a little more digging, I found that it depends on the data fields I have loaded, some of which aren't calculated for all time steps. Therefore it seems like a plug-in bug.

Has anyone else used the vanilla ParaView 3.8.1 with OF 1.6, and if so what adjustments or tweaks have you had to make for it to work seamlessly? I like the stability of 3.8.1 in general and would like to use it as the default.
mturcios777 is offline   Reply With Quote

Old   October 31, 2010, 02:28
Super Moderator
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 12
7islands is on a distinguished road
Hi Marco and Bruno,

@Marco: I see the problem with PV 3.8.1 (and only with 3.8.1, but not with 3.8.0 nor 3.9.0) too with a minor difference being I always see the problem regardless of what field I load. If we are discussing the same problem nonetheless, Merge Blocks should work.

Originally Posted by wyldckat View Post
Hi Marco,
Try using foamToVTK to generate the outputs in VTK format and see if the same problem occurs, when opening in ParaView the resulting VTK files.

If the same problem occurs, then it's a ParaView bug. If not, it's the plug-in's bug.
In fact, ParaView is a complex system thus sometimes the problem is not so bisectional. In my case, by comparing git logs of the first significant occurrence of ParaView classes in the backtrace
#28 0x00007ffff7b59e9d in pqSelectionInspectorPanel::updateSelectionGUI() ()
between PV 3.8.0/3.8.1/3.9.0, we find a commit that is in PV 3.9
commit 9cd0f355d03600e97b9b082dee0fa73ec62c4cac
Date:   Thu May 20 15:09:22 2010 -0400
    BUG: Fixed a endless loop bug with multiblock data.
but is missing from PV 3.8.1. I didn't elaborate to do a cherry-pick test for this, but since the crash is not immediate but occurs after several seconds of lockup I suspect this is most likely what fixed the problem in PV 3.9. Indeed, if I run Select Cells after running Merge Blocks to convert the multiblock reader output to a single unstructured grid, it works as expected. One may conclude this is a reader bug since the problem does not occur with the VTK data (which is of unstructured type), but was (most likely) a ParaView bug.

7islands is offline   Reply With Quote

Old   October 31, 2010, 09:29
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,679
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Hi Takuya,
Originally Posted by 7islands View Post
In fact, ParaView is a complex system thus sometimes the problem is not so bisectional.
I completely forgot that ParaView/VTK has multiple grid systems If I hadn't forgotten about it, I would have suggested that it could still be a bug in ParaView itself.
My apologies to you Takuya, for not fully thinking it through.

Best regards,
wyldckat is offline   Reply With Quote


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
OpenFOAM 1.6 and ThirdParty Software Paraview dunlopjp OpenFOAM Installation 0 February 24, 2010 12:35
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59
Animating Lagrangian Particles in ParaView xiao OpenFOAM Paraview & paraFoam 4 April 8, 2008 02:24
ParaView patch visualisation error in Development version philippose OpenFOAM Paraview & paraFoam 17 March 26, 2007 06:45

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