# Help on magnetostatic problem

**URL:** https://community.freefem.org/t/help-on-magnetostatic-problem/633
**Category:** General Discussion
**Created:** [November 3, 2020, 6:49am UTC](https://community.freefem.org/t/help-on-magnetostatic-problem/633 "2020-11-03T06:49:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)
#### Post date: [November 3, 2020, 6:49am UTC](https://community.freefem.org/t/help-on-magnetostatic-problem/633/1 "2020-11-03T06:49:32Z")

</div>

Hello,

I would like to model a ferrofluid droplet as it deforms in a magnetic field. I know the equations, but I was wondering how to get a shape to dynamically change in free-fem, or if this is something more appropriate in a different solver.

Also, is something like the interaction between two magnetic dipoles already done? I feel like it should be but I cant find code like that that includes dynamic anywhere.

Thank you for the help

---

<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: [November 3, 2020, 11:02am UTC](https://community.freefem.org/t/help-on-magnetostatic-problem/633/2 "2020-11-03T11:02:26Z")

</div>

They is a lot of way to make moving domain in freefem++

for examples:

[https://github.com/FreeFem/FreeFem-sources/blob/master/examples/tutorial/fluidStruct.edp](https://github.com/FreeFem/FreeFem-sources/blob/master/examples/tutorial/fluidStruct.edp)  
[https://github.com/FreeFem/FreeFem-sources/blob/master/examples/tutorial/freeboundary.edp](https://github.com/FreeFem/FreeFem-sources/blob/master/examples/tutorial/freeboundary.edp)

[NSFallingEllipse.edp](https://community.freefem.org/uploads/short-url/bU1kE8mdjOPHCIt60yxicYDPNSV.edp) (4.4 KB)

Best regards, F. Hecht.
