On 1/11/2011 5:40 AM, Tom wrote:
Thanks Mark!

It was actually what I did.
mdrun -rerun with well-chosen energy group exclusions only gives the energy
between certain pairs of group, not the forces.

Did you use nstfout to actually write the forces?


g_traj gives the overall forces not the force between certain pair.

mdrun computes interactions as a loop over energy groups and writes only a single number for each component of the force on each atom in each time step. You can't decompose anything after the fact.


Thanks a lot for any further idea to obtain the force for certain pair of groups!

One can use tpbconv and trjconv to create a matching pair of subset .tpr and trajectory files for mdrun -rerun, but I do not think this is necessary.

Mark


Tom

On 31/10/2011 4:05 AM, Tom wrote:
> Dear Gromacs Users,
>
> I have a question about how to ouput the force between two groups.
>
> Suppose the system consists of the groups: A, B, C and D.
> I need the force only between the groups A and B.
>
> g_traj looks only to be able to report the overal forces and cann not distiguish
> the forces from different groups.
>
> Is there any cunning way to do it.
>
mdrun -rerun  with well-chosen energy group exclusions probably works
for you.

Mark

--
gmx-users mailing list    gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to