24小时热门版块排行榜    

查看: 638  |  回复: 1

失火的天堂

新虫 (小有名气)

[交流] 升温熔化模拟求助,没报错,但也不在计算 已有1人参与

我这两天做了一个金属化合物升温的模拟,但是遇到一些问题,下面是in文件,还望高人看看
# in.melt

# --------------------- INITIALIZAITION ---------------------
clear
units  metal
dimension 3
boundary p p p
atom_style atomic
variable a equal 3.572
variable N equal 88353

# --------------------- ATOM DEFINITION ---------------------
lattice custom ${a} a1 1 0 0 a2 0 1 0 a3 0 0 1 basis 0.5 0.5 0 basis 0.5 0 0.5 basis 0 0.5 0.5 basis 0 0 0 &
orient x 1 -1 0 orient y 1 1 -2 orient z 1 1 1
region mybox sphere 0 0 0 50 units box
create_box 2 mybox
create_atoms 2 box basis 1 1 basis 2 1 basis 3 1 basis 4 2
mass 1 58.69 #Ni
mass 2 26.98 #Al

# --------------------- FORCE FIELDS ------------------------
pair_style eam/alloy
pair_coeff * * NiAl.eam.alloy Ni Al

# --------------------- SETTINGS ----------------------------
neighbor 0.5 bin
neigh_modify every 5 delay 0 check yes
timestep 0.01

min_style cg
minimize 1.0e-12 1.0e-12 1000 1000

velocity all create 275 1234567 dist gaussian
fix 1 all nvt temp 275 275 0.1

thermo_style custom step temp etotal pe ke press
thermo 1000

compute 1 all pe/atom
compute 2 all reduce sum c_1

run 15000

unfix 1
fix 1 all npt temp 275 2000 4 iso 0 0 6 drag 0.2

variable p equal c_2/${N}
variable v equal vol/${N}
fix def1 all print 1000 "${temp} ${p} ${v}" file potential_peratom.txt screen no
dump 1 all atom 1000 dump.melt
run 2000000
回复此楼

» 猜你喜欢

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

jdl272

新虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
分开两步做,写到一起的不是不可以,是太混乱

发自小木虫Android客户端
2楼2018-02-16 22:39:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 失火的天堂 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 化学工程321分求调剂 +9 大米饭! 2026-03-15 12/600 2026-03-16 21:59 by 大米饭!
[考研] 材料专硕326求调剂 +5 墨煜姒莘 2026-03-15 5/250 2026-03-16 21:30 by 木瓜膏
[考研] 085601求调剂 +3 Du.11 2026-03-16 3/150 2026-03-16 20:42 by 无际的草原
[考研] 0703求调剂 +7 jtyq001 2026-03-10 7/350 2026-03-14 01:06 by JourneyLucky
[考研] 0856材料与化工309分求调剂 +6 ZyZy…… 2026-03-10 6/300 2026-03-14 00:38 by JourneyLucky
[考研] 311求调剂 +5 牛乳糖的卡卡 2026-03-10 5/250 2026-03-14 00:05 by JourneyLucky
[考研] 0703化学调剂 +4 快乐的香蕉 2026-03-11 4/200 2026-03-13 22:41 by JourneyLucky
[考研] 材料与化工求调剂一志愿 985 总分 295 +8 dream…… 2026-03-12 8/400 2026-03-13 22:17 by 星空星月
[考研] 材料工程调剂 +9 咪咪空空 2026-03-12 9/450 2026-03-13 22:05 by 星空星月
[考研] 0856材料与化工301求调剂 +5 奕束光 2026-03-13 5/250 2026-03-13 22:00 by 星空星月
[考研] 26调剂/材料/英一数二/总分289/已过A区线 +6 步川酷紫123 2026-03-13 6/300 2026-03-13 21:59 by 星空星月
[考研] 四川大学085601材料工程专硕 初试294求调剂 +4 祝我们好在冬天 2026-03-11 4/200 2026-03-13 21:39 by peike
[考研] 285化工学硕求调剂(081700) +6 柴郡猫_ 2026-03-12 6/300 2026-03-13 20:46 by hmn_wj
[考研] 311求调剂 +3 冬十三 2026-03-13 3/150 2026-03-13 20:41 by JourneyLucky
[考研] 332求调剂 +3 Zz版 2026-03-13 3/150 2026-03-13 20:36 by 18595523086
[考研] 工科278分求调剂 +5 周慢热啊 2026-03-12 7/350 2026-03-13 15:49 by JourneyLucky
[考研] 0817化学工程与技术考研312分调剂 +3 T123 tt 2026-03-12 3/150 2026-03-13 10:49 by houyaoxu
[考研] 求调剂 资源与环境 285 +3 未名考生 2026-03-10 3/150 2026-03-13 10:31 by houyaoxu
[考博] 读博申请 +5 感dd 2026-03-10 7/350 2026-03-11 17:02 by QGZDSYS
[考研] 哈工大材料324求调剂 +6 闫旭东 2026-03-10 8/400 2026-03-10 22:49 by 星空星月
信息提示
请填处理意见