Boundary term in ADDiffusion tutorial #16322
-
I was going through again the tutorial of ADDiffusion with steady state solution and I had a question regarding the boundary term. It was also discussed in the MOOSE workshop2020. When you write down the weak form of laplacian, you get a symmetric matrix term of _grad_u[_qp] * _grad_test[_qp] and a Newmann boundary term of _grad_u[_qp] * test[qp] * n. However, in the input file you take the Dirichlet BC term, so where is this term get adjusted or am I missing something? Thanks for your response. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Are you referring to Eq. 5 from this page? The bold statement below "This is the weak form of the Laplace equation" is wrong. I happen to have a simple write-up at hand: As you can see, Dirichlet BCs are involved in the construction of proper test and trial function spaces. They are constraints on certain DoFs a priori, and they are not weakly satisfied. Therefore, you don't see Dirichlet BCs in the weak form. |
Beta Was this translation helpful? Give feedback.
Are you referring to Eq. 5 from this page? The bold statement below "This is the weak form of the Laplace equation" is wrong.
Eq. 5 is what you get after applying divergence theorem on Eq. 2, but it is not the weak form of the strong form.
I happen to have a simple write-up at hand:
As you can see, Dirichlet BCs are involved in the construction of proper test and trial function spaces. They are constraints on certain DoFs a priori, and they are not weakly satisfied. Therefore, you don't see Dirichlet BCs in the weak form.