On 12/26/20 3:06 AM, Konrad Simon wrote:
What one can also do is just constrain one DoF to a specific value (this would
also remove rigid motion in elasticity). But think about your solution
variable: If it is in the Sobolev space H^1 then point evaluations may not be
defined for dimension larger than 2. Similarly if, for example, the pressure
in a mechanical or fluid problem is often just in L^2. Point evaluations do
not make sense there at all.
Right, this is the correct approach: Constrain a single degree of freedom to
zero (or any other value you choose) and solve the problem. Then you can
subtract the mean value of the solution *after* solving the linear system.
(See VectorTools::subtract_mean_value and VectorTools::compute_mean_value.)
If you're uncomfortable with the ill-posedness of taking a point value, you
can also take the mean value along a small segment of the boundary (step-1) or
a small part of the domain. But in practice, this is not necessary and
Konrad's solution is what everyone seems to be doing.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/83478e87-c896-b40a-f51e-42f76ade2c4b%40colostate.edu.