-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active torque makes FENEWCA bond incorrect #2008
Comments
Thanks for the complete report. I'll try running your script when I have the time to. One quick question first: I don't know how the torque could have any effect when Also, what is your intention to use both an active torque and a rotational diffusion updater? Both will change the orientations of the particles in different ways that do not interoperate. Normally, one would use a rotational diffusion updater with point particles and an active torque on anisotropic particles that drive themselves to always rotate in the same direction. |
I appreciate your timely response. I ran the simulation with the default option ( I am trying to replicate this simulation (I noticed that Eqn. 2ab is quite different from representation in doc. I looked at the |
I attempted to run your script. The first error I get is:
I did confirm that hoomd-blue/hoomd/md/TwoStepBD.cc Lines 154 to 246 in 412c2ec
Brownian will also zero all torques applied to particle degrees of freedom where the moment of inertia is 0. Therefore, I still don't see how changing the active torque value in your script will change any behavior in the simulation. I will need a complete minimal working example to investigate further.
The active force and rotational diffusion documentation clearly state how they operate on the quaternions. From the active force docstring:
And the rotational diffusion updater states:
Both clearly mention the relationship to the orientation quaternion |
Description
I encountered this problem as I simulated active chiral particles chained into a polymer using FENEWCA potential. The simulation does not produce any FENE out-of-bound error, but apparently the bonds are way longer than they should be (10 vs 0.97).
Script
Input files
ring.txt
Output
Expected output
Expecting the bond to be restricted by FENEWCA potential or output bond out-of-bound error.
Platform
Linux, CPU
Installation method
Conda-forge package
HOOMD-blue version
5.1.0
Python version
3.10.13
The text was updated successfully, but these errors were encountered: