24小时热门版块排行榜    

查看: 702  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 305分求调剂(食品工程) +3 Sxy112 2026-03-21 5/250 2026-03-22 11:35 by 杨杨杨紫
[考研] 环境学硕288求调剂 +4 皮皮皮123456 2026-03-22 4/200 2026-03-22 11:07 by 杨杨杨紫
[考研] 286分人工智能专业请求调剂愿意跨考! +4 lemonzzn 2026-03-17 8/400 2026-03-21 22:49 by lemonzzn
[考研] 269专硕求调剂 +5 金恩贝 2026-03-21 5/250 2026-03-21 22:37 by zhyzzh
[考研] 考研化学学硕调剂,一志愿985 +5 张vvvv 2026-03-15 7/350 2026-03-21 19:23 by ColorlessPI
[考研] 297求调剂 +3 喜欢还是不甘心 2026-03-20 3/150 2026-03-21 18:33 by 学员8dgXkO
[考研] 工科0856求调剂 +3 沐析汀汀 2026-03-21 3/150 2026-03-21 18:30 by 学员8dgXkO
[考研] 求调剂 +3 13341 2026-03-20 3/150 2026-03-21 18:28 by 学员8dgXkO
[考研] 330求调剂0854 +3 assdll 2026-03-21 3/150 2026-03-21 13:01 by 搏击518
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +12 yangfz 2026-03-17 12/600 2026-03-21 03:30 by JourneyLucky
[考研] 332求调剂 +4 ydfyh 2026-03-17 4/200 2026-03-21 02:20 by JourneyLucky
[考研] 求调剂 +3 Ma_xt 2026-03-17 3/150 2026-03-21 02:05 by JourneyLucky
[考研] 材料 336 求调剂 +3 An@. 2026-03-18 4/200 2026-03-21 01:39 by JourneyLucky
[考研] 287求调剂 +7 晨昏线与星海 2026-03-19 8/400 2026-03-20 22:19 by JourneyLucky
[考研] 材料学硕297已过四六级求调剂推荐 +11 adaie 2026-03-19 11/550 2026-03-20 21:30 by laoshidan
[考研] 求调剂 +3 @taotao 2026-03-20 3/150 2026-03-20 19:35 by JourneyLucky
[考研] 320求调剂0856 +3 不想起名字112 2026-03-19 3/150 2026-03-19 22:53 by 学员8dgXkO
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
[考博] 26申博 +4 八6八68 2026-03-16 4/200 2026-03-17 13:00 by 轻松不少随
[考研] 321求调剂 +5 大米饭! 2026-03-15 5/250 2026-03-16 16:33 by houyaoxu
信息提示
请填处理意见