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