Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Boundary Condition
Posted Jun 20, 2012, 4:50 a.m. EDT Porous Media Flow Version 4.3 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I want to use this expression as a boundary condition (pressure head) in the Richard's equation modules
Hp0=1.094-y+0.235*cos(0.0081*t)
where, t is the time and y is the vertical coordinate.
I want to use above expression whenever is positive and if it is negative put zero for Hp0.
I have tried to use 'the if operator' but it has not worked.How can I do that in the COMSOL?
Thanks in advance
Amir
I want to use this expression as a boundary condition (pressure head) in the Richard's equation modules
Hp0=1.094-y+0.235*cos(0.0081*t)
where, t is the time and y is the vertical coordinate.
I want to use above expression whenever is positive and if it is negative put zero for Hp0.
I have tried to use 'the if operator' but it has not worked.How can I do that in the COMSOL?
Thanks in advance
Amir
2 Replies Last Post Jun 20, 2012, 11:49 p.m. EDT