Xmesh and Pdepe

Hi everyone
I am currently trying to integrate the diffusion equation in spherical symmetry using the pdepe tool. My code works fine and the results are satisfactory. However, the answer seems to depend on the number of points I include in the spatial mesh (keeping the same a and b boundaries). Does anyone know why? Should I keep increasing the mesh until the answer doesn't depend on the number of points?

Antworten (0)

Kategorien

Mehr zu Partial Differential Equation Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Jun. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by