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

Proper Load balancing in OF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2011, 18:58
Default Proper Load balancing in OF
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
Hii,

While decomposing my domain of 3.4 million cells into 64 processors, the cells do not get distributed evenly. While in some processors around 26000 cells are allocated, while for some around 70000. This makes it slower than that using 32 processors, and I assume this is due to this load impalance.

Can you please let me know a way to get around this, so that I can get almost equal number of cells in each processors.
Tarak is offline   Reply With Quote

Old   February 19, 2011, 03:33
Default
  #2
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 16
FG_HSRM is on a distinguished road
Hi Tarak

Until now I have no idea, but you should post your decomposeDict.
FG_HSRM is offline   Reply With Quote

Old   February 19, 2011, 03:40
Default my decomposeParDict file
  #3
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 64;

method simple;

simpleCoeffs
{
n ( 8 4 2 );
delta 0.001;
}

hierarchicalCoeffs
{
n ( 2 1 1 );
delta 0.001;
order xyz;
}

metisCoeffs
{
}

manualCoeffs
{
dataFile "";
}

distributed no;
roots ( );


// ************************************************** *********************** //
Tarak is offline   Reply With Quote

Old   February 19, 2011, 06:41
Default
  #4
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 16
FG_HSRM is on a distinguished road
Quote:
Originally Posted by Tarak View Post
Hii,
...almost equal number of cells in each processors.
Try to replace simple by metis, everything else should be fine.
You also can try scotch, but than you have to add:
scotchCoeffs
{
processorWeights ()
}
A detailed description you can find in the UserGuide.
FG_HSRM 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
Load balancing pre- and during computation madad2005 OpenFOAM 1 October 29, 2009 05:23
load balancing in parallel computation shyamdsundar Main CFD Forum 0 September 2, 2009 23:53
OpenFOAM and load balancing gallay OpenFOAM Installation 1 March 20, 2008 01:21
Hanging node grid + load balancing in parallel??? Phil FLUENT 0 February 15, 2008 08:38
Using load vector for parallel partitioning Kevala FLUENT 0 May 1, 2001 12:11


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