Skip to content

How do I add Neumann conditions? #3796

Answered by roystgnr
Richard-happy asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, substituting the Neumann boundary term into the weak formulation's boundary integral (after integration by parts) to get a forcing term, called "weak enforcement", is the standard way to impose a Neumann boundary. IIRC we do this implicitly in a couple examples (which have zero-flux Neumann conditions, so the term just disappears), but we don't talk about it much since, unlike "strong enforcement" of Dirichlet conditions, the details of weak enforcement depend closely on your PDE and your weak formulation.

Actually, skimming through our examples ... it looks like we're weakly enforcing non-zero boundary fluxes in miscellaneous examples 3 and 9, reduced-basis example 7, systems-of-equ…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@roystgnr
Comment options

@Richard-happy
Comment options

Answer selected by Richard-happy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants