# Pulling force - shear rate

**URL:** https://gromacs.bioexcel.eu/t/pulling-force-shear-rate/1889
**Category:** User discussions
**Created:** [April 3, 2021, 4:39pm UTC](https://gromacs.bioexcel.eu/t/pulling-force-shear-rate/1889 "2021-04-03T16:39:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MOH4](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@MOH4](https://gromacs.bioexcel.eu/u/MOH4)
#### Post date: [April 3, 2021, 4:39pm UTC](https://gromacs.bioexcel.eu/t/pulling-force-shear-rate/1889/1 "2021-04-03T16:39:04Z")

</div>

Dear all,  
Is there anyway to apply pulling force or shear rate on either system or protein?  
If possible, could you please tell me the method or needed modification step by step?

Many thanks in advance,  
Best

---

<div class="post-metadata">

### Author: ![alevilla](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/alevilla/32/439_2.png) [@alevilla](https://gromacs.bioexcel.eu/u/alevilla)
#### Post date: [April 6, 2021, 12:42pm UTC](https://gromacs.bioexcel.eu/t/pulling-force-shear-rate/1889/2 "2021-04-06T12:42:47Z")

</div>

Hi,  
maybe the mdp option ‘deform’ [Molecular dynamics parameters (.mdp options) — GROMACS 2021.1 documentation](https://manual.gromacs.org/current/user-guide/mdp-options.html?highlight=deform#non-equilibrium-md)  
is doing what you look for.  
Best regards  
Alessandra

---

<div class="post-metadata">

### Author: ![MichelePellegrino](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/michelepellegrino/32/628_2.png) [@MichelePellegrino](https://gromacs.bioexcel.eu/u/MichelePellegrino)
#### Post date: [April 6, 2021, 2:28pm UTC](https://gromacs.bioexcel.eu/t/pulling-force-shear-rate/1889/3 "2021-04-06T14:28:14Z")

</div>

Hi,

one way to shear a fluid solvant is to restrain two layers of solvant molecules or solid walls, one close to z=0 and one close to z=Lz, and then utilize an auxillary free-energy calculation to interpolate between the reference restraints and the same restraints ofset by +/- delta along x; that will cause a deformation that in turn will produce a steady shear rate, given that lambda is allowed to vary in [0,infinity). You may want to use pbc along xy alone.

If you want to apply a constant force to the whole system (or to every residue of some kind), you can use Non-equilibrium MD acc-grps and accelerate.
