CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Subdivide parallel domains

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 6, 2013, 09:09
Default Subdivide parallel domains
  #1
tms
New Member
 
Thomas
Join Date: Aug 2012
Posts: 5
Rep Power: 4
tms is on a distinguished road
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
tms is offline   Reply With Quote

Old   September 9, 2013, 02:33
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Posts: 237
Rep Power: 7
Phicau is on a distinguished road
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
Phicau is offline   Reply With Quote

Old   September 9, 2013, 04:26
Default
  #3
tms
New Member
 
Thomas
Join Date: Aug 2012
Posts: 5
Rep Power: 4
tms is on a distinguished road
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:

Manually divide sub-domain for parallel computing

Best,
Thomas
tms is offline   Reply With Quote

Reply

Tags
domain decomposition, parallel decomposepar, parallel decomposition

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
shm in parallel with simple decomposition mihaipruna OpenFOAM Native Meshers: snappyHexMesh and Others 6 July 16, 2015 04:55
Can not run OpenFOAM in parallel in clusters, help! ripperjack OpenFOAM Running, Solving & CFD 5 May 6, 2014 15:25
simpleFoam in parallel issue plucas OpenFOAM Running, Solving & CFD 3 July 17, 2013 11:30
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel JR22 OpenFOAM Running, Solving & CFD 2 April 19, 2013 16:49
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


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