-
Notifications
You must be signed in to change notification settings - Fork 197
WIP: Reworked ase interface #5162
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
base: python
Are you sure you want to change the base?
Conversation
|
Update: A draft for the single step symplectic euler integration is in #5163
The ASE-based Lennard-Jones (samples/lj_liquid_ase.py) still heats up until it explodes, though, even with symplectic euler integrator. |
|
Correction: With symplectic Euler integration, the ASE-based Lj simulation is also stable (with velocity verlet, it is not). In summary, when changing partile external forces from Python in every time step, at this point, we need a single step integrator. |
This extends the ASE plugin for ESPREsSo. Among others, it provideas an integrate() method, which handles the details of transferring data between Espresso and ASE.
At this point, there is a significant problem remaining:
While I was not able to write down a (simple) failing test, a Lennard-Jones liquid simulatinos based on this (sampels/lj_liquid_ase.py) is nto stable (heats up).
One possible cause is that, due to the two-step integrator, cahging particle external forces in every time step, destroys the statistics of the Langevin noise. (The update of particle properties done by ase triggers an invalidation of existing particle forces, which might change the first lj half step)