CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

CG vs AMG

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2003, 09:26
Default CG vs AMG
  #1
Joel
Guest
 
Posts: n/a
what are the relative advantages/disadvantages and applications of the Conjugate gradient vs the advanced multi grid solvers. I have had a flick through the methadology manual but it seems a little vague
  Reply With Quote

Old   December 7, 2003, 09:15
Default Re: CG vs AMG
  #2
allan
Guest
 
Posts: n/a
On grids that have the major flow in one direction, say in a pipe, or where one needs a lot of pressure sweeps, I've had decrease in solution time by an order of magnitude using the amg solver. I have not noticed any difference in the 'converged' solution between the amg/cg solvers in the cases I've run.

Allan
  Reply With Quote

Old   December 8, 2003, 03:23
Default Re: CG vs AMG
  #3
Ossi
Guest
 
Posts: n/a
I've compared the amg solver in a case resembling well a pipe flow case and the speed up was about 1.9 compared to the cg solver. However, sometimes the amg solver may produce some oscillations to the solution. So caution is needed.
  Reply With Quote

Old   December 31, 2003, 06:37
Default Re: CG vs AMG
  #4
4xF
Guest
 
Posts: n/a
Just a quick precision: CG means Conjugate Gradient. It is an iterative solver family based on the Krylov subspace method (see also Golub & Van Loan, "Matrix computations", 1996) and is a good "smoother", which means that the smoothes the higher frequencies of the error quite rapidly. The idea is to use successive coarser meshes, on which the lower frequencies of the error on the fine mesh become the high ones on the coarser meshes. The error level can be then reduced very rapidly on the coarse meshes. As it is difficult to construct geometrically coarser meshes, one idea is to use the coefficients of the matrices to solve to provide a coarsening algorithm. This is what the AMG (Algebraic MultiGrid) solver does and this is why the AMG solver brings you the computational time down. Small drawback: You need more memory because of the coarsening strategy.
  Reply With Quote

Reply


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



All times are GMT -4. The time now is 10:20.