*Warning*: Integrator #0: Anisotropic integration requested, but no rotational degrees of freedom found for its group
**ERROR**: Particle with unique tag 13 is no longer in the simulation box.
**ERROR**: Cartesian coordinates:
**ERROR**: x: -8.32536 y: -50.6027 z: 0
**ERROR**: Fractional coordinates:
**ERROR**: f.x: 0.15311 f.y: -1.60845 f.z: 0.5
**ERROR**: Local box lo: (-12, -12, -12)
**ERROR**: hi: (12, 12, 12)
On Sep 8, 2016, at 8:07 PM, Michael Goytia <goy1...@gmail.com> wrote:In my current simulation hoomd is not registering rotational degrees of freedom.*Warning*: Integrator #0: Anisotropic integration requested, but no rotational degrees of freedom found for its group
I read some earlier posts that the moment of inertia needs to be set so I just put some random values to make sure that makes a difference but it did not. Is there something else I need to initialize the rotational degrees for rigid bodies ? Also if I do need moments of inertia, am I calculating the moment of inertia for the triangular molecular which then is modeled by the central particle?
s.particles.moment_intertia = [[10,10,10],[10,10,10],[10,10,10]]
I want to make sure I have the correct mass for constituent particles I construct the rigid body with. I see the default value it gives is 1 and I was wondering how I access the class in which the particle data is stored? I can set the positions and diameters with set_param but did not see a mass option. is this in hoomd.data?
My last question maybe connected to the first two in which I can only get my simulation to run with such small time steps (~0.05 fs) before hoomd spits out
Which I believe to be loosing atoms.
I believe a 5 fs time step conserves energy in another simulation software(lammps). Wondering what might be causing the difference? ( All my units are consistent between simulation platforms)
try the above :)
I have also attached a copy of my input file.Thanks,Michael Goytia
--
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 post to this group, send email to hoomd...@googlegroups.com.
Visit this group at https://groups.google.com/group/hoomd-users.
For more options, visit https://groups.google.com/d/optout.
<rand.py>
rigid.set_param('7',positions=[(A[0],A[1],A[2]),(B[0],B[1],B[2]),(C[0],C[1],C[2])],types=['1','2','3'],diameters=[sig[0],sig[1],sig[2]])
where A,B, and C are just the arrays for distances of each particle from the center.
I then assume that the mass of the central particle is then equal to the mass of the overall mass of the rigid body I using.
In this example case I am just modeling a rigid water molecule in two-dimensions.
Are the two assumptions I made , 1) constituent molecules distances are distances from the center of mass and 2) Mass of the rigid body is the total mass of the rigid body, in this case a water molecule or 16 atomic units, formulated correctly?
Secondly, even after all the proposed changes and specifying the correct moment of inertia, I still am getting no rotational motion, just translational. I am wondering what I am doing wrong.
I attached all my scripts and I am using hoomd 2.0.2
Thanks
Michael Goytia
Thanks for getting back to me. I tried the suggested corrections for .xml approach and it works! I also got the .gsd to work !(typo of spelling inertia wrong.....)
I still have a question about the mass of the central particle that represents the rigid body. I am currently thinking of that mass as the total mass of the rigid body. Is this a correct assumption? I have noticed this affects my tilmestep.
Also once I get this all figured out would you mind if I write it all up in a tutorial for rigid bodies ?