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.