24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 5220  |  回复: 14
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

jmforever123

新虫 (初入文坛)

[求助] 石墨烯上的水滴的模拟 已有1人参与

本人模拟的是石墨烯表面的水分子的运动情况,但用vmd显示后,石墨烯片总是破坏掉了,感觉z方向要使用非周期性边界条件,但是水分子有长程力作业,pppm又必须使用周期性边界条件,本人菜鸟,求大神指教。谢谢。
dimension      3
boundary       p p p
atom_style     full
read_data      h2o.data
pair_style     hybrid lj/cut/tip4p/long 2 1 1 1 0.1546 10.0 12.0 lj/cut 10.0  tersoff
pair_coeff     1 1 lj/cut/tip4p/long 0.0000 0.0000
pair_coeff     1 2 lj/cut/tip4p/long 0.0000 0.0000
pair_coeff     2 2 lj/cut/tip4p/long 0.16275 3.16435
pair_coeff     1 3 lj/cut 0.0000 0.0000
pair_coeff     2 3 lj/cut 0.3876 3.262
pair_coeff     * * tersoff SiC.tersoff NULL NULL C
kspace_style   pppm/tip4p 1.0e-4

bond_style     harmonic
bond_coeff     1 450 0.9572

angle_style    harmonic
angle_coeff    1 55 104.52

timestep       ${dt}
thermo         $d

石墨烯上的水滴的模拟
graphene.png
回复此楼

» 收录本帖的淘帖专辑推荐

材料 分子动力学模拟

» 猜你喜欢

» 本主题相关商家推荐: (我也要在这里推广)

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

568286346

木虫 (小有名气)

我觉得你可以把z方向的盒子边长扩大,相当于在z方向构建一个汽液界面。这样就相当于在三个方向都使用了周期性边界条件。

发自小木虫IOS客户端
坚持才能实现自己的理想!
5楼2016-06-14 19:15:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 15 个回答

完全是火

铜虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
jmforever123: 金币+5, ★★★很有帮助 2016-06-14 15:19:55
这里有个例子,你参考一下能用不

units      metal
dimension  3
boundary   p p f
atom_style full

read_data     mixed-graph-water.dat
neighbor      3.0 bin
neigh_modify  delay 0 every 1 check yes

# set potential function and parameters

### Create Groups ###
group hy type 2      # H_water
group ox type 3      # O_water
set group ox charge -0.8476 #给氢 氧原子带电
set group hy charge 0.4238
region box block INF INF INF INF INF INF units box               
group graphite type 1
group boxes region box

### Flexible SPC/E Potential Parameters ###
### Zhang et al., Fluid Phase Equilibria, 262 (2007) 210-216 ###
### 设置氢氧原子间的作用
pair_style hybrid/overlay rebo lj/cut/coul/long 10.0
pair_coeff * * rebo ./potential/CH.airebo C NULL NULL
pair_coeff 1 2 lj/cut/coul/long 0.0 0.0          # C-H
pair_coeff 1 3 lj/cut/coul/long 0.013 2.71          # C-O
pair_coeff 2 2 lj/cut/coul/long 0.0 0.0          # H-H
pair_coeff 2 3 lj/cut/coul/long 0.0 0.0          # H-O
pair_coeff 3 3 lj/cut/coul/long 0.0067 3.166     # O-O

bond_style  harmonic
bond_coeff  1 7.669 1.0
angle_style harmonic
angle_coeff 1 1.829 109.47
kspace_style  pppm 1.0e-5 #final npt relaxation
kspace_modify slab 3.0

thermo          1
thermo_style    custom step pe etotal press temp
thermo_modify   norm no
dump            myatom all custom 500 atom.dat id

group slab      type 1       # graphite_slab
group water     type 2 3

timestep 0.0001

velocity     all create 10.0 482748 dist gaussian
fix          freaze_slab slab move linear 0.0 0.0 0.0   #This can be useful for boundary or other atoms, whose movement can influence nearby atoms.
#                             move style  args  
fix          zwall water wall/reflect  zhi EDGE
#                        wall/reflect face arg ... keyword value ...
fix          1 all nve
fix          2 all temp/rescale 10 10.0    10.0   0.02   1.0           ##温度设置为10度
#                                    temp/rescale N  Tstart Tstop  window fraction
fix          shake_1 water shake 1e-5 500 0      b        1          a      1 # 算法固定键长键角 化学键的断裂、生成
dump 1 graphite custom  1  graphite.lammpstrj id type xs ys zs
#                          style tol iter N constraint values  constraint values
dump         dcd_1 all dcd 100 nve_10.dcd
run 10000
write_restart restart.10.*
unfix        2
unfix        shake_1
undump       dcd_1
fix          3 all temp/rescale 10 10.0 100.0 0.02 1.0
fix          shake_2 water shake 1e-5 500 0 b 1 a 1
dump         dcd_2 all dcd 100 nve_10_100.dcd
run 10000
write_restart restart.10_100.*
unfix        3
unfix        shake_2
undump       dcd_2
fix          4 all temp/rescale 10 100.0 200.0 0.02 1.0
fix          shake_3 water shake 1e-5 500 0 b 1 a 1
fix          shake_3 water shake 1e-5 500 0 b 1 a 1
dump         dcd_3 all dcd 100  nve_100_200.dcd
run 10000
write_restart  restart.100_200.*
unfix        4
unfix        shake_3
undump       dcd_3
fix          5 all temp/rescale 10 200.0 298.0 0.02 1.0
fix          shake_4 water shake 1e-5 500 0 b 1 a 1
dump         dcd_4 all dcd 100  nve_200_298.dcd
run 10000
write_restart  restart.200_298.*
unfix        5
unfix        shake_4
undump       dcd_4
fix          6 all temp/rescale 10 298.0 298.0 0.02 1.0
fix          shake_5 water shake 1e-5 500 0 b 1 a 1
dump         dcd_5 all dcd 100  nve_298_298.dcd
run 10000
write_restart restart.298.*
2楼2016-06-13 19:54:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jmforever123

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by 完全是火 at 2016-06-13 19:54:50
这里有个例子,你参考一下能用不

units      metal
dimension  3
boundary   p p f
atom_style full

read_data     mixed-graph-water.dat
neighbor      3.0 bin
neigh_modify  delay 0 every 1 check  ...

我试一下,非常感谢
3楼2016-06-13 20:06:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jmforever123

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by 完全是火 at 2016-06-13 19:54:50
这里有个例子,你参考一下能用不

units      metal
dimension  3
boundary   p p f
atom_style full

read_data     mixed-graph-water.dat
neighbor      3.0 bin
neigh_modify  delay 0 every 1 check  ...

还是不行,老是出现ERROR:Lost atoms: original 1520 current 1073
4楼2016-06-14 15:17:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿085600中科院宁波所276分求调剂 +3 材料学257求调剂 2026-03-28 4/200 2026-03-31 03:24 by 蒙奇奇521
[考研] 一志愿 南京航空航天大学 ,080500材料科学与工程学硕 +3 @taotao 2026-03-30 3/150 2026-03-31 00:13 by jp9609
[考研] 303求调剂 +7 DLkz1314. 2026-03-30 7/350 2026-03-30 21:07 by peike
[考研] 291求调剂 +8 Y-cap 2026-03-29 11/550 2026-03-30 21:03 by Y-cap
[考研] 本科211生物医学工程085409求调剂339分 +3 里子木yy 2026-03-29 3/150 2026-03-30 13:29 by gyzj2026
[基金申请] 面上5B能上会吗? +7 redcom 2026-03-29 7/350 2026-03-30 12:44 by 爱搞研究的小孩
[考研] 311求调剂 +10 lin0039 2026-03-26 10/500 2026-03-30 10:26 by herarysara
[考研] 070305高分子化学与物理 304分求调剂 +12 c297914 2026-03-28 12/600 2026-03-29 16:21 by Serene1974
[考研] 本科双非材料,跨考一志愿华电085801电气,283求调剂,任何专业都可以 +6 芝士雪baoo 2026-03-28 8/400 2026-03-29 08:16 by 松花缸1201
[硕博家园] 招收生物学/细胞生物学调剂 +4 IceGuo 2026-03-26 5/250 2026-03-29 01:25 by griffith2014
[考研] 本科新能源科学与工程,一志愿华理能动285求调剂 +7 AZMK 2026-03-28 11/550 2026-03-28 21:01 by xxxsssccc
[考研] 312,生物学求调剂 +3 小译同学abc 2026-03-28 3/150 2026-03-28 15:32 by 落睿可思
[考研] 求调剂推荐 材料 304 +15 荷包蛋hyj 2026-03-26 15/750 2026-03-28 04:13 by fmesaito
[考研] 352分 化工与材料 +5 海纳百川Ly 2026-03-27 5/250 2026-03-28 03:39 by fmesaito
[考研] 266分求材料化工冶金矿业等专业的调剂 +4 哇呼哼呼哼 2026-03-26 4/200 2026-03-27 17:02 by zhyzzh
[考研] 一志愿 西北大学 总分282 英语一62 求调剂 +7 18419759900 2026-03-25 8/400 2026-03-27 16:38 by 18419759900
[考研] 279 分 求调剂 +4 睡个好觉_16 2026-03-24 4/200 2026-03-27 15:05 by 醉在风里
[考研] 环境专硕324分求调剂推荐 +5 轩小宁—— 2026-03-26 5/250 2026-03-26 12:05 by i_cooler
[考研] 296求调剂 +4 汪!?! 2026-03-25 7/350 2026-03-25 16:41 by 汪!?!
[考研] 347求调剂 +4 L when 2026-03-25 4/200 2026-03-25 13:37 by cocolv
信息提示
请填处理意见