MATLAB Answers

PDEtoolbox_Error using daeic3 (line 230) Need a better guess y0 for consistent initial conditions.

조회 수: 10(최근 30일)
Minjun Bae
Minjun Bae 2020년 2월 26일
댓글: Minjun Bae 2020년 3월 6일
Hello,
I am trying to solve a system with three partial differential equations coupled by using PDE toolbox.
As I simulate my code, I keep getting an error, saying
Error using daeic3 (line 230)
Need a better guess y0 for consistent initial conditions.
I cannot figure out where the error comes from. Can anyone help me to figure out what the problem is?
Attached PDF file is equations and corresponding code that I am trying to solve.
Any help would be very much appreciated.
Also, let me know if I could provide more information regarding this.

채택된 답변

Ravi Kumar
Ravi Kumar 2020년 3월 5일
You do have a singula mass matrix becuase of the equation 2. If I understand correctly equation 1 can be solved in isolation. Once you have u1, can you attempt to solve equation 2 and 3 using u1? This may or may not resolve the issue, it will simplify the system a bit.
  댓글 수: 3
Minjun Bae
Minjun Bae 2020년 3월 6일
Hello,
Please see the attached pdf file. I have included two function handles as well as my main code.
Thank you so much!
Best regards,

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by