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

L2 norm of Grid convergence

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2015, 00:28
Default L2 norm of Grid convergence
  #1
New Member
 
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17
9mile is on a distinguished road
Hi all.

I am studying a grid convergence test.

To compare the solution on fine and coarse mesh, following equation of L2 norm is used.

Norm = sqrt{sum over i~N of (u_i,c - u_i,f)^2/N},

in which u_i,c is a solution of coarse grid and u_i,f means a solution from fine mesh.

Sorry for crude expression of equation.

Anyway, total number of grid, N, is different on both meshes, then how can compare solutions one on one?

Any comments or guidance is appreciated
Thanks in advance.
9mile is offline   Reply With Quote

Old   August 2, 2015, 04:43
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I attach some notes, sorry that are in italian but I hope the equations can be useful...
Attached Files
File Type: pdf Capitolo1 - Copia.pdf (54.8 KB, 179 views)
juliom likes this.
FMDenaro is offline   Reply With Quote

Old   August 4, 2015, 02:38
Default
  #3
New Member
 
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17
9mile is on a distinguished road
Thanks FMDenaro for your reply.

As i read your document, N of coarse grid is a reference value.

With doubling N, 2(N-1)+1 component is compared to one from N.

As for 4N, 4(N-1)+1 component could be compared to N.

Is it right ?

Regards
9mile is offline   Reply With Quote

Old   August 4, 2015, 03:14
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by 9mile View Post
Thanks FMDenaro for your reply.

As i read your document, N of coarse grid is a reference value.

With doubling N, 2(N-1)+1 component is compared to one from N.

As for 4N, 4(N-1)+1 component could be compared to N.

Is it right ?

Regards
Hello,

n is the number of component available on the coarsest grid therefore is also the number of values to extract from the vectors computed on the finer grids.

n_f is the number of points on the finest grid you can compute.

my example consider the fact the the points on the coarser grid has correspondence on the points on the finer (see figure).


You can find also some example in the book of Ferziger
FMDenaro is offline   Reply With Quote

Old   August 4, 2015, 05:19
Default
  #5
New Member
 
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17
9mile is on a distinguished road
Thanks FMDenaro.

It will be much help.

Kind regards.
9mile is offline   Reply With Quote

Old   August 6, 2015, 15:38
Default
  #6
New Member
 
Join Date: Oct 2010
Location: USA
Posts: 18
Rep Power: 15
Tony12 is on a distinguished road
9mile,

Based on your ("crude") equation, it looks like the number of grid points, N, should be from the coarse mesh. The assumption here is that within your u_i,f vector, you only consider grid points that are in a similar location in x,y,z space as your fine grid (i.e. that you're comparing solution values that are in the same spatial position). So you'll have to write a script that can find all coarse mesh grid point locations and then find all fine mesh grid locations that match up (or interpolate -- preferred method), and use only those fine mesh locations for your equation.
Tony12 is offline   Reply With Quote

Old   August 6, 2015, 16:46
Default
  #7
Senior Member
 
Martin Hegedus
Join Date: Feb 2011
Posts: 500
Rep Power: 19
Martin Hegedus is on a distinguished road
If possible, the overlapping points should be compared.

Here is an example of a grid convergence study I did for my code using the Vassberg grids.

http://www.hegedusaero.com/examples/.../Vassberg.html

Good luck.
Martin Hegedus is offline   Reply With Quote

Old   August 7, 2015, 07:50
Default
  #8
New Member
 
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17
9mile is on a distinguished road
Thanks Tony & Martin.

Information above are definitely helpful to me.

Regards.
9mile 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
On grid independent solution for pulsatile flow David FLUENT 5 March 25, 2022 03:33
higher grid resolution --> later convergence? cfd-noob89 Main CFD Forum 4 October 31, 2013 09:47
Grid size, convergence issues franzdrs Main CFD Forum 3 June 18, 2009 07:57
MapFields to New Grid For Extreme Grid Deformations due to Body Motion albcem OpenFOAM 0 May 5, 2009 14:17
Re: Convergence problem for refined grid CFD_Novice Main CFD Forum 13 February 17, 2008 22:56


All times are GMT -4. The time now is 23:39.