How to solve coupled systems of PDEs and ODEs using method of lines

2 views (last 30 days)
I want to develop an 1D model for PEM fuel cell which includes several PDEs and ODEs. I have read that, it is possible to solve it using method of lines. I would like to get an example code so that i understand the implementation in Matlab

Answers (1)

Torsten
Torsten on 17 Jul 2023
Edited: Torsten on 17 Jul 2023
  3 Comments
Torsten
Torsten on 24 Jul 2023
Is it possible to solve multipoint boundary problems using MOL (i have regions with different propoerties)?
Including your problem in its mathematical formulation would make it possible for me to answer your question.
Sachin Hegde
Sachin Hegde on 24 Jul 2023
Hi Torsten. I have attached a pdf which includes the system i am trying to solve. To summerise, it is a system of PDEs and ODEs. The system consists of several regions that are joined together (see the figure in the pdf) and each region has different physical properties however the governing equation remains the same. The boundary conditions are provided at the intersection of each region. I am struggling to implement this in matlab. I kindly ask your support and i thank you in advance.

Sign in to comment.

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!