Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

How to plot electric field along a broken line

Please login with a confirmed email address before reporting spam

Hi,

I'm hoping someone can advise me on this problem.

I've recently been using Comsol 4.2 to get the electric field. The geometry I am using has a sawtooth boundary. And I am trying to get the electric field along the sawtooth. But I got trouble when I tried to define the Data Sets. It seems that "Cut Line 2D" can only be used for a straight line. However, what I want is a broken line.

Any advice?

Thanks in advance

3 Replies Last Post 4 mai 2012, 01:58 UTC−4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 3 mai 2012, 17:40 UTC−4
Hi

what about selecting the boundary and plotting either along the arc ("s"), or along a coordinate x,y,z ?

--
Good luck
Ivar
Hi what about selecting the boundary and plotting either along the arc ("s"), or along a coordinate x,y,z ? -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 3 mai 2012, 18:13 UTC−4
Hello Ivar,

Sorry, I did not get it. Could you explain it a little bit more.

Xinping
Hello Ivar, Sorry, I did not get it. Could you explain it a little bit more. Xinping

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 4 mai 2012, 01:58 UTC−4
Hi

you said you ave already a boundary, then "my way" would be to make a "Line plot" select the sagged boundary and plot the electric filed.
Optionally you can replace the plot "x" axis (by default the "arc" length), by an expression such as "x" or "y" to use a coordinate

--
Good luck
Ivar
Hi you said you ave already a boundary, then "my way" would be to make a "Line plot" select the sagged boundary and plot the electric filed. Optionally you can replace the plot "x" axis (by default the "arc" length), by an expression such as "x" or "y" to use a coordinate -- Good luck Ivar

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.