How to reinitialize ODE45 when solution blows up?

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

태그

질문:

2020년 7월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by