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

Case running in parallel gives error whereby running in serial works

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 25, 2015, 13:42
Unhappy Case running in parallel gives error whereby running in serial works
  #1
Member
 
Join Date: Dec 2014
Posts: 38
Rep Power: 2
Harak is on a distinguished road
Hello,

I want to run a case in parallel with 2 processors. Therefore I decomposed my mesh with the scotch method and with 2 subdomains. My case is about a 3D flow simulation hitting a beam and flowing around it.

I've already run it in serial and it just worked fine but when I tried in parallel following error occurs:

Code:
Time = 0.00045, iteration: 3
Current fsi under-relaxation factor (Aitken): 1.0185847
Maximal accumulated displacement of interface points: 0.0073361798
[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] face 84 area does not match neighbour by 0.0122327% -- possible face ordering problem.
patch: procBoundary0to1 my area: 4.54816e-08 neighbour area: 4.54761e-08 matching tolerance: 0.0001
Mesh face: 10126 vertices: 4((0.00506497 0.00556421 0.000275998) (0.005268 0.0055643 0.000275994) (0.00526801 0.0055643 0.000499999) (0.00506497 0.00556421 0.0005))
Rerun with processor debug flag set for more information.[1] 
[1] 
[1] --> FOAM FATAL ERROR: 
[1] face 84 area does not match neighbour by 0.0122327% -- possible face ordering problem.
patch: procBoundary1to0 my area: 4.54761e-08 neighbour area: 4.54816e-08 matching tolerance: 0.0001
Mesh face: 9704 vertices: 4((0.00506497 0.00556421 0.000275998) (0.00506497 0.00556421 0.0005) (0.00526798 0.0055643 0.000499999) (0.00526798 0.00556431 0.000275994))
Rerun with processor debug flag set for more information.
[1] 
[1]     From function processorPolyPatch::calcGeometry()
[1]     in file meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C at line 
[0] 
[0]     From function processorPolyPatch::calcGeometry()
[0]     in file meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C at line 217.
[0] 
FOAM parallel run exiting
[0] 
217.
[1] 
FOAM parallel run exiting
[1] 
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
Here's my decomposeParDict:
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0                                |
|   \\  /    A nd           | Web:      http://www.openfoam.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
 
FoamFile
{
    version         2.0;
    format          ascii;
 
     
    class           dictionary;
    object          decomposeParDict;
}
 
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 
numberOfSubdomains 2;
 
method          scotch;
 
simpleCoeffs
{
    n               (4 1 1);
    delta           0.0001;
}

globalFaceZones ( InterfaceZone );


 
hierarchicalCoeffs
{
    n               (1 1 1);
    delta           0.001;
    order           xyz;
}
 
metisCoeffs
{
    processorWeights 
    (
        1
        1
        1
    );
}
 
manualCoeffs
{
    dataFile        "";
}
 
distributed     no;
 

 
 
// ************************************************************************* //
Is it about the matching tolerance? If yes, how can I increase this tolerance or should I even do it? Or is there any other opportunity to solve this kind of problem?

Thank you all in advance
Harak is offline   Reply With Quote

Old   July 25, 2015, 14:57
Default
  #2
Member
 
Join Date: Dec 2014
Posts: 38
Rep Power: 2
Harak is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Then it will unlikely work for your case


I've added it to my to-do list, but I have no idea when I'll be able to look into it, because it's not a straight forward answer. In addition, it's best that you indicate which OpenFOAM version/variant you're using.
You're just awesome, Bruno! Many thanks
I'm using OpenFOAM 2.3.0 and foam-extend 3.1. In this particularly case I'm using foam-extend because my study is about a fluid-structure-problem. The solver is called icoFsiElasticNonLinULSolidFoam. But I think my problem is independent of whether I use OpenFOAM or foam-extend…

I really appreciate your help!

Last edited by Harak; July 25, 2015 at 19:25.
Harak is offline   Reply With Quote

Reply

Tags
decomposepar, matching tolerance, parallel computation, parallel computing

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running movingCylinders case in parallel with foam-extend-3.1 mhkenergy OpenFOAM Running, Solving & CFD 3 September 3, 2014 00:37
Parallel Running With Problems guilha OpenFOAM Running, Solving & CFD 1 July 26, 2014 10:55
Reconstruction of the parallel case with dynamic mesh makaveli_lcf OpenFOAM Post-Processing 4 July 3, 2014 05:51
Running AMI case in parallel Kaskade OpenFOAM 2 November 19, 2013 03:24
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 16:01.