# Force Extraction

**URL:** https://gromacs.bioexcel.eu/t/force-extraction/9568
**Category:** User discussions
**Tags:** forcefield, mdrun
**Created:** [July 4, 2024, 5:57am UTC](https://gromacs.bioexcel.eu/t/force-extraction/9568 "2024-07-04T05:57:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rscere](https://avatars.discourse-cdn.com/v4/letter/r/7993a0/32.png) [@rscere](https://gromacs.bioexcel.eu/u/rscere)
#### Post date: [July 4, 2024, 5:57am UTC](https://gromacs.bioexcel.eu/t/force-extraction/9568/1 "2024-07-04T05:57:09Z")

</div>

GROMACS version: 2024.2  
GROMACS modification: No

Hi, I am trying to extract the computing forces after simulation as combined and the different forces which are combined. I was able to some of the forces like Non-Bonded Long Range etc., from the “src/gromacs/mdlib/sim\_util.cpp” but when I add them, they don’t result into the same as combined force. So, what are the different forces that I need and where can I find them?

Thanks.

---

<div class="post-metadata">

### Author: ![hess](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/hess/32/416_2.png) [@hess](https://gromacs.bioexcel.eu/u/hess)
#### Post date: [July 4, 2024, 11:43am UTC](https://gromacs.bioexcel.eu/t/force-extraction/9568/2 "2024-07-04T11:43:31Z")

</div>

This is extremely hard to obtain from the code.

It might be simpler to modify your topology to turn off components and then use gmx mdrun -rerun to produce the forces.

---

<div class="post-metadata">

### Author: ![rscere](https://avatars.discourse-cdn.com/v4/letter/r/7993a0/32.png) [@rscere](https://gromacs.bioexcel.eu/u/rscere)
#### Post date: [July 4, 2024, 3:18pm UTC](https://gromacs.bioexcel.eu/t/force-extraction/9568/3 "2024-07-04T15:18:51Z")

</div>

Ok. BTW is it possible to dump individual forces (components) instead of combined using gmx? Actually, need to verify the individual forces that I am trying to simulate using the force equations through a python-based project.
