24小时热门版块排行榜    

查看: 642  |  回复: 4

andw0wfm

铁虫 (小有名气)

[求助] 模拟飞片和靶的的对撞问题

我想模拟一个对撞的拉伸破坏过程,但是对撞后压强和温度一直上不去,两个Velocity感觉只有一个起了作用(把两个Velocity命令换下行,效果居然差很多),In文件贴在2楼,麻烦大神帮忙看下。我知道Velocity是赋予初始速度,那这种过程需要SET FORCE来维持恒定速度嘛,如果要的话需要维持多久或者要SET FORE ALL吗?
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

andw0wfm

铁虫 (小有名气)

# ---------------- Initialize Simulation ---------------------

clear
units metal
dimension 3
boundary p p p
atom_style atomic

timestep 0.001

# ---------------- Create Atoms ---------------------
lattice fcc 4.05 origin 0.0 0.0 0.0 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
region sim_box block 0 45 0 45 0 120 units lattice
create_box 1 sim_box
create_atoms 1 region sim_box
group sim_box region sim_box



# ---------------- Define Interatomic Potential ---------------------
pair_style    eam/fs
pair_coeff    * * Al_mm.eam.fs Al
          

dump                 1 all cfg 1 atomchushi*.cfg id type xs ys zs mass
dump_modify    1 element Pu
run            0
undump         1
# ---------------- Equilibration ---------------------

reset_timestep 0

velocity all create 5 12345 mom yes rot yes dist gaussian
fix equilibration all npt temp 5 5 0.1 iso 0 0 1 drag 1

variable eq  equal "press/10000"
variable eq1 equal "pxx/10000"
variable eq2 equal "pyy/10000"
variable eq3 equal "pzz/10000"

thermo 1000
thermo_style custom step temp etotal ke pe lx ly lz press v_eq v_eq1 v_eq2 v_eq3

dump                 2 all cfg 10000 atomequil*.cfg id type xs ys zs mass c_myPE  c_myKE
dump_modify    2 element Al

run 10000

undump 2
unfix equilibration

# ---------------- Shock ---------------------

change_box all boundary p p s
reset_timestep 0

fix 1 all nve
velocity        right set 0 0 -15 units box
velocity        left set 0 0 15 units box

variable eq  equal "press/10000"
variable eq1 equal "pxx/10000"
variable eq2 equal "pyy/10000"
variable eq3 equal "pzz/10000"

thermo 1000
thermo_style custom step temp etotal ke pe lx ly lz press v_eq v_eq1 v_eq2 v_eq3

#Use cfg for OVITO
dump                3 all cfg 1000 atom*.cfg id type xs ys zs mass c_myPE c_myKE
dump_modify    3 element Al
dump                4 yugongniu cfg 1000 atomquyu*.cfg id type xs ys zs mass c_myPE c_myKE
dump_modify    4 element Al

run 40000
2楼2018-07-11 09:55:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

andw0wfm

铁虫 (小有名气)

3楼2018-07-11 10:22:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

andw0wfm

铁虫 (小有名气)

顶顶,好急
4楼2018-07-11 14:35:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

pxjdal

新虫 (小有名气)

你可以把速度输出来看看。
5楼2018-07-12 16:10:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 andw0wfm 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 277材料科学与工程080500求调剂 +7 自由煎饼果子 2026-03-16 7/350 2026-03-22 22:40 by ACS Nano——
[考研] 263求调剂 +4 yqdszhdap- 2026-03-22 4/200 2026-03-22 21:20 by 1144970272
[考研] 一志愿中南化学(0703)总分337求调剂 +9 niko- 2026-03-19 10/500 2026-03-22 16:08 by ColorlessPI
[考研] 318求调剂 +4 plum李子 2026-03-21 7/350 2026-03-22 14:17 by ColorlessPI
[考研] 【考研调剂】化学专业 281分,一志愿四川大学,诚心求调剂 +11 吃吃吃才有意义 2026-03-19 11/550 2026-03-21 18:23 by 学员8dgXkO
[考研] 302求调剂 +12 呼呼呼。。。。 2026-03-17 12/600 2026-03-21 17:29 by ColorlessPI
[考研] 求调剂 +6 Mqqqqqq 2026-03-19 6/300 2026-03-21 08:04 by JourneyLucky
[考研] 机械专硕299求调剂至材料 +3 kkcoco25 2026-03-16 4/200 2026-03-21 03:52 by JourneyLucky
[考研] 083200学硕321分一志愿暨南大学求调剂 +3 innocenceF 2026-03-17 3/150 2026-03-21 02:35 by JourneyLucky
[考研] 一志愿华南师大 070300(化学)304分求调剂 +3 0703武芊慧雪304 2026-03-18 3/150 2026-03-21 00:48 by JourneyLucky
[考研] 321求调剂 +9 何润采123 2026-03-18 11/550 2026-03-20 23:19 by JourneyLucky
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 329求调剂 +9 想上学吖吖 2026-03-19 9/450 2026-03-20 22:01 by luoyongfeng
[考研] 290求调剂 +7 ^O^乜 2026-03-19 7/350 2026-03-20 21:43 by JourneyLucky
[考研] 材料与化工专硕调剂 +7 heming3743 2026-03-16 7/350 2026-03-20 19:31 by zhukairuo
[考研] 0856调剂,是学校就去 +8 sllhht 2026-03-19 9/450 2026-03-20 14:25 by 无懈可击111
[考研] 085601材料工程专硕求调剂 +10 慕寒mio 2026-03-16 10/500 2026-03-19 15:26 by 丁丁*
[考研] 材料,纺织,生物(0856、0710),化学招生啦 +3 Eember. 2026-03-17 9/450 2026-03-18 10:28 by Eember.
[考研] 085601求调剂 +4 Du.11 2026-03-16 4/200 2026-03-17 17:08 by ruiyingmiao
[考研] 283求调剂 +3 听风就是雨; 2026-03-16 3/150 2026-03-17 07:41 by 热情沙漠
信息提示
请填处理意见