CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   error definition (https://www.cfd-online.com/Forums/main/3853-error-definition.html)

Zhou September 4, 2001 04:01

error definition
 
Silly equation about the error definition (for 1-D):

L-1 error: \sum(abs(df))*dx;

L-2 error: \sqrt(\sum(abs(df)**2)*dx);

L-intfy error: \maxval(abs(df))

where df is the difference between the numerical result and the exact solution, dx is the mesh size.

Are these right?

Many thanks.


All times are GMT -4. The time now is 06:57.