Question of Rigid rods Tutorial

35 views
Skip to first unread message

s Kalan

unread,
Jun 8, 2023, 2:57:10 PMJun 8
to hoomd-users

Hello,

The central rigid body is indicating by R and constituent particles are shown by A in tutorial of MD-rigid rods. If we consider the Lj interaction between R and R, A and A, R and A, we can write it in a line as: 

lj.pair_coeff.set(['R', 'R'],['A', 'A'], ['R', 'A'], epsilon=1.0, sigma=1.0)

However, the command for particles LJ interaction is 

lj.pair_coeff.set(['R', 'A'], ['R', 'A'], epsilon=1.0, sigma=1.0) 

For me it is like there is LJ interaction between R and A. I don't know why is the  ['R', 'A'] pair is repeated for a second time.  How to interpret this command? Is it meaning that there is only Lj interaction between Rtype and A type? There are not Lj interaction between R types, meaning [R, R]. How about interaction between A types particles [A, A]. 

Thanks for any help,
Somaiyeh





Joshua Anderson

unread,
Jun 12, 2023, 11:40:55 AMJun 12
to hoomd...@googlegroups.com
Somaiyeh,

HOOMD-blue, v2.9.x is unsupported. Here is the relevant documentation for v4.0.0: https://hoomd-blue.readthedocs.io/en/v4.0.0/module-hoomd-data.html#hoomd.data.typeparam.TypeParameter
------
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/83f4fe68-e1d6-4b7f-9787-e5148aa3fba0n%40googlegroups.com.

s Kalan

unread,
Jun 13, 2023, 10:52:12 AMJun 13
to hoomd-users
Hi Joshua,

Thanks, I got it.

Reply all
Reply to author
Forward
0 new messages