Hi all,
I am currently running a GCMC +MD simulation to do co2 adsorption using ReaxFF force field (file attached below) in lammps version: LAMMPS (29 Aug 2024 - Update 1). I want to run the isotherms under different pressure for co2. I test with pure co2 in empty box firstly. I insert co2 into box at pressure 5 atm and T =300K with GCMC and do MD at the same time with mainly command lines:
units real
variable tfac equal 5.0/3.0
fix 3 gas gcmc 2000 100 0 0 1219 300.0 0.0 0.5 mol co2 region simbox pressure 5.0 overlap_cutoff 1.0 group gas tfac_insert ${tfac}
fix 4 gas langevin 300.0 300.0 50 562489
fix 5 gas nve
There is a problem that when I set up P values directly to replace chemical potential in gcmc, like when I set up like 5 atm, the inserted co2 numbers will be about 10000, which is much larger than the theoretical co2 number ( theoretical is about 100 co2 molecules based on my box size and T = 300K), and the pressure in my box will also be pretty large, which is about 2000 atm. While when I set up chemical potential −108.42 Kcal/mol directly (corresponding to 5atm), it will generate the co2 number and density pretty closer to the ideal gas theoretical values. The results align with the ideal gas and GCMC works well.
And I also have run the example gcmc co2 simulation script that is given in lammps source example, which is using LJ potential. It works pretty well under pressure value and chemicial potential keywords, both got CO2 molecules number and density close to the theoretical values of ideal gas.
So I was wondering if there is problem for my force field apply or there is a problem of P to chemical potential conversion with reaxFF in gcmc. If you have any idea about what is happening or any suggestions, please leave a message,
great appreciation ahead!
ffield.reax.new (17.8 KB)
best,
Li