<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238739</link>
    <title>MATLAB Central Newsreader - Stiff Problems and small step sizes</title>
    <description>Feed for thread: Stiff Problems and small step sizes</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 05 Nov 2008 20:57:01 -0500</pubDate>
      <title>Stiff Problems and small step sizes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238739#609265</link>
      <author>William Kong</author>
      <description>Hello&lt;br&gt;
&lt;br&gt;
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. &lt;br&gt;
&lt;br&gt;
The model consists of a system of 1st order ODEs for a 6DOF problem. I use ode15s to solve this stiff problem. &lt;br&gt;
&lt;br&gt;
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:&lt;br&gt;
&lt;br&gt;
&quot; 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.&quot;&lt;br&gt;
&lt;br&gt;
Any suggestions as to what I can do about this?&lt;br&gt;
&lt;br&gt;
Another way of simulating this crash would be to give only the platform an initial velocity or an initial &quot;kick&quot;. 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.</description>
    </item>
    <item>
      <pubDate>Wed, 05 Nov 2008 22:08:11 -0500</pubDate>
      <title>Re: Stiff Problems and small step sizes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238739#609277</link>
      <author>Freelance Embedded Systems Engineer</author>
      <description>William Kong wrote:&lt;br&gt;
&amp;gt; I'm analyzing a cargo dynamics problem where a box is tied down by&lt;br&gt;
&amp;gt; chains on to a platform. I am trying to analyze the movement of the&lt;br&gt;
&amp;gt; box in the event of a crash. The chains I'm using the tiedowns are&lt;br&gt;
&amp;gt; extremely stiff and strong. Thus there are large forces imparted on&lt;br&gt;
&amp;gt; to the box to arrest its movement.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The model consists of a system of 1st order ODEs for a 6DOF problem.&lt;br&gt;
&amp;gt; I use ode15s to solve this stiff problem.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; To simulate a crash, I have both the box and platform moving at the&lt;br&gt;
&amp;gt; same initial velocity and then the platform suddenly stops at some&lt;br&gt;
&amp;gt; time as if it hit a wall. The box would keep going if it wasn't for&lt;br&gt;
&amp;gt; the tiedowns. When I try to run the simulation in Matlab, I get this&lt;br&gt;
&amp;gt; error message before it finishes:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot; Warning: Failure at t=6.500000e-03.  Unable to meet integration&lt;br&gt;
&amp;gt; tolerances without reducing the step size below the smallest value&lt;br&gt;
&amp;gt; allowed (1.387779e-17) at time t.&quot;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Any suggestions as to what I can do about this?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Another way of simulating this crash would be to give only the&lt;br&gt;
&amp;gt; platform an initial velocity or an initial &quot;kick&quot;. The error doesn't&lt;br&gt;
&amp;gt; come up in this case for some reason. However, I would prefer to do&lt;br&gt;
&amp;gt; it the former way where both are moving together at the same speed&lt;br&gt;
&amp;gt; and then only the platform comes to a sudden stop.&lt;br&gt;
&lt;br&gt;
This sounds a little like the mixed continuous/discrete bouncing ball demo.&lt;br&gt;
do &quot;help ballode&quot; and run &quot;ballode&quot;.&lt;br&gt;
Basically it uses the event detection capabilities of ODE&lt;br&gt;
to switch and restart the state equations.&lt;br&gt;
I've used this capability to study &quot;stiction&quot;.</description>
    </item>
    <item>
      <pubDate>Mon, 09 Feb 2009 17:18:01 -0500</pubDate>
      <title>Re: Stiff Problems and small step sizes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238739#627133</link>
      <author>ill will</author>
      <description>When you were events for &quot;stiction&quot; 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.&lt;br&gt;
&lt;br&gt;
Freelance Embedded Systems Engineer &amp;lt;g9u5dd43@yahoo.com&amp;gt; wrote in message &amp;lt;49121953$0$4888$9a6e19ea@unlimited.newshosting.com&amp;gt;...&lt;br&gt;
&amp;gt; William Kong wrote:&lt;br&gt;
&amp;gt; &amp;gt; I'm analyzing a cargo dynamics problem where a box is tied down by&lt;br&gt;
&amp;gt; &amp;gt; chains on to a platform. I am trying to analyze the movement of the&lt;br&gt;
&amp;gt; &amp;gt; box in the event of a crash. The chains I'm using the tiedowns are&lt;br&gt;
&amp;gt; &amp;gt; extremely stiff and strong. Thus there are large forces imparted on&lt;br&gt;
&amp;gt; &amp;gt; to the box to arrest its movement.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; The model consists of a system of 1st order ODEs for a 6DOF problem.&lt;br&gt;
&amp;gt; &amp;gt; I use ode15s to solve this stiff problem.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; To simulate a crash, I have both the box and platform moving at the&lt;br&gt;
&amp;gt; &amp;gt; same initial velocity and then the platform suddenly stops at some&lt;br&gt;
&amp;gt; &amp;gt; time as if it hit a wall. The box would keep going if it wasn't for&lt;br&gt;
&amp;gt; &amp;gt; the tiedowns. When I try to run the simulation in Matlab, I get this&lt;br&gt;
&amp;gt; &amp;gt; error message before it finishes:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot; Warning: Failure at t=6.500000e-03.  Unable to meet integration&lt;br&gt;
&amp;gt; &amp;gt; tolerances without reducing the step size below the smallest value&lt;br&gt;
&amp;gt; &amp;gt; allowed (1.387779e-17) at time t.&quot;&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Any suggestions as to what I can do about this?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Another way of simulating this crash would be to give only the&lt;br&gt;
&amp;gt; &amp;gt; platform an initial velocity or an initial &quot;kick&quot;. The error doesn't&lt;br&gt;
&amp;gt; &amp;gt; come up in this case for some reason. However, I would prefer to do&lt;br&gt;
&amp;gt; &amp;gt; it the former way where both are moving together at the same speed&lt;br&gt;
&amp;gt; &amp;gt; and then only the platform comes to a sudden stop.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This sounds a little like the mixed continuous/discrete bouncing ball demo.&lt;br&gt;
&amp;gt; do &quot;help ballode&quot; and run &quot;ballode&quot;.&lt;br&gt;
&amp;gt; Basically it uses the event detection capabilities of ODE&lt;br&gt;
&amp;gt; to switch and restart the state equations.&lt;br&gt;
&amp;gt; I've used this capability to study &quot;stiction&quot;.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; </description>
    </item>
  </channel>
</rss>

