Connect with users of Wolfram technologies to learn, solve problems and share ideas
Mark as an Answer
1 Total Likes
Follow this post
Share this post:
Graphics and Visualization
Plot solutions to NDSolve while solution is being computed
11 years ago
Hello, I am currently using NDSolve to explore the solution to some PDEs, and my workflow is evry straight foward: pose the equations+B.Cs, the choose a method, and have NDSolve do the required computations, and then use Manipulate to visualize the solution as I change one of the variables, typically time. I am wondering if it is possible to plot the solution of NDSolve, while it is being solved so that one can for example visualize the time evolution of the solution. I tried wrapping one of the independent variables with Dynamic, but could not get it work, so I am wondering if someone has an idea on how to get his done.
P.S. I know in this case Manipulate gets the job done, but I am trying to better understand the Dynamic command and how far one can push Mathematica with some deep understanding of some basic commands to move on to some more challenging problems writing small efficient Mathematica code.
Arnoud Buzing, Wolfram Research
11 years ago
There is an option to NDSolve and related numerical functions like FindRoot, which is called
. This allows you to capture the individual solution steps, assign them to a variable and use that variable within a Dynamic construct.
Reply to this discussion
in reply to
Community posts can be styled and formatted using the
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Add a file to this post
Follow this discussion
Be respectful. Review our
to understand your role and responsibilities.
Wolfram|Alpha Notebook Edition
Volume & Site Licensing
Enterprise Private Cloud
Service Plans Benefits
Wolfram Language Documentation
Wolfram Language Introductory Book
Get Started with Wolfram
Fast Introduction for Programmers
Fast Introduction for Math Students
Webinars & Training
Connected Devices Project
Wolfram Data Drop
Wolfram + Raspberry Pi
. All rights reserved.
Learn how »