24小时热门版块排行榜    

查看: 525  |  回复: 1

313838515

铁杆木虫 (正式写手)

[求助] 请问大牛,怎么分析出错信息 已有1人参与

脚本in文件

#3d friction
dimension 3
boundary p s p
units metal
atom_style atomic
neighbor 0.3 bin
neigh_modify delay 5
#create geometry
lattice diamond 3.65
region box block 0 10 0 10 0 10
create_box 2 box
mass 1 55.85
mass 2 12.0

#atom region
region lo-fixed block INF INF INF 1.1 INF INF
region lo-slab block INF INF INF 7 INF INF
region above-lo block INF INF INF 7 INF INF side out
region hi-fixed block INF INF 1.1 INF INF INF
region hi-slab block INF INF 7 INF INF INF
region blow-hi block INF INF 7 INF INF INF side out
#create 2 surfaces with asperities
create_atoms 1 region lo-slab
create_atoms 1 region hi-slab
#potential parameters
pair_style reax
pair_coeff * * ffield.reax.Fe_O_C_H Fe C
#define groups
group lo region lo-slab
group lo type 1
group hi region hi-slab
group hi type 2
group lo-fixed region lo-fixed
group hi-fixed region hi-fixed
group boundary union lo-fixed hi-fixed
group mobile subtract all boundary
set group lo-fixed type 1
set group hi-fixed type 2
#initial velocities
velocity hi set 1.0 0.0 0.0 sum yes
#fix
fix 1 all nve
fix 2 boundary setforce 0.0 0.0 0.0
fix 3 boundary temp/rescale 200 0.0 0.0 0.02 1.0
#run
timestep 0.0025
thermo 1000
dump 1 all xyz 10 dump.xyz
#ump 2 all atom 500 dump.friction
#dump 1 all image.*.jpg type zoom 1.6 1 pad 5
#dump_modify 1 pad
run 20000
出错信息:

LAMMPS (13 May 2014-ICMS)
WARNING: OMP_NUM_THREADS environment is not set. (../comm_brick.cpp:82)
  using 1 OpenMP thread(s) per MPI task
#3d friction
dimension 3
boundary p s p
units metal
atom_style atomic
neighbor 0.3 bin
neigh_modify delay 5
#create geometry
lattice diamond 3.65
Lattice spacing in x,y,z = 3.65 3.65 3.65
region box block 0 10 0 10 0 10
create_box 2 box
Created orthogonal box = (0 0 0) to (36.5 36.5 36.5)
  1 by 1 by 1 MPI processor grid
mass 1 55.85
mass 2 12.0

#atom region
region lo-fixed block INF INF INF 1.1 INF INF
region lo-slab block INF INF INF 7 INF INF
region above-lo block INF INF INF 7 INF INF side out
region hi-fixed block INF INF 1.1 INF INF INF
region hi-slab block INF INF 7 INF INF INF
region blow-hi block INF INF 7 INF INF INF side out
#create 2 surfaces with asperities
create_atoms 1 region lo-slab
Created 5800 atoms
create_atoms 1 region hi-slab
Created 2600 atoms
#potential parameters
pair_style reax
ERROR: Invalid pair style (../force.cpp:175)

[ Last edited by 月只蓝 on 2014-6-12 at 13:39 ]
回复此楼
ggg
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

starlink

木虫 (正式写手)

【答案】应助回帖

★ ★ ★
感谢参与,应助指数 +1
月只蓝: 金币+1, 鼓励交流! 2014-06-17 15:39:14
313838515: 金币+2, ★★★很有帮助, 谢谢 2014-06-17 16:21:46
http://lammps.sandia.gov/doc/pair_reax.html
手册里面说reax势函数用的是real单位,如果你用其他单位,可能需要自己改势函数文件中的相关参数。

没用过reax,希望能帮到你。
2楼2014-06-11 20:59:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 313838515 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[文学芳草园] 梦想 +5 myrtle 2026-08-26 7/350 2026-09-01 15:18 by myrtle
[基金申请] 学科评审组评审是指会评吗? +4 瞬息宇宙 2026-08-31 4/200 2026-09-01 14:58 by jiaoxg
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +13 Kittylucky 2026-08-27 14/700 2026-09-01 11:06 by feng6531
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +7 gdd2018 2026-08-28 12/600 2026-09-01 08:32 by 尼古拉斯小虫
[基金申请] 怎么看青基中了没有啊 +6 叶九微 2026-08-26 6/300 2026-08-31 23:54 by yudaoqian88
[基金申请] 国社科又开始会评了,不知道这次命运如何 +7 雨打竹帘 2026-08-30 11/550 2026-08-31 23:16 by hittle2008
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +6 yuleib84 2026-08-26 7/350 2026-08-31 19:46 by 鱼翔浅底1
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 基金不中,共勉 +12 eulota 2026-08-26 12/600 2026-08-31 08:42 by ZJTJZ
[基金申请] 为什么到现在没收到通知? +5 tannykie 2026-08-29 5/250 2026-08-30 21:05 by purplejack
[基金申请] 有没有仍没收到信息的 +7 德尚中行 2026-08-27 8/400 2026-08-30 20:52 by purplejack
[考博] 找导师 +6 yuanjiabao 2026-08-29 7/350 2026-08-30 14:40 by 生科新手
[基金申请] 国自然评审意见 +13 wangmingqi 2026-08-28 19/950 2026-08-29 10:22 by Poppy1104
[基金申请] 系统查不到 +11 董八千 2026-08-26 11/550 2026-08-28 18:06 by Leogzhya
[基金申请] 怎么查啊 +6 huang1991js 2026-08-26 6/300 2026-08-28 08:42 by winsaint
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +5 a089 2026-08-26 6/300 2026-08-27 14:05 by jonewore
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
信息提示
请填处理意见