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.

Restrict flow direction through a dirichlet BC if a condition is satisfied.

Please login with a confirmed email address before reporting spam

Hey all,

I'm trying to simulate a lake in a boundary in a 2D model, with Darcy's law. Basically, I set the hydraulic head on the edges of my model to be "H lake" when Y is less than that H, and then Y when Y is greater than H lake. This correctly simulates the changing hydraulic head on the boundary, but it introduces flows from parts of the boundary that are "dry". What I would like to do is keep the head at Y level when the surface of the lake is below that Y coordinate, but restrict that level to only generate outflows (in case I have a recharge on top of my model).

Any way I could restrict my Hydraulic Head Bc to only extract water out of the model when a certain condition is satisfied? Sorry if it's kind of a stupid question, I'm just starting with this software.

Thanks in advance!


0 Replies Last Post 2017年10月20日 GMT-4 06:28
COMSOL Moderator

Hello César Rodríguez

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.