How to reinitialize ODE45 when solution blows up?
Show older comments
I have a Reduced Order Model that was derived from Proper Orthogonal Decomposition and it is known to be unstable over a finite period of integration time.
I also have a set of initial conditions for the entire duration of the integration. Hence, I wish to give a new set of initial conditions to the ODE solver whenever a failure (divergence) occurs in order to aid stability.
The problem I have is:
1) Do not know how to recognise a failure event of a solution blow-up such that I can input a new set of initial condition to continue the integration
Would appreciate any form of advice, thank you in advance!
Warm Regards,
Greg
Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!