# Biharmonic equation formulation

**URL:** <https://fenicsproject.discourse.group/t/biharmonic-equation-formulation/3996>\
**Category:** variational formulation\
**Created:** [August 25, 2020, 11:18am UTC](https://fenicsproject.discourse.group/t/biharmonic-equation-formulation/3996 "2020-08-25T11:18:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacoboglez](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jacoboglez](https://fenicsproject.discourse.group/u/jacoboglez)\
**Post date:** [August 25, 2020, 11:18am UTC](https://fenicsproject.discourse.group/t/biharmonic-equation-formulation/3996/1 "2020-08-25T11:18:41Z")

</div>

Hello,

I am currently trying to solve a biharmonic-like equation in Fenics.

I am following the provided tutorial ([https://fenicsproject.org/docs/dolfin/2019.1.0/python/demos/biharmonic/demo\_biharmonic.py.html](https://fenicsproject.org/docs/dolfin/2019.1.0/python/demos/biharmonic/demo_biharmonic.py.html)) where it presents the variational formulation. It uses a C0 interior penalty method, and after some research another question in the forum ([https://fenicsproject.org/qa/6281/weak-formulation-of-biharmonic-equation/](https://fenicsproject.org/qa/6281/weak-formulation-of-biharmonic-equation/)) pointed me to the article by Brenner and Sung “C0 Interior Penalty Methods for Fourth Order Elliptic Boundary Value Problems on Polygonal Domains”.

However, in that article the penalty terms are included with a positive sign:  
 ![equation](https://global.discourse-cdn.com/free1/uploads/fenicsproject1/original/2X/0/035720e34c970b3aca2d702fd3d184a45eafdb04.png)  
whereas in the tutorial the second and third penalty terms are negative (they are equivalent to the term b\_h in the mentioned article).

I would like to know if this is a mistake, or if the sign changes due to some internal behaviour of Fenics (maybe the way it provides the interior boundary values or some other sign convention).

Thank you very much.

---

<div class="post-metadata">

**Author:** ![kamensky](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kamensky](https://fenicsproject.discourse.group/u/kamensky)\
**Post date:** [August 26, 2020, 4:52pm UTC](https://fenicsproject.discourse.group/t/biharmonic-equation-formulation/3996/2 "2020-08-26T16:52:30Z")

</div>

I believe this is just a sign convention. If you look at the text above (3.3) in Brenner and Sung, my understanding of

> n\_e is pointing from T\_- to T\_+

is that n\_e is n\_- in the notation of the FEniCS biharmonic demo. Thus,

\begin{array}{rl} [\![w]\!]\_{\text{B--S}} &= w\_+\cdot n\_e - w\_-\cdot n\_e\\ ~&= w\_+\cdot n\_- - w\_-\cdot n\_- \\ ~&= -(w\_+\cdot (-n\_-) + w\_-\cdot n\_-)\\ ~&= -(w\_+\cdot n\_+ + w\_-\cdot n\_-)\\ ~&= -[\![w]\!]\_{\text{FEniCS}}\text{ ,} \end{array}

where [\![\cdot]\!]\_{\text{B--S}} and [\![\cdot]\!]\_{\text{FEniCS}} are the definitions of “[\![\cdot]\!]” from Brenner and Sung and the FEniCS demo respectively.

---

<div class="post-metadata">

**Author:** ![jacoboglez](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jacoboglez](https://fenicsproject.discourse.group/u/jacoboglez)\
**Post date:** [August 27, 2020, 7:08am UTC](https://fenicsproject.discourse.group/t/biharmonic-equation-formulation/3996/3 "2020-08-27T07:08:39Z")

</div>

Thank you kamensky,

You are completely right. I was asuming that n\_e was n\_+ in FEniCS notation. I was also confused by the fact that in Brenner and Sung they mention that the value of the operator does not depend on the choice of n\_e.

Thanks again.
