|
[Sponsors] |
multiRegion decomposePar should not decompose each region over all processors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2016, 11:07 |
multiRegion decomposePar should not decompose each region over all processors
|
#1 |
New Member
Sven
Join Date: May 2016
Posts: 1
Rep Power: 0 |
Hello,
I am currently studying efficient parallel decompositions of multi-region cases. If I look at $FOAM_TUTORIALS/heatTransfer/chtMultiRegionFoam/multiRegionHeater and similar examples, I find that each of the solid regions (heater, left/rightSolid) and each of the fluid regions (bottom/topAir) has its own decomposeParDict. In the tutorial those decomposeParDicts split each region into four processor zones, so that in the end each processor computes a fragment from each region. The consequence is that each processor has a much larger interface to other processors than necessary. The situation is like this, where the lines depict the region boundaries and the numbers show which zone of each region is assigned to which processor: Doesn't it make more sense to assign the first region to the first n1 processors, the second region to the next n2 processors etc.: Is it possible to tell the decomposeParDict of each region r that it should assign the parts not to all available processors, but only to #m ... #n, where m and n change from region to region? Thanks Sven |
|
April 11, 2018, 06:44 |
|
#2 |
New Member
Hendrik Mayer
Join Date: Dec 2014
Posts: 2
Rep Power: 0 |
Hello Sven,
Hello everyone else, the decomposition implemented in OpenFOAM actually makes sense, at least for chtMultiregionSimpleFoam. In this solver, the regions are solved sequentially. So it is true, that each processor has a bit of every region. But as the solver starts to solve the first region, the processors work together as well as in a single-region case. As long as you don't write a solver that solves all regions simultaneously, the current implementation is fine. I hope I could help. Best regards, Hendrik |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |