首页 >> 仿真软件说明 >>lammps >>bob版 >> 拉伸in文件
详细内容

拉伸in文件

时间:2025-05-06     作者:鲍路瑶【原创】   阅读

通过一个方柱形铜纳米线进行拉伸模拟,具体in文件如下:

dimension    3

boundary     s s s

units        metal

atom_style   atomic

neighbor 3.0 bin

neigh_modify every 1 delay 0 check yes

pair_style   eam


region box block 0 119.295 0 36.15 0 36.15 units box

create_box 1 box


lattice fcc  3.6150

region Cu block 0 119.295 0 36.15 0 36.15 units box

create_atoms 1 region Cu


pair_coeff * * Cu_u3.eam


region left block INF 0.1 INF INF INF INF units box

group left region left

region right block 119.1 INF INF INF INF INF units box

group right region right


group cu subtract all left right 


timestep 0.002

thermo 100

thermo_style custom step temp pxx pyy pzz

thermo_modify flush yes


velocity cu create 300 5645354 loop local dist gaussian rot yes

dump mydump1 all atom 10000 atom1.lammpstrj


fix fxnvt cu nvt temp 300.0 300.0 0.2


run 100000


fix 1 right move linear 0.01 0.0 0.0 


run 1500000


感谢鲍路瑶老师的分享,内容来自于鲍老师分享出来的资料

如有需要添加微信:lmp_zhushou  进入微信群,帮助他人,共建社区

获取完整版lammps讲义可以加微信lmp_zhushou或加入QQ994359511


最新评论
请先登录才能进行回复登录
技术支持: CLOUD | 管理登录
seo seo