CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Parallel simulation (http://www.cfd-online.com/Forums/openfoam-pre-processing/116682-parallel-simulation.html)

pannsave April 23, 2013 05:35

Parallel simulation
 
Hi Everyone,

I am just runing my simulation in parallel. but I could not succeed the simualtion due to the following error message

--> FOAM FATAL ERROR:
Wrong number of processor divisions in geomDecomp:
Number of domains : 32
Wanted decomposition : (2 2 1)
From function geomDecomp::geomDecomp(const dictionary& decompositionDict)
in file geomDecomp/geomDecomp.C at line 50.
FOAM exiting..


I am going to use total number of 32 processors and my composerParDict is follows

numberOfSubdomains 32;
method simple;
simpleCoeffs
{
n ( 2 2 1 );
delta 0.001;
}
hierarchicalCoeffs
{
n ( 1 1 1 );
delta 0.001;
order xyz;
}
metisCoeffs
{
processorWeights ( 1 1 1 );
}
manualCoeffs
{
dataFile "";
}
distributed no;
roots ( );

I have writen composerParDict based on DamBreak tutorial. I would be thankful to you if you have any suggestions for this error.

Panneer

A.Wendy April 23, 2013 06:13

Quote:

Originally Posted by pannsave (Post 422528)

--> FOAM FATAL ERROR:
Wrong number of processor divisions in geomDecomp:
Number of domains : 32
Wanted decomposition : (2 2 1)
From function geomDecomp::geomDecomp(const dictionary& decompositionDict)
in file geomDecomp/geomDecomp.C at line 50.
FOAM exiting..

hi

the number of domains have to be the same that are mentioned is the composition. in your example:
--------
numberOfSubdomains 32;
method simple;
simpleCoeffs
{
n ( 2 2 1 ); <----- that wrong x * y * z must be 32. e.g. (4 4 2)
delta 0.001;
}
-------

pannsave April 23, 2013 10:15

Hi Andreas,


Thanks. It works now


Panneer


All times are GMT -4. The time now is 03:48.