24小时热门版块排行榜    

查看: 1170  |  回复: 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 图啦图啦 2026-08-24 6/300 2026-08-24 17:44 by 小小红帆
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +5 scalable 2026-08-24 5/250 2026-08-24 17:03 by spiderzhuzhi
[基金申请] 2026国自然函评费到账 +17 羊腰板 2026-08-21 19/950 2026-08-24 16:52 by iaeyuan
[基金申请] 能否退出参与的面上项目解除限项 +19 koalala 2026-08-24 21/1050 2026-08-24 16:48 by Wei_ren
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 估计是周四 +4 archvillain 2026-08-18 4/200 2026-08-24 13:53 by zzuzxg
[基金申请] 我面上完蛋了 +8 且听虎啸 2026-08-20 9/450 2026-08-24 13:52 by zzuzxg
[基金申请] 范进中举一文的中心思想 +6 炎黄贵胄 2026-08-22 7/350 2026-08-24 11:58 by 6543yes
[基金申请] 朋友圈看到的 +7 wangzilk 2026-08-18 9/450 2026-08-24 10:50 by cmrandy
[基金申请] 放榜前的不淡定 20+4 snowwithsea 2026-08-19 17/850 2026-08-24 10:20 by echo8914667
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 今天放榜吗? +15 布布和一二 2026-08-19 16/800 2026-08-23 09:55 by 张春生
[基金申请] 93BebMhtakh前后11位开头都是大写 +7 且听虎啸 2026-08-17 8/400 2026-08-22 21:55 by 医学老男孩
[基金申请] filecode,4个jtjc了 +13 ziyangfang 2026-08-19 16/800 2026-08-22 17:08 by WH3796
[基金申请] 今天基金会出结果吗?20260819 +16 kkkl_v 2026-08-19 17/850 2026-08-22 16:12 by 阿布Abu
[基金申请] 时间戳又变了 +13 wuchongjun 2026-08-20 19/950 2026-08-21 17:21 by 紫杉醇
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
信息提示
请填处理意见