Example 18: Stokes problem; regularization term #1184
-
Hi, I have a question regarding the regularization chosen in the Stokes problem (Example 18) https://github.com/kinnala/scikit-fem/blob/10.0.2/docs/examples/ex18.py , where you use 1e-6 * C, where Best and thanks in advance, Sven |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I believe this corresponds to using the penalty method to impose As you might be aware, the pressure in the Stokes problem with full Dirichlet BC is unique up to a constant, so the constant has to be fixed in one way or another to avoid singular matrix. I did not make the example myself, so I cannot comment if there was something behind the value 1e-6. My guess is that it is just a suitable small number to not affect the solution too much. As you might also know, the penalty method is "inconsistent" in the sense that it will always slightly change the solution, so smaller number you use there, the better chances you have not affecting the velocity field. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the fast and helpful replies! I will check out example 32, I think this is exactly what I need! Thanks |
Beta Was this translation helpful? Give feedback.
Hello. I made thie example, so I should defend it; I'm sorry it's not as well documented as it could be. Apparently we discussed it on Gitter six years ago, but I don't know whether that's recorded. The regularization or penalization is very standard, so I don't have an immediate reference. It's probably the simplest and most common way to discretize the (Navier–)Stokes equations with finite elements. I'm guessing a good reference would be something like
but I don't have it to hand.
As to the choice of the value of the penalization constant, the "folklore" that was pass…