Simulating Electrostatic potential

Click For Summary
SUMMARY

This discussion focuses on simulating electrostatic potential using the deal.II C++ library, specifically for a problem involving charged parallel plates in free space. The user is solving the equation -∇²V = ρ / ε, where V represents the electrostatic potential, ρ is the charge density, and ε is the electrical permittivity. The user seeks clarification on interpreting charge density (ρ) and its relation to distance from the plates, as well as the proper setup of boundary conditions in the finite element method.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with finite element methods (FEM)
  • Knowledge of electrostatics, specifically Gauss's law
  • Experience with the deal.II library for C++
NEXT STEPS
  • Research the implementation of boundary conditions in deal.II for electrostatic problems
  • Learn about charge density interpretation in electrostatics and its numerical approximation
  • Study the relationship between electric potential (V) and electric field (E) in 2-D space
  • Explore advanced quadrature methods for numerical integration in finite element analysis
USEFUL FOR

Researchers, physicists, and engineers working on simulations of electrostatic phenomena, particularly those using the deal.II library and finite element methods.

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
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K