|
[Sponsors] |
November 20, 2013, 20:50 |
Manual Decomposition Method
|
#1 |
New Member
Join Date: Dec 2012
Posts: 19
Rep Power: 14 |
Hi,
I am intending to decompose a large scale (cm size) domain into 5 portion but I want one of the portions to be further divided(decomposed) into another 5 part. I am pretty sure none of the common decomposition methods(metis, scotch, simple, hierarchical) is able to do it as they do it arbitrary based on the weight of the cells at the beginning. The reason I'm doing this is I am investigation the behavior of MicroFluidics at specific part of my domain which usually falls into one portion of the decomposed domain and this portion has to carry most of the computation. I guess using manual decomposition I should be able to specify where and how the domain to be decomposed. Does anybody have any clue how to handle this? Thanks |
|
November 21, 2013, 08:27 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings smraniaki,
I know there is a post somewhere that explains how to use manual decomposition... but I can't find it right now. As for decomposing in parts, check the option "multiLevel", as mentioned in this post: http://www.cfd-online.com/Forums/ope...tml#post367979 post #8 Best regards, Bruno
__________________
|
|
November 21, 2013, 13:08 |
|
#3 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
I don't know if this is the method used by the post you mentioned, but the following worked for me in 2.2.x.
First, I created volumes in STL format whose intersection with my domain subdivided it into the required subdomains. Then, I created a volScalarField called procDist that is intially 0, and used setFields to set the value of procDist in each subdomain to be the number of the processor. The source you can use is surfaceToCell. Note that you can use any of the cell sources listed in topoSetDict, so you don't have to use STL volumes unless your decomposition can't be made by the default sources (box, rotated box, sphere, cylinder, plane, etc). Finally, once procDist has the required values written in it, all you need is the internal field by itself (the scalarField) so trim the unneeded portions of the file and copy it to constant/$fileName, where $fileName is the file sepecified as the dataFile in manualCoeffs. Hope this helps. |
|
November 24, 2013, 17:53 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi,
The following contains more information on manual decomposition approaches: http://www.cfd-online.com/Forums/ope...-problems.html Good luck, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam & decomposition method: scotch | MacGyver | OpenFOAM Running, Solving & CFD | 2 | May 23, 2012 08:00 |
Manual decomposition of domain | pss | OpenFOAM Pre-Processing | 0 | April 26, 2012 02:33 |
About flowfield-dependent variation(FDV) method? | Jinwon | Main CFD Forum | 1 | December 4, 2007 22:13 |
Info on method of lines approach | charlie ryan | Main CFD Forum | 2 | August 9, 2007 12:06 |
tidal flow simulation using finite volume method | Jason Qiu | Main CFD Forum | 0 | October 20, 2002 03:34 |