|
[Sponsors] |
[mesh manipulation] decomposePar results in a weired procBoundary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2013, 05:24 |
decomposePar results in a weired procBoundary
|
#1 |
New Member
luliqiang
Join Date: Dec 2012
Posts: 4
Rep Power: 13 |
as you see from the attachment, the procBoundary is not flat. How can i get a flat procBoundary? thank you.
ps. my decomposeParDic as follows. Code:
numberOfSubdomains 5; method simple; simpleCoeffs { n ( 5 1 1 ); delta 0.001; } |
|
March 15, 2013, 05:28 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi,
I you have some specific requirements on the decomposition, e.g. flat processor boundaries, then I suggest that you use the manual decomposition method, where you specify, which processors the individual cells belong to. It is a quite simple operation, which you could e.g. based on the cell centres, which you can obtain based on Code:
writeCellCentres Niels |
|
March 15, 2013, 06:53 |
|
#3 | |
New Member
luliqiang
Join Date: Dec 2012
Posts: 4
Rep Power: 13 |
Quote:
Code:
forAll(cci, cellID) { pid = (int)(cci[cellID]/LX); //cellID belongs to which process fprintf(fSrc, "%d\n", pid); //output sum[pid]++; //sum } Code:
FoamFile { version 2.0; format ascii; class labelList; location "constant"; object decompDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 124218 //number of cells ( 3 // first cell belongs to process 3 0 // second cell belongs to process 0 ... x // the cell belongs to process x 2 // last cell belongs to process 2 ) Last edited by luliqiang; March 15, 2013 at 22:58. |
||
March 18, 2013, 09:43 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi
This thread has a nice description of how to create the file for manual decomposition: http://www.cfd-online.com/Forums/ope...computing.html / Niels |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error Interpolating Results onto New Mesh | nammeh | CFX | 1 | March 26, 2019 13:08 |
decomposePar 4-core warning/error? | Boloar | OpenFOAM Bugs | 23 | April 8, 2014 09:57 |
Creating a tool to interpolate results | Luis Batista | OpenFOAM Running, Solving & CFD | 2 | April 11, 2013 09:15 |
Different Results from Fluent 5.5 and Fluent 6.0 | Rajeev Kumar Singh | FLUENT | 6 | December 19, 2010 12:33 |
wind tunnel results vs fluent | pixie | Main CFD Forum | 1 | August 20, 2009 09:02 |