CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

decomposePar over several disks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2011, 15:15
Default decomposePar over several disks
  #1
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Greeting Foam Users,

I'm working on parallelization some of our cases and solvers and was looking to ask questions about distributing data over several disks. I have two multi-core machines I have made into "cluster" and am testing decomposed cases. Just using the built in network cards to communicate (these are Dell Precision T5500 with Broadcom BCM5761 and an ethernet crossover cable). what are some tips to reduce the overhead so that communication quick, or some inexpensive modifications that I could make to improve performance.

I was also curious about different methods for domain decomposition. Specifically, how the manual option works (with examples if possible), and if the simple/hierarchical methods can be controlled by subdomain (ie, after the first division of a domain in two equal parts, can I further subdivide one of the sub-domains)?

Thanks!

Last edited by mturcios777; October 17, 2011 at 20:03. Reason: Added question about manual method and sub-domain control
mturcios777 is offline   Reply With Quote

Old   October 18, 2011, 17:12
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Marco,

I'm going to have to be quick... so here goes...

The documented version of said dictionary can be found this way:
Code:
find $WM_PROJECT_DIR/applications -name decomposeParDict
Here you'll find a lot about this dictionary

All other examples can be found this way:
Code:
find $WM_PROJECT_DIR/tutorials -name decomposeParDict
As for dumping the cell<->processor association, I believe this should help: http://openfoamwiki.net/index.php/Ti...gisteredObject

As for a whole lot of other notes about OpenFOAM+parallel: http://www.cfd-online.com/Forums/blo...-parallel.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 19, 2011, 12:59
Default
  #3
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Many thanks!
mturcios777 is offline   Reply With Quote

Old   October 20, 2011, 18:07
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
There was a message here about ParaView having a "decomposed case" option, but that has since been deleted. I looked at my current version of ParaView (3.10.1) and was not able to finde the decomposed case option. Does anyone else know about this?

With the paraFoam -touch option, I am able to load all the processors into one instance of ParaView and do post-processing on the entire domain. The only problem is that application of filters has to be done on each processor in turn. Fine for domains of 5 processors or less, but this could get unwieldy (at least the way I'm doing it). We can apply multiple filters to single sources, can we apply a single filter and take as input multiple sources?
mturcios777 is offline   Reply With Quote

Old   October 20, 2011, 18:44
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Marco,

Quote:
Originally Posted by mturcios777 View Post
There was a message here about ParaView having a "decomposed case" option, but that has since been deleted. I looked at my current version of ParaView (3.10.1) and was not able to finde the decomposed case option. Does anyone else know about this?
Strange... why would it be deleted? Wasn't it moved?
But if you are using OpenFOAM 2.0, run paraFoam like this:
Code:
paraFoam -builtin
It will open the case with the internal reader that ParaView has, namely using the file extension ".foam", instead of ".OpenFOAM".

Quote:
Originally Posted by mturcios777 View Post
With the paraFoam -touch option, I am able to load all the processors into one instance of ParaView and do post-processing on the entire domain. The only problem is that application of filters has to be done on each processor in turn. Fine for domains of 5 processors or less, but this could get unwieldy (at least the way I'm doing it). We can apply multiple filters to single sources, can we apply a single filter and take as input multiple sources?
There's a filter that will join multiple sources into a single source... I think it's "Group Datasets". Then you can simply manipulate the resulting object.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 21, 2011, 12:57
Default
  #6
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Beautiful. I need to play with that feature a bit more, as it seems to have some trouble synchronizing the time directories (it only gives me 0, 0.1111... and 1). The group datasets feature does what I need, albeit with a little bit more work; I'll use it until I can get the built-in reader to work properly.

Much thanks!
mturcios777 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
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 05:27
decomposePar: can use this decomposition method only for the whole mesh aloeven OpenFOAM Bugs 0 March 16, 2011 10:15
Strange behaviour 1.6 decomposePar vs 1.7 decomposePar BlueyTheDog OpenFOAM 7 January 16, 2011 18:12
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
axisymmetric model of two rotating disks cavity liaolingling FLUENT 0 April 27, 2005 04:24


All times are GMT -4. The time now is 18:45.