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.

creating function vs time plot

Please login with a confirmed email address before reporting spam

I fed in a simple wave equation into comsol using it's coefficient form PDE and am trying to plot the unknown variable vs time. Can anyone tell me how to do it? The geometry being used is a simple rectangle. Comsol automatically plots the unknown variable vs the dimension of rectangle but not the time plot, not even using point plot or line plot.

2 Replies Last Post Sep 9, 2014, 2:16 a.m. EDT
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 10 years ago Sep 9, 2014, 2:14 a.m. EDT

Comsol automatically plots the unknown variable vs the dimension of rectangle but not the time plot, not even using point plot or line plot.


In the x-Axis Data section in these plots, you can set Parameter=Expression. This way you can control what the x- and y-axes correspond to using the Expression edit fields in the x-Axis Data and y-Axis Data sections.


[QUOTE] Comsol automatically plots the unknown variable vs the dimension of rectangle but not the time plot, not even using point plot or line plot. [/QUOTE] In the x-Axis Data section in these plots, you can set Parameter=Expression. This way you can control what the x- and y-axes correspond to using the Expression edit fields in the x-Axis Data and y-Axis Data sections.

Please login with a confirmed email address before reporting spam

Posted: 10 years ago Sep 9, 2014, 2:16 a.m. EDT
Hi,

Try to use Global plot under 1D plot. Select your variable under the "y-Axis Data", then select "Expression" under "x-Axis Data" and type "t".

Regards,
Dima.

--
Dima Apter
A2Z Consulting Ltd.
www.a2z-consulting.com
Hi, Try to use Global plot under 1D plot. Select your variable under the "y-Axis Data", then select "Expression" under "x-Axis Data" and type "t". Regards, Dima. -- Dima Apter A2Z Consulting Ltd. www.a2z-consulting.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.