フィルターのクリア

Need a better guess yo for consistent initial conditions_Error using daeic3 (line 230)

5 ビュー (過去 30 日間)
Fidele Abedi
Fidele Abedi 2019 年 8 月 13 日
回答済み: Pravin Jagtap 2019 年 8 月 23 日
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.

回答 (1 件)

Pravin Jagtap
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

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by