Can you block restrict boundary conditions? #23658
-
Hello all, I am wondering if it is possible to block restrict a boundary condition - or indeed, if it makes any sense to? The reason for doing this is related to #23484: I am trying to implement the same conditions described by the I think my issue could be because I cannot differentiate between each side of the interface, and the I am concerned that without some kind of block restriction, I am not actually setting the element residuals on each side of the interface to be equal through my custom BCs, and the BC handling Is this a legitimate concern and if so, is there a way to block restrict boundary conditions so the contribution of Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
If the neighbour variable is only present on one side, the BC will only contribute to its "variable=" parameter so it will only contribute on one side Why is the neighbor_variable defined on both sides? A BC inside a variable's domain is not normal. I think you should look at interface kernels at this point |
Beta Was this translation helpful? Give feedback.
-
Aaah, it's always something small - that's good to know, I'd misunderstood what |
Beta Was this translation helpful? Give feedback.
If the neighbour variable is only present on one side, the BC will only contribute to its "variable=" parameter so it will only contribute on one side
Why is the neighbor_variable defined on both sides?
A BC inside a variable's domain is not normal. I think you should look at interface kernels at this point