Can I solve a partial differential equation with "Moving boundary condition" by using pdepe?

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

Hi, Did you find an answer to this? I am looking to solve a pde with moving boundary conditions.
Thanks. Rami
Not possible to be solved with "pdepe" because of the additional ordinary differential equation for the position of the front.
Best wishes
Torsten.
Hi Torsten, any other technique to solve it? Thanks! Rami
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.
I have just posted a similar question, and wondered if you ended up figuring it out, could you take a look? Best of luck!

Sign in to comment.

Answers (0)

Asked:

on 8 May 2012

Commented:

on 20 Aug 2018

Community Treasure Hunt

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

Start Hunting!