How to solve diffusion equation in spherical coordinate using Matlab?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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:
![](https://i.stack.imgur.com/8CZBs.png)
I want to solve the diffusion equations:
![](https://i.stack.imgur.com/1NWUU.png)
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 Commenti
Rohit Jain
il 3 Ott 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?
Risposte (0)
Vedere anche
Categorie
Scopri di più su Geometry and Mesh in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!