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

L1,L2,L_infinity error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2013, 22:18
Question L1,L2,L_infinity error
  #1
New Member
 
Join Date: Mar 2013
Posts: 14
Rep Power: 13
Wenjun is on a distinguished road
Hi, I am confused with the definition of the three errors. Are they defined as follows?
L1 = sum(abs(uex-u))*dx;
L2 = sqrt(dx*sum((uex-u)^2));
L_infinity = max(abs(uex-u));

Is L_infinity always larger than the other two errors?

Last edited by Wenjun; March 21, 2013 at 22:20. Reason: typo
Wenjun is offline   Reply With Quote

Old   March 22, 2013, 05:26
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,756
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Wenjun View Post
Hi, I am confused with the definition of the three errors. Are they defined as follows?
L1 = sum(abs(uex-u))*dx;
L2 = sqrt(dx*sum((uex-u)^2));
L_infinity = max(abs(uex-u));

Is L_infinity always larger than the other two errors?
First, a general Lp operator is called Holder norm, it applies on a vector in the discrete case, in your example, the error is the difference (uex-u), not the norm.
Then, you can define the norm in average or not, you can find some useful note in the book of LeVeque or any other book on numerical analysis.
L_infinity becomes the more restrictive
FMDenaro is offline   Reply With Quote

Old   March 22, 2013, 05:31
Default
  #3
New Member
 
Join Date: Mar 2013
Posts: 14
Rep Power: 13
Wenjun is on a distinguished road
Ok , thanks for your advice!
Wenjun is offline   Reply With Quote

Reply

Tags
error definition

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
user defined function cfduser CFX 0 April 29, 2006 11:58


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