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

Charge unit in espresso #3633

Closed
dpo854 opened this issue Apr 5, 2020 · 4 comments · Fixed by #3673
Closed

Charge unit in espresso #3633

dpo854 opened this issue Apr 5, 2020 · 4 comments · Fixed by #3673
Assignees

Comments

@dpo854
Copy link

dpo854 commented Apr 5, 2020

While going through the page on electrostatics, I realized that the prefactor should be KTlB/(eo**2) instead of kTlB as suggested by the package. Most example programs have mentioned the prefactor to be 2 and the charges to be integers. How do these charges connect to the electronic charge?

@dpo854
Copy link
Author

dpo854 commented Apr 6, 2020

I guess the prefactor definition is wrong on the documentation webpage in that it should be eo**2/(4piepsilon0epsilonr). This makes it equal to lBkBT and for temperature =1 (in hoomd units), the prefactor is 2 for a sigma value of 0.35 and a Bjerrum length of 0.7 nm, which is the case for water.

@jonaslandsgesell
Copy link
Member

jonaslandsgesell commented Apr 6, 2020

Indeed, the documentation under http://espressomd.org/html/doc/electrostatics.html is inconsistent. C should be equal to C=eo**2/(4piepsilon0epsilonr) in equation (1) and the equation before needs to be adapated (via using valencies z_i=q_i/e_0)

@dpo854 dpo854 closed this as completed Apr 10, 2020
@jngrad
Copy link
Member

jngrad commented Apr 10, 2020

Should we fix this or not?

@ggjj11
Copy link

ggjj11 commented Apr 10, 2020

Yes, for clarity this should be fixed.

@jngrad jngrad reopened this Apr 10, 2020
@jngrad jngrad added this to the Espresso 4.1.3 milestone Apr 10, 2020
@jngrad jngrad self-assigned this Apr 20, 2020
@kodiakhq kodiakhq bot closed this as completed in #3673 Apr 20, 2020
kodiakhq bot added a commit that referenced this issue Apr 20, 2020
Description of changes:
- remove CUDA installation instructions on OSX (follow-up to #3652)
- update links to dockerfiles for non-Ubuntu OSes
- correct the Coulomb prefactor formula (fixes #3633)
- in electrostatics scripts, replace magic values by their full expressions
- document the difference between serial and parallel versions of `libhdf5-dev` (fixes #3656)
- improve documentation of the script that shows the effect of MPI and `node_grid` on domain decomposition (see mailing list email "dividing simulation box using MPI" from 2020-04-20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants