How to solve diffusion equation in spherical coordinate using Matlab?

15 visualizaciones (últimos 30 días)
Yashar
Yashar el 18 de Feb. de 2019
Comentada: Rohit Jain el 3 de Oct. de 2023
PDE toolbox in Matlab expects the equations in Cartesian coordinate. In this page it says what the general shape of the equations should be: https://nl.mathworks.com/help/pde/pde-coefficients.html
that is:
I want to solve the diffusion equations:
Thus, in my case m, a, and f are zero. If we are in Cartesian coordinate then d is one and c, the diffusion constant, is for example 0.001. However, I want to solve the equations in spherical coordinates. Here is a link to Laplacian in spherical coordinate:
How can I solve the diffusion equation in the spherical coordinates in Matlab? or How can I determine the matrix of coefficienct "c" in spherical coordinates?
  5 comentarios
Yashar
Yashar el 20 de Feb. de 2019
At the end I want to solve this problem:
One molecue diffuses through a sphere, which represents a cell, and reaches the surface of the sphere. At the surface this molecule converts to another molecule which attaches to membrane that is stays at the surface and diffuses only at the surface (like a 2D diffusion however on the surface of the sphere). This problem is the simplification of a larger problem. If I can solve this simplified problem, I hope I can solve the system of PDEs in this paper ( it is open acess and the equations are in the methods sections):
Here is a snapshot of the equations that at the end I hope to solve:
Capture.PNG
Rohit Jain
Rohit Jain el 3 de Oct. de 2023
Hello,
Did you find a solution to your problem? I am working with a similar problem, could you please share something if that's possible?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by