# A higher BDM element in Freefem

**URL:** <https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531>\
**Category:** General Discussion\
**Created:** [June 8, 2023, 1:47pm UTC](https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531 "2023-06-08T13:47:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![junjie](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@junjie](https://community.freefem.org/u/junjie)\
**Post date:** [June 8, 2023, 1:47pm UTC](https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531/1 "2023-06-08T13:47:01Z")

</div>

Hello everyone.  
I’m trying to solve the Stokes equations with BDM element in Freefem. However, there seems to be only BDM1 element. It’s so frustrating. Because I want to verify the convergence-order of the error with a higher BDM element. Is there any other way to use a higher BDM element?  
Thank you for your help！

---

<div class="post-metadata">

**Author:** ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)\
**Post date:** [June 8, 2023, 2:50pm UTC](https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531/2 "2023-06-08T14:50:08Z")

</div>

Apparently implementation is not trivial. For example, this from circa  
2009 posted earlier mentions FF at the time,

> **[1205.3085.pdf](https://arxiv.org/pdf/1205.3085.pdf)**
>
> 431.44 KB

maybe someone has a better more current ref on the issues.

---

<div class="post-metadata">

**Author:** ![junjie](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@junjie](https://community.freefem.org/u/junjie)\
**Post date:** [June 9, 2023, 12:45am UTC](https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531/3 "2023-06-09T00:45:49Z")

</div>

Ok, I’ll read this article carefully. Thank you for your reply！

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [June 10, 2023, 9:46am UTC](https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531/4 "2023-06-10T09:46:19Z")

</div>

Yes, I know,  
If you have time to code :

a papier on this subject:

> **[erv112.pdf](https://cecas.clemson.edu/~vjervin/papers/erv112.pdf)**
>
> 322.08 KB

and the DOF is defini here:

> **[DefElement: Brezzi–Douglas–Marini](https://defelement.com/elements/brezzi-douglas-marini.html)**
>
> An encyclopedia of finite element definitions

This is more than a half day coding for me,  
I can help you.

---

<div class="post-metadata">

**Author:** ![junjie](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@junjie](https://community.freefem.org/u/junjie)\
**Post date:** [June 10, 2023, 11:03am UTC](https://community.freefem.org/t/a-higher-bdm-element-in-freefem/2531/5 "2023-06-10T11:03:53Z")

</div>

Wow！I would appreciate it if you could help me implement the code！Thank you！
