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.

modifying model variable after each time step

Please login with a confirmed email address before reporting spam

Hi,
I have a coupled system of PDEs.
I want to modify the variables after each time step where it is calculated.
In fact any time that comsol computes the variable I want to ask it to enforce some condition to the variable. In particular fit it to be always between 0 and 1. If the obtained value is less than 0 then it considers 0 and for more than 1 considers 1.
Do you have any idea how to do this?

0 Replies Last Post 16 mag 2013, 10:07 GMT-4
COMSOL Moderator

Hello Mojdeh Rasoulzadeh

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.