How to reinitialize ODE45 when solution blows up?
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!