24小时热门版块排行榜    

Znn3bq.jpeg
查看: 680  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 今年审到国自然15份,谈谈感受 +9 国自然国社科中 2026-05-17 9/450 2026-05-17 21:14 by 雪城001
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +6 l7k6xnh0yc 2026-05-14 7/350 2026-05-17 19:42 by Equinoxhua
[公派出国] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +4 v9tggjlwd0 2026-05-15 5/250 2026-05-17 18:39 by Equinoxhua
[考博] 找博士生导师 +4 小代想上岸 2026-05-15 5/250 2026-05-17 17:44 by 脱颖而出
[教师之家] 上海大学实验技术岗位非升即走 +7 嘻嘻哈哈乐呵呵 2026-05-15 7/350 2026-05-17 16:58 by songwz
[考博] 2026博士还有哪些学校有名额 +6 小王求读研 2026-05-15 7/350 2026-05-17 16:54 by 知音湖畔
[考博] 西南大学考核制博士 +5 lijunjie84 2026-05-11 8/400 2026-05-17 14:21 by 鹅鹅鹅鹅aaa
[基金申请] 这年头没有找到涵评专家,还有中面上的可能吗 +13 dd921ww 2026-05-12 16/800 2026-05-17 12:38 by 于轩
[考博] 26/27博士推荐 +3 1木头人13949 2026-05-13 3/150 2026-05-17 09:41 by YuY66
[考博] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 7hlccowb3h 2026-05-15 4/200 2026-05-17 07:46 by 11n4dfd8yn
[论文投稿] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +4 ky2p12rrjj 2026-05-15 5/250 2026-05-17 01:10 by ue3ir18jc3
[基金申请] 精华III评审感受-评审感受-评审感受 +16 ferrarichen 2026-05-11 20/1000 2026-05-17 01:10 by 南开小綦
[考博] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 ky2p12rrjj 2026-05-15 4/200 2026-05-17 00:57 by ue3ir18jc3
[考研] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +4 x0mp7owy2b 2026-05-15 4/200 2026-05-17 00:25 by ue3ir18jc3
[高分子] 本人最近太闲了,谁有问题可以提,每天会统一回复 +9 一切都是空工 2026-05-12 20/1000 2026-05-16 19:52 by Equinoxhua
[有机交流] 求助2,4-二氯-5-嘧啶甲醛的合成方法 20+3 光吃不拉 2026-05-14 6/300 2026-05-16 19:46 by Equinoxhua
[有机交流] 如何实现卤原子转化 +3 BT20230424 2026-05-15 5/250 2026-05-16 16:20 by czyzsu
[考研] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +4 l7k6xnh0yc 2026-05-14 6/300 2026-05-16 11:29 by h3oerqvkv9
[硕博家园] 申请博士 +3 呃?呃 2026-05-15 3/150 2026-05-16 11:01 by a4742549
[论文投稿] 求助大佬sci投稿哪个好中 +3 江沅188 2026-05-12 4/200 2026-05-13 14:35 by 江沅188
信息提示
请填处理意见