Need a better guess yo for consistent initial conditions_Error using daeic3 (line 230)
조회 수: 4 (최근 30일)
이전 댓글 표시
I am trying to solve coupled transient heat and mass transfer equations in 2D in a food material using the PDE toolbox (Matlab 2018b).
I am rgetting those errors :
Error using daeic3 (line 230)
Need a better guess y0 for consistent initial conditions.
Error in ode15s (line 313)
[y,yp,f0,dfdy,nFE,nPD,Jfac,dMfac] = daeic3(odeFcn,odeArgs,tspan,htry,Mtype,Mt,Mfun,...
Error in pde.EquationModel/solveTimeDependent (line 104)
sol=ode15s(fcn,tlist,uu0,odeoptions);
Error in pde.PDEModel/solvepde (line 54)
[u,dudt] = self.solveTimeDependent(coefstruct, u0, ut0, tlist, ...
Error in Riceheat_and_mass (line 66)
results = solvepde(riceHeatandMass,tlist);
What the errors mean and how to fix them. Details on the equations and the script are in the attachment.
댓글 수: 0
답변 (1개)
Pravin Jagtap
2019년 8월 23일
Hello Fidele,
The approach followed by you in the attached script may not be the easiest way to solve this coupled system. To solve the system of coupled Partial Differential Equations we need to have both equations consistent with the form given in the documentation.
For better understanding of how to solve coupled partial differential equations refer following link:
The following link points have a similar example, which will probably help you in solving the problem.
Kind Regards
~Pravin
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!