본문 펼치기
FINITE ELEMENT METHODS FOR ELASTIC CONTACT:
PENALTY AND NITSCHE
TOM GUSTAFSSON, ROLF STENBERG
Abstract. We consider two methods for treating elastic contact problems
with the finite element method; the penalty method and Nitsche’s method. For
the penalty method we discuss how the penalty parameter should be chosen.
Both the theoretical analysis and numerical examples show that an optimal
convergence rate cannot be achieved. The method is contrasted to that of
Nitsche which is optimally convergent. We also give the derivation of Nitsche’s
method by a very simple consistency correction of the penalty method.
1. Introduction
The paper _Variational_ _methods_ _for_ _the_ _solution_ _of_ _problems_ _of_ _equilibrium_ _and_
_vibrations_ [3], presented by Richard Courant at the American Mathematics Society
meeting in Washington D.C. in 1941, is widely considered as a starting point in two
fields of applied mathematics, finite element methods and the use of the penalty
method in optimization.
For the case of optimization this appears to be the case, see, e.g., the classical
books [5, 12].
In the field of finite elements, the continuous piecewise linear basis functions are
often referred to the ”Courant triangle” or ”Courant hat function”. The paper by
Courant came out in print in 1943, and to celebrate the 50th anniversary, a conference was organized in Jyv¨askyl¨a [9]. Ivo Babuˇska gave an invited talk, in which he
outlined the history of the finite element method. Surprisingly, he discovered that
none of the earliest paper on the mathematical foundations of the FE cite Courants
paper. Furthermore, he pointed out that piecewise linear approximation method
was not presented at the conference, it was introduced as an appendix in the final
paper.
The same comment is given by Gilbert Strang in the first textbook (Strang & Fix
[16]) on the mathematics of finite elements: _the_ _penalty_ _method_ _was_ _the_ _main_ _theme_
_of_ _Courant’s_ _remarkable_ _lecture;_ _the_ _finite_ _element_ _method_ _was_ _an_ _afterthought._
Today, the penalty method is widely used in finite elements, especially in applied
engineering. From a mathematical point of view, the method is non-conforming
and the central question is how to choose the penalty parameter. The engineering
literature is rather vague on this issue, cf. [10, 18]. The same applies for some
commercial codes that we checked, with the COMSOL as an exception.
Below we will discuss this matter and we will also recall Nitsche’s method which
gives a simple fix to the method.
1
2 TOM GUSTAFSSON, ROLF STENBERG
2. The penalty method
All the questions we are going to address can be answered by considering ”mortaring” of the Poisson equation. To consider elasticity only adds more notation. To
consider a contact problem where the contact zone is unknown leads to technicalities involving variational inequalities, cf. [7]. By treating both of these would only
blur the message of this paper.
Hence, we consider the Poisson problem in a domain Ω _⊂_ IR <sup>_n_</sup>, that we split
in two Ω= Ω1 _∪_ Ω2, with the continuity conditions at the common boundary
Γ = _∂_ Ω1 _∩_ _∂_ Ω2: find _u_ = ( _u_ 1 _, u_ 2) such that
_−_ ∆ _ui_ = _f_ in Ω _i_,
_u_ 1 _−_ _u_ 2 = 0 on Γ,
(1)
_<u>∂u</u>_ <u>1</u>
_∂n_ 1
= 0 on Γ _,_
+ <sup>_<u>∂u</u>_</sup> <sup><u>2</u></sup>
_∂n_ 2
_ui_ = 0 on _∂_ Ω _i \_ Γ.
_n_ 2
Ω1 Γ Ω2
_n_ 1
Clearly _U_, with _U_ _|_ Ω _i_ = _ui,_ _i_ = 1 _,_ 2 _,_ solves the equation
(2) _−_ ∆ _U_ = _f_ in Ω _,_ _U_ = 0 on _∂_ Ω _._
_The_ _continuous_ _penalized_ _problem_ is: Find _uε_ = ( _u_ <sup>_ε_</sup> 1 <sup>_, uε_</sup> 2 <sup>)</sup> <sup>minimizing</sup>
Ω _i_
Γ
21 _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds._</sup>
Ω _i_
_fvi dx_ +
(3) _E_ ( _v_ ) =
2
_i_ =1
- <u>1</u>
2
_|∇vi|_ <sup>2</sup> _dx −_
It is clear that a necessary condition in the limit _ε_ _→_ 0 is that _u_ <sup>0</sup> 1 <sup>=</sup> <sup>_u_</sup> 2 <sup>0</sup> <sup>on</sup> <sup>Γ,</sup>
with lim _ε→_ 0 _u_ <sup>_ε_</sup> _i_ <sup>=</sup> <sup>_u_</sup> <sup>0</sup> _i_ <sup>=</sup> <sup>_ui_</sup> <sup>,</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2.</sup>
It is clear that a necessary condition in the limit _ε_ _→_ 0 is that _u_ <sup>0</sup> 1
<sup>_ε_</sup> _i_ <sup>=</sup> <sup>_u_</sup> <sup>0</sup> _i_
with lim _ε→_ 0 _u_ <sup>_ε_</sup> _i_ <sup>=</sup> <sup>_u_</sup> <sup>0</sup> _i_ <sup>=</sup> <sup>_ui_</sup> <sup>,</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2.</sup>
The physical interpretation of non-conformity of the method is that the problem
is changed to that where a distributed spring is introduced on Γ, giving the interface
condition
_<u>∂u</u>_ <sup>_ε_</sup> _<u>i</u>_ _̸_
_j_ <sup>_ε_</sup> <sup>) = 0</sup> <sup>_,_</sup> _i̸_ = _j._
_<u>i</u>_
_∂ni_
+ _ε_ <sup>_−_</sup> <sup>1</sup> ( _u_ <sup>_ε_</sup> _i_
<sup>_ε_</sup> _i_ <sup>_−_</sup> <sup>_u_</sup> _j_ <sup>_ε_</sup>
In the FEM we perform the minimization in subspace _Vh_ = piecewise polynomials
of degree _p_ .
_The_ _Finite_ _Element_ _Method:_ Find _u_ <sup>_ε_</sup> _h_ <sup>=</sup> <sup>(</sup> <sup>_u_</sup> 1 <sup>_ε_</sup> _,h_ <sup>_, uε_</sup> 2 _,h_ <sup>)</sup> <sup>_∈_</sup> <sup>_Vh_</sup> <sup>=</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,h_</sup> <sup>_× V_</sup> <sup>2</sup> <sup>_,h_</sup> <sup>that</sup>
minimizes the energy _E_ ( _v_ ) in the subspace _Vh_ .
_The_ _Finite_ _Element_ _Method:_ Find _u_ <sup>_ε_</sup> _h_
<sup>_ε_</sup> _h_ <sup>=</sup> <sup>(</sup> <sup>_u_</sup> 1 <sup>_ε_</sup>
The _accuracy_ of the FE solution is most naturally measured in _Energy_ _norm:_
FINITE ELEMENT METHODS FOR ELASTIC CONTACT: PENALTY AND NITSCHE 3
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds._</sup>
(4) _∥v∥_ <sup>2</sup> _E_ <sup>=</sup>
2
_i_ =1
Ω _i_
_|∇vi|_ <sup>2</sup> _dx_ +
The basic mathematical result is that the _FE_ _solution_ _is_ _the_ _best_ _approximation_
_in_ _the_ _energy_ _norm_, viz.
(5) _∥uε −_ _u_ <sup>_ε_</sup> _h_
_vh∈Vh_
_i_ <sup>_ε_</sup> <sup>_−_</sup> <sup>_vi,h∥_</sup> <sup>0</sup> <sup>_,_</sup> <sup>Γ</sup>
_._
<sup>_ε_</sup> _h_ <sup>_∥E_</sup> <sup>≲</sup> <sup>min</sup>
2
-
_i_ =1
_∥∇_ ( _u_ <sup>_ε_</sup> _i_
<sup>_ε_</sup> _i_ <sup>_−_</sup> <sup>_vi,h_</sup> <sup>)</sup> <sup>_∥_</sup> <sup>0</sup> <sup>_,_</sup> <sup>Ω</sup> _i_ <sup>+</sup> <sup>_ε−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_∥u_</sup> _i_ <sup>_ε_</sup>
For notational simplicity we now assume that _ε_ is a constant along Γ.
Note that for FEM the exact solution is that of the penalized exact solution
_uε_ . To the total error we should thus add the error due to lack of consistency or,
alternatively stated, modelling. It is not too difficult to show that this is
(6)
_∥u −_ _uε∥E_ ≲ _ε_ <sup>1</sup> <sup>_/_</sup> <sup>2��</sup> - _∂n_ <sup>_<u>∂u</u>_</sup> ���0 _,_ Γ <sup>_,_</sup>
where ≲ _· · ·_ stands for: there exists a positive constant _C_, such that _≤_ _C · · ·_ .
By the triangle inequality we have
<sup>_ε_</sup> _h_ <sup>_∥E_</sup> <sup>_≤∥u −_</sup> <sup>_uε∥E_</sup> <sup>+</sup> <sup>_∥uε_</sup> <sup>_−_</sup> <sup>_u_</sup> _h_ <sup>_ε_</sup>
(7) _∥u −_ _u_ <sup>_ε_</sup> _h_
_h_ <sup>_ε_</sup> <sup>_∥E._</sup>
As usual, let _h_ denote the global mesh lenght.
With the assumed smoothness of the exact penalized solution _uε_ _∈_ _H_ <sup>_s_</sup> (Ω), with
1 _≤_ _s ≤_ _p_ + 1, interpolation theory yields
(8)
_∥uε∥s._
_i_ <sup>_ε_</sup> <sup>_−_</sup> <sup>_vi,h∥_</sup> <sup>0</sup> <sup>_,_</sup> <sup>Γ</sup>
- ≲ - _h_ <sup>_s−_</sup> <sup>1</sup> + _ε_ <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _h_ <sup>_s−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2�</sup>
min
_vh∈Vh_
2
-
_i_ =1
_∥∇_ ( _u_ <sup>_ε_</sup> _i_
<sup>_ε_</sup> _i_ <sup>_−_</sup> <sup>_vi,h_</sup> <sup>)</sup> <sup>_∥_</sup> <sup>0</sup> <sup>_,_</sup> <sup>Ω</sup> _i_ <sup>+</sup> <sup>_ε−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_∥u_</sup> _i_ <sup>_ε_</sup>
(This estimate was first given by Babuˇska [1].) By choosing _ε_ _≈_ _h_, we get the
optimal convergence rate
(9) _∥uε −_ _u_ <sup>_ε_</sup> _h_ <sup>_∥E_</sup> <sup>≲</sup> <sup>_hs∥uε∥s._</sup>
From (6) and (7) we thus get
<sup>_ε_</sup>
_h_ <sup>_∥E_</sup> <sup>≲</sup> <sup>_h_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2���</sup> _∂n_ <sup>_<u>∂u</u>_</sup>
(10) _∥u −_ _u_ <sup>_ε_</sup>
_h_
_∂n_
���0 _,_ Γ <sup>+</sup> <sup>_hs∥uε∥s._</sup>
From above we conclude that the modelling error is dominating, except for a very
singular solution.
The modelling error can of course be made smaller by decreasing _ε_ . However,
(8) shows that for a given smoothness, the interpolation error will increase. The
condition number also increases from _O_ ( _h_ <sup>_−_</sup> <sup>2</sup> ), which is the one expected for a second
order elliptic equation.
In conclusion: _with the penalty method we will never obtain a method with optimal_
_convergence_ _rate._
Next, let us turn to the _a_ _posteriori_ _error_ analysis. In addition to the normal
terms, and edge _E_ _⊂_ Γ yields the term [8]
_j,h_ <sup>_ε_</sup> <sup>)</sup>
(11) _ηE_ <sup>2</sup> <sup>=</sup> <sup>_hE_</sup> <sup>+</sup> <sup>_hE_</sup>
(11) _ηE_ <sup>2</sup>
��� _∂u_ <sup>_ε_</sup> _<u>i,h</u>_
_∂ni_
+ _ε_ <sup>_−_</sup> <sup>1</sup> ( _u_ <sup>_ε_</sup>
<sup>_ε_</sup> _i,h_ <sup>_−_</sup> <sup>_uε_</sup>
���20
0 _,E_ <sup>_,_</sup> _j̸_ = _i._
4 TOM GUSTAFSSON, ROLF STENBERG
In [8] we also showed that the second term above is efficient, i.e. bounded by the
real error if and only if _ε ≈_ _h_, giving an additional justification for this choice.
In the next section we will show that there is a very simple correction that leads
to an optimal method, i.e. Nitsche’s method.
3. Nitsche’s method [11]
Let us recall that the weak form obtained by minimizing (3) is: find _uε_ = ( _u_ <sup>_ε_</sup> 1 <sup>_, u_</sup> 2 <sup>_ε_</sup> <sup>)</sup>
such that
Ω _i_
_fvi dx_
Γ
<u>1</u>
_ε_ <sup>(</sup> <sup>_u_</sup> _i_ <sup>_ε_</sup>
_i_ <sup>_ε_</sup> <sup>_−_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi_</sup> <sup>_ds_</sup>
=
2
_i_ =1
(12)
2
_i_ =1
- <sup>�</sup>
Ω _i_
_∇u_ <sup>_ε_</sup> _i_ <sup>_· ∇vi_</sup> <sup>_dx_</sup> <sup>+</sup>
_∇u_ <sup>_ε_</sup> _i_
for all test functions _v_ = ( _v_ 1 _, v_ 2).
For the solution _u_ = ( _u_ 1 _, u_ 2) of the exact problem (1) it holds
(13) _ui_ = _uj_ on Γ _,_
and hence
(14)
Γ
<u>1</u>
_ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup> <sup>= 0</sup> <sup>_._</sup>
Further, multiplying the differential equation in (1), integrating over Ω _i,_ and integrating by parts yields
_vi ds_ =
Ω _i_
Γ
_<u>∂ui</u>_
_∂ni_
_fvi dx._
(15)
Ω _i_
_∇ui · ∇vi dx −_
These two relations show that the exact solution satisfies
_∇ui · ∇vi dx_ +
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
(16)
2
_i_ =1
- <sup>�</sup>
Ω _i_
2
_i_ =1
Ω _i_
Γ
_<u>∂u</u>_ <u>2</u>
_v_ 2 _ds_ =
_∂n_ 2
_fvi dx,_
_−_
Γ
_<u>∂u</u>_ <u>1</u>
_∂n_ 1
_v_ 1 _ds −_
for all test functions ( _v_ 1 _, v_ 2).
Comparing this with (12), shows the non conformity of the penalty method, i.e.
the exact solution does not satisfy the penalty variational form.
However, the above form would already be the rudimentary Nitsche.
The next step is to use the relation
_<u>∂u</u>_ <u>2</u>
(17)
_∂n_ 2
to get the weak form
= _−_ <sup>_<u>∂u</u>_</sup> <sup><u>1</u></sup>
_∂n_ 1
= _−_ <sup>_<u>∂u</u>_</sup> <sup><u>1</u></sup>
_,_
Γ
2
_i_ =1
<u>1</u> _ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
<u>1</u>
_ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
Ω _i_
_fvi dx._
(18)
2
_i_ =1
- <sup>�</sup>
Ω _i_
_∇ui · ∇vi dx_ +
( _v_ 1 _−_ _v_ 2) _ds_ =
_−_
Γ
_<u>∂u</u>_ <u>1</u>
_∂n_ 1
However, this is not entirely satisfying, since we end up with a non symmetric
method for a problem that is symmetric.
FINITE ELEMENT METHODS FOR ELASTIC CONTACT: PENALTY AND NITSCHE 5
Hence, the final step is to symmetrise the problem. For the exact solution _u_ =
( _u_ 1 _, u_ 2) it holds _u_ 1 = _u_ 2 on Γ, and hence it holds
(19)
Γ
_<u>∂v</u>_ <u>1</u>
( _u_ 1 _−_ _u_ 2) _ds_ = 0 _._
_∂n_ 1
We can thus add this to the variational form, and we conclude that the exact
solution _u_ = ( _u_ 1 _, u_ 2) satisfies
_∇ui · ∇vi dx_ +
( _v_ 1 _−_ _v_ 2) _ds −_
Γ
Γ
_<u>∂v</u>_ <u>1</u>
_∂n_ 1
<u>1</u> _ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
<u>1</u>
_ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
( _u_ 1 _−_ _u_ 2) _ds_ =
(20)
2
- - <sup>�</sup>
_i_ =1 Ω _i_
_−_
Γ
_<u>∂u</u>_ <u>1</u>
_∂n_ 1
2
_i_ =1
Ω _i_
_fvi dx_
for all test functions _v_ = ( _v_ 1 _, v_ 2).
By denoting
_∇ui · ∇vi dx_ +
_<u>∂u</u>_ <u>1</u>
_∂n_ 1
- <sup>�</sup>
Ω _i_
( _v_ 1 _−_ _v_ 2) _ds −_
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
(21)
_B_ ( _u, v_ ) =
_−_
2
_i_ =1
Γ
Γ
( _u_ 1 _−_ _u_ 2) _ds,_
_<u>∂v</u>_ <u>1</u>
_∂n_ 1
we define the _Nitsche_ _method_ : find _uh_ = ( _u_ 1 _,h, u_ 2 _,h_ ) _∈_ _Vh_ such that
(22) _B_ ( _uh, v_ ) =
2
_i_ =1 Ω _i_
_fvi dx_ _∀v_ _∈_ _Vh._
This is the one-sided Nitsche, a master-slave method, with the domain Ω1 being
the slave.
By construction, the method is _consistent_ . It remains to choose _ε_ so that the
method is stable and have an optimal order of convergence. To this end we first
have
(23) _B_ ( _v, v_ ) =
2
_i_ =1 Ω _i_
_|∇vi|_ <sup>2</sup> _dx −_ 2
Γ
_<u>∂v</u>_ <u>1</u>
_∂n_ 1
( _v_ 1 _−_ _v_ 2) _ds_ +
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds._</sup>
Schwarz inequality gives
��� = ���
Γ
( _v_ 1 _−_ _v_ 2) _ds_
_ε_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_<u>∂v</u>_</sup> <sup><u>1</u></sup>
_∂n_ 1
_ε_ <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> ( _v_ 1 _−_ _v_ 2) _ds_ ���
(24)
���
Γ
_<u>∂v</u>_ <u>1</u>
_∂n_ 1
Γ
2
_ds_
���
�1 _/_ 2� <sup>�</sup>
_≤_
- <sup>�</sup>
Γ
_ε_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
<u>1</u> �1 _/_ 2
_._
_ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds_</sup>
Using the inequality _ab ≤_ _a_ <sup>2</sup> + 4 <sup><u>1</u></sup>
Using the inequality _ab ≤_ _a_ <sup>2</sup> + 4 <sup><u>1</u></sup> <sup>_b_</sup> <sup>2</sup> <sup>_,_</sup> <sup>_a, b ∈_</sup> <sup>R,</sup> <sup>we</sup> <sup>estimate</sup>
(25)
- <sup>�</sup> 2 �1 _/_ 2� <sup>�</sup> <u>1</u> �1 _/_ 2 - 2
�1 _/_ 2
_≤_
Γ
_ε_
2
_ds_
���
�1 _/_ 2� <sup>�</sup>
Γ
���2 _ds_ + <sup><u>1</u></sup> 4
_ε_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
4
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds._</sup>
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds_</sup>
Combining (24) and (25), then gives
Γ
21 _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds,_</sup>
(26) _−_ 2
- _<u>∂v</u>_ <u>1</u>
Γ _∂n_ 1
( _v_ 1 _−_ _v_ 2) _ds ≥−_ 2
Γ
_ε_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
2
_ds −_
���
6 TOM GUSTAFSSON, ROLF STENBERG
which together with (23) gives
Γ
21 _ε_ <sup>(</sup> <sup>_v_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_v_</sup> <sup>2)2</sup> <sup>_ds._</sup>
Γ
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
(27) _B_ ( _v, v_ ) _≥_
2
_i_ =1
Ω _i_
_|∇vi|_ <sup>2</sup> _dx −_ 2
_ε_
2
_ds_ +
���
Now, let _K_ _⊂_ Ω1 be an element with a side/face _E_ _⊂_ Γ. By a scaling argument
there exists a positive constant _CI_ such that
2
_ds,_
���
_E_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
(28) _CI_
_K_
_|∇v_ 1 _|_ <sup>2</sup> _dx ≥_ _hE_
where _hE_ is the local mesh length at _E_ . This gives
�1 _−_ 2 _ε_ <sup>_<u>CI</u>_</sup>
_hE_
- <sup>�</sup>
_K_
2
_ds ≥_
���
_E_
(29)
_K_
_|∇v_ 1 _|_ <sup>2</sup> _dx −_ 2
_ε_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
_|∇v_ 1 _|_ <sup>2</sup> _dx._
Hence, if we choose _ε_ such that _ε|E_ = _hE/_ 2 _γ_, with _γ_ _> CI_, it holds
_K_
_E_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
(30)
_K_
_|∇v_ 1 _|_ <sup>2</sup> _dx −_ 2
_ε_
2
_ds_ ≳
���
_|∇v_ 1 _|_ <sup>2</sup> _dx._
Combining with (23), then yields the result. There exists a constant _CI_, so that
the choice _ε|E_ = _hE/_ 2 _γ_, with _γ_ _>_ _CI_, for all edges/faces on Γ, yields the _stability_
_estimate_
_E⊂_ Γ
Γ
<u>1</u>
_hE_
( _v_ 1 _−_ _v_ 2) <sup>2</sup> _ds_ = _∥v∥_ <sup>2</sup> _E_
(31) _B_ ( _v, v_ ) ≳
2
_i_ =1
Ω _i_
_|∇vi|_ <sup>2</sup> _dx_ +
By construction, the method is consistent, and together with the stability, one
obtains an optimal _a_ _priori_ _error_ _estimate_ :
(32) _∥u −_ _uh∥E_ ≲ _v_ inf _∈Vh_ <sup>_∥u −_</sup> <sup>_v∥E_</sup> <sup>≲</sup> <sup>_hs−_</sup> <sup>1</sup> <sup>_∥u∥s,_</sup> 1 _≤_ _s ≤_ _p_ + 1 _._
_Remark._ When implementing the method, the crucial question is of course
how difficult it is to estimate the constant _CI_ . For piecewise linear elements this is
simple. On the element _K_, with edge/face _E_, _∇v_ 1 is a constant vector. Hence, it
holds
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
2
_,_
���
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
2
_ds_ =
���
���2 <sup>�</sup>
_E_
_K_
(33)
Since
_K_
_|∇v_ 1 _|_ <sup>2</sup> _dx_ = _|∇v_ 1 _|_ <sup>2</sup>
_dx_ and
_E_
_ds._
(34) _|∇v_ 1 _|_ <sup>2</sup> _≥_
it holds
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
2
_ds._
���
- _<u>K</u>_ <sup>_dx_</sup>
<u>�</u>
_E_ <sup>_ds_</sup>
(35)
_K_
_|∇v_ 1 _|_ <sup>2</sup> _dx ≥_
_E_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
Since - _K_ <sup>_dx_</sup> <sup>is the volume/area of</sup> <sup>_K_</sup> <sup>, and</sup> - _Eds_ is the area/length of _E_, respectively,
the ratio - _K_ <sup>_dx/_</sup> - _E_ <sup>_ds_</sup> <sup>is</sup> <sup>proportional</sup> <sup>to</sup> <sup>the</sup> <sup>diameter</sup> <sup>_hE_</sup> <sup>,</sup> <sup>as</sup> <sup>the</sup> <sup>elements</sup> <sup>are</sup>
_K_ <sup>_dx_</sup> <sup>is the volume/area of</sup> <sup>_K_</sup> <sup>, and</sup>
Since
the ratio - _K_ <sup>_dx/_</sup> - _E_ <sup>_ds_</sup> <sup>is</sup> <sup>proportional</sup> <sup>to</sup> <sup>the</sup> <sup>diameter</sup> <sup>_hE_</sup> <sup>,</sup> <sup>as</sup> <sup>the</sup> <sup>elements</sup> <sup>are</sup>
assumed to be shape regular.
For linear elements the threshold value for the stability is then - _K_ <sup>_dx/_</sup> <sup>2</sup> - _E_ <sup>_ds_</sup>
and we thus have uniform stability by choosing
_K_ <sup>_dx/_</sup>
_K_ <sup>_dx/_</sup> <sup>2</sup>
For linear elements the threshold value for the stability is then
(36) _ε|E_ = _α_
- _<u>K</u>_ <sup>_dx_</sup>
2 <u>�</u>
_E_ <sup>_ds,_</sup>
_E_ <sup>_ds,_</sup>
FINITE ELEMENT METHODS FOR ELASTIC CONTACT: PENALTY AND NITSCHE 7
with a chosen constant _α <_ 1.
In [17] the following explicit estimate for the inequality (28) is given
_n_
(37)
_n_ - _<u>K</u>_ <sup>_dx_</sup>
( _p_ + 1)( _p_ + _n_ )
<u>�</u>
_E_ <sup>_ds_</sup>
2
_ds,_
���
_E_
��� _<u>∂v</u>_ <u>1</u>
_∂n_ 1
_K_
_|∇v_ 1 _|_ <sup>2</sup> _dx ≥_
where _p_ is the polynomial degree and _n_ is the space dimension.
In the _a_ _posteriori_ _estimator_ the interface gives the terms
���20 _,E_
(38) _hE_
��� _<u>∂u</u>_ <u>1</u> _<u>,h</u>_
_∂n_ 1
and
+ <sup>_<u>∂u</u>_</sup> <sup><u>2</u></sup> <sup>_<u>,h</u>_</sup>
_∂n_ 2
(39) _hE∥u_ 1 _,h −_ _u_ 2 _,h∥_ <sup>2</sup> 0 _,E_ <sup>_,_</sup>
for an edge/face _E_ _⊂_ Γ.
The estimator can be shown to be both reliable and efficient [6].
In the formulation (21)–(22), the role of _u_ 1 and _u_ 2 can be changed. The most
common is, however, to use the average
_B_ ( _u, v_ ) =
2
_i_ =1
- <sup>�</sup>
Ω _i_
_∇ui · ∇vi dx_ +
Γ
<u>1</u> _ε_ <sup>(</sup> <sup>_ui −_</sup> <sup>_uj_</sup> <sup>)</sup> <sup>_vi ds_</sup>
+ <sup>_<u>∂u</u>_</sup> <sup><u>2</u></sup>
_∂n_ 2
+ <sup>_<u>∂u</u>_</sup> <sup><u>2</u></sup>
+ <sup>_<u>∂v</u>_</sup> <sup><u>2</u></sup>
_∂n_ 2
(40)
_−_
_−_
Γ
Γ
<u>1</u>
2
<u>1</u>
2
- _<u>∂u</u>_ <u>1</u>
_∂n_ 1
- _<u>∂v</u>_ <u>1</u>
_∂n_ 1
( _v_ 1 _−_ _v_ 2) _ds_
( _u_ 1 _−_ _u_ 2) _ds._
For the case when the material parameters are different in the two domains, a
convex combination of fluxes can be used, cf. [6, 7].
4. Numerical verifications
In this section we will numerically confirm the theoretical results. Our first test
problem has the smooth solution
(41) _u_ ( _x, y_ ) = _xy_ sin <sup>_<u>πx</u>_</sup>
2 <sup>sin</sup> <sup>_πy_</sup>
in the domains
(42) Ω1 = (0 _,_ 1) _×_ (0 _,_ 1) and Ω2 = (1 _,_ 2) _×_ (0 _,_ 1) _._
8 TOM GUSTAFSSON, ROLF STENBERG
Figure 1. The smooth test problem.
We use uniform refinements with initial meshes that do not match at the interface
and linear element, _p_ = 1. In the penalty method we use _ϵ ≈_ _h_ . Figure 2 shows the
convergence with respect to the mesh length _h_ . As predicted, the rates are _O_ ( _h_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> )
and _O_ ( _h_ ) for the penalty and Nitsche methods, respectively.
Nitsche, uniform
O(h)
penalty, uniform
O(h <sup>1/2</sup> )
10 1
h
10 1
Figure 2. The convergence rates for the smooth problem and a uniform mesh
refinement.
Next, we run the adaptive algorithms. We see from Figure 3, that the adaptive
method detects the low convergence rate at the interface for the penalty method.
FINITE ELEMENT METHODS FOR ELASTIC CONTACT: PENALTY AND NITSCHE 9
Figure 3. The adaptive mesh for the penalty method.
For Nitsche any extra refinement along the interface does not occur, see Figure
4.
Figure 4. The adaptive mesh for the Nitsche method.
Figure 5, show that even with adaptivity the penalty falls short compared to
Nitsche. Now the convergence rates are with respect to the number of degrees of
freedom _N_ .
10 TOM GUSTAFSSON, ROLF STENBERG
6 × 10 1
4 × 10 1
3 × 10 1
2 × 10 1
Nitsche, adaptive
penalty, adaptive
O(N 1/2)
10 <sup>2</sup>
N
Figure 5. The convergence rates for the adaptive algorithms.
The second test example is a problem with a singularity. The domain is Lshaped and the solution is _r_ <sup>2</sup> <sup>_/_</sup> <sup>3</sup> . The solution is in _H_ <sup>5</sup> <sup>_/_</sup> <sup>2</sup> and we choose second
degree polynomials, i.e. _p_ = 2 in order to enforce the adaptivity. The adaptive
Nitsche method detects the corner singularity and refines accordingly.
Figure 6. The adaptive Nitsche method for the singular test problem.
FINITE ELEMENT METHODS FOR ELASTIC CONTACT: PENALTY AND NITSCHE 11
Figure 7. The adaptive penalty method for the singular test problem.
Here again, we see that the modelling error in the penalty method leads to a
refinement along the whole interface.
In the last figure the convergence rates are plotted and we again see the superiority of Nitsche’s method.
Nitsche, adaptive
O(N 1)
penalty, adaptive
O(N 0.5)
10 1
10 <sup>2</sup> 10 <sup>3</sup>
N
Figure 8. The convergence rates for the singular test problem.
12 TOM GUSTAFSSON, ROLF STENBERG
5. Concluding remarks
We have shown that the Nitsche method can be seen as a very simply modification of the penalty method, yielding a method with optimal order of convergence.
One can say that it is pity that Nitsche published his paper in German and in a
not well-spread journal. As a consequence, it took a long time for the method to
spread.
However, once one understands the method, one is stunned by its simplicity and
elegance, and it is clear that there is an abundance of applications.
Let us close the paper by some recollections by the senior author of this paper.
He stumbled on the method by studying stabilized mixed methods for enforcing
boundary conditions, and concluded that these are essentially the same as Nitsche.
At the Finnish Mechanics Days 1994, in Jyv¨askyl¨a he presented a paper [13]. The
paper was later expanded and published internationally [14], and it ended with the
conclusion that the method should be explored for contact problems. This was
done by Jouni Freund in his thesis [4] and in a short note in the world congress
of computational mechanics in Buenos Aires 1998 [15]. Peter Hansbo was the
opponent at Freund’s thesis defence, and later Hansbo and his Swedish colleagues,
Mats Larson and Erik Burman, have studied the method intensively for a variety
of problems.
Another group that has made substantial contributions for elastic contact consists of Yves Renard, Patrick Hild and Franz Chouly, summarized in the recent
monograph [2]. This book also include, e.g., frictional and dynamic problems.
Nitsche’s method is by now included in several FEA codes, like COMSOL ( `[https:](https://www.comsol.com)`
`[//www.comsol.com](https://www.comsol.com)` ) and GetFEM ( `[https://getfem.org](https://getfem.org)` ).
References
[1] Ivo Babuˇska. The finite element method with penalty. _Math._ _Comp._, 27:221–228, 1973. URL:
`[https://doi.org/10.2307/2005611](https://doi.org/10.2307/2005611)`, `[doi:10.2307/2005611](http://dx.doi.org/10.2307/2005611)` .
[2] Franz Chouly, Patrick Hild, and Yves Renard. _Finite_ _element_ _approximation_ _of_ _con-_
_tact_ _and_ _friction_ _in_ _elasticity_, volume 48 of _Advances_ _in_ _Mechanics_ _and_ _Mathematics_ .
Birkh¨auser/Springer, Cham, [2023] ©2023. Advances in Continuum Mechanics. URL: `[https:](https://doi.org/10.1007/978-3-031-31423-0)`
`[//doi.org/10.1007/978-3-031-31423-0](https://doi.org/10.1007/978-3-031-31423-0)`, `[doi:10.1007/978-3-031-31423-0](http://dx.doi.org/10.1007/978-3-031-31423-0)` .
[3] R. Courant. Variational methods for the solution of problems of equilibrium and
vibrations. _Bull._ _Amer._ _Math._ _Soc._, 49:1–23, 1943. URL: `[https://doi.org/10.1090/](https://doi.org/10.1090/S0002-9904-1943-07818-4)`
`[S0002-9904-1943-07818-4](https://doi.org/10.1090/S0002-9904-1943-07818-4)`, `[doi:10.1090/S0002-9904-1943-07818-4](http://dx.doi.org/10.1090/S0002-9904-1943-07818-4)` .
[4] Jouni Freund. Space-time finite element methods for second order problems: an algorithmic
approach. _Acta_ _Polytech._ _Scand._ _Math._ _Comput._ _Manage._ _Eng._ _Ser._, 79, 1996.
[5] Philip E. Gill, Walter Murray, and Margaret H. Wright. _Practical_ _optimization_ . Academic
Press, Inc. [Harcourt Brace Jovanovich, Publishers], London-New York, 1981.
[6] Tom Gustafsson, Rolf Stenberg, and Juha Videman. Error analysis of Nitsche’s mor
tar method. _Numer._ _Math._, 142(4):973–994, 2019. URL: `[https://doi.org/10.1007/](https://doi.org/10.1007/s00211-019-01039-5)`
`[s00211-019-01039-5](https://doi.org/10.1007/s00211-019-01039-5)`, `[doi:10.1007/s00211-019-01039-5](http://dx.doi.org/10.1007/s00211-019-01039-5)` .
[7] Tom Gustafsson, Rolf Stenberg, and Juha Videman. On Nitsche’s method for elastic contact
problems. _SIAM_ _J._ _Sci._ _Comput._, 42(2):B425–B446, 2020. URL: `[https://doi.org/10.1137/](https://doi.org/10.1137/19M1246869)`
`[19M1246869](https://doi.org/10.1137/19M1246869)`, `[doi:10.1137/19M1246869](http://dx.doi.org/10.1137/19M1246869)` .
[8] Mika Juntunen and Rolf Stenberg. Nitsche’s method for general boundary conditions. _Math._
_Comp._, 78(267):1353–1374, 2009. URL: `[https://doi.org/10.1090/S0025-5718-08-02183-2](https://doi.org/10.1090/S0025-5718-08-02183-2)`,
`[doi:10.1090/S0025-5718-08-02183-2](http://dx.doi.org/10.1090/S0025-5718-08-02183-2)` .
[9] M. Kˇr´ıˇzek, P. Neittaanm¨aki, and R. Stenberg, editors. _Finite_ _Element_ _Methods._ _Fifty_ _years_
_from_ _the_ _Courant_ _element_, volume 164 of _Lecture_ _notes_ _in_ _pure_ _and_ _applied_ _mathemics_ .
Marcel Dekker, 1994.
FINITE ELEMENT METHODS FOR ELASTIC CONTACT: PENALTY AND NITSCHE 13
[10] Tod A. Laursen. _Computational contact and impact mechanics_ . Springer-Verlag, Berlin, 2002.
Fundamentals of modeling interfacial phenomena in nonlinear finite element analysis.
[11] J. Nitsche. ¨uber ein Variationsprinzip zur L¨osung von Dirichlet-Problemen bei Verwendung
von Teilr¨aumen, die keinen Randbedingungen unterworfen sind. _Abh. Math. Sem. Univ. Ham-_
_burg_, 36:9–15, 1971. URL: `[https://doi.org/10.1007/BF02995904](https://doi.org/10.1007/BF02995904)`, `[doi:10.1007/BF02995904](http://dx.doi.org/10.1007/BF02995904)` .
[12] E. Polak. _Computational_ _methods_ _in_ _optimization._ _A_ _unified_ _approach_, volume Vol. 77 of
_Mathematics_ _in_ _Science_ _and_ _Engineering_ . Academic Press, New York-London, 1971.
[13] Rolf Stenberg. New and old finite element methods with approximation of boundary con
ditions. In Raino A.E. M¨akinen and Pekka Neittaanm¨aki, editors, _Proceedings_ _of_ _the_ _5th_
_Finnish_ _Mechanics_ _Days_, pages 191–198, 1994.
[14] Rolf Stenberg. On some techniques for approximating boundary conditions in the finite el
ement method. volume 63, pages 139–148. 1995. International Symposium on Mathematical Modelling and Computational Methods Modelling 94 (Prague, 1994). URL: `[https:](https://doi.org/10.1016/0377-0427%0x2895%0x2900057-7)`
`[//doi.org/10.1016/0377-0427(95)00057-7](https://doi.org/10.1016/0377-0427%0x2895%0x2900057-7)`, `[doi:10.1016/0377-0427(95)00057-7](http://dx.doi.org/10.1016/0377-0427%0x2895%0x2900057-7)` .
[15] Rolf Stenberg. Mortaring by a method of J.A. Nitsche. In E. Onate S Idelsohn and
E. Dvorkin, editors, _COMPUTATIONAL_ _MECHANICS,_ _New_ _Trends_ _and_ _Applications_ .
@CIMNE, Barcelona, Spain, 1998. URL: `[http://math.aalto.fi/~rstenber/Publications/](http://math.aalto.fi/~rstenber/Publications/wccm-mortar.pdf)`
`[wccm-mortar.pdf](http://math.aalto.fi/~rstenber/Publications/wccm-mortar.pdf)` .
[16] Gilbert Strang and George J. Fix. _An_ _analysis_ _of_ _the_ _finite_ _element_ _method_ . Prentice-Hall
Series in Automatic Computation. Prentice-Hall, Inc., Englewood Cliffs, NJ, 1973.
[17] T. Warburton and J. S. Hesthaven. On the constants in _hp_ -finite element trace inverse in
equalities. _Comput._ _Methods_ _Appl._ _Mech._ _Engrg._, 192(25):2765–2773, 2003. URL: `[https:](https://doi.org/10.1016/S0045-7825%0x2803%0x2900294-9)`
`[//doi.org/10.1016/S0045-7825(03)00294-9](https://doi.org/10.1016/S0045-7825%0x2803%0x2900294-9)`, `[doi:10.1016/S0045-7825(03)00294-9](http://dx.doi.org/10.1016/S0045-7825%0x2803%0x2900294-9)` .
[18] Peter Wriggers. _Computational_ _Contact_ _Mechanics_ . Springer, 2 edition, 2006.