Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Options to exit NDSOLVE?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14020] Re: [mg13948] Options to exit NDSOLVE?
  • From: "Jens-Peer Kuska" <kuska at linmpi.mpg.de>
  • Date: Wed, 16 Sep 1998 14:12:01 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Robin,

here is the help text of the StoppingTest option

In[15]:=
?StoppingTest
"StoppingTest is an option for NDSolve that can be used to stop the \
integration of the ode when a certain condition is found to be True.
The \ condition can evaluate to True/False only and should contain the
dependent \ and independent variables explicitly. This option cannot be
used for linear \
boundary value problems."

The result of NDSolve can still be used to obtain the results.

Hope that helps
  Jens

-----Original Message-----

From: Robin Redfield <RedfieldRC.Dfem at usafa.af.mil> To:
mathgroup at smc.vnet.net
Subject: [mg14020] [mg13948] Options to exit NDSOLVE?


>>
>>
>> Is it possible to get NDSOLVE to exit before the independent variable
>> reaches its range?  I would like to exit the numerical integration
routine
>> based on monitored conditions in the simulation.  I would also like to
>know
>> the value of some of my variables at exit.
>>
>> For example, I am modeling the vertical motion of a water rocket and
would
>> like to stop the simulation when the water is dispelled from the rocket,
>not
>> necessarily at some particular value of the independent variable (time).
>>
>> Thanks for any help,
>>
>> Rob Redfield
>> Associate Professor
>> Engineering Mechanics
>> US Air Force Academy
>
>
>



  • Prev by Date: Re: Re: Fourier transform
  • Next by Date: Help, I have Syntax Errors in allmost all files
  • Previous by thread: Re: Options to exit NDSOLVE?
  • Next by thread: Piecewise function integrated thrice