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

L0, L1, L2 ,Linf error norms

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

Like Tree4Likes
  • 1 Post By Vino
  • 3 Post By duri

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2013, 14:54
Post L0, L1, L2 ,Linf error norms
  #1
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
Hi,

1)can some one suggest me how to calculate the L0, L1, L2 ,Linf error norms for a 2d case (eg:100X100 grids)?
2) To calculate norms, what are all needed for a steady/unsteady problem?
3) For example, i am solving a incompressible flow over cylinder problem for steady and unsteady, how to generate above said error norms for this problem?

Thanks in advance.!!!
aerosayan likes this.
Vino is offline   Reply With Quote

Old   September 11, 2013, 14:05
Default
  #2
Senior Member
 
duri
Join Date: May 2010
Posts: 245
Rep Power: 16
duri is on a distinguished road
If you want to calculate Ln (nth norm) of a vector, then formula is nth root of( a1^n + a2^n ... + ap^n). Where p is the vector size.
In CFD, residuals are estimated as average over the grid points. L2 norm is equivalent to RMS. Eg., to calculate T residual (temperature) then it is sqrt((T1^2 + T2^2 .. + Tn^2)/n). where n is cell or node count and T1 is (new T - old T) at cell 1.
L1 is equivalent to average of abs(T) residual on the mesh. Linf is the max T residual on the mesh. L0 is number of non-zero elements, I wonder why do you need this norm in residual.
duri is offline   Reply With Quote

Old   September 12, 2013, 08:10
Default
  #3
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
I have lot of confusion in this.... yes. Residual is to check the convergence of the steady state problem (What u have told based on T is a L2 norm???) . Can we use any other norms in residual calculation? In case of unsteady problem, how to check the error or how to check the convergence ? please clarify

Thanks.
Vino is offline   Reply With Quote

Old   September 12, 2013, 08:23
Default Norm
  #4
New Member
 
ImanFarahbakhsh
Join Date: Sep 2013
Posts: 2
Rep Power: 0
ImanFarahbakhsh is on a distinguished road
I wrote it in Latex syntax
error is a vector with m components then
norm of order nth (L_n) can be defined as
L_n(error)=(\Sigma_i=1^m{{e_i}^n})^{1/n}

Also L_0 is nonsense???
ImanFarahbakhsh is offline   Reply With Quote

Old   September 12, 2013, 09:22
Default
  #5
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
pointwise o averaged Holder norms? You can see the topi in a book of numerical analysis, also the LeVeque book is good
FMDenaro is offline   Reply With Quote

Old   September 12, 2013, 10:13
Default
  #6
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
I will check in Leveque book... thanks for your clarification....
Vino is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On



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