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

[OpenFOAM] ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By romant

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2014, 04:59
Default ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case
  #1
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
Hej,

I installed OpenFOAM 2.3 and paraview 4.10 that comes with the new openfoam. I then ran one of my cases which is a multiregion case in decomposed state with chtMultiRegionSimpleFoam. Then I start paraview through
Code:
paraFoam -region WATER
it starts all fine, however the option for decomposed case is missing. When I start
Code:
paraFoam -region WATER -builtin
it also starts, the option for decomposed case is present, however, then paraview does not look into the processor1/constant/WATER/polymesh but into processor1/constant/polymesh

The question is, does anybody know how to use multiregion with a decomposed case without having to recompose it? I also tried using the paraview 4.01 (which comes with ubuntu 13.10) in connection with just calling the foam file case{WATER}.foam , there the option for decomposed is also present, however, it also has the same error that it wants to look for the polymesh not in the region file, but in the folder one level up.
__________________
~roman
romant is offline   Reply With Quote

Old   April 5, 2014, 19:49
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi Roman,

The built-in plugin does not rely in special names like the official plugin. As shown in the attached image, you have direct control access to the multiple regions, by simply using:
Code:
paraFoam -builtin
Best regards,
Bruno
Attached Images
File Type: png Screenshot from 2014-04-05 23:46:22.png (50.5 KB, 137 views)
__________________
wyldckat is offline   Reply With Quote

Old   April 7, 2014, 08:25
Default
  #3
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Roman,

The built-in plugin does not rely in special names like the official plugin. As shown in the attached image, you have direct control access to the multiple regions, by simply using:
Code:
paraFoam -builtin
Best regards,
Bruno
Hej Bruno,

I saw that as well, however, I always get an error message
Code:
 p, li { white-space: pre-wrap; }  /home/roman/Desktop/Gallego/SteadyState_RomanMod_kEpsilon_Ferlin/processor39/constant/polyMesh/faces.gz: Can't open. If you are trying to read a parallel decomposed case, set Case Type to Decomposed Case.
 

 

 ERROR: In /home/opencfd/OpenFOAM/ParaView-4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754
 vtkCompositeDataPipeline (0x6d348a0): Algorithm vtkOpenFOAMReader(0x2595ca80) returned failure for request: vtkInformation (0xfd77170)
   Debug: Off
   Modified Time: 455183
   Reference Count: 1
   Registered Events: (none)
   Request: REQUEST_DATA
   ALGORITHM_AFTER_FORWARD: 1
   FROM_OUTPUT_PORT: 0
   FORWARD_DIRECTION: 0
and it seems that paraview still does not look into the right folders in order to find the mesh. I tried using only internalMesh, only WATER/internalMesh, and also only the solid part as a mesh in the mesh region selection. The part that I highlighted does of course not exist. However, instead of constant/polymesh, I of course have the different mesh regions there like constant/WATER/polymesh.

Edit:

found the error. In the non-decomposed version, there was a polymesh and boundary data, which of course shouldn't be there. Because it was in the non-decomposed one, it was also looking for them in the decomposed version.
wyldckat and TinaB like this.
__________________
~roman

Last edited by romant; April 7, 2014 at 09:16. Reason: solution found
romant is offline   Reply With Quote

Old   April 7, 2014, 16:42
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi Roman,
Quote:
Originally Posted by romant View Post
Edit:

found the error. In the non-decomposed version, there was a polymesh and boundary data, which of course shouldn't be there. Because it was in the non-decomposed one, it was also looking for them in the decomposed version.
Many thanks for sharing this information!

Best regards,
Bruno
wyldckat 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] Decomposed multiregion cases in Paraview with native reader Yann ParaView 2 January 16, 2019 06:48


All times are GMT -4. The time now is 01:17.