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 Jul 27, 2010, 3:31 a.m. EDT
Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jul 27, 2010, 3:31 a.m. EDT
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.