|
|
[ÇóÖú]
Pair style hybridÉèÖõÄÎÊÌâ ÒÑÓÐ2È˲ÎÓë
ÎÒ¸Õ½Ó´¥·Ö×Ó¶¯Á¦Ñ§Ä£Äâ²»¾Ã£¬ÓÃlammps×ö̼ÄÉÃ׹ܳ交µÃ·ÂÕæ£¬C-C²ÉÓÃaireboÁ¦³¡£¬C-He ºÍHe-He²ÉÓÃLJ 6 12ÊÆ£¬ÔÚ½øÐгõ²½µÄÄÜÁ¿×îС»¯³ÚÔ¥Êä³öµÄVDWͼƬµÄʱºò·¢ÏÖHeÔ×ÓÖ®¼äÓл¯Ñ§¼üµÄ´æÔÚ£¬ÎÒÔÚ»³ÒÉÊDz»ÊÇÎÒʹÓõÄPair style hybridÉèÖõÄÎÊÌ⣬°ÑËùÓеÄÔ×Ó¶¼ÉèÖóÉÁË̼Ô×Ó£¬µ¼Ö³öÏÖÁË»¯Ñ§¼ü´úÂëÈçÏ£º
#atom type 1 C
#atom type 2 He
pair_style hybrid airebo 3.0 lj/cut 10
pair_coeff * * airebo CH.airebo C C
pair_coeff 1 2 lj/cut 0.00165375 3.191
pair_coeff 2 2 lj/cut 0.00093800 2.633
ÎÒÔÚÕâÀﻹºÜÀ§»óµÄÊÇ£¬¹ØÓÚaireboÊÆÀï**µÄ¶¨Ò壬°´ÕÕÎÒÕâÑùµÄ¶¨Ò壬ÊDz»ÊÇËùÓеͼ±»ÉèÖóÉΪÁËaireboÊÆ£¿ÎÒ³¢ÊÔµ÷»»Ë³ÐòµÄʱºò£¬ÏñÕâÑù£º
#atom type 1 C
#atom type 2 He
pair_style hybrid airebo 3.0 lj/cut 10
pair_coeff 1 2 lj/cut 0.00165375 3.191
pair_coeff 2 2 lj/cut 0.00093800 2.633
pair_coeff * * airebo CH.airebo C C
½á¹û±¨´í£ºpair hybrid sub-style is not used
ÎÒ³¢ÊÔ½«* *Ìæ»»³É1 1µÄʱºò»¹ÊDZ¨´í¡£ÄÇôÎÒÕâÑùµÄÁ¦³¡Ð´·¨ÓÐÎÊÌâô£¿ÊDz»ÊÇÓÉÓÚÁ¦³¡ÉèÖÃÎÊÌâµ¼ÖÂHeÔ×ÓÖ®¼äÓл¯Ñ§¼ü£¬»¹ÊÇÖ»ÊÇVDWÏÔʾµÄÎÊÌ⣿
¸½
1.VDWÏÔʾÕÕÆ¬ÒÑÉÏ´«
2.´úÂ룺
variable simname index cswnt_he
log log.${simname}.txt
units metal
boundary s s s
lattice fcc 1.0
timestep 0.0002
atom_modify map array
atom_style full
read_data ${simname}.data
#atom type 1 C
#atom type 2 He
pair_style hybrid airebo 3.0 lj/cut 10
pair_coeff * * airebo CH.airebo C C
pair_coeff 1 2 lj/cut 0.00165375 3.191
pair_coeff 2 2 lj/cut 0.00093800 2.633
neighbor 2.0 bin
neigh_modify delay 10
group cnt type 1
group he type 2
compute stressatom all stress/atom NULL virial
compute displaceatom all displace/atom
compute prpertyfz all property/atom fz
variable fz equal fcm(all,z)
variable fzcnt equal fcm(cnt,z)
variable fzhe equal fcm(he,z)
#compute peatom all pe/atom
#compute peatom all reduce sum c_peatom
#compute peatomcnt cnt reduce sum c_peatom
#compute peatomhe he reduce sum c_peatom
thermo 1000
thermo_style custom step temp pe ke etotal evdwl ecoul emol
dump 1 all custom 1000 ${simname}.lammpstrj id type x y z
min_style cg
minimize 1e-25 1e-25 5000 10000
fix fixnvt cnt nvt temp 0.001 0.001 10
run 50000
unfix fixnvt
fix fixnve cnt nve
run 50000
unfix fixnve
write_restart restart.endinitial
![Pair style hybridÉèÖõÄÎÊÌâ]()
1.jpg |
» ²ÂÄãϲ»¶
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
|