Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Stiff Problems and small step sizes
Date: Mon, 9 Feb 2009 17:18:01 +0000 (UTC)
Organization: Penn State University
Lines: 38
Message-ID: <gmpog9$7dj$1@fred.mathworks.com>
References: <get1at$jfg$1@fred.mathworks.com> <49121953$0$4888$9a6e19ea@unlimited.newshosting.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1234199881 7603 172.30.248.38 (9 Feb 2009 17:18:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Feb 2009 17:18:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1588143
Xref: news.mathworks.com comp.soft-sys.matlab:517106


When you were events for "stiction" did you have any issues with things moving faster than the events function could detect? For example, the ballode demo when the ball bounces a few times and gets closer to the ground, the time between each bounce (i.e. contact with ground) becomes smaller and smaller. I've had issues with events not being able to detect the contact in this case.

Freelance Embedded Systems Engineer <g9u5dd43@yahoo.com> wrote in message <49121953$0$4888$9a6e19ea@unlimited.newshosting.com>...
> William Kong wrote:
> > I'm analyzing a cargo dynamics problem where a box is tied down by
> > chains on to a platform. I am trying to analyze the movement of the
> > box in the event of a crash. The chains I'm using the tiedowns are
> > extremely stiff and strong. Thus there are large forces imparted on
> > to the box to arrest its movement.
> > 
> > The model consists of a system of 1st order ODEs for a 6DOF problem.
> > I use ode15s to solve this stiff problem.
> > 
> > To simulate a crash, I have both the box and platform moving at the
> > same initial velocity and then the platform suddenly stops at some
> > time as if it hit a wall. The box would keep going if it wasn't for
> > the tiedowns. When I try to run the simulation in Matlab, I get this
> > error message before it finishes:
> > 
> > " Warning: Failure at t=6.500000e-03.  Unable to meet integration
> > tolerances without reducing the step size below the smallest value
> > allowed (1.387779e-17) at time t."
> > 
> > Any suggestions as to what I can do about this?
> > 
> > Another way of simulating this crash would be to give only the
> > platform an initial velocity or an initial "kick". The error doesn't
> > come up in this case for some reason. However, I would prefer to do
> > it the former way where both are moving together at the same speed
> > and then only the platform comes to a sudden stop.
> 
> This sounds a little like the mixed continuous/discrete bouncing ball demo.
> do "help ballode" and run "ballode".
> Basically it uses the event detection capabilities of ODE
> to switch and restart the state equations.
> I've used this capability to study "stiction".
> 
>