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

decomposePar not preserving patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2011, 12:24
Default decomposePar not preserving patches
  #1
Senior Member
 
Arne Stahlmann
Join Date: Nov 2009
Location: Hanover, Germany
Posts: 209
Rep Power: 17
Arnoldinho is on a distinguished road
Hi all,

is there any trick to get preservePatches in decomposePar working? When I put

Code:
preservePatches
(
bottom
);
at the end of my decomposeParDict and run the decomposition, following errors occurs:
Quote:
Create mesh for region region0

Calculating distribution of cells
Keeping owner and neighbour of faces in patches
1
(
bottom
)
on same processor
Selecting decompositionMethod scotch
Selected 3144 faces whose owner and neighbour cell should be kept on the same processor
--> FOAM Warning :
From function min(const UList<Type>&)
in file /opt/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/FieldFunctions.C at line 342
empty field, returning zero
I guess because of this empty field, my 'bottom' patch is not kept at one processor, but is normally decomposed. So it does not have any effect! I have tested scotch and metis decomp. with 4-16 subdomains. I had a short look at FieldFunctions.C, but it does not really help me.

Any hints?

Arne
Arnoldinho is offline   Reply With Quote

Old   November 9, 2011, 00:23
Default Just small ensurance
  #2
New Member
 
Martin Holecek
Join Date: Nov 2011
Location: Prague
Posts: 21
Rep Power: 14
darai is on a distinguished road
Hi Arne,

Did you checked (for ex. in paraFoam used on one decomposed part) that the patch is really splitted? I am not experienced enough to be sure, but the warning doesn't say it splitted the patch... It is only saying something about problems with "min" function.

Martin.
darai is offline   Reply With Quote

Old   November 9, 2011, 04:30
Default
  #3
Senior Member
 
Arne Stahlmann
Join Date: Nov 2009
Location: Hanover, Germany
Posts: 209
Rep Power: 17
Arnoldinho is on a distinguished road
Hi Martin,

I checked the decomposition on every processor (/processor*/paraFoam). It is definitely displayed as decomposed.
The min function warning only displays when using preservePatches, so I guess it has to do with it. So, just as a guess, the empty field is not holding any faces to keep on the same processor?

Is there anything missing in my decomposeParDict besides
Quote:
numberOfSubdomains 8;

method scotch;

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

manualCoeffs
{
dataFile "";
}

distributed no;

roots
(
);

preservePatches
(
bottom
);
BTW: I'm using OF 1.6-ext, but experienced the same with 1.7.x and 2.0.1

Arne
Arnoldinho 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
[mesh manipulation] decomposePar of directMapped Patches with metis chegdan OpenFOAM Meshing & Mesh Conversion 6 November 2, 2012 05:48
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 05:27
Problem with decomposePar tool vinz OpenFOAM Pre-Processing 18 January 26, 2011 02:17
Courant number, patches, etc oort OpenFOAM 1 July 24, 2009 18:05
radiation patches, viewfactors beams Siemens 1 March 12, 2009 07:39


All times are GMT -4. The time now is 15:49.