Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Electric Field of Capacitor

Please login with a confirmed email address before reporting spam

Hi there,

I am trying to plot a Line Graph using '1D Plot Tool' of the electric field across a parallel plate capacitor.

I have completed the geometry by creating 2 rectangles, assigned them Copper material and created a larger rectangle around them both and assigned that Air.

I can only seem to plot Electric Potential, can anyone help me with how I can plot the Electric Field?

Kind regards


4 Replies Last Post 2022年3月14日 GMT-4 08:44
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年3月10日 GMT-5 11:50

If you are already successfully plotting the electric potential along a line, then you should be able to very easily replace the expression for the potential with an expression for the electric field, and then plot that. If this perhaps overly-simple advice isn't enough to guide you in solving your problem, then I encourage you to post your .mph file to the forum so that everyone can see the details of your model and can offer you more specific and useful help.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
If you are already successfully plotting the electric *potential* along a line, then you should be able to very easily replace the expression for the potential with an expression for the *electric field*, and then plot that. If this perhaps overly-simple advice isn't enough to guide you in solving your problem, then I encourage you to post your .mph file to the forum so that everyone can see the details of your model and can offer you more specific and useful help.

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年3月10日 GMT-5 13:28
Updated: 2 years ago 2022年3月10日 GMT-5 14:55

Hello Derek,

Two quick remarks:

  1. While the potential is a scalar, the electric field is a vector quantity, so you can't plot it with a surface plot (though you could plot its norm, or any other scalar quantity derived from its components); consider using an arrow plot or a streamline plot. You will find the electric field is then one of the ready-to-use quantities for those types of plots. There are training videos on the topic of arrow plots and streamline plots in the Learning Center.
  2. Copper being a vastly better conductor than air, typically you leave the copper electrodes out of the simulation entirely (Their potential being known a priori) and replace them by boundary conditions on the electrostatics problem solved on the air domain only. See this capacitor model for an example.

Best,

Jeff

-------------------
Jeff Hiller
Hello Derek, Two quick remarks: 1. While the potential is a scalar, the electric field is a vector quantity, so you can't plot it with a surface plot (though you could plot its norm, or any other scalar quantity derived from its components); consider using an arrow plot or a streamline plot. You will find the electric field is then one of the ready-to-use quantities for those types of plots. There are training videos on the topic of arrow plots and streamline plots in the [Learning Center](https://www.comsol.com/learning-center). 2. Copper being a vastly better conductor than air, typically you leave the copper electrodes out of the simulation entirely (Their potential being known a priori) and replace them by boundary conditions on the electrostatics problem solved on the air domain only. See [this capacitor model](https://www.comsol.com/model/tunable-mems-capacitor-123) for an example. Best, Jeff

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年3月12日 GMT-5 18:34

Thank you both for the advice. I am trying out your suggestions now, much appreciated.

My only further question is that when I am trying to plot the electric field using 1D Plot Tool, Line Graph, there is no option for distance on the x axis. I would like to plot the electric field on the y axis and the distance on the x axis.

Any further help appreciated.

Regards,

Thank you both for the advice. I am trying out your suggestions now, much appreciated. My only further question is that when I am trying to plot the electric field using 1D Plot Tool, Line Graph, there is no option for distance on the x axis. I would like to plot the electric field on the y axis and the distance on the x axis. Any further help appreciated. Regards,

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022年3月14日 GMT-4 08:44

Hello,

It sounds like you need to add to your model a "Cut Line 2D" dataset, corresponding to the line along which you want to plot the quantity. But remember my earlier remark: the electric field is not a scalar; a line plot will allow you to plot a scalar quantity derived from the electric field (such as its norm for instance), but not the electric field itself.

Best,

Jeff

-------------------
Jeff Hiller
Hello, It sounds like you need to add to your model a "Cut Line 2D" dataset, corresponding to the line along which you want to plot the quantity. But remember my earlier remark: the electric field is not a scalar; a line plot will allow you to plot a scalar quantity derived from the electric field (such as its norm for instance), but not the electric field itself. Best, Jeff

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.