Thread Subject: Stiff Problems and small step sizes

Subject: Stiff Problems and small step sizes

From: William Kong

Date: 5 Nov, 2008 20:57:01

Message: 1 of 3

Hello

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.

Subject: Stiff Problems and small step sizes

From: Freelance Embedded Systems Engineer

Date: 5 Nov, 2008 22:08:11

Message: 2 of 3

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".


Subject: Stiff Problems and small step sizes

From: ill will

Date: 9 Feb, 2009 17:18:01

Message: 3 of 3

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".
>
>

Tags for this Thread

Everyone's Tags:

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
crash ill will 5 Nov, 2008 16:00:20
collision ill will 5 Nov, 2008 16:00:20
stiff ill will 5 Nov, 2008 16:00:20
ode15s ill will 5 Nov, 2008 16:00:20
step size ill will 5 Nov, 2008 16:00:20
numerical ill will 5 Nov, 2008 16:00:20
integration ill will 5 Nov, 2008 16:00:20
rssFeed for this Thread
 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com