Skip to content
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

Feature Request: Lorentz Force Implementation in add_force for Magnetic Field Simulation #810

Open
Lenslike opened this issue Dec 1, 2024 · 0 comments

Comments

@Lenslike
Copy link

Lenslike commented Dec 1, 2024

Dear Prof. Fan

Currently, GPUMD provides the add_force command, allowing users to apply external forces or approximate electric field effects on charged atoms. However, it appears that this command cannot be used to apply Lorentz forces to ions within a model, which is crucial for simulating the effects of magnetic fields as external stimuli.

I came across a related discussion here, which highlights the challenges of implementing Lorentz forces. Specifically, the issue is that "a magnetic field causes forces due to the velocity of charged atoms and not their position (like an electric field). That conflicts with the velocity-Verlet integration algorithm, which assumes that forces are dependent on position only."

I would like to know if GPUMD has any plans or capabilities to overcome this limitation and extend the add_force command to support Lorentz forces for ions? This feature would be highly beneficial for researchers simulating magnetic field effects.

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant