Simulating Electrostatic potential

Click For Summary
The discussion focuses on simulating electrostatic potential using the deal.II C++ library, specifically for a charged parallel plate scenario. The user is attempting to solve the equation -∇²V = ρ / ε, where V represents electrostatic potential, ρ is charge density, and ε is electrical permittivity. A key point of confusion is whether ρ should represent the charge density on the plate or be calculated at various points around the plates. It is clarified that ρ is the volume charge density within the simulation volume, and boundary conditions should reflect the surface charge density on the plates. The user is encouraged to ensure clarity in notation and consider numerical approximations for surface densities.
philm001
Messages
1
Reaction score
0
Hello everyone,

I am currently learning how to use a simulation C++ library (for those wondering, it is the deal.II library) by simulating a "simple" problem where I have a charged parallel plate in free space and I am solving for the electrostatic potential around the plates.

For those that do not know, the deal.II library solves PDEs via the weak form. Once I have it in the weak form, I approximate the integral by quadrature.

Now, I am new to finite element solvers such as deal.II so I am not too sure how I can properly setup my problem. I did make an attempt and I would like to check with the community on how to setup the physics. I am pretty sure that my coding is correct. However, I need to be sure that my equations that I am using are correct hence me asking this question to the physics forum and not the deal.II forum.

So, as it stands, I am currently solving for this equation:

-∇2*V=ρ / ε

where V is the electrostatic potential and ρ is the charge density and ε is the electrical permittivity. (since I am working in the 2-D space, ρ has the units C/m^2)

With this method, I am able to determine the weak form and reduce it to quadrature. However, my only issue is that I am not sure how I should interpret ρ. Would ρ be the charge density on the plate? Or should I calculate ρ for every point around the plates. I know that V and E are both related and that E decreases as the distance from one point to another decreases hence the V decreases. So, I am wondering, how is the distance taken into account? Is it in the V term or the ρ a function of distance (r in this case).

Or, is this a terrible way of thinking about it and I can solve it with a better method in the simulator?
 
Physics news on Phys.org
Rho is the volume charge density in the volume you are solving the PDE in. If you have a charge surface density on a plate at the boundary, this will translate into the boundary conditions. If you have a charged plate inside your volume you need to approximate the surface density with some finite but thin volume density to solve it numerically.

philm001 said:
-∇2*V=ρ / ε
The * should not be here. In fact, it just makes it more unclear what you actually mean (I know what you mean because I know Gauss's law, but keep these things in mind).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
978
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 19 ·
Replies
19
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K