Timeline for Stiff system problems with NDSolve
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 14, 2021 at 15:11 | comment | added | user46831 | Again, I'd recommend looking at the solution to see what's happening at the point where you run into trouble. | |
Oct 13, 2021 at 13:23 | comment | added | Yue Yu | Oh, I see, thanks @JV3. Recently, I found that sometimes if I increase the total simulation time, it may run into the stiff system. Do you know why the total simulation time will have an effect on the final result? | |
Oct 11, 2021 at 18:11 | comment | added | user46831 | NDSolve returns InterpolatingFunctions, in this case x and y. They tell you the range over which they are defined. So, for example, x["Domain"]/.First[s] (the first here is because NDSolve returns a list of solutions, we want to look at the first --and I suspect only -- solution in that list) returns the domain {{from_t, to_t}}. Last[First[...]] returns to_t, the maximum t of the domain. Beyond that, the interpolating function relies on extrapolation. | |
Oct 10, 2021 at 16:35 | comment | added | Yue Yu |
Good point. Find singularity through output. What does this {t, 0, Last[First[x["Domain"] /. First[s]]]} mean.
|
|
Oct 10, 2021 at 14:02 | history | answered | user46831 | CC BY-SA 4.0 |