Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Problem on the ODE45

Subject: Problem on the ODE45

From: Wilson

Date: 11 May, 2007 18:16:53

Message: 1 of 8

Hi,
I am trying to solve a system of 2nd order non-linear different equatio=
ns =

by the ODE45 solver, I encounters the following problem. I am not quite =
 =

sure what reason cause this error since I got a very strange output. The=
  =

error message is:

Warning: Failure at t=3D4.294891e+001. Unable to meet integration =

tolerances without reducing the step size below the smallest value allow=
ed =

(1.136868e-013) at time t.

-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Subject: Problem on the ODE45

From: Andy

Date: 11 May, 2007 06:57:09

Message: 2 of 8

Wilson wrote:
>
>
> Hi,
> I am trying to solve a system of 2nd order non-linear different
> equations
> by the ODE45 solver, I encounters the following problem. I am not
> quite
> sure what reason cause this error since I got a very strange
> output. The
> error message is:
>
> Warning: Failure at t=4.294891e+001. Unable to meet integration
> tolerances without reducing the step size below the smallest value
> allowed
> (1.136868e-013) at time t.
>
> --
> Using Opera's revolutionary e-mail client: <http://www.opera.com/mail/>
>
  Maybe you can solve the problem by changing the step to be much
smaller.

Subject: Problem on the ODE45

From: Shaun

Date: 11 May, 2007 09:15:54

Message: 3 of 8

try a stiff ODE solver

help ode15s

Shaun

Subject: Problem on the ODE45

From: Mohamed

Date: 7 Aug, 2007 16:06:41

Message: 4 of 8

Shaun <s@s.com> wrote in message
<ef56931.1@webcrossing.raydaftYaTP>...
> try a stiff ODE solver
>
> help ode15s
>
> Shaun

I was getting the same error message as wilson and I tried
using ode15s instead and I'm still getting. Is there any
other way to fix it?

Subject: Problem on the ODE45

From: Yang Zhang

Date: 7 Aug, 2007 20:13:43

Message: 5 of 8

"Mohamed " <bayoumi2@uiuc.edu> wrote in message
<f9a5ah$o1f$1@fred.mathworks.com>...
> Shaun <s@s.com> wrote in message
> <ef56931.1@webcrossing.raydaftYaTP>...
> > try a stiff ODE solver
> >
> > help ode15s
> >
> > Shaun
>
> I was getting the same error message as wilson and I tried
> using ode15s instead and I'm still getting. Is there any
> other way to fix it?


============================
Hi Mohamed,

Please try this before call ode solver and let us know the
results.

options = odeset('RelTol',1e-3,'AbsTol',1e-3);

Yang

Subject: Problem on the ODE45

From: Antonios

Date: 3 Nov, 2007 22:06:35

Message: 6 of 8

I have the same problem, and I have played around with all
the solver (stiff, nonstiff) and many different values for
absTol and RelTol. I keep getting this warning and the
integration cannot be completed in my time interval. Any
suggestions? I would really appreciate any help!

Antonios


"Yang Zhang" <zhyang99@hotmail.com> wrote in message
<f9ajpn$ea6$1@fred.mathworks.com>...
> "Mohamed " <bayoumi2@uiuc.edu> wrote in message
> <f9a5ah$o1f$1@fred.mathworks.com>...
> > Shaun <s@s.com> wrote in message
> > <ef56931.1@webcrossing.raydaftYaTP>...
> > > try a stiff ODE solver
> > >
> > > help ode15s
> > >
> > > Shaun
> >
> > I was getting the same error message as wilson and I tried
> > using ode15s instead and I'm still getting. Is there any
> > other way to fix it?
>
>
> ============================
> Hi Mohamed,
>
> Please try this before call ode solver and let us know the
> results.
>
> options = odeset('RelTol',1e-3,'AbsTol',1e-3);
>
> Yang
>

Subject: Problem on the ODE45

From: Jacek Kierzenka

Date: 5 Nov, 2007 14:44:56

Message: 7 of 8

Take a look at your equations. If all solvers behave the same, then perhaps
there is a point of singularity and the solver(s) cannot go past it?

-Jacek

 ---------------------------------------

"Antonios " <asangvin@stern.nyu.edu> wrote in message
news:fgirdb$179$1@fred.mathworks.com...
>I have the same problem, and I have played around with all
> the solver (stiff, nonstiff) and many different values for
> absTol and RelTol. I keep getting this warning and the
> integration cannot be completed in my time interval. Any
> suggestions? I would really appreciate any help!
>
> Antonios
>
>
> "Yang Zhang" <zhyang99@hotmail.com> wrote in message
> <f9ajpn$ea6$1@fred.mathworks.com>...
>> "Mohamed " <bayoumi2@uiuc.edu> wrote in message
>> <f9a5ah$o1f$1@fred.mathworks.com>...
>> > Shaun <s@s.com> wrote in message
>> > <ef56931.1@webcrossing.raydaftYaTP>...
>> > > try a stiff ODE solver
>> > >
>> > > help ode15s
>> > >
>> > > Shaun
>> >
>> > I was getting the same error message as wilson and I tried
>> > using ode15s instead and I'm still getting. Is there any
>> > other way to fix it?
>>
>>
>> ============================
>> Hi Mohamed,
>>
>> Please try this before call ode solver and let us know the
>> results.
>>
>> options = odeset('RelTol',1e-3,'AbsTol',1e-3);
>>
>> Yang
>>
>


Subject: Problem on the ODE45

From: Tianchan

Date: 12 Jun, 2008 14:55:03

Message: 8 of 8

I think the solution of your equation may have an asymptote
at t=3D4.294891e+001. That's why the computation stops at
that time.

Wilson <ykip5@ie.cuhk.edu.hk> wrote in message
<op.tr5qufbgxsy48p@mtcpc008.plab.ie.cuhk.edu.hk>...
> Hi,
> I am trying to solve a system of 2nd order non-
linear different equatio=
> ns =
>
> by the ODE45 solver, I encounters the following problem.
I am not quite =
> =
>
> sure what reason cause this error since I got a very
strange output. The=
> =
>
> error message is:
>
> Warning: Failure at t=3D4.294891e+001. Unable to meet
integration =
>
> tolerances without reducing the step size below the
smallest value allow=
> ed =
>
> (1.136868e-013) at time t.
>
> -- =
>
> Using Opera's revolutionary e-mail client:
http://www.opera.com/mail/

Tags for this Thread

Everyone's Tags:

ode

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
ode Yang Zhang 7 Aug, 2007 16:15:24
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics