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
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
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Geometry and Mesh についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!