Plot of temperature along a line inside of a thin layer

Please login with a confirmed email address before reporting spam

Hello

How can we plot the temperature along a line inside a thin layer? The line is parallel to the thin layer surface. I manage to do the surface graph of the temperature on the layer, but I would like to do the plot of the temperature only on a line. I've tried several approaches with the command atxd but they didn't succeed.

Thank you


3 Replies Last Post 7 ott 2025, 02:21 GMT-4
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 6 days ago 1 ott 2025, 15:01 GMT-4

Margarida,

a cut line dataset and a line plot using it is what you want.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Margarida, a cut line dataset and a line plot using it is what you want. Cheers Edgar

Please login with a confirmed email address before reporting spam

Posted: 21 hours ago 6 ott 2025, 12:32 GMT-4

Thank you, Edgar. A cut line 2D or 3D? I tried to use a cut line 3D but using 2 points but I couldn't figure out right z-coordinate of those two points (my thin layer is in the plane xy).

Thank you, Edgar. A cut line 2D or 3D? I tried to use a cut line 3D but using 2 points but I couldn't figure out right z-coordinate of those two points (my thin layer is in the plane xy).

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 7 hours ago 7 ott 2025, 02:21 GMT-4
Updated: 4 hours ago 7 ott 2025, 05:39 GMT-4

If the layer is in the xy plane, then z should be 0?

If the thin layer is implemented as a boundary you may see a temperature discontinuity. In this case you can use the up() and down() operators to see the temperatures on each side of the boundary.

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
If the layer is in the xy plane, then z should be 0? If the thin layer is implemented as a boundary you may see a temperature discontinuity. In this case you can use the up() and down() operators to see the temperatures on each side of the boundary.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.