24小时热门版块排行榜    

查看: 2547  |  回复: 7
【悬赏金币】回答本帖问题,作者wood1130将赠送您 4 个金币
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

wood1130

新虫 (初入文坛)

[求助] 初学者用LAMMPS做气体穿过多孔石墨烯遇到报错已有2人参与

各位大神我毕设做多孔石墨烯的气体分离模拟,由于包括CH4,准备将CH4和石墨烯碳原子这三种原子用AIREBO,其他原子用LJ势,在IN文件中pair style选用了hybrid,请问使用了AIREBO的C和H是不是不用再设置bond coeff和angle coeff等,只用设置pair coeff?还有我运算时总是报错,说我没有设置bond coeff,请各位大神帮助我一下谢谢大家!,我把我的in文件放这里,其中CA是石墨烯周边C,CS是将要挖成孔的C,CO是CO2的C,OT是氧原子。目前里面只有CO2和石墨烯,石墨烯CC间用AIREBO,其他用LJ,可能具体参数不对大家不要介意,只是在试是否能计算
units           metal
boundary        p p p
#communicate     single vel yes

atom_style      full
bond_style      harmonic
angle_style     harmonic
pair_style      hybrid airebo 3.0 1 0 lj/cut/coul/long 14.0 10.0
kspace_style    pppm 1.0e-4

read_data        co2merge.data

pair_coeff      * *  airebo ../potentials/CH.airebo C NULL C NULL
pair_coeff      1 2  lj/cut/coul/long 0.0557 3.079
pair_coeff      2 3  lj/cut/coul/long 0.0557 3.079
pair_coeff      2 4  lj/cut/coul/long 0.0945 2.895
pair_coeff      2 2  lj/cut/coul/long 0.0559 2.757
pair_coeff      1 4  lj/cut/coul/long 0.1102 3.292
pair_coeff      4 4  lj/cut/coul/long 0.1599 3.033
pair_coeff      3 4  lj/cut/coul/long 0.1102 3.292

bond_coeff      3 144.821 1.149
angle_coeff     5 0.045 180.0

group                 hole   type 3
group                 mem   type 1
group                 co2   type 2 4

neighbor        2.0 bin
neigh_modify    delay 5
neigh_modify    exclude type 1 1
neigh_modify    exclude type 1 3
fix             1 hole setforce 0.0 0.0 0.0
fix             2 mem setforce 0.0 0.0 0.0dump            dumpwall all dcd 10000000 dump.co2.dcd
dump_modify     dumpwall flush yes
thermo_style    custom step cpu temp press etotal ke
thermo          100
#thermo_modify   flush yes
timestep        2.0
velocity        co2 create 300.0 34239
run             60000
write_restart   restart.eq
日志文件如下:
LAMMPS (14 Mar 2015-ICMS)
WARNING: OMP_NUM_THREADS environment is not set. (../comm.cpp:89)
  using 1 OpenMP thread(s) per MPI task
Reading data file ...
  orthogonal box = (0 0 -100) to (50 50 100)
  1 by 1 by 1 MPI processor grid
  reading atoms ...
  1200 atoms
  scanning bonds ...
  2 = max bonds/atom
  scanning angles ...
  3 = max angles/atom
  scanning dihedrals ...
  8 = max dihedrals/atom
  scanning impropers ...
  3 = max impropers/atom
  reading bonds ...
  1595 bonds
  reading angles ...
  2910 angles
  reading dihedrals ...
  5541 dihedrals
  reading impropers ...
  920 impropers
Finding 1-2 1-3 1-4 neighbors ...
  3 = max # of 1-2 neighbors
  6 = max # of 1-3 neighbors
  18 = max # of 1-4 neighbors
  18 = max # of special neighbors
Reading potential file ../potentials/CH.airebo with DATE: 2011-10-25
10 atoms in group hole
998 atoms in group mem
192 atoms in group co2
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
PPPM initialization ...
  G vector (1/distance) = 0.168083
  grid = 10 10 32
  stencil order = 5
  estimated absolute RMS force accuracy = 0.00126951
  estimated relative force accuracy = 8.81624e-005
  using double precision FFTs
  3d grid and FFT values/proc = 8325 3200
WARNING: Using a manybody potential with bonds/angles/dihedrals and special_bond exclusions (../pair.cpp:207)
ERROR: All bond coeffs are not set (../bond.cpp:69)
DATA文件主要部分:
1200 atoms
1595 bonds
2910 angles
5541 dihedrals
920 impropers
4 atom types
4 bond types
5 angle types
6 dihedral types
4 improper types
0.00000 50.00000  xlo xhi
0.00000 50.00000  ylo yhi
-100.00000 100.00000  zlo zhi

# Pair Coeffs
#
# 1  CA
# 2  CO
# 3  CS
# 4  OT

# Bond Coeffs
#
# 1  CA-CA
# 2  CA-CS
# 3  CO-OT
# 4  CS-CS

# Angle Coeffs
#
# 1  CA-CA-CA
# 2  CA-CA-CS
# 3  CA-CS-CS
# 4  CS-CS-CS
# 5  OT-CO-OT

# Dihedral Coeffs
#
# 1  CA-CA-CA-CA
# 2  CA-CA-CA-CS
# 3  CA-CA-CS-CS
# 4  CA-CS-CS-CA
# 5  CA-CS-CS-CS
# 6  CS-CS-CS-CS

# Improper Coeffs
#
# 1  CA-CA-CA-CA
# 2  CA-CA-CA-CS
# 3  CA-CS-CS-CS
# 4  CS-CS-CS-CS
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

无事忙0930

金虫 (小有名气)

【答案】应助回帖

我也遇到过类似的问题,可能是别的设置出了错 如键角的设置 我的键角设置错误就出现过这种报错,另外,我想请教下,data文件中的angles下面的数据是怎么得到的?有什么关系式吗?下面的是水的键角,硫酸根的键角该如何得到?
angles
1 1 1 3 2
2 1 4 6 5
3 1 7 9 8
4 1 10 12 11
5 1 13 15 14
6 1 16 18 17
7 1 19 21 20
8 1 22 24 23
9 1 25 27 26
10 1 28 30 29
11 1 31 33 32
12 1 34 36 35
7楼2016-12-19 22:06:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wood1130 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[有机交流] 车间生产,真空度很高,温度很高,但减压蒸馏速度很慢。 10+12 召唤鬼泣lL 2024-06-13 36/1800 2024-06-16 09:20 by ddc805
[基金申请] 希望今年自己国自然面上项目和老婆青年项目能中! +6 恐龙爸爸 2024-06-14 6/300 2024-06-16 08:41 by shl2112501
[考博] 34岁读博士晚吗 +26 emitdne 2024-06-13 26/1300 2024-06-16 07:16 by liyeqik
[找工作] 江西双非一本和四川双一流高校如何选择? 5+7 寒山敲钟 2024-06-12 23/1150 2024-06-16 06:52 by puterde
[基金申请] 面青地会评时间 +5 tanjydd 2024-06-15 5/250 2024-06-15 23:08 by andywei1028
[教师之家] 关于2023的收入 +33 小龙虾2008 2024-06-10 34/1700 2024-06-15 23:01 by zeolitess
[文学芳草园] 累并快乐着 +13 MYHLD521 2024-06-14 13/650 2024-06-15 22:59 by zeolitess
[基金申请] 博后面上今天有bug可以看到是否资助? +20 lyfbangong 2024-06-12 31/1550 2024-06-15 21:18 by since—2010
[考博] 上海交大招收材料化学方向科研助理/“申请考核”博士(请勿回复帖子或站内投条) +3 灵梦and紫 2024-06-12 4/200 2024-06-15 20:58 by 1822836277
[基金申请] 博后基金,博管会会提前知道消息吗? +3 yuyiang 2024-06-13 3/150 2024-06-15 19:52 by Lynn212
[基金申请] 有没有机械的前辈分享一下评上海优都是什么成果啊 +7 wulala800 2024-06-10 7/350 2024-06-15 09:33 by 晓目崇
[食品] 食品博士导师 +6 小李醒yy 2024-06-11 9/450 2024-06-14 23:37 by 小李醒yy
[基金申请] 75批博后基金 +10 kyukitu 2024-06-13 13/650 2024-06-14 10:31 by kyukitu
[论文投稿] ACS Nano投稿后分配到副编辑手里12天了,能确定送审了吗? +5 潇洒怡惜 2024-06-12 10/500 2024-06-14 09:56 by 潇洒怡惜
[论文投稿] 最近写了一篇控制优化领域的文章,可以投哪里啊?有没有水一些的期刊推荐 +7 香瓜木香 2024-06-12 13/650 2024-06-14 07:05 by 香瓜木香
[论文投稿] 文章proof要求使用机构的邮箱 5+3 不可不信缘 2024-06-11 11/550 2024-06-14 07:00 by 3001160025
[有机交流] 旋蒸请教 +6 办公室摸鱼 2024-06-09 9/450 2024-06-13 21:31 by wuxiaominggo
[基金申请] 博士后面上项目状态还是专家评审吗 10+9 Thatcheremu 2024-06-13 55/2750 2024-06-13 21:23 by 乌合麒麟
[硕博家园] 考博应该从哪里开始准备 +6 亮姐2019 2024-06-11 8/400 2024-06-13 12:53 by 帕秋莉GO
[硕博家园] 申博 +3 悦悦小小鱼 2024-06-12 3/150 2024-06-12 15:11 by chen5805
信息提示
请填处理意见