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.

Electricfield Streamlines

Please login with a confirmed email address before reporting spam

Hi!
I am new to COMSOL and I have a very simple model consisting of 2 electrodes.
When i try to simulate for electric field lines, using the streamline function by the magnitude controlled option i get non symmetric lines even though my model is symmetric. Each time I change the density under the magnitude controlled option, i get different lines with different types of asymmetry.
Some density values give me a reasonably symmetric result.
I have two questions:
1. Why is my plot asymmetric when the complete model is symmetric?
2. why do some densities give a reasonably symmetric plot whereas others do not? What does density really mean in this function
Also what does magnitude controlled really mean and how is it different from the other options?

Thank you!

7 Replies Last Post Feb 19, 2015, 4:33 p.m. EST
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 16, 2015, 5:23 p.m. EST

Hi,

streamlines can be a little tricky. It is important to choose good start points. In the magnitude controlled way COMSOL sets many start points where the field magnitude is high.
Even if your model is symmetric, the mesh may be not, if you are using the automatic meshing procedures. The small mesh related asymmetries may spoil the streamline picture.
You can get around that by defining your own start points in a symmetric way.

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Hi, streamlines can be a little tricky. It is important to choose good start points. In the magnitude controlled way COMSOL sets many start points where the field magnitude is high. Even if your model is symmetric, the mesh may be not, if you are using the automatic meshing procedures. The small mesh related asymmetries may spoil the streamline picture. You can get around that by defining your own start points in a symmetric way. Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 17, 2015, 11:07 a.m. EST
Thank you!

I have defined a start point right in the centre of the two electrodes and my mesh size is normal, i could make it finer. Even with a central start point i get asymmetries.

What do you define as symmetric start points? Can I define more that one start point?

-Shagun
Thank you! I have defined a start point right in the centre of the two electrodes and my mesh size is normal, i could make it finer. Even with a central start point i get asymmetries. What do you define as symmetric start points? Can I define more that one start point? -Shagun

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 17, 2015, 2:50 p.m. EST

You can define as many points as you want. One point gives one streamline. Check the options of the streamline node. You will have to play a little with it. Also check the advanced options to control length and precision of the streamlines.

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
You can define as many points as you want. One point gives one streamline. Check the options of the streamline node. You will have to play a little with it. Also check the advanced options to control length and precision of the streamlines. Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 18, 2015, 4:19 p.m. EST
Hi!

I tried the "on selected boundaries option" and i get a nice symmetric plot.

I have some more questions:

Physically what makes more sense: magnitude controlled or on selected boundaries?
How is 'on selected boundaries' different from 'uniform density' option?
When we define uniform density and the spacing, how is that different from giving a density value to a magnitude controlled plot?

Thank you so much for your quick replies! It has helped me a lot!
I am just trying to understand this better.

Best,
Shagun
Hi! I tried the "on selected boundaries option" and i get a nice symmetric plot. I have some more questions: Physically what makes more sense: magnitude controlled or on selected boundaries? How is 'on selected boundaries' different from 'uniform density' option? When we define uniform density and the spacing, how is that different from giving a density value to a magnitude controlled plot? Thank you so much for your quick replies! It has helped me a lot! I am just trying to understand this better. Best, Shagun

Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 19, 2015, 8:37 a.m. EST
Physically what makes more sense: magnitude controlled or on selected boundaries?
How is 'on selected boundaries' different from 'uniform density' option?
When we define uniform density and the spacing, how is that different from giving a density value to a magnitude controlled plot?


Magnitude controlled or selected boundaries give different views of the field. They are both physically correct in some sense.

On selected boundaries results in the streamlines being uniform distributed on they boundary where they begin. Uniform density results in streamlines being added until the density is approximately the same everywhere.

[QUOTE]Physically what makes more sense: magnitude controlled or on selected boundaries? How is 'on selected boundaries' different from 'uniform density' option? When we define uniform density and the spacing, how is that different from giving a density value to a magnitude controlled plot?[/QUOTE] Magnitude controlled or selected boundaries give different views of the field. They are both physically correct in some sense. On selected boundaries results in the streamlines being uniform distributed on they boundary where they begin. Uniform density results in streamlines being added until the density is approximately the same everywhere.

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 19, 2015, 3:51 p.m. EST
Okay.
Thank you.

But say for two parallel plate electrodes, the electric field is strongest between the plates but when i simulate it using COMSOL, the streamlines don't show the strength of the field, they show the field lines even behind the two plates in more density if not equal. So how do i get a more physical representation of the electric field?

Is there any plot i could do that would, say give me magnitudes of the electric field along different planes in my model?
or something to give a more physically accurate description?
I am attaching a picture of the parallel plate electrode problem.

Okay. Thank you. But say for two parallel plate electrodes, the electric field is strongest between the plates but when i simulate it using COMSOL, the streamlines don't show the strength of the field, they show the field lines even behind the two plates in more density if not equal. So how do i get a more physical representation of the electric field? Is there any plot i could do that would, say give me magnitudes of the electric field along different planes in my model? or something to give a more physically accurate description? I am attaching a picture of the parallel plate electrode problem.


Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Feb 19, 2015, 4:33 p.m. EST

Streamlines are not well suited to show the field strength. You have to realize that they show the direction of the field vector, not the magnitude.
It is possible to visualize field strength by choosing a high density of start points where the field strength is high.

If you want to visualize the electric field I would recommend a surface or contour plot of the field, not the potential. Your plot is a surface and contour plot of the potential, not the field.

I guess you don't find streamlines between the plates because you chose the start points outside the capacitor. The streamlines then loop from one exterior plate surface to the other arond the capacitor. They cannot penetrate the plate because there is no field inside the conductive plate.

Almost all about the correct use of streamlines is about the choice of the start points. If you chosse them in a proper way they are nice for qualitative visualization, but they are mostly useless for quantitative purposes.


--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Streamlines are not well suited to show the field strength. You have to realize that they show the direction of the field vector, not the magnitude. It is possible to visualize field strength by choosing a high density of start points where the field strength is high. If you want to visualize the electric field I would recommend a surface or contour plot of the field, not the potential. Your plot is a surface and contour plot of the potential, not the field. I guess you don't find streamlines between the plates because you chose the start points outside the capacitor. The streamlines then loop from one exterior plate surface to the other arond the capacitor. They cannot penetrate the plate because there is no field inside the conductive plate. Almost all about the correct use of streamlines is about the choice of the start points. If you chosse them in a proper way they are nice for qualitative visualization, but they are mostly useless for quantitative purposes. -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

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.