|
[Sponsors] |
August 15, 2002, 15:25 |
parallelized equation solver
|
#1 |
Guest
Posts: n/a
|
Hi, I used finite difference to solve PDES. For the discretized equation, I use ADI to solve it. Now I want to parallelize this ADI solver with OPENMP, but it is hard since the value of one point need the information of his neighbours. I also tried the Guass_sedel point iteration, it was easier to parallelize, but not as fast as ADI. So, can anyone give me some idea? BTW, I did not want to use MPI since the other part of my codes have been parallelized with OPENMP.
|
|
August 16, 2002, 04:51 |
Re: parallelized equation solver
|
#2 |
Guest
Posts: n/a
|
The simplest method is to use a couple of arrays to store the values you are building up on the forward sweep. This enables a processor to stop the sweep, handover to the adjacent processor and get on with some other sweeps until the adjacent processor has performed the back substitution and the line can be finished off.
Periodic boundary conditions are slightly more complicated but not much. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transport equation in chtMultiRegionSimpleFoam solver | Aurelien Thinat | OpenFOAM Programming & Development | 19 | April 11, 2012 06:35 |
Two equation turbulence models solver settings | truffaldino | FLUENT | 0 | March 5, 2011 20:49 |
Getting too many iterations by velocity solving (aborting). Changing U - Solver? | suitup | OpenFOAM Running, Solving & CFD | 0 | January 20, 2010 07:45 |
Solver Equations | Carola | CFX | 9 | August 12, 2003 08:27 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |