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

decomposePar problem: Wrong number of processor divisions in geomDecomp

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By alexeym
  • 1 Post By kera

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2015, 22:11
Default decomposePar problem: Wrong number of processor divisions in geomDecomp
  #1
New Member
 
Eugene
Join Date: Dec 2015
Posts: 2
Rep Power: 0
pozied is on a distinguished road
Need help in solving this problem after I keyed in decomposePar

Selecting decompositionMethod simple


--> FOAM FATAL ERROR:
Wrong number of processor divisions in geomDecomp:
Number of domains : 2
Wanted decomposition : (5 2 1)

From function geomDecomp::geomDecomp(const dictionary& decompositionDict)
in file geomDecomp/geomDecomp.C at line 50.

FOAM exiting

Anyone knows what's the problem?

pozied is offline   Reply With Quote

Old   December 9, 2015, 01:45
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

The error is explained in error message. You set number of subdomains (numberOfSubdomains) to 2, yet your simpleCoeffs dictionary contains

Code:
n           (5 2 1);
which corresponds to 10 subdomains (i.e. 5 divisions in X-direction and 2 in Y-direction).
alexeym is offline   Reply With Quote

Old   November 23, 2017, 09:54
Default
  #3
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
I have similar error.

Code:
--> FOAM FATAL ERROR: 
Wrong number of processor divisions in geomDecomp:
Number of domains    : 8
Wanted decomposition : (5 2 1)

    From function geomDecomp::geomDecomp(const dictionary& decompositionDict)
    in file geomDecomp/geomDecomp.C at line 50.

FOAM exiting
The decomposition matches total number of domains, yet the error. Why?
deepbandivadekar is offline   Reply With Quote

Old   November 23, 2017, 09:56
Default
  #4
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
Quote:
Originally Posted by alexeym View Post
Hi,

The error is explained in error message. You set number of subdomains (numberOfSubdomains) to 2, yet your simpleCoeffs dictionary contains

Code:
n           (5 2 1);
which corresponds to 10 subdomains (i.e. 5 divisions in X-direction and 2 in Y-direction).
Did you mean 8 subdomains ?
deepbandivadekar is offline   Reply With Quote

Old   November 23, 2017, 10:28
Default
  #5
Member
 
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 11
kera is on a distinguished road
Quote:
Originally Posted by deepbandivadekar View Post
Did you mean 8 subdomains ?
Hallo,

the way you defined your n "(5 2 1)" corresponds to 10 subdomains.

for 8 subdomains you need to define n as "(4 2 1) or (2 4 1) or (2 2 2) or ...".

Regards
Ricky
sourav90 likes this.
__________________
If it is easy, then something is fishy!

Last edited by kera; November 23, 2017 at 12:22.
kera is offline   Reply With Quote

Old   November 23, 2017, 11:04
Default
  #6
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
Ohh! It's not the addition but multiplication.

This excerpt from the wiki for decomposePar clarified it.
Quote:
method specifies the method used to decompose the domain. Available methods are:
  • simple: it decomposes the domain in equal parts according in the directions specified in the corresponding subdictionary simpleCoeffs. For example, do decompose a case in 4 parts in the x direction, n has to be set to (4 1 1). To split the domain into 8 parts, 4 in the x direction and 2 in the z direction, n has to be set to (4 1 2).
Thnaks for this clarification. However, this raises the question why it is not addition according to this wiki explanation.
deepbandivadekar is offline   Reply With Quote

Old   September 5, 2020, 07:47
Default
  #7
New Member
 
Arne Knies
Join Date: Jun 2020
Posts: 1
Rep Power: 0
arkn is on a distinguished road
Quote:
Originally Posted by deepbandivadekar View Post
Ohh! It's not the addition but multiplication.

This excerpt from the wiki for decomposePar clarified it.
Thnaks for this clarification. However, this raises the question why it is not addition according to this wiki explanation.

Hi,
I'm not sure whether i understood your question correctly, but to me the wiki explanation seems just fine. Maybe imagining a chessboard might help: It's divided 8-fold in x- and y-direction, respectively. So the notation for n would be (8 8 1), multiplying to 64 squares (or hexahedra, accounting for z domain).


Hope, this helps someone.
arkn is offline   Reply With Quote

Reply

Tags
decomposepar, openfoam 2.3


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
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
ERROR #001100279 has occurred in subroutine ErrAction. smnaryal CFX 11 December 20, 2017 16:32
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 03:58
decomposePar pointfield flying OpenFOAM Running, Solving & CFD 28 December 30, 2013 15:05
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 04:49


All times are GMT -4. The time now is 00:26.