CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Subdivide parallel domains (http://www.cfd-online.com/Forums/openfoam-pre-processing/123190-subdivide-parallel-domains.html)

tms September 6, 2013 09:09

Subdivide parallel domains
 
Hi Foamers,

can i do a spatial domail decomposition which does not only cut my mesh into slices/blocks but also subdivides these blocks further?

In other words (or actually its pictures :-), what know how to do is this:

Code:

|--------+--------+--------|
|        |        |        |
|  1    |    2  |  3    |
|        |        |        |
|--------+--------+--------|
|        |        |        |
|  4    |    5  |  6    |
|        |        |        |
|--------+--------+--------|
|        |        |        |
|  7    |    8  |  9    |
|        |        |        |
|--------+--------+--------|

but what I really want is this:
Code:

|--------------------------|
|                          |
|            1            |
|                          |
|------+---+---+---+-------|
|      | 5 | 6 | 7 |      |
|      +---+---+---+      |
|  3  | 8 | 9 | 10|  4  |
|      +---+---+---+      |
|      | 11| 12| 13|      |
|------+---+---+---+-------|
|                          |
|            2            |
|                          |
|--------------------------|

where each number represents one processor domain.

Is this possible with OpenFOAM and if so, how do I do it?

Thanks and best regards

Thomas

Phicau September 9, 2013 02:33

Hi Thomas,

it is possible, just look for "manual decomposition" in decomposeParDict and in the forum.

The drawback is that you would have to write your own tool to provide the processor number for each cell.

Best,

Pablo

tms September 9, 2013 04:26

Hi Pablo,

thanks a lot! Manual decomposition seems to work fine.

As there is no tutorial in the current OF version, future readers may find this thread helpful:

http://www.cfd-online.com/Forums/ope...computing.html

Best,
Thomas


All times are GMT -4. The time now is 11:17.