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

GAMG on GPU for OpenFoam

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

LinkBack Thread Tools Display Modes
Old   April 5, 2010, 13:43
Default GAMG on GPU for OpenFoam
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 135
Rep Power: 8
ziemowitzima is on a distinguished road
Dear All,

Recently our working group developed linear iterative solvers on GPU (CUDA). We did PCG and BIGSTAB. We linked our library with OpenFoam.
To see more details please visit:

Now we want to make GAMG solver on GPU.
Does anyone of you know what exactly GAMG algorithm is used in OF ? Or where to find some information about GAMG ?

Last edited by ziemowitzima; April 6, 2010 at 15:22.
ziemowitzima is offline   Reply With Quote

Old   April 26, 2010, 18:02
lth's Avatar
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 31
Blog Entries: 32
Rep Power: 8
lth is on a distinguished road
I've used GAMG to speed up three dimensional computations. It is a multigrid approach which sweep across a course number of points and then a dense number of points. To apply, go into the FVsolution folder and code the variable(s) like this Pressure variable for example.

To learn more about it... check out Gilbert Strang's CFD text. -Lori

p PCG //pressure
preconditioner GAMG
tolerance 1e-6;
relTol 0;
nVcycles 2;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration on;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;

tolerance 1e-6;
relTol 0;
maxIter 20;
lth is offline   Reply With Quote


cuda, gamg, gpu

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
pisoFoam floating point error - GAMG sErik OpenFOAM Running, Solving & CFD 8 January 14, 2010 11:43
Error log OpenFOAM 6 August 7, 2009 05:44
MRFSimpleFoam amp cyclic patches david OpenFOAM Running, Solving & CFD 36 October 21, 2008 21:55
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
SonicTurbFoam crashes when turbulence is added gastovski OpenFOAM Running, Solving & CFD 0 January 21, 2008 08:49

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