Skip to content
Discussion options

You must be logged in to vote

right so it derives from PorousFlowSink which is an IntegratedBC not a dirichletBC.
So if is trying to enfore a dirichlet condition it is either doing it weakly or using a penalty method (which is weakly in a way).

But that is good news.
To not enforce an integratedBC, all you need to do is to have it contribute 0 to the integral of the BC.
So in the compteQpIntegral, have the desired logic for "should-contribute-or-not" and then return 0 if it should not be active

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@josebastiase
Comment options

@josebastiase
Comment options

@GiudGiud
Comment options

Answer selected by josebastiase
@josebastiase
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants