[gmx-users] Flat bottom position restraints

Kevin Boyd kevin.boyd at uconn.edu
Wed Jul 11 15:52:36 CEST 2018


Hi,

The flat bottom potential acts in both directions out from the center you
specify, so you should only need one potential - see figure 4.14 in the
reference manual, panel A. Use a positive r value and positive force
constant.

Kevin

On Wed, Jul 11, 2018 at 6:09 AM, Joe Wu <joewugromacs at gmail.com> wrote:

> Yes I am!
>
> On Wed, Jul 11, 2018 at 5:47 PM, Mark Abraham <mark.j.abraham at gmail.com>
> wrote:
>
> > Hi,
> >
> > Are you telling grompp to use your restraint.gro?
> >
> > Mark
> >
> > On Wed, Jul 11, 2018 at 9:43 AM Joe Wu <joewugromacs at gmail.com> wrote:
> >
> > > Hi Justin (or anyone else who can help),
> > >
> > > There was a post where Justin told us to look through the archive for
> > > detailed steps as to how to set up flat bottom restraints, but I cannot
> > > find it. I've been looking through the entire archive for that post
> where
> > > he explains in detail. Can anyone help out with a link or a how-to?
> > >
> > > For the skeptics out there, I've been googling:
> > > site:https://mailman-1.sys.kth.se flat bottom restraint
> > > site:https://mailman-1.sys.kth.se flat bottom position restraint
> > > site:https://mailman-1.sys.kth.se flat bottomed restraint
> > > site:https://mailman-1.sys.kth.se flat bottomed position restraint
> > >
> > > I've gone through all the links and could not find any in-depth
> tutorial
> > of
> > > sorts.
> > >
> > > Or, if anyone can directly help out my case, I am trying to create two
> > flat
> > > bottomed potentials acting in the +z and -z direction to keep my water
> > > layer intact and un-evaporated. Above and below the water is vacuum.
> The
> > > center of the water is at 2.7nm; and I would like the flat bottomed
> > > potential to act 1.35nm above and below the water to keep it intact.
> > >
> > > Currently, I have:
> > >
> > > ; Include water topology
> > >
> > > #include "oplsaa.ff/spc.itp"
> > >
> > > #ifdef POSRES
> > >
> > > ; Position restraint for each water oxygen
> > >
> > > [ position_restraints ]
> > >
> > > ;  i funct       g         r(nm)       k
> > >
> > >    1    2        5          1.35       -1000.0
> > >
> > >    2    2        5          -1.35      1000.0
> > >
> > > #endif
> > > in addition to a restraint.gro file with the z-coordinate to read 2.7.
> > >
> > > All that is happening when I load my TRR file on VMD is that the entire
> > > system runs along the +z axis non-stop, unbounded by anything.
> > >
> > > I will be glad to provide more information. Any kind souls?
> > >
> > > Best,
> > > Joe
> > > --
> > > Gromacs Users mailing list
> > >
> > > * Please search the archive at
> > > https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.gromacs.org%2FSupport%2FMailing_Lists%
> 2FGMX-Users_List&amp;data=02%7C01%7Ckevin.boyd%40uconn.edu%
> 7C93de71ba40e44b0ba7d208d5e7166d11%7C17f1a87e2a254eaab9df9d439034
> b080%7C0%7C1%7C636669005878011335&amp;sdata=5HmG8jKQMG5moJVTWx%
> 2BiStPZjQ2%2BRjjFrv3cejr1XrA%3D&amp;reserved=0 before
> > > posting!
> > >
> > > * Can't post? Read https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.gromacs.org%2FSupport%2FMailing_Lists&amp;
> data=02%7C01%7Ckevin.boyd%40uconn.edu%7C93de71ba40e44b0ba7d208d5e7166d11%
> 7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636669005878011335&amp;sdata=
> YjC7M0hkpk4J901QxBGFLASlUFSOw7PSADdGzxHyE1A%3D&amp;reserved=0
> > >
> > > * For (un)subscribe requests visit
> > > https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fmaillist.sys.kth.se%2Fmailman%2Flistinfo%
> 2Fgromacs.org_gmx-users&amp;data=02%7C01%7Ckevin.boyd%40uconn.edu%
> 7C93de71ba40e44b0ba7d208d5e7166d11%7C17f1a87e2a254eaab9df9d439034
> b080%7C0%7C1%7C636669005878011335&amp;sdata=Zr7h77etB46WRUCxoyPEzDA63VwAqp
> 395%2BqV6q%2FKD54%3D&amp;reserved=0 or
> > > send a mail to gmx-users-request at gromacs.org.
> > >
> > --
> > Gromacs Users mailing list
> >
> > * Please search the archive at https://na01.safelinks.
> protection.outlook.com/?url=http%3A%2F%2Fwww.gromacs.org%
> 2F&amp;data=02%7C01%7Ckevin.boyd%40uconn.edu%
> 7C93de71ba40e44b0ba7d208d5e7166d11%7C17f1a87e2a254eaab9df9d439034
> b080%7C0%7C1%7C636669005878011335&amp;sdata=Vt7QPMZnv9BpA3DERFtfWO7w7aI2%
> 2B1S07524ZC3OPkU%3D&amp;reserved=0
> > Support/Mailing_Lists/GMX-Users_List before posting!
> >
> > * Can't post? Read https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.gromacs.org%2FSupport%2FMailing_Lists&amp;
> data=02%7C01%7Ckevin.boyd%40uconn.edu%7C93de71ba40e44b0ba7d208d5e7166d11%
> 7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636669005878011335&amp;sdata=
> YjC7M0hkpk4J901QxBGFLASlUFSOw7PSADdGzxHyE1A%3D&amp;reserved=0
> >
> > * For (un)subscribe requests visit
> > https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fmaillist.sys.kth.se%2Fmailman%2Flistinfo%
> 2Fgromacs.org_gmx-users&amp;data=02%7C01%7Ckevin.boyd%40uconn.edu%
> 7C93de71ba40e44b0ba7d208d5e7166d11%7C17f1a87e2a254eaab9df9d439034
> b080%7C0%7C1%7C636669005878011335&amp;sdata=Zr7h77etB46WRUCxoyPEzDA63VwAqp
> 395%2BqV6q%2FKD54%3D&amp;reserved=0 or
> > send a mail to gmx-users-request at gromacs.org.
> >
> --
> Gromacs Users mailing list
>
> * Please search the archive at https://na01.safelinks.
> protection.outlook.com/?url=http%3A%2F%2Fwww.gromacs.org%
> 2FSupport%2FMailing_Lists%2FGMX-Users_List&amp;data=02%
> 7C01%7Ckevin.boyd%40uconn.edu%7C93de71ba40e44b0ba7d208d5e7166d11%
> 7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636669005878011335&amp;
> sdata=5HmG8jKQMG5moJVTWx%2BiStPZjQ2%2BRjjFrv3cejr1XrA%3D&amp;reserved=0
> before posting!
>
> * Can't post? Read https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.gromacs.org%2FSupport%2FMailing_Lists&amp;
> data=02%7C01%7Ckevin.boyd%40uconn.edu%7C93de71ba40e44b0ba7d208d5e7166d11%
> 7C17f1a87e2a254eaab9df9d439034b080%7C0%7C1%7C636669005878011335&amp;sdata=
> YjC7M0hkpk4J901QxBGFLASlUFSOw7PSADdGzxHyE1A%3D&amp;reserved=0
>
> * For (un)subscribe requests visit
> https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fmaillist.sys.kth.se%2Fmailman%2Flistinfo%
> 2Fgromacs.org_gmx-users&amp;data=02%7C01%7Ckevin.boyd%40uconn.edu%
> 7C93de71ba40e44b0ba7d208d5e7166d11%7C17f1a87e2a254eaab9df9d439034
> b080%7C0%7C1%7C636669005878011335&amp;sdata=Zr7h77etB46WRUCxoyPEzDA63VwAqp
> 395%2BqV6q%2FKD54%3D&amp;reserved=0 or send a mail to
> gmx-users-request at gromacs.org.
>


More information about the gromacs.org_gmx-users mailing list