Skip to content

Commit

Permalink
Help the user to choose a vector penalty bc (#26105)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnobre committed Nov 30, 2023
1 parent 81afddd commit afe4e3c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -23,6 +23,11 @@ refined and could potentially smooth out the problem data on a coarser mesh. It,
however, has problems on refined meshes and leads to an ill-conditioned problem,
which can be difficult to solve.

Users should instead use [VectorPenaltyDirichletBC.md] or
[VectorDivPenaltyDirichletBC.md] if they wish to set a Dirichlet boundary
condition via the penalty method on the vector variable itself or its
divergence, respectively.

## Example Input File Syntax

!listing test/tests/kernels/vector_fe/vector_kernel.i block=BCs
Expand Down
Expand Up @@ -15,6 +15,11 @@ where $p$ is a scalar defining the penalty value, $\vec{\psi_i}$ the test
functions, and $\vec{u} - \vec{u}_0$ is the vector difference between the
current solution and the Dirichlet data.

Users should instead use [VectorPenaltyDirichletBC.md] or
[VectorCurlPenaltyDirichletBC.md] if they wish to set a Dirichlet boundary
condition via the penalty method on the vector variable itself or its
curl, respectively.

## Example Input File Syntax

!listing coupled_electrostatics.i block=BCs
Expand Down

0 comments on commit afe4e3c

Please sign in to comment.