24小时热门版块排行榜    

Znn3bq.jpeg
查看: 964  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 又一批高校组建人工智能学院 师资行吗 不是骗人吗 +5 yexuqing 2026-04-19 5/250 2026-04-22 10:01 by easeheart
[论文投稿] 急需审稿人!!! +3 陆小果画大饼 2026-04-21 3/150 2026-04-21 23:54 by jzy_123456
[考博] 申博/考博 +4 啃面包的小书虫 2026-04-17 8/400 2026-04-21 16:26 by 啃面包的小书虫
[考研] 295分求调剂 +6 ?要上岸? 2026-04-17 6/300 2026-04-21 08:18 by Equinoxhua
[考研] 一志愿中科大材料与化工,353分还有调剂学校吗 +11 否极泰来2026 2026-04-15 13/650 2026-04-20 22:31 by Equinoxhua
[考研] 085600材料与化工调剂 5+3 孜孜不倦2002 2026-04-19 6/300 2026-04-20 21:25 by babero
[论文投稿] 有没有接收比较快的sci期刊呀,最好在一个月之内的,研三孩子求毕业 20+4 之护着 2026-04-16 7/350 2026-04-20 15:45 by 豆豆7758
[考研] 337求调剂 +3 jyz04 2026-04-18 3/150 2026-04-20 12:24 by 研可安
[考博] 湖南大学刘巧玲课题组2026年第二批次博士研究生招生信息 +3 南风观火 2026-04-18 5/250 2026-04-20 10:13 by 南风观火
[考研] 求计算机方向调剂 +3 Toffee2 2026-04-16 6/300 2026-04-19 22:37 by ll叶
[考研] 294求调剂 +8 淡然654321 2026-04-17 9/450 2026-04-19 19:51 by Equinoxhua
[考研] 304求调剂 +8 castLight 2026-04-16 8/400 2026-04-19 17:14 by 中豫男
[考研] 求调剂 +10 小聂爱学习 2026-04-16 12/600 2026-04-19 16:51 by 中豫男
[考研] 求调剂 +6 苦命人。。。 2026-04-18 7/350 2026-04-19 16:27 by 中豫男
[考研] 300求调剂 +12 橙a777 2026-04-15 12/600 2026-04-18 23:51 by 路病情
[考研] 接受任何调剂 +6 也就是栗子 2026-04-17 7/350 2026-04-18 17:20 by 涵竹刘
[考研] 收到复试调剂但是去不了 +8 小蜗牛* 2026-04-16 8/400 2026-04-18 11:15 by zixin2025
[考研] 260求调剂 +4 Zyt1314520.. 2026-04-17 5/250 2026-04-18 08:28 by babysonlkd
[考研] 急需调剂 +9 绝不放弃22 2026-04-15 10/500 2026-04-18 08:09 by chixmc
[考研] 322求调剂 +6 tekuzu 2026-04-17 6/300 2026-04-17 13:48 by Espannnnnol
信息提示
请填处理意见