CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

parallel algorithm of OF

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

LinkBack Thread Tools Display Modes
Old   January 16, 2013, 23:15
Default parallel algorithm of OF
New Member
Join Date: Oct 2012
Posts: 15
Rep Power: 6
besh is on a distinguished road
Hello OFers
I am trying to understand parallelization of OF solvers such as PCG. So far I understood that all processors must follow the same execution path due to blocking calls such as MPI_Allreduce in each iteration. So I wanted to try something else in my solver that avoids synchronization and is more flexible in general. It works by exchanging ghost cell values while the iterations are running. This is not forced but each processor sends back its halo layer values when it recieves one.

The result is that it seems to work well for gauss-siedel/jacobi kind of solvers with small stencils but have problems for CG solvers. I like the flexibiltiy of this approach since two processors can do completely different things (different solvers,fluid-structure etc), as long as they continually exchange information and hopefully convergence is arrived. It seems to me gauss-seidel is ok with this approach since it is kind of 'self-correcting' but a faster algorithm like CG is needed.

Has this parallelization approach been tried in OF before? What kind of parallelization is used in fluid-structure type solutions when two processors are not doing the same thing?

Thanks for any help
besh is offline   Reply With Quote

Old   January 20, 2013, 16:53
New Member
Join Date: Oct 2012
Posts: 15
Rep Power: 6
besh is on a distinguished road
I am trying to find if asynchronous CFD calculations are worth a try to include in my thesis, so any tips and directions would be very helpful. I could not find enough material on OF's implementations except a few of Prof. Jasaak slides. Some other papers mention that asynchronous algorithms are fault tolerant and can scale to thousands of processors, but convergence properties are not well defined.

besh is offline   Reply With Quote

Old   January 23, 2013, 23:35
New Member
ren XG
Join Date: Sep 2012
Posts: 10
Rep Power: 7
rxgrch is on a distinguished road
rxgrch is offline   Reply With Quote


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
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
Parallel algorithm to convert dense to sparse (CRS) matrix format Italo Main CFD Forum 0 December 19, 2011 04:01
Fastest parallel solver for tridiagonal system Arpiruk Main CFD Forum 16 August 28, 2007 05:14
Parallel collision algorithm stephan OpenFOAM Running, Solving & CFD 2 November 2, 2006 08:14
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 06:16.