[gmx-users] harmonic angle potential
David
spoel at xray.bmc.uu.se
Mon Sep 20 00:28:08 CEST 2004
On Sun, 2004-09-19 at 22:56, Grace Brannigan wrote:
> Hi,
>
> I'm trying to use Gromacs for simulations of short Lennard-Jones type
> chains. I already have home-made MC code. When I compare Gromacs'
> assesment of the potential energy with that of my own code, for one
> configuration of two 5mers, the values of the bond angle potential
> disagree.
>
> I was looking through the Gromacs source code to make sure I had
> consistent potentials, and I noticed that in the function "angles", the
> sum goes over the number of bonds. I guess this makes sense for the
> forces, but it seems weird for the potential; it seems like it should go
> over the number of angles (i.e., num_bonds - 1). Is it possible that one
> angle is being counted twice? Maybe I'm misunderstanding how this function
> works...
>
> Has anybody else had this problem? I'm hoping there's a simple thing I'm
> doing wrong but I haven't found it in my own code.
Are you sure your topology is correct? For a 5 mer you should define 4
bonds and three angles.
Then there is the half in the definition of the potential.
>
> -Grace
>
>
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
--
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596, 75124 Uppsala, Sweden
phone: 46 18 471 4205 fax: 46 18 511 755
spoel at xray.bmc.uu.se spoel at gromacs.org http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the gromacs.org_gmx-users
mailing list