Clear Filters
Clear Filters

Can I solve more than two PDEs in 2D?

3 views (last 30 days)
Hello,
I want to solve a system of several diffusion-equation reactions in 2D to simulate a gradient of proteins in a cell.
Something like:
du1/dt = D(d^2u1/dx^2+d^2u1/dy^2) + r1*u2 - r2u1
du2/dt = D(d^2u2/dx^2+d^2u2/dy^2) - r1*u2 + r3u3
...
I tried to solve it using the central difference method in space and the forward difference method in time, but I get negative concentration values... So I guess I did it wrong. I was wondering if I can use a solver like pde to solve more than two PDEs in 2D, but is it even possible? Which methods can I use?
Best,
Cecilia

Accepted Answer

Torsten
Torsten on 18 Jun 2024
Moved: Torsten on 18 Jun 2024
If you have a licence for the PDE Toolbox, you can apply it to solve your problem.
  3 Comments
Torsten
Torsten on 18 Jun 2024
Edited: Torsten on 18 Jun 2024
I think it's obvious how to solve such a system for more than 2 components in 2d.
The documentation can help:

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!