Skip to content

Divergence free vector field on ref-cube.mesh #3523

Answered by pazner
markusrenoldner asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @markusrenoldner,

When you perform integration by parts on the MixedVectorGradientIntegrator to get the divergence, you also pick up a boundary term. The periodic cube has no boundaries, so this term doesn't appear.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@markusrenoldner
Comment options

@pazner
Comment options

@markusrenoldner
Comment options

Answer selected by markusrenoldner
Comment options

You must be logged in to vote
3 replies
@markusrenoldner
Comment options

@mlstowell
Comment options

@markusrenoldner
Comment options

Comment options

You must be logged in to vote
1 reply
@mlstowell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants