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

multiregional russian dolls defeat decomposepar?

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

Like Tree1Likes
  • 1 Post By derekm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2014, 18:40
Default multiregional russian dolls defeat decomposepar?
  #1
Senior Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13
derekm is on a distinguished road
II am using CHTmultiregion in op 2.3, with scotch. There are 5 regions nested like russian dolls. I find there is insufficient cells in the innermost region for to be split by the number of processors needed for the outermost region. This situation means vast processing times.
innermost region has 2 000 cells outermost region 700 000

Can i use different numbers of processors for each region? or is there another solution?
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET
derekm is offline   Reply With Quote

Old   May 4, 2014, 07:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings Derek,

You can control the processor weights. Have a look into the file indicated by this command:
Code:
echo $FOAM_UTILITIES/parallelProcessing/decomposePar/decomposeParDict
In the section for the scotch coefficients, you can control the weight to be assigned to each processor. I've never used it myself, so I don't know if a weight of 0.0 can be used or not.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 4, 2014, 12:12
Default
  #3
Senior Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13
derekm is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Derek,

You can control the processor weights. Have a look into the file indicated by this command:
Code:
echo $FOAM_UTILITIES/parallelProcessing/decomposePar/decomposeParDict
In the section for the scotch coefficients, you can control the weight to be assigned to each processor. I've never used it myself, so I don't know if a weight of 0.0 can be used or not.

Best regards,
Bruno
many thanks ... changing the number of subdomains in a region from case level number causes a error in CHTmultiregionfoam.A 0 in the processor weights causes a segmentation fault in decomposepar. I then used a highnumber for processors I wanted (e.g. 10000) and 1 for those other processors in the regional decomposepardict. This seems to work
Code:
scotchCoeffs

{
    processorWeights (10000  1 1 1 1 1);
}
wyldckat likes this.
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET

Last edited by derekm; May 4, 2014 at 16:18.
derekm is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar 4-core warning/error? Boloar OpenFOAM Bugs 23 April 8, 2014 09:57
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27


All times are GMT -4. The time now is 06:56.