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

Problem with Backward Euler Results

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2011, 10:51
Default Problem with Backward Euler Results
  #1
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
Hi,

I have tried to solve a system of equations in the form:
dy1/dt = y1 +dt*f(y1,y2)
dy2/dt = y2 +dt*f(y1,y2)

using different schemes such as forward Euler and backward (implicit) Euler and Runge Kutta order 4. My results seem to be OK for the forward Euler scheme and Runge Kutta above a certain number of time steps (A). But for implicit Euler using A time steps, I get an error after a certain number of time steps (say A-100). I was wondering if anyone had any ideas of what the problem might be. I can't think of anything at all.

Thanks!
Hooman is offline   Reply With Quote

Old   December 23, 2011, 16:44
Default
  #2
otd
Member
 
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17
otd is on a distinguished road
[QUOTE=Hooman;336756]Hi,

I have tried to solve a system of equations in the form:
dy1/dt = y1 +dt*f(y1,y2)
dy2/dt = y2 +dt*f(y1,y2)

Do you perhaps mean f( ... ) for the first equation

and g( ... ) for the second equation?
otd is offline   Reply With Quote

Old   December 25, 2011, 08:37
Default
  #3
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
yes, that's what I meant. Sorry!
Hooman is offline   Reply With Quote

Old   December 29, 2011, 11:53
Default
  #4
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
Any ideas?
Hooman is offline   Reply With Quote

Old   January 1, 2012, 10:59
Default
  #5
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
I just realized that if I use really small time steps (much smaller than that of explicit euler) my reuslts become OK. I am now thinking it could be because I used forward euler to work out the initial RHS's at the new time step, to calculate the y1 and y2 at the new time steps.
Hooman is offline   Reply With Quote

Old   January 1, 2012, 11:02
Default
  #6
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
ooh I just realize that I have written the equations wrong here. They should be:
dy1/dt = f(y1,y2)
dy2/dt = g(y1,y2)
Hooman is offline   Reply With Quote

Reply

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
Centrifugal Pump Cavitation problem or not. ismael.s CFX 13 February 27, 2012 08:00
CFX results export problem ? nasir CFX 2 November 4, 2011 21:10
Abort->Changing from Euler to Backward -> Running idrama OpenFOAM 3 March 4, 2010 05:07
good Cold Flow Results but problem with Hot Flow Rams CFX 2 June 13, 2006 03:30
Forward and Backward Euler. Question Man. Main CFD Forum 2 March 29, 2004 13:19


All times are GMT -4. The time now is 18:55.