3D Poisson equation with point source using pdetoolbox

1 次查看(过去 30 天)
Hello! I'm trying to solve a 3D Poisson equation with a point source using pdetoolbox, but I'm having the problem that the mesh "doesn't feel" the Dirac delta function, hence I get a null solution. The lack of RAM does not allow me to make the mesh smaller. For 2D, I found an interesting "adaptmesh" command. Is there any equivalent of this command for 3D? If not, what can be done to make the mesh "feel" the Dirac delta function?
  1 个评论
Torsten
Torsten 2022-3-12
编辑:Torsten 2022-3-12
You can't do anything.
In numerical simulations, a source must be a volume source, and since a point has no volume, the source cannot be represented adequately. The effect of the source will depend on the volume of the cell(s) in which you define the source.

请先登录,再进行评论。

回答(1 个)

William Rose
William Rose 2022-3-12
I would replace the dirac delta function in your numerical simulation with a finite valued function over a finite (not infinitely small) area, so that the total flux out of the source is conserved, of course.

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by