Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Stoping the PDE solver once steady state has been reached
Replies: 1   Last Post: Nov 8, 2010 3:02 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Abed Alnaif

Posts: 13
Registered: 10/21/08
Stoping the PDE solver once steady state has been reached
Posted: Nov 7, 2010 3:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I have a system of reaction-diffusion PDEs in one spatial dimension (the two independent variable are time and x). I am trying to find the steady state solution. I tried to set the time derivatives to 0, so that the PDEs become ODEs, and then I tried to solve the system of ODEs using the bvp4c and bvp5c commands. However, I had problems with non-unique solutions, and the calculated solution was way too sensitive to my initial guess.

Therefore, I gave up on that method, and now I want to solve the system of PDEs until it reaches steady state. Is there a way that I can tell Matlab to stop solving once the system reaches steady state (based on some tolerance)? I know I can do this manually, by simply calling "pdepe" iteratively until the system reaches steady state, but I was wondering if I can avoid having to do this by just being able to tell Matlab to stop the simulation once the steady state has been reached.

Thanks!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.