CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case

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

Like Tree2Likes
  • 2 Post By romant

Reply
 
LinkBack Thread Tools 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: Stockholm, Sweden
Posts: 366
Rep Power: 13
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, 18:49
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,556
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 94 views)
__________________
wyldckat is offline   Reply With Quote

Old   April 7, 2014, 07:25
Default
  #3
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 366
Rep Power: 13
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 08:16. Reason: solution found
romant is offline   Reply With Quote

Old   April 7, 2014, 15:42
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,556
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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



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