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.

Switching from Dirichlet Boundary Condition to Neumann Boundary condition

Abul Borkot Md Rafiqul Hasan

Please login with a confirmed email address before reporting spam

Hello everyone,

I am currently using the Coefficient form PDE module in COMSOL Multiphysics to solve for the saturation distribution in soil. I am facing an issue where I need to apply a saturation of 1 for the first 5 seconds and then switch to a zero flux boundary condition at that boundary.

Boundary conditions are as follows: **S = 1 for t<5 dS/dY = 0 for t>5 **

I would greatly appreciate any insights or advice on this issue. Thank you in advance for your help.



1 Reply Last Post 27 mar 2023, 11:28 GMT-4
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 27 mar 2023, 11:28 GMT-4

This blog post may be helpful:

https://www.comsol.com/blogs/how-to-make-boundary-conditions-conditional-in-your-simulation

-------------------
Henrik Sönnerlind
COMSOL
This blog post may be helpful:

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.