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

[OpenFOAM] Decomposed multiregion cases in Paraview with native reader

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By Yann
  • 1 Post By wyldckat
  • 2 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2018, 10:40
Default Decomposed multiregion cases in Paraview with native reader
  #1
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,200
Rep Power: 28
Yann will become famous soon enough
Hello all,

I'm facing a problem to post-process decomposed multiregion cases (chtMultiRegionSimpleFoam) with Paraview.
I use OpenFOAm-v1806 on a remote machine, so I cannot use paraFoam but only Paraview's native reader for OpenFOAM.

When I load my case, I select Case Type: "Decomposed Case", the reader loads the internal meshes of all the regions it finds and it works just fine.
But if I uncheck some regions (for instance to work only with one region), the internalMesh fails to load : I only get parts of the mesh like if it failed to load some processors subdomains. (I use Scotch decomposition with the same number of subdomains in every region)
I get this error from Paraview:

Code:
vtkMultiBlockDataSet (000000000DF127D0): Structure does not match. You must use CopyStructure before calling this method.
I tried it with Paraview 5.5.2, 5.0.1 and 4.1.0 and I get the same behavior in the 3 versions.


I've uploaded screenshots of the multiRegionHeaterRadiation tutorial to illustrate the issue. First image is from the reconstructed case and shows the topAir region as it's supposed to be. The second image is what I get when I load the topAir region as a decomposed case.

It thought I could load the whole case in paraView and then use the "extract block" filter in paraView to extract only the region I want to work with but it doesn't work. I get what is on the 3rd image. It looks like paraview mixes up regions from the different processors subdomains.

Any idea where does the problem come from or how to load regions individually in ParaView?
Is it a bug in the reader or something wrong with the case?

PS: I have to work with large cases so reconstructing the case is not an option.
Attached Images
File Type: jpg screen_topAir_reconstructedCase.jpg (74.0 KB, 15 views)
File Type: jpg screen_topAir_decomposedCase.jpg (32.1 KB, 15 views)
File Type: jpg screen_extractBlock.jpg (51.4 KB, 18 views)
kaifu likes this.

Last edited by Yann; December 14, 2018 at 10:43. Reason: Added screenshots
Yann is offline   Reply With Quote

Old   December 19, 2018, 19:46
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick note: This is likely a limitation/bug in the internal reader. Please ask about this at https://discourse.paraview.org/c/paraview-support and if possible ping the forum member "olesenm" (Mark) there, because he's been doing the more recent updates to the internal reader in VTK/ParaView and should be able to look into this issue.
Yann likes this.
__________________
wyldckat is offline   Reply With Quote

Old   January 16, 2019, 06:48
Default
  #3
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,200
Rep Power: 28
Yann will become famous soon enough
Thanks Bruno for the tip!

As you suggested, I posted this on the paraview support forum.
For those who are interested in this issue, here is the post : https://discourse.paraview.org/t/ope...i-region-cases

Long story short: the internal reader works perfectly fine but the issue seems to be related to the disk filesystem. The case fails to be loaded when it is written on a FAT32 or ZFS disk and I have no idea why. Or at least this is what I think to have understood from the tests I have done.

If anyone encounters the same issue or can deny/confirm this, feel free to contribute !


Yann
wyldckat and granzer like this.
Yann is offline   Reply With Quote

Reply


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 ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
[OpenFOAM] Native VisIt Reader Bugs tj22 ParaView 8 November 8, 2013 05:21
[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 16:52.