# About MHD equations

**URL:** <https://community.freefem.org/t/about-mhd-equations/3103>\
**Category:** General Discussion\
**Created:** [April 17, 2024, 1:28pm UTC](https://community.freefem.org/t/about-mhd-equations/3103 "2024-04-17T13:28:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fb77](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/fb77/32/3796_2.png) [@fb77](https://community.freefem.org/u/fb77)\
**Post date:** [April 17, 2024, 4:13pm UTC](https://community.freefem.org/t/about-mhd-equations/3103/2 "2024-04-17T16:13:55Z")

</div>

You can do as

 ![mhd](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/6/66b0de1d3e3a70e8a3d9e7ebe1bc3044759ef945.jpeg)  
The penalty formulation (3) will work if the boundary is made of flat pieces. Otherwise you have to lump it, see [Boundary condition - #6 by fb77](https://community.freefem.org/t/boundary-condition/2945/6)

---

_[View the full topic](https://community.freefem.org/t/about-mhd-equations/3103)._
