pdepe solver for spherical coordinates
Ältere Kommentare anzeigen
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 Kommentare
Torsten
am 28 Mär. 2023
We don't know since we don't know the code you are using.
John D'Errico
am 28 Mär. 2023
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
am 28 Mär. 2023
Ishani Prachchhak
am 28 Mär. 2023
Ishani Prachchhak
am 28 Mär. 2023
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.
Antworten (0)
Kategorien
Mehr zu 1-D Partial Differential Equations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
