# Second minimization

**URL:** <https://gromacs.bioexcel.eu/t/second-minimization/10013>\
**Category:** User discussions\
**Tags:** mdrun, energy-minization\
**Created:** [August 27, 2024, 3:53pm UTC](https://gromacs.bioexcel.eu/t/second-minimization/10013 "2024-08-27T15:53:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacopo1](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jacopo1](https://gromacs.bioexcel.eu/u/jacopo1)\
**Post date:** [August 27, 2024, 3:53pm UTC](https://gromacs.bioexcel.eu/t/second-minimization/10013/1 "2024-08-27T15:53:39Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
I have made a minimization in GROMACS using steepest descend alghoritm my potential energy curve hasn’t reached a plateau so i want to do a second minimization with cojugate gradient.How to modify the script?  
define = -DPOSRES -DPOSRES\_FC\_BB=4000.0 -DPOSRES\_FC\_SC=2000.0 -DPOSRES\_FC\_LIPID=1000.0 -DDIHRES -DDIHRES\_FC=1000.0  
integrator = steep  
emtol = 100.0  
nsteps = 5000  
nstlist = 10  
cutoff-scheme = Verlet  
rlist = 1.2  
vdwtype = Cut-off  
vdw-modifier = Force-switch  
rvdw\_switch = 1.0  
rvdw = 1.2  
coulombtype = PME  
rcoulomb = 1.2  
;  
constraints = h-bonds  
constraint\_algorithm = LINCS  
This is the script i have used for minimiziation with steepest descend …Thanks

---

<div class="post-metadata">

**Author:** ![obZehn](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/obzehn/32/2629_2.png) [@obZehn](https://gromacs.bioexcel.eu/u/obZehn)\
**Post date:** [August 28, 2024, 9:07am UTC](https://gromacs.bioexcel.eu/t/second-minimization/10013/2 "2024-08-28T09:07:57Z")

</div>

Please take a look at the manual, in particular [here](https://manual.gromacs.org/current/reference-manual/algorithms/energy-minimization.html#conjugate-gradient), [here](https://manual.gromacs.org/documentation/current/user-guide/mdp-options.html#energy-minimization), and [here](https://manual.gromacs.org/documentation/current/user-guide/mdp-options.html#mdp-value-integrator-cg). The integrator itself is just `integrator=cg`.
