|
[Sponsors] |
August 2, 2015, 00:28 |
L2 norm of Grid convergence
|
#1 |
New Member
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
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. |
|
August 2, 2015, 04:43 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
I attach some notes, sorry that are in italian but I hope the equations can be useful...
|
|
August 4, 2015, 02:38 |
|
#3 |
New Member
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
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 |
|
August 4, 2015, 03:14 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
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 |
||
August 4, 2015, 05:19 |
|
#5 |
New Member
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Thanks FMDenaro.
It will be much help. Kind regards. |
|
August 6, 2015, 15:38 |
|
#6 |
New Member
Join Date: Oct 2010
Location: USA
Posts: 18
Rep Power: 15 |
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. |
|
August 6, 2015, 16:46 |
|
#7 |
Senior Member
Martin Hegedus
Join Date: Feb 2011
Posts: 500
Rep Power: 19 |
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. |
|
August 7, 2015, 07:50 |
|
#8 |
New Member
Neo
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Thanks Tony & Martin.
Information above are definitely helpful to me. Regards. |
|
|
|
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 |