integrate for surface charge Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » integrate for surface charge « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Devesh Khanal (dr_chiao)
Member
Username: dr_chiao

Post Number: 7
Registered: 05-2007
Posted on Wednesday, May 30, 2007 - 07:58 pm:   

Mr Nelson,

In metallic electrostatics, after I solve the equation, How do I calculate the total surface charge?

To be more specific, suppose I have an parallel-plate capacitor, and the Laplace equation has been solved with FlexPDE. I want the total surface charge on the surface of one of the plates. I tried to use
Q=SURF_INTEGRAL(Normal(Grad(phi))*epsilon0,"plateA-surface"),

but the result is much much smaller than C*V, where C was calculated from analytical expression.

Any suggestions? Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 863
Registered: 06-2003
Posted on Wednesday, May 30, 2007 - 09:22 pm:   

Are you sure you integrated over an entire closed surface?
You might have to sum more than one integral.
Top of pagePrevious messageNext messageBottom of page Link to this message

Devesh Khanal (dr_chiao)
Member
Username: dr_chiao

Post Number: 8
Registered: 05-2007
Posted on Wednesday, May 30, 2007 - 09:57 pm:   

application/octet-streamcylinder-plane capacitor
test2.pde (2.2 k)


Here I attached my code, to calculate a cylinder-plane system, where the cylinder has finite length and is grounded, and the plane is at voltage "Vgate". I tried to calculate capacitance from two different methods:
from energy: C*Vgate^2/2=Integral(eps*(grad(V))^2),
or from charge:
C=Sintegral(normal(eps*grad(V)))/Vgate

but they do not agree
:-(

please help. Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 870
Registered: 06-2003
Posted on Monday, June 04, 2007 - 05:34 pm:   

I don't know what is happening here.
I created a 3D version of our Application Manual test problem Capacitance.pde, and the two computations agree to 3 percent (see attached).

You have a sharp edge at the top of the can, at which point the E field is in principle infinite. It is possible that the strong variations in E over a few cells destroys the accuracy of the numerical integration. I have not verified this conjecture.

application/octet-stream
capacitance3d.pde (3.3 k)

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration