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

foam-extend-3.0 + Mixing-Plane decomposition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lentschi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2014, 06:02
Default foam-extend-3.0 + Mixing-Plane decomposition
  #1
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 80
Rep Power: 15
lentschi is on a distinguished road
Hello,

I've tried to decompose a case using Mixing-Plane in order to couple rotating and statinary part - but during decomposing always an error occurs. I know that's not possible to run the Mixing-Plane Interface parallelized so I have changed the decomposeParDict as follows (in order to keep all cells at the Mixing-plane on one processor):

------------------------------------------------------------------------

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

numberOfSubdomains 3;

preservePatches (STAT-TO-ROT-SIDE-2 STAT-TO-ROT-SIDE-1);
preserveFaceZones (STAT-TO-ROT-SIDE-2_zone STAT-TO-ROT-SIDE-1_zone);

method metis;

metisCoeffs
{
processorWeights
(
1
1
1
);
----------------------------------------------------------------------

And the corresponding error:

----------------------------------------------------------------------
Processor 0: field transfer
Initializing the GGI interpolator between master/shadow patches: PERIODIC-ROT-SIDE-1/PERIODIC-ROT-SIDE-2
Initializing the GGI interpolator between master/shadow patches: PERIODIC-STAT-SIDE-1/PERIODIC-STAT-SIDE-2
Initializing the mixingPlane interpolator between master/shadow patches: STAT-TO-ROT-SIDE-2/STAT-TO-ROT-SIDE-1
Segmentation fault (core dumped)
--------------------------------------------------------------------

Calculating with single processor works!

Has anyone an idea how to fix this problem?

Thank you for your help in advance.

BR
babala likes this.

Last edited by lentschi; May 14, 2014 at 07:09.
lentschi is offline   Reply With Quote

Old   May 15, 2014, 04:43
Default
  #2
Member
 
Timo K.
Join Date: Feb 2010
Location: University of Stuttgart
Posts: 66
Rep Power: 16
timo_IHS is on a distinguished road
Hi,

try with globalFaceZones instead.

Best,
Timo
timo_IHS is offline   Reply With Quote

Old   May 16, 2014, 03:56
Default
  #3
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 80
Rep Power: 15
lentschi is on a distinguished road
Thank you for you quick reply.

I have already tested this (before ich use the preserve commands) but there is no differnence in result.
It seems to be a problem of the underlying cluster system not of foam itself?!

BR

Last edited by lentschi; May 16, 2014 at 10:21.
lentschi is offline   Reply With Quote

Old   May 16, 2014, 05:19
Default
  #4
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 80
Rep Power: 15
lentschi is on a distinguished road
One additional problem is to run the "mixinPlaneCheck" parallelized - that seems to be not possible up to now!

Has there anyone different experiences?

BR
lentschi is offline   Reply With Quote

Old   May 16, 2014, 10:04
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello,

Yup, it looks like the mixingPlane is no longer playing nicely with decomposePar. I am looking into it.

Martin

Quote:
Originally Posted by lentschi View Post
Hello,

I've tried to decompose a case using Mixing-Plane in order to couple rotating and statinary part - but during decomposing always an error occurs. I know that's not possible to run the Mixing-Plane Interface parallelized so I have changed the decomposeParDict as follows (in order to keep all cells at the Mixing-plane on one processor):

------------------------------------------------------------------------

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

numberOfSubdomains 3;

preservePatches (STAT-TO-ROT-SIDE-2 STAT-TO-ROT-SIDE-1);
preserveFaceZones (STAT-TO-ROT-SIDE-2_zone STAT-TO-ROT-SIDE-1_zone);

method metis;

metisCoeffs
{
processorWeights
(
1
1
1
);
----------------------------------------------------------------------

And the corresponding error:

----------------------------------------------------------------------
Processor 0: field transfer
Initializing the GGI interpolator between master/shadow patches: PERIODIC-ROT-SIDE-1/PERIODIC-ROT-SIDE-2
Initializing the GGI interpolator between master/shadow patches: PERIODIC-STAT-SIDE-1/PERIODIC-STAT-SIDE-2
Initializing the mixingPlane interpolator between master/shadow patches: STAT-TO-ROT-SIDE-2/STAT-TO-ROT-SIDE-1
Segmentation fault (core dumped)
--------------------------------------------------------------------

Calculating with single processor works!

Has anyone an idea how to fix this problem?

Thank you for your help in advance.

BR
mbeaudoin is offline   Reply With Quote

Old   May 16, 2014, 10:21
Default
  #6
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 80
Rep Power: 15
lentschi is on a distinguished road
Thank you!
lentschi is offline   Reply With Quote

Old   July 23, 2014, 06:36
Default
  #7
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 80
Rep Power: 15
lentschi is on a distinguished road
Are there any new knowledges regarding decomposition with mixingplane?I'm using Foam-extend-3.1.

BR,
Markus
lentschi is offline   Reply With Quote

Old   July 1, 2016, 13:27
Default
  #8
Member
 
Jack
Join Date: May 2015
Posts: 98
Rep Power: 10
Jack001 is on a distinguished road
I am encountering the exact same issue with parallelizing a mixingPlane case. My decomposeParDict looks like:

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

numberOfSubdomains 4;

//method               metis;
method    patchConstrained;


// All GGI interfaces should be listed here:
globalFaceZones
(
    PER11_ROTORZone
    PER22_ROTORZone
    PER11_STATORZone
    PER22_STATORZone
    SHROUD_ROTOR_TIP_GGI_SIDE_11Zone
    SHROUD_ROTOR_TIP_GGI_SIDE_22Zone
);

patchConstrainedCoeffs
{
    method            metis;
    numberOfSubdomains    4;

    // You can force the faces of a patch to be on the same processor
    // this is currently needed for mixingPlane
    patchConstraints
    (
        (OUTFLOW1_ROTOR 0)
        (INFLOW1_STATOR 0)
    );
}

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


distributed     no;

roots
(
);

// ************************************************************************* //
Jack001 is offline   Reply With Quote

Old   December 4, 2017, 10:07
Default
  #9
Member
 
Henrik Johansson
Join Date: Oct 2017
Location: Gothenburg
Posts: 38
Rep Power: 8
HenrikJohansson is on a distinguished road
Hi

Have there been any update with mixing plane and running in parallel?
My project works fine on one core but when decomposing it and running in parallel it fails.
I'm using foam-extend 4.0.

I get the following warning when decomposing.
Code:
--> FOAM Warning : 
    From function decompositionMethod::loadExternalLibraries()
    in file decompositionMethod/decompositionMethod.C at line 508
    Loading of decomposition library libscotchDecomp.so unsuccesful. Some decomposition methods may not be  available
My decomposeParDict looks like this
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     4.0                                |
|   \\  /    A nd           | Web:         http://www.foam-extend.org         |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 8;

//method               metis;
method    patchConstrained;


globalFaceZones
(
    MixP_Stator_FaceZone
    MixP_Rotor_FaceZone
    Periodic_Left_Stator_FaceZone
    Periodic_Right_Stator_FaceZone
    Periodic_Left_Rotor_FaceZone
    Periodic_Right_Rotor_FaceZone
);

patchConstrainedCoeffs
{
    method            metis;
    numberOfSubdomains    8;
    patchConstraints
    (
	    (MixP_Stator 0)
	    (MixP_Rotor 0)
	    (Periodic_Left_Stator 1)
	    (Periodic_Right_Stator 1)
	    (Periodic_Left_Rotor 2)
	    (Periodic_Right_Rotor 2)
    );
}

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

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

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

manualCoeffs
{
    dataFile        "";
}

distributed     no;

roots
(
);


// ************************************************************************* //
Any clues?

Solved my problem.
Turned out to be meshing and B.C. problems. Switched from cyclicGgi to 1:1 cyclic.

/ Henrik
__________________
/ Henrik Johansson

Last edited by HenrikJohansson; December 8, 2017 at 06:41.
HenrikJohansson 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
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14:07
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 14:09.