explicit solution not found
古いコメントを表示
Good morning,
I am having a problem with matlab solver.
I have to build an ordinary differential equation system which solves all of them (there are 7 equations) simoultaneously in order to find out the desired results.
But when I launch the calculation this is what I have:
>> syms sp(t) vp(t) x(t) z(t) vt(t) pa(t) pb(t)
S = dsolve(diff(sp) == vp,
diff(vp)==0.006421*pb,
diff(x)==1.47*pa^0.8053,
diff(z)==diff(x)*((0.00191)*(2*0.000191-2*x)-(x*x-(0.000191-x)^2))/(0.000191^3) ,
diff(vt)==0.000056839*vp-0.0025*diff(z),
diff(pa)==(697505*0.00167*diff(z)-(0.24*2.47)*0.00167*vp*vp/6-(0.24*2.47)*(0.004+0.00167*z/3)*vp*diff(vp))/vt-(697505*0.00167*z-0.5*0.24*2.47*(0.004+0.00167*z/3)*vp*vp*diff(vt))/(vt*vt),
diff(pb)== diff(pa)*(1+0.5*0.24*vp*vp/(1.5*9.81*1.24*697505))^(-5.16)-pa*vp*diff(vp)*1/(1.5*9.81*697505*(1+0.5*0.24*vp*vp/(1.5*9.81*1.24*697505)))*(1+0.5*0.24*vp*vp/(1.5*9.81*1.24*697505))^(-5.16),
sp(0)==0, vp(0)==0, x(0)==0, z(0)==0, vt(0)==0.000000154, pa(0)==101325, pb(0)==101325 )
Warning: Explicit solution could not be found.
> In dsolve at 197
S =
[ empty sym ]
I need to find out the results solving by time values but as you can see, the only thing I get is an error message.
Can you please me show the steps I have to do in order to solve this problem?
Thank you all for you time and attention
Sincerely
Gerardo
回答 (1 件)
Torsten
2015 年 8 月 25 日
0 投票
It's unlikely that you can find an analytical solution for such a complicated system of ODEs.
Use one of the numerical ODE-integrators (e.g.ODE45) instead of dsolve.
Best wishes
Torsten.
2 件のコメント
Walter Roberson
2015 年 8 月 25 日
The combination of the 3rd and 4th conditions together with the 6th and 7th conditions is intractable. Any 3 of those together provide so little enough information that analytic solvers would just quickly return with some generic integrals, but when you put the 4 together, solvers will run for hours and eat through more than 8 gigabytes of memory trying to solve the problem.
Gerardo Gabriele
2015 年 8 月 25 日
カテゴリ
ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!