MATLAB Answers

PDE with time-dependent boundary conditions

4 views (last 30 days)
Peter Nave
Peter Nave on 28 Aug 2020
Commented: Peter Nave on 1 Sep 2020
Can anybody give hints how to solve the attached problem?

  2 Comments

Peter Nave
Peter Nave on 31 Aug 2020
I am especially interested in the possibility of using pdepe for solving this problem.
Peter Nave
Peter Nave on 1 Sep 2020
Thank you very much. I will study your codes and I will let you know how I fared.

Sign in to comment.

Accepted Answer

Bill Greene
Bill Greene on 1 Sep 2020
I do not believe it is possible to solve this problem with pdepe.
However I have written a one-dimensional PDE solver which is similar to
pdepe (similar syntax and runs in MATLAB)
but contains some enhancements including the capability to couple a
set of ODE with the set of PDE. These ODE can be used, for example, to model
the two reservoirs at the ends of your diffusion region.
My PDE solver can be downloaded here.
I have also tried to create a rough example that is similar to yours.
This example can be downloaded here.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!