CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Parallelization with halo layer

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 16, 2011, 13:14
Default Parallelization with halo layer
  #1
New Member
 
Thibault Pringuey
Join Date: Mar 2009
Posts: 17
Rep Power: 8
thibault_pringuey is on a distinguished road
Hello,

I need a version of the parallel processing of OpenFOAM that would work with halo layers (the code as it is adopts a zero-halo decomposition of the domain).

Has anyone already done that in OpenFOAM?

I had a look at the parallelProcessing utilities and at the Pstream classes. It seems that the code has the potential for an implementation of halo layers but I cannot quite work out how.

Could anyone put me in the right direction and/or advise me some detailed documentation on the way the parallelization is implemented in OpenFOAM?

Many thanks,


Thibault
thibault_pringuey is offline   Reply With Quote

Old   April 2, 2011, 15:23
Default Solved
  #2
New Member
 
Thibault Pringuey
Join Date: Mar 2009
Posts: 17
Rep Power: 8
thibault_pringuey is on a distinguished road
Done it + tested it
thibault_pringuey is offline   Reply With Quote

Old   April 14, 2011, 23:49
Default
  #3
New Member
 
Mohanamuraly
Join Date: May 2009
Posts: 16
Rep Power: 8
mohanamuraly is on a distinguished road
Thibault,

Can you explain more about your the n-halo cells implementation in OF. I am trying to do that, and would appreciate some useful pointers.

Best,

--
Mohanamuraly
mohanamuraly is offline   Reply With Quote

Old   October 30, 2012, 15:52
Default
  #4
New Member
 
Thibault Pringuey
Join Date: Mar 2009
Posts: 17
Rep Power: 8
thibault_pringuey is on a distinguished road
Hello,

Apologies for slow response.

I have attached an extract from my thesis that provides an outline on the method that I have employed.

I needed nHalo parallel capability to solve explicitly some equations, but in the same time wanted to solve other equations implicitly using the existing algebraic solvers (coded for 0Halo parallel computing) on the same domain. I had to produce the trick described.

If you need to solve all your equations explicitly, then the method is pretty straightforward. If you want to solve your equations implicitly, you really need to re-code the algebraic solvers with a nHalo capability, which is a big task.

In any case, I suggest that you read the Pstream class and the decomposePar utility and its associated classes.

Hope this helps.


Thibault
Attached Files
File Type: pdf nHaloParallel.pdf (46.7 KB, 111 views)
thibault_pringuey is offline   Reply With Quote

Old   October 31, 2012, 02:47
Default
  #5
New Member
 
Mohanamuraly
Join Date: May 2009
Posts: 16
Rep Power: 8
mohanamuraly is on a distinguished road
Thanks for the reply Thibault,

Looks like you have done an excellent work there for the thesis. Yes I am using the Pstream libs and interestingly I am implementing the same higher order WENO scheme !!

I created what are called as near-neighbor query lists and pass them around in parallel and get the processor location of each of the neighbor cell IDs. So I end up constructing a separate data-movement schedule for N-level of cell neighbors (required for my WENO). It is not very efficient for large problems but since it is one time construction I don't worry much about it. I wish OF guys made a n-halo implementation.

I am using the matrix-free GMRES to avoid the matrix construction as I know it will get messy there.
mohanamuraly is offline   Reply With Quote

Old   January 23, 2013, 23:50
Default
  #6
New Member
 
ren XG
Join Date: Sep 2012
Posts: 10
Rep Power: 4
rxgrch is on a distinguished road
mark.............
rxgrch is offline   Reply With Quote

Reply

Tags
halo, mpi, parallel processing, parallelization

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
SnappyHexMesh - no layer added bejbro OpenFOAM Mesh Utilities 4 October 16, 2014 19:24
Boundary layer generation problems ivan_cozza OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2010 13:47
Trimmer & prism layer peresah STAR-CCM+ 6 October 6, 2009 14:39
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
Boundary Layer Flow Paradox Wen Long Main CFD Forum 3 September 24, 2002 08:47


All times are GMT -4. The time now is 12:42.