Problem with the Finite Element Method applied to Electrostatics

AI Thread Summary
The discussion revolves around the application of the Finite Element Method (FEM) to solve electrostatic problems, specifically using the Poisson equation. The user has successfully implemented the code for temperature problems but encounters difficulties when adapting it for a line charge in electrostatics. They are uncertain about the appropriate representation of charge density, having tried the Dirac delta function with unsatisfactory results. Other participants suggest providing more clarity on the problem and visual aids to better understand the scenario. The conversation highlights the challenges of transitioning from thermal to electrostatic simulations in FEM.
Alan Lins Alves
Messages
4
Reaction score
0
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 (img 01).

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:
7ebcf984-7712-4702-803b-256b121ea07f.jpg


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.
 

Attachments

  • 01.png
    01.png
    9.2 KB · Views: 449
  • 7ebcf984-7712-4702-803b-256b121ea07f.jpg
    7ebcf984-7712-4702-803b-256b121ea07f.jpg
    3.3 KB · Views: 687
Engineering news on Phys.org
Anyone can help me?
Please
 
wow
it's been fifty+ years and the term "Dirac delta" is unfamiliar
and in my day we didn't have computers with precoded solutions .

In slide rule days we'd integrate along the line.

sorry i can't be more help.

old jim
 
Alan Lins Alves said:
I tested the code for temperature problems and it works
Hi,

then how did you specify a pointlike heat source ?
 
jim hardy said:
wow
it's been fifty+ years and the term "Dirac delta" is unfamiliar
and in my day we didn't have computers with precoded solutions .

In slide rule days we'd integrate along the line.

sorry i can't be more help.

old jim

Ok,
Thanks old Jim!
 
BvU said:
Hi,

then how did you specify a pointlike heat source ?

3326OS_06_01F.jpg

This is the Poisson equation for temperature problem.
Note that temperature is in left side of equation.
 

Attachments

  • 3326OS_06_01F.jpg
    3326OS_06_01F.jpg
    4.1 KB · Views: 484
Alan,
I've done a lot of electrostatic calculations, analytical, numerical and FEA. However, I don't quite understand your question.
Could you elaborate on it? Draw a picture without a mesh to start with.
Are you trying to calculate the field of a charged wire next to a ground plane?
 
Back
Top