24小时热门版块排行榜    

查看: 1037  |  回复: 0
【悬赏金币】回答本帖问题,作者袁远渊将赠送您 10 个金币

袁远渊

新虫 (初入文坛)

[求助] 想向各位大佬请教一下怎么正确使用网站提供的势函数文件。

各位大佬,我导师想让我做Co-Pt沉积的分子模拟,我在interatomic potentials repository上找到了Co-Pt的MEAM势函数文件,通过将数据拷贝到清空内容的原本势函数文件里,但是程序一直无法运行,每次到pair_coeff就会出现error,显示如下:incorrect args for pair coefficient。
然后我对查了错误手册,说是初始模型问题描述很短。然后我对in文件做了一些改动,比如将meam/c改为meam,不行。将网站的liburary.meam 中关于两个元素的数据复制进原本的liburary.meam也不行,将pari style与pair_coeff 移动到分层建模的命令前面,也不行。
模拟卡在这里已经很久了,我实在不知道怎么办了,希望各位大佬帮帮孩子吧,球球了,研二了我现在只想毕业。
这是我的in文件

##Co deposited on Co
#mpirun -np 16 ./lmp_g++_mpich<Co.txt
#定义数值
variable                         lat_a  equal  2.51
variable                         lat_c  equal  4.10
variable                         lat_x  equal  20*${lat_a}
variable                         lat_y  equal  20*${lat_a}
variable                         lat_z  equal  50*${lat_c}
variable                         lat_z1  equal  1*${lat_c}
variable                         lat_z2  equal  2*${lat_c}
variable                         lat_z3  equal  3*${lat_c}
variable                         lat_z4  equal  49*${lat_c}
#定义晶格
units                          meta
ldimension                      3
atom_style                     atomic
boundary                       p p f
neighbor                       0.5 bin
neigh_modify                   every 1 delay 0 check yes
#创建格子
region                         bbox block 0 ${lat_x} 0 ${lat_y} 0 ${lat_z} units box
create_box                     4 bbox
#创建Co基底
lattice                            hcp ${lat_a}
region                           lbox block 0 ${lat_x} 0 ${lat_y} 0 ${lat_z3} units box
create_atoms                 1 region lbox
#定义基板功能区
region                            sput block 2 50 2 50 ${lat_z4} ${lat_z} units box   #沉积原子产生区
group                             sput region sput
region                            stable block INF INF INF INF 0.0 ${lat_z1} units box  #固定层
group                             stable region stable
region                            relax block INF INF INF INF ${lat_z1} ${lat_z2} units box   #热控制层
group                             relax region relax
region                            free block INF INF INF INF ${lat_z2} ${lat_z3} units box     #自由层
group                             free region free
#摩尔质量设置
mass 1  58.93
mass 2  58.93
mass 3  195.1
#力场设置
pair_style meam/c
pair_coeff * * library.meam Pt Co PtCo.meam Co Co Pt
#计算原子温度
compute      KE   all ke/atom
variable        KB   equal 8.625e-5
variable        TEMP atom c_KE/1.5/${KB}
#输出原子信息
dump 1d all custom 1000 dump.diposite id type x y z v_TEMP  
#屏幕输出信息设置
reset_timestep 0
thermo            5000
thermo_style    custom step pe ke etotal temp vol press
#固定底部原子,防止在沉积过程中移动
fix s1 stable setforce 0.0 0.0 0.0
#能量最小化
min_style cg
minimize 1e-8 1e-8 10000 10000                                
#温度初始化
velocity other create 298 39849 mom yes rot yes dist gaussian
#nvt系综下进行弛豫  
fix 1 all nvt temp 298.00 298.0 10.0
run 20000
#沉积前设定
unfix 1
fix 1 relax nvt temp 298.00 298.00 10.0
fix 2 free  nve
#沉积原子类型为2,数量500个
fix 3 all deposit 500 2 100 95485 region sput near 2.51 vz -0.5 -1.5
#为生成的原子添加温度
fix 4 sput temp/csvr 1653.00 1653.00 100
#删除飞出box外的原子
thermo_modify lost ignore flush yes
run 100000@smutao@oxox6085
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 袁远渊 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 调剂的同学,走过路过,不要错过 +6 likeihood 2026-03-06 10/500 2026-03-07 22:58 by QQ2409131282
[考研] 085600材料与化工,一志愿广州985,求调剂 +12 qqyyaill 2026-03-05 12/600 2026-03-07 22:41 by Leeding1356
[考研] 081700学硕一志愿北京化工大学数二英一过六级有竞赛求调剂 +4 galaxary 2026-03-07 6/300 2026-03-07 19:00 by houyaoxu
[考研] 接受26届调剂生 +16 猪猪猪毛 2026-03-06 16/800 2026-03-07 16:27 by 酸菜不吃鱼
[考研] 276求调剂 本科天津工业大学 一志愿北京化工大学0855 +4 路lyh123 2026-03-06 6/300 2026-03-07 11:37 by shdliugang
[考研] 0703 东华大学 理学化学均过 a 线,总分 281 求调剂 +6 香香 Lu 2026-03-03 11/550 2026-03-06 15:37 by @飒飒飒飒
[考研] 085602高分子方向求调剂 +7 tlgudy 2026-03-04 7/350 2026-03-06 14:17 by guosr9609
[考研] 考研282分求调剂,接受跨专业 +4 刘淄博 2026-03-04 7/350 2026-03-05 22:56 by 刘淄博
[考研] 083000,总分284,求调剂 +3 徐yr 2026-03-04 3/150 2026-03-05 22:33 by Y比B卜
[考研] 复试调剂 +5 呼呼?~+123456 2026-03-05 5/250 2026-03-05 19:43 by caszguilin
[考研] 没上岸的看过来 +3 tangxiaotian 2026-03-01 5/250 2026-03-05 13:56 by tangxiaotian
[考研] 085701环境工程 求调剂 +7 xiiiia 2026-03-04 7/350 2026-03-05 09:49 by 热情沙漠
[考研] 0856材料与化工,270求调剂 +17 YXCT 2026-03-01 20/1000 2026-03-05 09:22 by 一切OK
[论文投稿] 主编终审卡者不动 100+4 Stray2021 2026-03-03 4/200 2026-03-05 08:04 by bdhaoxiang
[考研] 一志愿武汉理工大学-085602-总分296分-求调剂 +7 紫川葡柚 2026-03-04 7/350 2026-03-04 21:04 by kakakapanpan
[考研] 成绩276,专业代码0856求调剂 +10 小陈朵 2026-03-03 10/500 2026-03-04 20:16 by 1124861332
[考研] 085600 英一数二272求调剂 5+6 vida_a 2026-03-01 47/2350 2026-03-04 13:35 by vida_a
[考研] 材料270求调剂 6+6 Eiiiio 2026-03-01 11/550 2026-03-03 15:04 by Phoebelala
[考研] 化工270求调剂 +10 什么名字qwq 2026-03-02 10/500 2026-03-03 13:54 by NUAAZXWS
[考研] 化工京区271求调剂 +7 11ing 2026-03-02 7/350 2026-03-03 07:30 by 利好利好.
信息提示
请填处理意见