Overlay plot of geometry and analytic function

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   1 Reply   Last post: August 9, 2012 12:42pm UTC
Martin Hediger

Martin Hediger

August 8, 2012 1:09pm UTC

Overlay plot of geometry and analytic function

Dear Comsol Users
I defined an analytical function depending on x and y which I would like to plot in overlay with my geometry for which it is defined (similarly to the plot on page 7 of the semiconductor diode example).
How do I do that?

I created a plot group of the analytical function, but I dont know how to "add" the geometry domains to this plot.
Thanks for hints or suggestions.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

August 9, 2012 12:42pm UTC in response to Martin Hediger

Re: Overlay plot of geometry and analytic function

Hi

if you have defined your function, plot your Data-Set results in a line plot and add a line plot referring to your analytical function. This works for a function that is dependent on the spatial coordinates, i.e. along an edge and you are plotting some variable along this edge. The reference to the analytical function is sometimes "implicit" with COMSOL when you select an entity (point, edge, boundary or domain), you define your x, or x,y or x,y,z extent (implicitly)

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines