News:

SMF - Just Installed!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Haruki Kanai

#1
Dear RASPA Team,

I am currently running test simulations of Widom insertion using both RASPA2 and RASPA3, with a fixed initial number of molecules (N) in the simulation box. I have noticed a discrepancy in how the ideal gas chemical potential (µideal) is calculated.

For reference, the versions of RASPA used in this study are:

RASPA2: RASPA 2.0.38 (Compile Date = Jul 15 2020)
RASPA3: RASPA 3.1.0  (Compile Date = Jun  5 2026)

As far as I understand, (µideal) in RASPA3 is evaluated as:

µideal = kBTln<N/V>

where
N is the number of molecules and
V is the volume of the simulation box. (Please note that thermal de Broglie wavelength terms may be omitted here depending on the convention.)

However, I observed the following difference between the two versions:

RASPA2: When I initialize the system with N = 1, the reported µideal appears to be calculated using N = 2. This pattern also holds for other initial molecule counts: RASPA2 consistently appears to use N + 1, possibly due to the inclusion of the virtual test molecule introduced during the Widom insertion move.

RASPA3: In contrast, µideal appears to be calculated using only the initial number of molecules (N), without including the virtual test molecule.

Could you please clarify whether this difference is intentional? More specifically, which treatment (N or N + 1) is theoretically correct for calculating the ideal gas chemical potential in the context of Widom insertion?

I would also appreciate it if you could clarify the theoretical basis for this treatment and whether the difference between RASPA2 and RASPA3 is due to a change in implementation.

For reference, I have attached the input files used for the simulations with both RASPA2 and RASPA3, along with the corresponding output files showing the calculated ideal gas chemical potentials.
The simulation conditions were kept as consistent as possible between the two versions to facilitate comparison.
RASPA2: You cannot view this attachment.
RASPA3: You cannot view this attachment.

Thank you very much for your time and help.

Best regards,
SMF spam blocked by CleanTalk