|
[Sponsors] |
June 10, 2001, 03:40 |
EULER-Forward-Method
|
#1 |
Guest
Posts: n/a
|
I am a stupid student looking out for help. The task is: Draw up a computerprogram in a programming language of your choice (delphi, fortran,...) by which you will be able to analyse the mistakes and stability of an wearing off process. Given is the equation: du/dt=d2u/du2 (2 means square) Please use for the discretization the explicit Euler-Forward-method. The distribution of the beginning looks like a sine oscillation. The abscissa is standardized: x0=0 x1=1 The locas increment is dx=0,002. By using the following increments in time examine the stability of calculation. increment in time dt : dt/(dx)^2 ---------------------------------------- 0,000002 : 0,5 2,0004E-6 : 0,5001 2,004E-6 : 0,501 2,04E-6 : 0,51 1,96E-6 : 0,49 1,8E-6 : 0,45 1,6E-6 : 0,4 0,8E-6 : 0,2 0,4E-6 : 0,1
Give a statement about the precision resp. the number of itterations to reach a mistake less than 0,000001. Depict (graphical) the trend of the mistake in dependence on the number of itterations in a loarithmic coordinate system for the cases listed in the table ahead specialy for x=1/4. Depict the results of the calculation. Please help me with this problem. It would be nice if anyone is able to send me a program source code for the Euler-Forward-method. Or please tell me an good webpage where I can find somthing to solve my problem. Thanx!!! |
|
|
|
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 18:00 |
population balance with and Euler Euler method. | thomas | CFX | 3 | August 30, 2011 19:20 |
population balance with and Euler Euler method. | thomas | Main CFD Forum | 0 | May 7, 2004 07:58 |
population balance with and Euler Euler method. | thomas | FLUENT | 0 | May 7, 2004 07:57 |
Unstructured Multigrid Method for Euler equations | Jian Xia | Main CFD Forum | 8 | December 20, 1999 12:31 |