Numerical solution of the Poisson equation

Click For Summary

Discussion Overview

The discussion revolves around the numerical solution of the Poisson equation in the context of proton radiation affecting a material. Participants explore the implications of singularities in the integrand when calculating the electrostatic potential and field within the sample, particularly focusing on boundary conditions and the use of Green's functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant describes a scenario where protons create an electrostatic field in an infinite, homogeneous medium, leading to the Poisson equation: Δφ(x) = -ρ(x) / (εr ε0) with φ(±∞) = 0.
  • Another participant suggests that the approach of ignoring contributions from singularities is valid when using Green's functions, noting that the contribution ignored becomes negligible for small δx.
  • A later reply questions the assumption of negligible error when redefining variables and integrating, suggesting that the error may tend to infinity in a one-dimensional Cartesian system.
  • One participant expresses uncertainty about constructing a difference scheme for the Poisson equation under the given boundary conditions, favoring the Green's function approach instead.
  • It is noted that in a one-dimensional system, the Green's function is not divergent and is described as a piecewise linear function.

Areas of Agreement / Disagreement

Participants express differing views on the validity of ignoring singular contributions and the implications of the error in the calculations. The discussion remains unresolved regarding the best approach to handle the singularities and the construction of numerical schemes.

Contextual Notes

Participants highlight limitations related to the assumptions made about the behavior of the source term and the implications of boundary conditions on the solution approach.

ivantozavr
Messages
2
Reaction score
0
TL;DR
How to solve the Poisson equation inside an electrostatic field source?
In my case, there is proton radiation acting on the material. Consequently, the protons get stuck in the sample and create an electrostatic field. I would like to solve the Poisson equation inside the sample. I assume that the medium is infinite and homogeneous, that is, the potential at infinity is zero (one-dimensional case):
Δφ(x) = - ρ(x) / εr ε0
φ(±∞) = 0.​
The solution of such an equation is well known. That is (integration by range X' containing the source)
φ(x) = 1 / (4πεr ε0) ∫ dx' ρ(x') / |x-x'|.​
But then if I try to calculate the field inside the source itself, then singularities will occur due to the denominator in the integrand. I made small δx indents when calculating such an integral, i. e. sources with coordinates ζ: |ζ-x'| < δx were not taken into account when calculating an integral. This is hardly the right approach. Could you tell me how to solve such a problem correctly?
 
Physics news on Phys.org
It is a perfectly valid approach if you insist on computing the result through the Green’s function. The contribution ignored goes as
$$\int_{0}^{\delta x} \frac{r^2 dr}r \propto \delta x^2$$
so for small ##\delta x## this should give negligible errors.
 
Last edited:
Orodruin said:
It is a perfectly valid approach if you insist on computing the result through the Green's function. The contribution ignored goes as
$$\int_{0}^{\delta x} \frac{r^2 dr}r \propto \delta x^2$$
so for small ##\delta x## this should give negligible errors.
Thank you for your response!

Suppose that ##\rho(x')\approx const## in ##|x' - x| < \delta x.## Redefine the variable ##x' - x = \xi.## Wouldn't the error in a one-dimensional Cartesian system then be the same as below:
$$\delta\varphi \propto \int_{-\delta x}^{\delta x} \frac{d\xi}{|\xi|} = 2 \int_{0}^{\delta x} \frac{d\xi}{\xi}?$$
So the error tends to infinity?

In fact, I chose the solution via the green's function because I do not know how to construct a difference scheme for the Poisson equation with such boundary conditions.
 
Last edited by a moderator:
ivantozavr said:
Thank you for your response!

Suppose that ##\rho(x')\approx const## in ##|x' - x| < \delta x.## Redefine the variable ##x' - x = \xi.## Wouldn't the error in a one-dimensional Cartesian system then be the same as below:
$$\delta\varphi \propto \int_{-\delta x}^{\delta x} \frac{d\xi}{|\xi|} = 2 \int_{0}^{\delta x} \frac{d\xi}{\xi}?$$
So the error tends to infinity?

In fact, I chose the solution via the green's function because I do not know how to construct a difference scheme for the Poisson equation with such boundary conditions.
In a one-dimensional system the Green’s function is not divergent. It is a piecewise linear function.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
855
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K