24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 961  |  回复: 3

313838515

铁杆木虫 (正式写手)

[交流] 求助

请高手解答:
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/c NULL
pair_coeff * * ffield.reax.Fe_O_C_H Fe C
fix 1 all qeq/reax 1 0.0 10.0 1.0e-6 reax/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 2 all nve
fix 3 boundary setforce 0.0 0.0 0.0
fix 4 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 5
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/c NULL
pair_coeff * * ffield.reax.Fe_O_C_H Fe C
fix 1 all qeq/reax 1 0.0 10.0 1.0e-6 reax/c
#define groups
group lo region lo-slab
6000 atoms in group lo
group lo type 1
8400 atoms in group lo
group hi region hi-slab
2800 atoms in group hi
group hi type 2
2800 atoms in group hi
group lo-fixed region lo-fixed
1000 atoms in group lo-fixed
group hi-fixed region hi-fixed
7400 atoms in group hi-fixed
group boundary union lo-fixed hi-fixed
8400 atoms in group boundary
group mobile subtract all boundary
0 atoms in group mobile
set group lo-fixed type 1
  1000 settings made for type
set group hi-fixed type 2
  7400 settings made for type
#initial velocities
velocity hi set 1.0 0.0 0.0 sum yes
#fix
fix 2 all nve
fix 3 boundary setforce 0.0 0.0 0.0
fix 4 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 5
run 20000
ERROR: Pair reax/c requires atom attribute q (../pair_reax_c.cpp:333)
回复此楼

» 猜你喜欢

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

313838515

铁杆木虫 (正式写手)

原来是原子类型有问题
ggg
2楼2014-06-09 14:03:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

逻辑思维

银虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
2楼: Originally posted by 313838515 at 2014-06-09 14:03:14
原来是原子类型有问题

请问这个问题是怎么解决的?
薛定谔
3楼2018-07-28 16:19:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

sj_chan

木虫 (著名写手)


小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
3楼: Originally posted by 逻辑思维 at 2018-07-28 16:19:13
请问这个问题是怎么解决的?...

我也遇到这样的问题,求助可能是哪里的问题,谢谢
4楼2018-11-25 09:49:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 313838515 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 318求调剂 +11 ykyhsa 2026-04-05 13/650 2026-04-05 12:44 by aidndnjck
[考研] 283求调剂 +10 A child 2026-04-04 10/500 2026-04-05 08:22 by qlm5820
[考研] 285求调剂 +11 哦呦呼o 2026-04-04 11/550 2026-04-05 08:15 by 544594351
[考研] 283求调剂 +4 mcbbc 2026-04-03 5/250 2026-04-04 20:51 by imissbao
[考研] 293分求调剂,外语为俄语 +6 加一一九 2026-03-31 6/300 2026-04-04 14:57 by 聪明的大松鼠
[考研] 求生物学专业调剂-332分 +5 云朵遛弯指南 2026-04-04 5/250 2026-04-04 10:05 by rzh123456
[考研] 400分求调剂 +3 尴尬且挠头 2026-04-04 3/150 2026-04-04 08:41 by jp9609
[考研] 387求调剂 +4 爱吃片豆土 2026-04-03 5/250 2026-04-04 08:10 by 岸上的一条鱼
[考研] 311求调剂 +11 勇敢的小吴 2026-04-02 11/550 2026-04-03 21:46 by qlm5820
[考研] 一志愿华中农业071010,总分320求调剂 +7 困困困困坤坤 2026-04-02 7/350 2026-04-03 17:26 by Yuena_Wang
[考研] 293求调剂 +5 末未mm 2026-04-02 6/300 2026-04-03 15:20 by 王保杰33
[考研] 求调剂不挑专业 +3 xrh030412 2026-04-01 3/150 2026-04-03 14:40 by 氮气气气
[考研] 机械专硕297 +3 Afksy 2026-04-03 3/150 2026-04-03 14:24 by 1753564080
[考研] 085900土木水利336分求调剂 +4 Zhangjiangj 2026-03-31 6/300 2026-04-02 11:40 by 1753564080
[考研] 261求B区调剂 +5 明仔· 2026-04-01 7/350 2026-04-02 11:17 by 邹尉尉
[考研] 349求调剂 +6 吃的不少 2026-04-01 6/300 2026-04-01 17:55 by JYD2011
[考研] 省双一流重点一本大学招收调剂 +4 wwwwffffff 2026-03-31 7/350 2026-04-01 15:23 by wwwwffffff
[考研] 复试调剂 +7 双马尾痞老板2 2026-03-31 7/350 2026-03-31 19:49 by Dyhoer
[考研] 254材料与化工求调剂 +3 翰冬林楠 2026-03-30 4/200 2026-03-31 17:53 by yishunmin
[考研] 调剂 +4 GK72 2026-03-30 4/200 2026-03-30 20:32 by dick_runner
信息提示
请填处理意见