CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Error criteria on coarsest level in Multigrid method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2017, 23:13
Default Error criteria on coarsest level in Multigrid method
  #1
New Member
 
Muhammad Sufyan
Join Date: Jun 2012
Location: South Korea
Posts: 17
Rep Power: 13
Sufyan is on a distinguished road
Hi, I am studying multigrid method.

I refered to numerical recipes, A multigrid tutorial etc.

In reference, they said "on coarsest grid, solve exactly Au=f"

I solved simple Laplace’s equation with various error criteria ( e-01 ~ e-09) and utilized residual norm on coarsest grid.

But when I used error criteria e-01, it shows fastest elapsed time.

I tested Laplace's equation on 1D, 2D and 3D. And used structured mesh. every case showed same trends (error criteria e-01 case is fastest).

1. Why do they say "on coarsest grid, solve exactly Au=f" ?
it shows good performance when we solved the equation roughly rather than exactly.
both results are the same, but with difference on elapsed time.
does this mean my code is incorrect? And why does the textbook say " solve Au=f exactly"?
__________________
SUFI
Sufyan is offline   Reply With Quote

Old   January 9, 2017, 05:36
Default
  #2
Member
 
Bernd
Join Date: Jul 2012
Posts: 42
Rep Power: 13
zx-81 is on a distinguished road
Quote:
Originally Posted by Sufyan View Post
1. Why do they say "on coarsest grid, solve exactly Au=f" ?
it shows good performance when we solved the equation roughly rather than exactly.
both results are the same, but with difference on elapsed time.
does this mean my code is incorrect? And why does the textbook say " solve Au=f exactly"?
In multi grid, the details of the 'coarsest level solve' actually do not matter much, both with respect to performance (in 3D, each level has eight times less nodes than the next finer one, so with 8 levels the system you solve at the coarsest has two million times less nodes than the finest level) an with respect to accuracy, because normally you are using multiple V-cycles through the whole hierarchy until the errors residual drops below your prescribed accuracy threshold.

However, considering the fact that the coarsest level solve can be million times cheaper per degree of freedom than the full problem solve, it does make sense to invest some more iterations there for a truly exact solution at the coarsest level, just for reasons of efficiency.
zx-81 is offline   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 02:32
FAS multigrid method mb.pejvak Main CFD Forum 3 July 30, 2012 22:40
explicit residual smoothing working with multigrid method zhanglei Main CFD Forum 0 August 30, 2010 12:20
Multigrid Method for Euler Equation Vidhyashankar.N Main CFD Forum 2 March 23, 2008 21:14
Multigrid method Suresh kumar Main CFD Forum 1 April 24, 2006 20:07


All times are GMT -4. The time now is 21:29.