Replies: 4 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
ok, so I prepared these two scripts, The first run creates a simulation with 8 nanoparticles, consisting of a rigid rod of 20 beads anf 4 flexible ones attached at the end. The simulation runs smoothly and after execution you can see the movie stored in rigid_movie.gsd. The simulation saves local energies and forces for the lennard jones particles. I run with large lennard jones cut-off. The results are analyzed here: The output is as follows, for each of the 8 nanoparticles I output the lj force on the last configuration for: the center, the force on the rigid particles and the force on the flexible ones. Here is what I do not understand:
|
Beta Was this translation helpful? Give feedback.
-
I post this code as I think it may be helpful for others. The code maybe made a little nicer, and perhaps, if others request it I will work further on it. This is a straight-forward analysis that reads forces and energies(although energies are not used) for a system of The actual simulation that generated the file The analysis checks
|
Beta Was this translation helpful? Give feedback.
-
Here is the code it uses hoomd 4.0 or higher and gsd 3.0 or higher. The file The file
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a system consisting of many rigid bodies with some polymers attached to it. Let us call one of this units (rigid + flexible polymers attached to it) a nanoparticle.
As explained in the documentation
https://hoomd-blue.readthedocs.io/en/latest/module-md-constrain.html#hoomd.md.constrain.Rigid
The forces, energies and virials of the rigid parts are transferred to the center tag of the rigid body. Those are my questions:
However, If I decide not to integrate the rigid center, because I want to study my nanoparticles at fixed positions, then what I find is that the force at the rigid center is zero, and the sum of all forces on the rigid particles is the negative of the one of the non-rigid particles. Basically the center contains the sum of all forces, whether rigid or not. That means that HOOMD has zeroed the force on the center so that it does stay in place (zero acceleration) but it somehow has modified the force on the rigid particle.
Beta Was this translation helpful? Give feedback.
All reactions