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

Chemical potential of ring molecules is not consistent #149

Open
skvaraj2 opened this issue Sep 30, 2023 · 2 comments
Open

Chemical potential of ring molecules is not consistent #149

skvaraj2 opened this issue Sep 30, 2023 · 2 comments
Assignees

Comments

@skvaraj2
Copy link

Expected behavior

when calculating the chemical potential of ring molecules (e.g. the cyclohexane in the example folder) as a mixture of two identical components (e.g. species 1 - 200 molecules of cyclohexane, species 2 - 200 molecules of cyclohexane), the chemical potential of both species should be the same. This test works for each molecule in the test folder except the cyclohexane (presumably because of the ring fragment)

Current behavior

In the simple test, these chemical potentials differ significantly. For molecules without ring fragments, I did not notice any deviations. This disagreement of chemical potential differences disappears when the molecule is considered to be rigid.
These chemical potentials cannot be used for GCMC simulations.

Steps to reproduce

Steps to reproduce the behavior:

  1. run NPT simulation with 2 identical species of molecule with ring fragment (species 1 - 200 molecules of cyclohexane, species 2 - 200 molecules of cyclohexane),)
  2. At T=403 K and P=1 bar the chemical potentials from short runs are about 88.8 kJ/mol for species 1 and -56.6 kJ/mol for species 2

Possible solution (optional)

I suppose there is a problem with ring fragment energy. But I wasn't able the identify the origin of this problem.

Additional context

This "bug" complicates the simulations of molecules with very similar structure (e.g. chiral mixtures)

@emarinri
Copy link
Contributor

emarinri commented Oct 2, 2023

Hello @skvaraj2, thank you very much for reporting this.

I am traveling at the moment and will not get a chance to take a look at this until a later in the week.

@emarinri emarinri self-assigned this Oct 2, 2023
@skvaraj2
Copy link
Author

skvaraj2 commented Oct 4, 2023

This is interesting. If I set the system to be considered a ternary mixture of three identical species, the first two chemical potentials are sort of okay. But the third one is completely off the scale. To run the GCMC calculation, I can set the third chemical potential to an extremely high value (absolute value) and then I can reproduce the system density with 2 equally distributed species.

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

No branches or pull requests

2 participants