Skip to content

A puzzle about the INSADMass kernel #27719

Discussion options

You must be logged in to vote

You can write the incompressible Navier-Stokes equations in a matrix notation (with operators as the blocks):

| A    B | |u| = |f1|
| B^T  0 | |p|   |0| 

$B$ is the gradient operator and $B^T$ is the divergence operator. In moose, the variable parameter in the kernel definition will determine where the residual entries go in the nonlinear system. You see by (just doing R=matrix*sol-rhs for example) that the residual from $B^T u$ will actually go to the parts of the residual vector which are associated with the pressure degrees of freedom. This is actually the reason why it is hard to solve the Navier-Stokes equations, you have a 0 pressure diagonal and you are forced to solve it by using…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Always-kimi
Comment options

Answer selected by Always-kimi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants