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

Subdivide parallel domains

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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
Location: Auckland
Posts: 627
Rep Power: 19
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: 13
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:

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

Best,
Thomas
tms is offline   Reply With Quote

Reply

Tags
domain decomposition, parallel decomposepar, parallel decomposition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] shm in parallel with simple decomposition mihaipruna OpenFOAM Meshing & Mesh Conversion 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 12:00


All times are GMT -4. The time now is 14:41.