|
[Sponsors] |
[mesh manipulation] decomposePar of directMapped Patches with metis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 9, 2011, 12:50 |
decomposePar of directMapped Patches with metis
|
#1 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
I have seen several threads about the direct mapped patches in parallel:
http://www.cfd-online.com/Forums/ope...apped+parallel http://www.cfd-online.com/Forums/ope...apped+parallel http://www.cfd-online.com/Forums/ope...apped+parallel http://www.cfd-online.com/Forums/ope...apped+parallel And I know that we have to keep faces that are being mapped to and from on the same processor (owners and neighbors). However, I'm too complex to use the "simple" method in my decomposePardict and I want to be complex and use "metis". This is where this question is different, the use of metis. So, how does one use preserveFaceZones properly so that the to and from faces are on the same processor? Right now, I have my two patches inlet and outlet at two ends of domain. I map the outlet to the inlet and everything is happy. I then tried to use preservefacezones by creating a set using faceSet made from the faces of my inlet and outlet together in a set creatively called directMappedSet. Using setsToZones, i populated the faceZones file in polyMesh and then added: method metis; preserveFaceZones (directMappedSet); to my decomposeParDict file and decomposed my case. Upon checking my processor meshes, i found that it did not decompose how I expected. Some informational messages I received were: Code:
Calculating distribution of cells Keeping owner and neighbour of faces in zones 1 ( directMappedSet ) on same processor Selecting decompositionMethod metis Selected 42924 faces whose owner and neighbour cell should be kept on the same processor --> FOAM Warning : From function min(const UList<Type>&) in file /home/dcombest/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/FieldFunctions.C at line 342 empty field, returning zero Finished decomposition in 23.18 s Dan |
|
October 31, 2012, 16:48 |
|
#2 |
Member
Join Date: Sep 2011
Posts: 45
Rep Power: 15 |
Did you solve this ?
I also have to run a case containing directMapped boundary condition in parallel... |
|
November 1, 2012, 05:53 |
|
#3 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
At the time I had a workaround, but i think this has been taken care of in another bugfix. Give it a try and if there is an issue I can look at it again.
|
|
November 1, 2012, 09:21 |
|
#4 |
Member
Join Date: Sep 2011
Posts: 45
Rep Power: 15 |
I found that depending how I decompose, sometimes the simulation starts without problems, sometimes it stops at time 1. It says cpus are 100% busy but nothing happens.
Do you know if it's important to keep the directMapped zone (like cyclic) on the same processor or it doesn't matter ? |
|
November 1, 2012, 09:42 |
|
#5 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
unless they changed this, if I remember correctly you must keep the coupled patches an the same processor in the same subdomain.
Quote:
|
||
November 1, 2012, 21:31 |
|
#6 |
Member
Join Date: Sep 2011
Posts: 45
Rep Power: 15 |
When using directMapped, no patches are coupled.
|
|
November 2, 2012, 06:48 |
|
#7 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Take a look at the first post of this thread. Glance through the list of cited posts and you question is answered in
http://www.cfd-online.com/Forums/ope...-parallel.html |
|
Tags |
decomposepar, directmapped bc, metis, parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Problem using AMI | vinz | OpenFOAM Running, Solving & CFD | 298 | November 13, 2023 09:19 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 09:00 |
decomposePar -allRegions | stru | OpenFOAM Pre-Processing | 2 | August 25, 2015 04:58 |
Regarding periodic BC in ICEM generated grid | Tarak | OpenFOAM | 32 | April 30, 2013 15:46 |