24小时热门版块排行榜    

Znn3bq.jpeg
查看: 718  |  回复: 0

Yudi X

新虫 (初入文坛)

[求助] 冲击模拟求助

lammps小白想做一个Al单晶的冲击,没有其他的要求只是用作练习,有一个冲击的模板如下,我想问一下除了改结构和势函数外,其他还需要改哪些方面,或者说不需要改什么就可以算了
# LAMMPS code used for producing a shock wave in [001]Ca
# copy from Jarmakani, Hussam N. disseration
# Quasi-isentropic and shock compression of FCC and BCC metals
units            metal
boundary         p p p
atom_style       atomic

#lattice          custom 4.50330239325  a1 1.2247448713913261468 0.0 0.0 a2 0.0 0.7071067811865475244 0.0 a3 0.0 0.0 1.1511698397714522610 basis 0.0 0.0 0.0 basis 0.5 0.5 0.0 basis 0.33333333333333333333333333 0.0 0.5 basis 0.83333333333333333333333333 0.5 0.5
lattice         bcc 3.0227
#lattice         bcc $a orient x 1 0 0 orient y 0 1 -1 orient z 0 1 1
region           box block 0 50 0 50 0 500
create_box       1 box
create_atoms     1 box

pair_style       maeam
pair_coeff       * * V.maeam bcc
#pair_style       meam
#pair_coeff       * * AlMg.library.meam Al Mg AlMg.meam Mg

neighbor         2.0 bin
neigh_modify     once no check yes every 1 delay 0

min_style        cg
min_modify       dmax 0.001 line quadratic
minimize         1.0e-15 1.0e-20 500000 1000000
  
#delete_atoms     porosity box 0.01 482793   
   
#temperature controllers
#compute         new3d  all temp
velocity        all create 10 5812775 rot yes dist gaussian
fix             1 all npt temp 1.0 1.0 1.0 iso 0.0 0.0 1.0

#shock HNJ
thermo          5000
thermo_style    custom step temp pe ke  press vol lx ly lz pxx pyy pzz
#thermo_modify   temp new3d norm yes

timestep        0.001
run             5000
write_restart   restart.npt.*
# compute definition
reset_timestep  0
unfix           1
region          piston block INF INF INF INF INF 5.2
region          bulk block INF INF INF INF 5.2 INF
group           piston region piston
group           bulk region bulk
fix             2 all nve
#write_restart   restart.nve.*

change_box      all boundary p p s remap

compute         ke_atom bulk ke/atom
compute         mypotential all pe
compute         localpe bulk pe/atom
compute         ackland bulk ackland/atom
compute         csp bulk centro/atom 12
compute         stress bulk stress/atom
fix             4 bulk ave/spatial 1 1 2000 z lower 1.0 c_stress[1] c_stress[2] vz c_stress[3]  file profile.dat units lattice  
#fix            5 bulk ave/spatial 1 1 1000 x lower 1.0 z lower 3.0 vz c_stress[1] c_stress[2]  c_stress[3] file bin.dat units lattice
compute         myTemp all temp/profile 1 1 1 z 100 out bin

# Shock

velocity        piston set 0 0 18.0 units box
fix             6 piston setforce 0.0 0.0 0.0
shell           mkdir confg
dump            1 bulk custom 2000 confg/snap.*.atom.gz id type xs ys zs vx vy vz c_localpe c_ackland c_csp c_stress[1] c_stress[2] c_stress[3]
dump_modify     1 first yes pad 6 element V

#thermo          100

#thermo_style    custom step temp pe ke press vol lx ly lz pxx pyy pzz
#thermo_modify   temp new3d norm yes

run              30000

@oxox6085 发自小木虫Android客户端
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Yudi X 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 294求调剂 +8 淡然654321 2026-04-15 8/400 2026-04-15 21:47 by lbsjt
[考研] 求调剂推荐 +6 小聂爱学习 2026-04-14 6/300 2026-04-15 17:26 by 1005715100
[考研] 复试调剂 +21 积极向上; 2026-04-10 23/1150 2026-04-15 12:50 by 西北望—风沙
[考研] 材料专业344求调剂 +17 hualkop 2026-04-10 22/1100 2026-04-14 16:21 by sxdj2
[考研] 290求调剂 +21 luoziheng 2026-04-10 23/1150 2026-04-14 15:49 by zs92450
[考研] 105500药学求调剂 +4 x_skys 2026-04-12 4/200 2026-04-14 13:37 by rndfc
[考研] 一志愿哈工大 085600 277 12材科基求调剂 5+5 chenny174 2026-04-10 37/1850 2026-04-14 07:39 by Abskk
[考研] 332求调剂 +15 蕉蕉123 2026-04-10 15/750 2026-04-13 23:12 by pies112
[考研] 一志愿鲁东大学071000生物学学硕初试分数276求调剂 +8 慕绝cc 2026-04-09 8/400 2026-04-13 14:08 by 张zhihao
[考研] 0854调剂 +10 长弓傲 2026-04-11 11/550 2026-04-13 10:38 by wp06
[考研] 求调剂288 +7 ioodiiij 2026-04-10 9/450 2026-04-13 08:33 by Hayaay
[硕博家园] 新一代电子信息294求调剂 不挑学校 +7 Ytyt11 2026-04-09 8/400 2026-04-12 16:57 by ajpv风雷
[考研] 267求调剂 +8 再忙也要吃饭啊 2026-04-09 8/400 2026-04-11 21:42 by cfdbai
[考研] 求调剂,一志愿大连理工大学354分 +5 雨声余生 2026-04-11 6/300 2026-04-11 16:12 by 雨声余生
[考研] 337求调剂 +4 研s. 2026-04-10 4/200 2026-04-11 08:57 by zhq0425
[考研] 346,工科0854求调剂,专硕 +7 moser233 2026-04-10 8/400 2026-04-11 08:52 by 猪会飞
[考研] 22408 366分,本科211,一志愿西工大 +4 Rubt 2026-04-09 4/200 2026-04-10 19:51 by chemisry
[考研] 初试261 +3 Asht少 2026-04-10 6/300 2026-04-10 16:38 by Asht少
[考研] 机械专368 有去处吗 +4 种大树 2026-04-10 4/200 2026-04-10 15:31 by jiajinhpu
[考研] 一志愿中科院105500专业总分315求调剂 +6 lallalh 2026-04-09 7/350 2026-04-09 17:51 by lallalh
信息提示
请填处理意见