Solving an ODE system with dsolve function
Afficher commentaires plus anciens
Hi everyone,
I am trying to solve the following system of ODEs with the dsolve command:
syms h11(r) T11(r) f11(r)
R=1e-3;
Tw=500;
ode1=3508*exp(7463/2000 - T11(r)/100)*diff(f11(r), r)^(6/5) - (9*(r*diff(T11(r), r, r) + diff(T11(r), r)))/(50*r) == 0;
ode2=- (9*(r*diff(h11(r), r, r) + diff(h11(r), r)))/(50*r) - (877*exp(7463/2000 - T11(r)/100)*h11(r)*diff(f11(r), r)^(6/5))/25 == 0;
odes=[ode1;ode2];
cond1=f11(R)==0;
cond2=T11(R)==Tw;
cond3=h11(0)==0;
cond4=h11(R)==0;
cond5=subs(diff(h11,r),r,0)==0;
conds = [cond1; cond2; cond3; cond4; cond5];
dsolve(odes,conds);
I would like to find the unknowun function f11, T11 and h11 based on the previous ODE system, but the following error appears:
Expecting an ODE in the specified variable.
I would appreciate Your help in finding a solution for this problem.
Best regards,
AP
3 commentaires
Torsten
le 15 Oct 2022
Formulate the problem for bvp4c. You won't get a symbolic solution for this complicated system.
Alessio Pricci
le 15 Oct 2022
There are many examples in the documentation for systems.
Both examples under
are systems of two equations.
In your case, there would be 4 equations (T11, T11r, T11rr, f11)
Réponses (0)
Catégories
En savoir plus sur Equation Solving dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!