Problem with the Finite Element Method applied to Electrostatics

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 4K views
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: 480
  • 7ebcf984-7712-4702-803b-256b121ea07f.jpg
    7ebcf984-7712-4702-803b-256b121ea07f.jpg
    3.3 KB · Views: 741
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
 
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: 532
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?