|
[Sponsors] |
March 16, 2009, 07:29 |
Parallelization of a CFD code
|
#1 |
New Member
ilias
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hallo CFD experts!
I'm trying to paralize a cfd code at algebraic system level. I have read a lot, and i concluded that Domain Decomposition and Alternating Schwarz method is a good choice. I tried to use Alternating Schwarz method (with overlaping domains) as preconditioner for GMRES. I'm solving (in parallel) the preconditioned system in each iteration with GMRES again, but with low accuracy. Nevertheless, results are'n got... I have no reduce in time. And the iterations of the outer GMRES doesn't reduce much. I'm testing the method in a very simple problem: Poisson equation in a close cube. Is the method i use the right one, or I'm doing something wrong? What methods are being used mostly in commercial codes? Many thanks Last edited by mixanologos; March 16, 2009 at 09:24. |
|
March 16, 2009, 11:36 |
|
#2 |
New Member
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
A lot of questions come to mind... domain decomposition is certainly the way to go, but
What hardware and languages are you using? Overhead associated with parallelization and the granularity of your problem have a huge effect on your speedup. e.g., if you're using a distributed memory setup, and you're writing a very fine-grained code (lots of data exchange in a given iteration), you'll often get code that was slower than the original serial code. |
|
March 17, 2009, 02:50 |
|
#3 | |
New Member
ilias
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Quote:
I haven't do it because i count the total time that precondition systems need to run, i divide it with the number of processes (=number of subdomains) and i calculate the time of parallel code (minimum time because no data exchange time included). But this minimum time is still above the normal time of serial GMRES/ILU solver That's why i'm wondering if Domain Decomposition and additive Schwarz preconditioner is a way to go. Thanks for the reply! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallelization of a new solver | jaswi | OpenFOAM Running, Solving & CFD | 19 | August 27, 2012 03:45 |
A question on parallelization in OF | ivan_cozza | OpenFOAM | 3 | September 10, 2008 07:47 |
Parallelization | Levi | Main CFD Forum | 1 | May 25, 2003 03:03 |
About the parallelization | ptyue | Main CFD Forum | 8 | January 27, 2003 00:29 |
Parallelization efficiency.. | karthik | Main CFD Forum | 1 | January 4, 2000 12:20 |