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 May 4, 2012, 1:58 a.m. EDT
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 May 3, 2012, 5:40 p.m. EDT
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 May 3, 2012, 6:13 p.m. EDT
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 May 4, 2012, 1:58 a.m. EDT
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.