units real # timestep 1 fs
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style harmonic
improper_style cvff
pair_style lj/cut/coul/long 12
kspace_style pppm 1.0e-4 # ewald pppm
read_data Layer.data # TODO: your data file in the same fold with this input file
thermo 100
thermo_style custom step temp press ebond eangle lx ly lz density
####### Minimization #######
velocity all create 300 730429
minimize 1e-8 1e-8 5000 5000
write_data min.data
print "Minimization Completed !"
####### Annealing #######
reset_timestep 0
dump 1 all custom 500 annealing1.lammpstrj id mol type x y z
dump 2 all custom 500 annealing2.lammpstrj id mol type xu yu zu
fix 1 all npt temp 300 500 100 z 1 1 1000 drag 2 # Tdamp/Pdamp usually equal timestep*100/1000: 100=1fs*100, 1000=1fs*1000
run 5000
unfix 1
fix 1 all npt temp 500 500 100 z 1 1 1000 drag 2 # Tdamp/Pdamp usually equal timestep*100/1000: 100=1fs*100, 1000=1fs*1000
run 5000
unfix 1
fix 1 all npt temp 500 300 100 z 1 1 1000 drag 2 # Tdamp/Pdamp usually equal timestep*100/1000: 100=1fs*100, 1000=1fs*1000
run 10000
unfix 1
undump 1
undump 2
write_data annealing.data
print "Annealing Completed !"
####### Production Run #######
reset_timestep 0
dump 1 all custom 10000 run1.lammpstrj id mol type x y z
dump 2 all custom 10000 run2.lammpstrj id mol type xu yu zu
fix 1 all nvt temp 300 300 100 drag 0
run 5000000
unfix 1
undump 1
undump 2
write_data final.data
print "ALL DONE !"sqzzfb
大街上已经乱糟糟的了

热门文章
-
食物rank局
1 REPLIES , 150 VIEWS -
等待戈多
0 REPLIES , 84 VIEWS -
”AuToFF+Packmol+Moltemplate+LAMMPS+MDAnalysis“在MSL2 Linux环境的安装与模拟案例—以求溶液中离子的RDF-OW为例
0 REPLIES , 82 VIEWS
最新评论
-
Hammer
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && (grep -q '/swapfile' /etc/fstab || echo '/swapfile none swap sw 0 0' >> /etc/fstab)2026年06月07日
一言
友情链接
我的Memos(已转至思源笔记)我不是咕咕鸽
安娜的档案



