How can I solve a system of ODEs with boundary conditions
25 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Simone Paganelli
le 14 Juil 2019
Modifié(e) : Elia Paini
le 28 Avr 2021
Hi, I am trying to solve a system of boundary value problem. I have problems in writing the code and running the program.
Briefly, I have 3 equations to solve:
Where k(C) is a known function depends on C.
with the following BCs:
I converted them to first order system in order to put it in matlab.
Where, I let
so the resulting system is:
with BCs:
Thank you in advance!
0 commentaires
Réponse acceptée
Stephan
le 14 Juil 2019
6 commentaires
Elia Paini
le 28 Avr 2021
Modifié(e) : Elia Paini
le 28 Avr 2021
@Simone Paganelli Why did you put in solinit, as second vector, [0,0,0,1,1,1]?
I'm solving a similar system in spherical coordinates, but I don't know how the second vector must be inserted.
Thank you!
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur PDE Solvers dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!