|
[Sponsors] |
August 14, 2007, 10:33 |
Relative error
|
#1 |
Guest
Posts: n/a
|
Hi all,
I've got a question related to relative errors in the special case where the x(exact) is nearly 0. Example : x(exact) = 1 e-10 x(simul) = 0.001 Er = |x(exact)-x(simul)|/|x(exact)| = 9999999!!! I would like to know if there is a way to avoid this situation. Thanks in advance. |
|
August 14, 2007, 12:39 |
Re: Relative error
|
#2 |
Guest
Posts: n/a
|
Can you make your system non dimensional ? In that way you would not need to go for such high precision requirements.
|
|
August 14, 2007, 12:55 |
Re: Relative error
|
#3 |
Guest
Posts: n/a
|
Well, the purpose is to compare some methods via the absolute and relative errors. The equation resolved is of type: m.d2(y)/dt2 + k.y = f with y=1 and dy/dt=0 and the exact solution is y=cos(wt). It's clear to see that the y is zero, or nearly, at Pi/2 for example, as I explained before.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
POSDAT problem | piotka | STAR-CD | 4 | June 12, 2009 09:43 |
attach/detach (valve opening/closing) | phsieh2005 | OpenFOAM Running, Solving & CFD | 2 | March 21, 2009 06:18 |
[Netgen] Installation of Netgen in SuSE Linux 92 | edvardsenpriv | OpenFOAM Meshing & Mesh Conversion | 23 | January 16, 2009 07:12 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |