Can I solve a partial differential equation with "Moving boundary condition" by using pdepe?
Show older comments
Dear all,
I need your help on solving a PDE by using pdepe..
The PDE is ∂u/∂t=∂^2u/∂x^2. and bc : ∂u/∂x=0 (x=0), ∂u/∂x=Const*u*(1-u) (x=b) here, dx/dt=-const*(1-u) (x=b, moving boundary) and ic: u(x,0)=u0.
I tried to solve them by using pdepe but not sure it is correct. Does pdepe support to solve PDE with "moving boundary condition"? If not, how can I solve it?
Thank you in advance.
MK
5 Comments
Rami
on 6 Jun 2017
Hi, Did you find an answer to this? I am looking to solve a pde with moving boundary conditions.
Thanks. Rami
Torsten
on 7 Jun 2017
Not possible to be solved with "pdepe" because of the additional ordinary differential equation for the position of the front.
Best wishes
Torsten.
Rami
on 7 Jun 2017
Hi Torsten, any other technique to solve it? Thanks! Rami
Torsten
on 8 Jun 2017
There are solvers for PDEs that can handle coupled ordinary differential equations, but they are written in FORTRAN.
If you want to use MATLAB, you will have to do the following steps:
1. Make a coordinate transformation x'=x/b to the PDE which fixes the right boundary to x'=1.
2. Discretize the transformed PDE in space using the method of lines.
3. Solve the resulting system of ordinary differential equations from the discretization together with the coupling equation for the right boundary point using ODE15S.
Best wishes
Torsten.
Jessica Hoffman
on 20 Aug 2018
I have just posted a similar question, and wondered if you ended up figuring it out, could you take a look? Best of luck!
Answers (0)
Categories
Find more on Electromagnetics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!