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.

evaluate a transient variable

Please login with a confirmed email address before reporting spam

Hi, I am working on a transient problem. I defined a variable using the global equation. How can I evaluate or obtain the value of this variable at previous time? say, the variable is 'F', I would like to get the value or expression of F at time (t-10) in the model.

thanks
Chunguang Xia

1 Reply Last Post 27.07.2010, 03:31 GMT-4
Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27.07.2010, 03:31 GMT-4
Hi Chunguang,

you can access variables in postprocessing using the "at" operator for instance at(10,u) would produce the variable u at time 10. However, it is not possible to use such expressions in equations on runtime creating a feedback.

Sven
Hi Chunguang, you can access variables in postprocessing using the "at" operator for instance at(10,u) would produce the variable u at time 10. However, it is not possible to use such expressions in equations on runtime creating a feedback. Sven

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.