# External magnetic field

**URL:** <https://gromacs.bioexcel.eu/t/external-magnetic-field/484>\
**Category:** User discussions\
**Created:** [July 13, 2020, 7:27pm UTC](https://gromacs.bioexcel.eu/t/external-magnetic-field/484 "2020-07-13T19:27:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://gromacs.bioexcel.eu/u/Matt)\
**Post date:** [July 13, 2020, 7:27pm UTC](https://gromacs.bioexcel.eu/t/external-magnetic-field/484/1 "2020-07-13T19:27:31Z")

</div>

GROMACS version: 2020.1  
GROMACS modification: No

Hi,  
I want to apply an external magnetic field into MD simulation to see the behaviour of anisotropic molecules. Is there any way to do that - like it was done with an external electric field? Instead of electric moment and electric field it could be done by using magnetic moment and magnetic field. Is there any way to that in Gromacs?

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![Shiyang](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Shiyang](https://gromacs.bioexcel.eu/u/Shiyang)\
**Post date:** [November 17, 2024, 3:49pm UTC](https://gromacs.bioexcel.eu/t/external-magnetic-field/484/2 "2024-11-17T15:49:43Z")

</div>

Hi, Matt. Have you figured out that issue?
