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

Grid refinement

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2008, 05:05
Default Grid refinement
  #1
shuo
Guest
 
Posts: n/a
What happens when you make your grid much finer than is required. Does it spoil the solution?

Shuo
  Reply With Quote

Old   October 6, 2008, 05:48
Default Re: Grid refinement
  #2
a
Guest
 
Posts: n/a
your excercise?
  Reply With Quote

Old   October 6, 2008, 19:39
Default Re: Grid refinement
  #3
Shuo
Guest
 
Posts: n/a
No, just that I am using a TVD code and it gives problems when I make the grid very fine. Not too sure why this is the case.
  Reply With Quote

Old   October 7, 2008, 00:40
Default Re: Grid refinement
  #4
a
Guest
 
Posts: n/a
ok (it was a joke)

theoritically, refinement of grid decrease truncation error; assume all of our approximation like a taylor approximation and so truncation error is porportional to O(h)^n+1, n is order of approximation. in the other hand, decreasing grid size increase round of error (intrinsic error related to computer arithmetic), however in practic we do not usually refine so the later be a case, however it is easy to check.

if your method has an implicit phase, it may be source of problem. e.g., if you have an iterative solver by grid refinement required number of iteration to solve system of equation is naturally increased and so you may not reach to desired accuracy within adjusted maximum number of iterations, so you can increase this maximum bond and check results.

if you have a nonlinear solver (outer iteration) its convergence can be also mater

another source maybe due to memory leak (using un-dynamic arrays), if your code be fortran 77, surely it use priori defined arrays with known maximum bound, and so you may hit this maxium bound by refinement.

  Reply With Quote

Old   October 7, 2008, 04:35
Default Re: Grid refinement
  #5
Ahmed
Guest
 
Posts: n/a
Increasing the number of cells decreases the discretization error, the rounding off error is more related to the number of mathematical operations executed (number of iterations) so if refining the mesh reduces the number of iterations, you are in good shape, if not, well it is up to you. And remember, refining the mesh will increase the execution time per iteration, in case the time is important for you. Good Luck
  Reply With Quote

Reply

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
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
Grid Refinement Yamuna FLUENT 0 September 9, 2008 13:24
Grid refinement. Sas Main CFD Forum 8 September 2, 2005 08:36
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59
Grid refinement with wall functions Mark Render Main CFD Forum 8 May 2, 2000 07:09


All times are GMT -4. The time now is 13:31.