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

GAMG on GPU for OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2010, 14:43
Default GAMG on GPU for OpenFoam
  #1
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
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:

http://vratis.com/speedITblog/

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 16:22.
ziemowitzima is offline   Reply With Quote

Old   April 26, 2010, 19:02
Default
  #2
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
Hello,
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
---------------------------------------------------------------------------
solvers
{


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

Reply

Tags
cuda, gamg, gpu


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 Off
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 vw.cfd OpenFOAM 6 August 7, 2009 06:44
MRFSimpleFoam amp cyclic patches david OpenFOAM Running, Solving & CFD 36 October 21, 2008 22:55
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 12: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:16.