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

Euler (explicit or implicit)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2006, 05:11
Default Euler (explicit or implicit)
  #1
anybody
Guest
 
Posts: n/a
Hi,

I have written a little program which solves an ordinary differential equation y'=B*y-A*C*exp(B*x)*sin(C*x). y(x=0) = A.

For the integration I have used an explicit and implicit Euler-scheme (first order).

Since both schemes are first order accurate the integration fault should be identical. Do you think so too?

How can I prove the first order for the implicit scheme? (explicit is easy using a taylor-expansion around x).

To get the derivative dy/dx|_(x+dx) (IMPLICIT), I have to do an explicit forward step to get y_(x+dx). Right?

Thanks.

  Reply With Quote

Old   May 7, 2006, 07:32
Default Re: Euler (explicit or implicit)
  #2
ganesh
Guest
 
Posts: n/a
Dear Anybody,

The fact that the time integration is first order accurate, does not essentially mean that the integration fault is the same. All it means is that the accuracy is first order in time, which means a smaller delt would give a smaller fault, and the rate of decrease would be at unity, the schemes being to first orde accuracy. However, the magnitude of the fault would be determined by the coefficients of the error terms, and therefore could be different. In general, an implicit scheme is expected to give a lower fault than the explicit scheme.

Hope this helps

Regards,

Ganesh

  Reply With Quote

Old   May 8, 2006, 02:12
Default Re: Euler (explicit or implicit)
  #3
anybody
Guest
 
Posts: n/a
Hi,

thanks for your comments - it seems logical to me.

But could you briefly deschribe how I have to determine the derivative at (n+1). I thought have to integrate forward which leads me to f_i+1. Since f'=A*f+..... this leads to df/dx_(n+1).
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Implicit versus Explicit Deepak Main CFD Forum 16 November 29, 2014 21:54
Implicit or explicit ? Rickard.Solsjo OpenFOAM 0 May 31, 2011 04:02
Implicit Euler equations moein_joon27 Main CFD Forum 1 January 13, 2011 15:43
ddt explicit or implicit with courant number!! mrshb4 OpenFOAM 0 December 13, 2010 12:13
implicit vs explicit pXYZ Main CFD Forum 2 April 21, 2006 09:48


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