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.
Enforcing variables to be greater than or equal to zero
Posted Dec 2, 2012, 6:29 p.m. EST 3 Replies
Please login with a confirmed email address before reporting spam
Hello,
I'm modelling diffusion through a porous medium with adsorption. The main dependent variable for mass concentration tends to go below zero which is not true in reality. Is there a way to enforce my variables to be >=0 at all times?
I would also like to apply this condition to other concentrations that I specify in my additional variables.
Any suggestions would be greatly appreciated.
I'm modelling diffusion through a porous medium with adsorption. The main dependent variable for mass concentration tends to go below zero which is not true in reality. Is there a way to enforce my variables to be >=0 at all times?
I would also like to apply this condition to other concentrations that I specify in my additional variables.
Any suggestions would be greatly appreciated.
3 Replies Last Post Feb 9, 2014, 12:45 p.m. EST