AlanAlves
Civil/Environmental
- Jan 8, 2019
- 1
Hi!
I have a code that solve the poisson equation for FEM in temperature problems.
I tested the code for temperature problems and it works!
Now i have to solve an Electrostatic problem.
There is the mesh of my problem:
At the left side of the mesh we have V=0 (potencial).
There is a line charge located in (0.5,0) with charge density λ=1/(4*pi).
The poisson equation for electrostatics is:
My dificulty is how to solve it for a line charge (what is the best equation for ρ). I used the Dirac delta, and some aproximations for delta function but my code has wrong results.
I have a code that solve the poisson equation for FEM in temperature problems.
I tested the code for temperature problems and it works!
Now i have to solve an Electrostatic problem.
There is the mesh of my problem:

At the left side of the mesh we have V=0 (potencial).
There is a line charge located in (0.5,0) with charge density λ=1/(4*pi).
The poisson equation for electrostatics is:

My dificulty is how to solve it for a line charge (what is the best equation for ρ). I used the Dirac delta, and some aproximations for delta function but my code has wrong results.