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

Scotch decomposition error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2020, 06:51
Default Scotch decomposition error
  #1
New Member
 
Join Date: Oct 2019
Location: Germany
Posts: 1
Rep Power: 0
KokuraCloud is on a distinguished road
Hello everyone,

I've been trying to decompose my 2-D Mesh using scotch.
Unfortunately every cell gets distributed to the same processor 0.
The remaining 3 processors wont get any cells.

Did this happen to anyone else? I'd appreciate any kind of help.

- Mirko

Code:
Calculating distribution of cells
Selecting decompositionMethod scotch

Finished decomposition in 0.01 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Processor 0
    Number of cells = 14400
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 29820

Processor 1
    Number of cells = 0
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 0

Processor 2
    Number of cells = 0
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 0

Processor 3
    Number of cells = 0
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 0

Number of processor faces = 0
Max number of cells = 14400 (300% above average 3600)
Max number of processor patches = 0 (-100% above average 1)
Max number of faces between processors = 0 (-100% above average 1)

Time = 0

Processor 0: field transfer
Processor 1: field transfer
--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 330
    no points in mesh
--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 335
    no cells in mesh
Processor 2: field transfer
--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 330
    no points in mesh
--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 335
    no cells in mesh
Processor 3: field transfer
--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 330
    no points in mesh
--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 335
    no cells in mesh
Code:
numberOfSubdomains 4;

method         scotch;

scotchCoeffs
{
   processorWeights
   (
       1
       1
       1
       1
   );

}

manualCoeffs
{
    dataFile    "cellDist";
}

simpleCoeffs
{
    n           (2 2 1);
    delta    0.001;
}

distributed     no;

roots           ( );
KokuraCloud is offline   Reply With Quote

Old   April 7, 2020, 02:46
Default
  #2
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 295
Rep Power: 14
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hi,
I assume you didn't get a reply because there is not enough information to see an "error" in your input files... Did you solve it? Otherwise you may want to share your full decomposeParDict...
louisgag is offline   Reply With Quote

Old   April 7, 2020, 15:36
Default
  #3
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Fuenlabrada
Posts: 255
Rep Power: 11
agustinvo is on a distinguished road
Hi,


I found the same error in OpenFOAM-7.


This is my decomposeParDict:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      decomposeParDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 4;

method          scotch;

// ************************************************************************* //
Code:
Decomposing mesh region0

Create mesh

Calculating distribution of cells
 Foam::decompositionMethod::New 
{
    numberOfSubdomains 4;
    method          scotch;
}

Selecting decompositionMethod scotch

Finished decomposition in 0.1 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Processor 0
    Number of cells = 147456
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 297248

Processor 1
    Number of cells = 0
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 0

Processor 2
    Number of cells = 0
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 0

Processor 3
    Number of cells = 0
    Number of processor patches = 0
    Number of processor faces = 0
    Number of boundary faces = 0

Number of processor faces = 0
Max number of cells = 147456 (300% above average 36864)
Max number of processor patches = 0 (-100% above average 1)
Max number of faces between processors = 0 (-100% above average 1)

Time = 0

Processor 0: field transfer
Processor 1: field transfer
--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 332
    no points in mesh
--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 337
    no cells in mesh
Processor 2: field transfer
--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 332
    no points in mesh
--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 337
    no cells in mesh
Processor 3: field transfer
--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 332
    no points in mesh
--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&)
    in file meshes/polyMesh/polyMesh.C at line 337
    no cells in mesh

End

Have you found any solution?
agustinvo is offline   Reply With Quote

Old   July 1, 2020, 18:03
Default
  #4
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 163
Rep Power: 4
joshmccraney is on a distinguished road
Here's what my decomposeParDict looks like for 16 cores and it runs fine:

Code:
numberOfSubdomains 16;

method          scotch;

simpleCoeffs
{
    n               ( 4 4 1 );
    delta           0.001;
}

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

scotchCoeffs
{
    processorWeights ( 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 );
}

metisCoeffs
{
    processorWeights ( 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 );
}

manualCoeffs
{
    dataFile        "";
}

distributed     no;

roots           ( );
joshmccraney is offline   Reply With Quote

Reply

Tags
decompose, mesh 2d, scotch

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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 21:31.