| 查看: 5199 | 回復(fù): 14 | |||
jmforever123新蟲 (初入文壇)
|
[求助]
石墨烯上的水滴的模擬 已有1人參與
|
||
材料 | 分子動(dòng)力學(xué)模擬 |
|
這里有個(gè)例子,你參考一下能用不 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 ### ### 設(shè)置氫氧原子間的作用 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 ##溫度設(shè)置為10度 # temp/rescale N Tstart Tstop window fraction fix shake_1 water shake 1e-5 500 0 b 1 a 1 # 算法固定鍵長鍵角 化學(xué)鍵的斷裂、生成 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.* |
木蟲 (小有名氣)
|
我覺得你可以把z方向的盒子邊長擴(kuò)大,相當(dāng)于在z方向構(gòu)建一個(gè)汽液界面。這樣就相當(dāng)于在三個(gè)方向都使用了周期性邊界條件。 發(fā)自小木蟲IOS客戶端 |

新蟲 (初入文壇)
新蟲 (初入文壇)
新蟲 (初入文壇)
木蟲 (小有名氣)
|
可以的,因?yàn)楦鶕?jù)周期性邊界條件,上方擴(kuò)充之后,下方的C其實(shí)也是處于汽固界面的。這其實(shí)跟你擴(kuò)充下方是一樣的。 發(fā)自小木蟲IOS客戶端 |

新蟲 (初入文壇)
金蟲 (小有名氣)

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 321求調(diào)劑 +3 | 何潤采123 2026-03-18 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 274求調(diào)劑 +5 | S.H1 2026-03-18 | 5/250 |
|
|
[考研] 一志愿天津大學(xué)化學(xué)工藝專業(yè)(081702)315分求調(diào)劑 +10 | yangfz 2026-03-17 | 10/500 |
|
|
[考研] 一志愿中國海洋大學(xué),生物學(xué),301分,求調(diào)劑 +4 | 1孫悟空 2026-03-17 | 4/200 |
|
|
[考研] 化學(xué)工程321分求調(diào)劑 +15 | 大米飯! 2026-03-15 | 18/900 |
|
|
[考研] 材料專碩274一志愿陜西師范大學(xué)求調(diào)劑 +6 | 薛云鵬 2026-03-13 | 6/300 |
|
|
[考研] 考研求調(diào)劑 +3 | 橘頌. 2026-03-17 | 4/200 |
|
|
[考研] 材料專碩326求調(diào)劑 +6 | 墨煜姒莘 2026-03-15 | 7/350 |
|
|
[考研] 有沒有道鐵/土木的想調(diào)劑南林,給自己招師弟中~ +3 | TqlXswl 2026-03-16 | 7/350 |
|
|
[考研] 302求調(diào)劑 +4 | 小賈同學(xué)123 2026-03-15 | 8/400 |
|
|
[考研] 085600材料與化工 求調(diào)劑 +13 | enenenhui 2026-03-13 | 14/700 |
|
|
[考研] 中科大材料專碩319求調(diào)劑 +3 | 孟鑫材料 2026-03-13 | 3/150 |
|
|
[考研] 297一志愿上交085600求調(diào)劑 +5 | 指尖八千里 2026-03-14 | 5/250 |
|
|
[考研] 學(xué)碩285求調(diào)劑 +13 | Wisjxn 2026-03-12 | 46/2300 |
|
|
[考研] 311求調(diào)劑 +3 | 冬十三 2026-03-13 | 3/150 |
|
|
[考研] 0703化學(xué)求調(diào)劑 +7 | 綠豆芹菜湯 2026-03-12 | 7/350 |
|
|
[考研] 土木第一志愿276求調(diào)劑,科研和技能十分豐富,求新興方向的導(dǎo)師收留 +3 | 土木小天才 2026-03-12 | 3/150 |
|
|
[考研] 材料301分求調(diào)劑 +5 | Liyouyumairs 2026-03-12 | 5/250 |
|
|
[考研] 一志愿山大07化學(xué) 332分 四六級(jí)已過 本科山東雙非 求調(diào)劑! +3 | 不想理你 2026-03-12 | 3/150 |
|
|
[考研] 290求調(diào)劑 +3 | ADT 2026-03-13 | 3/150 |
|