Ramanish,
You are missing the `constrain.rigid` and the relevant parameters in your `md.py` file. This is what defines the rigid bodies.
rigid = hoomd.md.constrain.rigid();
rigid.set_param('V',
types=['CH3']*2,
positions=[(-0.106,0,0),(0.106,0,0)],
charges=[0,0])
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
> --
> You received this message because you are subscribed to the Google Groups "hoomd-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hoomd-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hoomd-users/a8ae5a8d-b0ad-40da-a124-440bb4ac5a31n%40googlegroups.com.
> <md.py><shrink-md.py>