pdepe solver for spherical coordinates
显示 更早的评论
I am using the heat conduction equation for solid which has the source term to enter the code in Matlab. But even changing any values of s the plot is not chnaging atall. What could be the problem?
6 个评论
Torsten
2023-3-28
We don't know since we don't know the code you are using.
John D'Errico
2023-3-28
Probable user error. A mistake you made in either running or writing the code.
Think about it. Read your question, as if you were yourself trying to provide help. We are expected to know what you did wrong, based only on being told that when you change the value of s, nothing happens. What is s? Now think about how we should know the answer to your question from that little information.
Seriously. Do you want a better answer? You need to provide more information. You might show the code you wrote, and hope someone will be willing to dive into it. If you do that, then you also need to show the actual equations you are trying to solve, so that same person might be able to verify if you implemented them properly.
Ishani Prachchhak
2023-3-28
Ishani Prachchhak
2023-3-28
Ishani Prachchhak
2023-3-28
You set up the following problem:
1/alpha * du/dt = d/dx ( 1/x^2 * du/dx) + egen/k
u(t=0) = 296
1/x^2 * du/dx = 0 at x=0
1.234e19 - 2*5.9/x^2 * du/dx = 0 at x = 15e-9.
Is this really what you try to solve ?
If not: please include equation, initial and boundary conditions.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 1-D Partial Differential Equations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
