24小时热门版块排行榜    

Znn3bq.jpeg
查看: 719  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 恳请有学校收留 +5 柯淮然 2026-04-12 5/250 2026-04-15 21:49 by noqvsozv
[考研] 一志愿A区211,22408 321求调剂 +6 随心所欲☆ 2026-04-15 7/350 2026-04-15 21:45 by lbsjt
[考研] 通信工程求调剂!!! +6 zlb770521 2026-04-14 6/300 2026-04-15 20:00 by 学员JpLReM
[考研] 求调剂推荐 +6 小聂爱学习 2026-04-14 6/300 2026-04-15 17:26 by 1005715100
[考研] 调剂 +12 月@163.com 2026-04-11 12/600 2026-04-14 15:37 by zs92450
[考研] 271求调剂 +35 2261744733 2026-04-11 41/2050 2026-04-14 15:36 by zs92450
[考研] 材料考研调剂 +29 云木达达 2026-04-11 31/1550 2026-04-13 13:32 by lyh鲁老师
[考研] +10 李多米lee. 2026-04-12 11/550 2026-04-12 22:58 by yuyin1233
[教师之家] 山东双非院校考核超级无底线,领导幸灾乐祸,教师遭殃恐 +3 qut2026 2026-04-11 7/350 2026-04-12 20:24 by qut2026
[硕博家园] 新一代电子信息294求调剂 不挑学校 +7 Ytyt11 2026-04-09 8/400 2026-04-12 16:57 by ajpv风雷
[考研] 0831生医工第一轮调剂失败求助 +12 小熊睿睿_s 2026-04-11 16/800 2026-04-12 16:28 by 钰璞
[考研] 电气工程专硕320求调剂 +5 小麻子111 2026-04-10 5/250 2026-04-12 10:47 by zhouyuwinner
[考研] 284求调剂 +11 archer.. 2026-04-09 12/600 2026-04-11 20:23 by 蓝云思雨
[考研] 283求调剂 086004考英二数二 +17 那个噜子 2026-04-10 18/900 2026-04-11 16:27 by 明月此时有
[考研] 调剂 +5 文道星台 2026-04-11 5/250 2026-04-11 15:01 by 凯凯要变帅
[考研] 中药学调剂 初试324 +4 洋甘菊、 2026-04-10 6/300 2026-04-11 09:41 by gong120082
[考研] 368求调剂 +3 17385968172 2026-04-10 3/150 2026-04-10 20:12 by 电子奥德彪
[考研] 284求调剂 +9 让我上岸吧阿西 2026-04-09 11/550 2026-04-10 19:18 by 靖jing
[考研] 一志愿京区985,085401电子信息,本科电子信息 +3 阳光开朗的男孩 2026-04-10 3/150 2026-04-10 16:29 by sophia_93
[考研] 332,085601求调剂 +12 ydfyh 2026-04-09 14/700 2026-04-09 17:28 by wp06
信息提示
请填处理意见