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 set two conditions on one boundary (1-D PDE)

Please login with a confirmed email address before reporting spam

Hi,

I need some help on setting a conditional boundry condition on a single point in 1-D problem. For example, for a single point in my model, i need to set the boundary condition for it. When the result h (always >0) of the this point < 5, the boundary condition for 0< h< 5 is A, while when the value of this point >= 5, then the boundary condition for 0< h< 5 is A, while for h>=5 is B.

Anyone knows how to solve this problem? Thanks in advance.

Mason


0 Replies Last Post 04.02.2022, 11:49 GMT-5
COMSOL Moderator

Hello Mason Chen

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.