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.

How to give maximum and minimum limit to a variable in user defind function as comsol takes maximum and minimum values for shear rate in power law model

Please login with a confirmed email address before reporting spam

I am trying to give an user defined function for viscosity which is a function of pressure and shear rate. I want to take the value of pressure to be the pressure calculated by comsol but then i do not want that pressure value below a certain limit so i want to give the minimum value of p for it. Is there any way i can do it in comsol5.1?

1 Reply Last Post 4 sept. 2015, 10:11 UTC−4

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 4 sept. 2015, 10:11 UTC−4
You can just write it for example if you dont want it to be below x you can write min(x,function) comsol recognizes it like that
You can just write it for example if you dont want it to be below x you can write min(x,function) comsol recognizes it like that

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.