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

no 'numberOfSubdomains' in 'system/decomposeParDict?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2019, 19:49
Default no 'numberOfSubdomains' in 'system/decomposeParDict?
  #1
New Member
 
Mustafa
Join Date: Jun 2015
Location: Aachen
Posts: 26
Rep Power: 11
stamufa is on a distinguished road
I"m trying to mesh a simple case in parallel with snappyHex on 16 cores. This is how my decomposeParDict looks like


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

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

numberOfSubdomains 16;

method          scotch;



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

Code:
Warning no 'numberOfSubdomains' in 'system/decomposeParDict'
This has happened with other cases too. Is this a problem with MPI?
stamufa is offline   Reply With Quote

Old   August 26, 2019, 06:11
Default
  #2
Member
 
Philipp Conen
Join Date: Apr 2019
Location: GER, NRW
Posts: 35
Blog Entries: 2
Rep Power: 7
pconen is on a distinguished road
Hey,

I could not see the problem. But you can try out copy my Dict. Maybe there is missing something.
[CODE]
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object decomposeParDict;
}

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

numberOfSubdomains 24;

method scotch;

// ************************************************** *********************** //
[CODE/]

If this also does not work try to use lower value of cores. Maybe 2.
__________________
Greetings

Philipp Conen
pconen 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
How to use parallel running to the most? 6863523 OpenFOAM Running, Solving & CFD 5 January 19, 2017 03:22
SnappyHexmesh crashes with many processes flami OpenFOAM Pre-Processing 10 July 18, 2012 17:29


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