# --------------------- 定义区域 ---------------------
region nanotube cylinder z 10.365 10.365 8.29221 0 50 units box # 以盒子中心为基准
region CH4_ads_region cylinder z 10.365 10.365 8.29221 0 50 units box
region N2_ads_region cylinder z 10.365 10.365 8.29221 0 50 units box
# --------------------- GCMC 吸附模拟 ---------------------
fix gcmc_CH4 all gcmc 1000 10000 10000 3 29494 298.0 0.1 region CH4_ads_region fugacity 10.0 mol CH4_mol
fix gcmc_N2 all gcmc 1000 10000 10000 4 54321 298.0 0.1 region N2_ads_region fugacity 10.0 mol N2_mol
# --------------------- 运行控制 ---------------------
thermo 1000
thermo_style custom step temp press pe ke etotal density vol
dump mydump all atom 1000 dump.lammpstrj
run 500000
LAMMPS (29 Aug 2024 - Update 1)
Reading data file ...
orthogonal box = (0 0 0) to (20.73053 20.73053 50)
1 by 1 by 1 MPI processor grid
reading atoms ...
936 atoms
Finding 1-2 1-3 1-4 neighbors ...
special bond factors lj: 0 0 0
special bond factors coul: 0 0 0
0 = max # of 1-2 neighbors
0 = max # of 1-3 neighbors
0 = max # of 1-4 neighbors
1 = max # of special neighbors
special bonds CPU = 0.000 seconds
read_data CPU = 0.004 seconds
Setting atom values ...
936 settings made for charge
Setting atom values ...
0 settings made for charge
ERROR on proc 0: Unknown section 'Atoms' in molecule file
(src/molecule.cpp:664)
Last command: molecule CH4_mol CH4_molecule.txt