Re: How to use restrin command in NAMD configuration file

From: Charles Danko (
Date: Mon Dec 20 2004 - 10:40:30 CST


As far as I know, the restrain command will keep atom positions fixed
in space, not just fixed with relation to one another.

To set this up please conult the users guide page 54, as it gives an
ample tutorial.

Alternatively, you could fix the z-position of both atoms but allow
them to move through the xy plane.

Similarly, this information can be found on p53-54 of the NAMD manual.

The only think that confused me when I was learning was:
you have to make a new pdb file, and set the occupancy column to 1 for
the atoms which you wish to constrail.

Good luck!

On Mon, 20 Dec 2004 09:35:28 -0600 (CST),
<> wrote:
> Helo all,
> I want to run the molecular dynamics simulation keeping fixed distance in Z
> direction ( say 10 Angstorm ) between two sets of atoms.
> I found that there is a command 'restrain' in NAMD by which it can be done
> but how to use the restrin command in the configuration file i dont
> know....
> So any body can help how to use the restrain command in the configuration
> file to keep the fixed distance in Z direction between two sets of atoms?
> Thanks.
> Regards,
> Debashis
> -----------------------------------------------------------------------
> ***** Keeping aim at low profile is some sort of criminal offence *****
> -----------------------------------------------------------------------
> Ph.D. Student
> Department of Civil Engineering
> North Dakota State University
> Fargo, North Dakota-58105.
> U.S.A.
> Phone(Office):701-231-6491.
> Phone(Residence):701-231-4069.
> E-mail:
> -----------------------------------------------------------------------

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:38:05 CST