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.

Post Processing Time Dependent Data

Please login with a confirmed email address before reporting spam

Hi all

I am working on a time dependent study, how can I subtract my data at two different time steps
over my domain and plot it in comsol ?

for instance plotting the
concentration (t=1) - concentration (t=0) over domain ?

Regards
AM

3 Replies Last Post 2014年6月11日 GMT-4 12:53
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2014年6月11日 GMT-4 08:24
Hi,

Use a Join data set with the time-dependent solution data set as both Data 1 and Data 2, picking time = 1 for Data 1 and time = 0 for Data 2, for example. Use the default combination method, Difference, to create a data set that is the solution data (t =1) - solution data (t = 0). Then use the Join data set in the plot group where you plot the concentration.

Best regards,
Magnus Ringh, COMSOL
Hi, Use a Join data set with the time-dependent solution data set as both Data 1 and Data 2, picking time = 1 for Data 1 and time = 0 for Data 2, for example. Use the default combination method, Difference, to create a data set that is the solution data (t =1) - solution data (t = 0). Then use the Join data set in the plot group where you plot the concentration. Best regards, Magnus Ringh, COMSOL

Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2014年6月11日 GMT-4 08:54
Hi,

You can also use the at() operator, such as plotting

c-at(0,c)

for a concentration c, with the time in the Plot Group set to 1 s, for example.

Best regards,
Magnus Ringh, COMSOL
Hi, You can also use the at() operator, such as plotting c-at(0,c) for a concentration c, with the time in the Plot Group set to 1 s, for example. Best regards, Magnus Ringh, COMSOL

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2014年6月11日 GMT-4 12:53
Thank you very much Magnus! Can you please also comment on below
www.comsol.com/community/forums/general/thread/45045/
Thank you very much Magnus! Can you please also comment on below http://www.comsol.com/community/forums/general/thread/45045/

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.