# How to add and set the parameters in .mdp file?

**URL:** <https://gromacs.bioexcel.eu/t/how-to-add-and-set-the-parameters-in-mdp-file/4265>\
**Category:** User discussions\
**Tags:** forcefield\
**Created:** [June 5, 2022, 1:14am UTC](https://gromacs.bioexcel.eu/t/how-to-add-and-set-the-parameters-in-mdp-file/4265 "2022-06-05T01:14:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shine](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@shine](https://gromacs.bioexcel.eu/u/shine)\
**Post date:** [June 5, 2022, 1:14am UTC](https://gromacs.bioexcel.eu/t/how-to-add-and-set-the-parameters-in-mdp-file/4265/1 "2022-06-05T01:14:40Z")

</div>

GROMACS version: 2020.3  
GROMACS modification: Yes/No  
Recently, I am try to learn how to use GROMACS. And these .mdp files make me confused. So, I want ask a favor how learn to construct personal .mdp file. Where can I find some suggestions? I read l paper on amber99sb-ind, but I can’t find any hints about how to set these parameters in ,mdp?

Best  
xinxinzhu

---

<div class="post-metadata">

**Author:** ![Minalde](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/minalde/32/1370_2.png) [@Minalde](https://gromacs.bioexcel.eu/u/Minalde)\
**Post date:** [June 6, 2022, 8:38pm UTC](https://gromacs.bioexcel.eu/t/how-to-add-and-set-the-parameters-in-mdp-file/4265/2 "2022-06-06T20:38:51Z")

</div>

Hello xinxinzhu,

These tutorials by Justin Lemkul are very helpful and include mdp files with explanations of what each of the parameters does:  
[http://www.mdtutorials.com/gmx/](http://www.mdtutorials.com/gmx/)

The Gromacs manual is also helpful:  
[https://manual.gromacs.org/documentation/current/user-guide/mdp-options.html](https://manual.gromacs.org/documentation/current/user-guide/mdp-options.html)

If you run a simulation with a completely blank mdp file (nothing in it), the default options are selected and Gromacs outputs an mdp file (mdout.mdp) that lists which parameters were selected (the default ones in this case).

There is also a Bioexcel webinar that explains some of the options (and there’s a lot of other useful webinars there as well):

> **[Webinar: A walk through simulation parameter options (.mdp files) for GROMACS...](https://bioexcel.eu/webinar-a-walk-through-simulation-parameter-options-mdp-files-for-gromacs-2019-12-05/)**
>
> BioExcel’s webinar series continue with a presentation by Christian Blau Register Abstract Setting up biomolecular simulations with GROMACS requires a number of parameter choices. While some of the…

All of these resources were helpful for me when I was starting out.
