| 1 | 1/1 | 返回列表 |
| 查看: 2022 | 回復(fù): 0 | ||
| 【懸賞金幣】回答本帖問(wèn)題,作者SGYOONGI將贈(zèng)送您 15 個(gè)金幣 | ||
SGYOONGI新蟲(chóng) (初入文壇)
|
[求助]
lammps 利用wall/region與gcmc的氣體吸附
|
|
|
我最近在研究gcmc氣體吸附,遇到了些問(wèn)題,望大家指點(diǎn)。 我利用fix wall/region創(chuàng)建吸附劑的虛擬壁面(僅生成空球,并不在其中插入粒子),僅是壁面與插入的氬存在作用力。但是在跑的過(guò)程中出現(xiàn)了兩個(gè)error(1)error:Particle outside surface of region used in fix wall region. fix wall/region似乎是僅對(duì)區(qū)域內(nèi)部的粒子產(chǎn)生作用,我需要將氬插入模擬區(qū)域除去吸附劑球區(qū)域之外的空白區(qū)域,我嘗試了兩種方法,都得到了上面的error,,第一種組合是將region sphere的部分設(shè)置為side in,將十個(gè)球形區(qū)域union起來(lái),并在region union的部分設(shè)置side out。第二種組合將region sphere的部分設(shè)置為side out,將十個(gè)球形區(qū)域intersect起來(lái),并在region union的部分設(shè)置side in。 (2)error:Fix gcmc region does not support a bounding box。我在翻閱手冊(cè)時(shí),看到gcmc僅支持side in的區(qū)域。在后面的fix gcmc命令行我的region只有在設(shè)置成box的時(shí)候才能正常運(yùn)行,但是這就有可能將粒子插入到吸附劑的位置。 請(qǐng)問(wèn)大家有好的方法解決么? 下面是我的in文件: --------------------------------------------------- #variables available on command line variable mu index -2.3019 variable disp index 0.5 variable temp index 338 variable lbox index 1000 #variable spacing index 7.16 #Initial setup dimension 3 boundary p p p units real atom_style atomic #region region box block 0 ${lbox} 0 ${lbox} 0 ${lbox} units box create_box 1 box #bond/types 1 angle/types 1 include region_805_in region wall union 805 1 2 3 4 5 6 7 8 9 10 side out #include region_1610_out #region empty intersect 805 806 807 808 809 810 811 812 813 814 815 side in fix virtual all wall/region wall lj126 0.5 3.5 10 mass 1 40 # Ar pair_style lj/cut 10 pair_coeff 1 1 0.5 3.405 # MD settings neighbor 2.0 bin neigh_modify every 1 delay 10 check yes timestep 0.5 # atom counts group Ar type 1 variable argon atom "type==1" group argon dynamic Ar var argon variable nAr equal count(argon) compute mdtemp argon temp compute_modify mdtemp dynamic/dof yes fix mdnvt argon nvt temp ${temp} ${temp} 100 fix_modify mynvt dynamic/dof yes #GCMC fix mygcmc Ar gcmc 50 10 10 1 29494 338 -2.3019 0.5 pressure 2 region wall dump 1 all xyz 100 Ar.xyz dump_modify 1 element Ar dump 2 all custom 1000 Ar.txt id type x y z vx vy vz thermo_style custom step temp c_mdtemp press pe ke density atoms v_nAr f_mygcmc[1] f_mygcmc[2] f_mygcmc[3] f_mygcmc[4] f_mygcmc[5] f_mygcmc[6] f_mygcmc[7] f_mygcmc[8] thermo 100 # run run 50000 region_805_in ----------------------------------------------------------------------------------------- region 1 sphere 28.4863 5.734 426.1238 50 side in units box region 2 sphere 626.4573 924.073 834.0556 50 side in units box region 3 sphere 312.044 900.6664 779.2662 50 side in units box region 4 sphere 832.0277 367.2998 802.9256 50 side in units box region 5 sphere 100.646 838.2261 711.4648 50 side in units box region 6 sphere 727.6089 312.7159 60.3109 50 side in units box region 7 sphere 938.8439 107.7248 59.2329 50 side in units box region 8 sphere 82.1218 564.6282 924.574 50 side in units box region 9 sphere 54.4719 904.2225 49.0453 50 side in units box region 10 sphere 631.1203 823.7716 130.8818 50 side in units box region_1610_out --------------------------------------------------------------------------------------------- region 806 sphere 28.4863 5.734 426.1238 50 side out units box region 807 sphere 626.4573 924.073 834.0556 50 side out units box region 808 sphere 312.044 900.6664 779.2662 50 side out units box region 809 sphere 832.0277 367.2998 802.9256 50 side out units box region 810 sphere 100.646 838.2261 711.4648 50 side out units box region 811 sphere 727.6089 312.7159 60.3109 50 side out units box region 812 sphere 938.8439 107.7248 59.2329 50 side out units box region 813 sphere 82.1218 564.6282 924.574 50 side out units box region 814 sphere 54.4719 904.2225 49.0453 50 side out units box region 815 sphere 631.1203 823.7716 130.8818 50 side out units box |
| 1 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 求調(diào)劑,不管什么專(zhuān)業(yè),我是可塑造的人才一枚,希望遇到知己老師撈撈我 +4 | 13102137290 2026-03-06 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 一志愿哈爾濱工業(yè)大學(xué)0856材料與化工,前三科206,總分283,求調(diào)劑 +7 | 26考研求調(diào)劑 2026-03-06 | 7/350 |
|
|
[考研] 求調(diào)劑 一志愿蘇州大學(xué),0856化工323分 | 本科應(yīng)化 | 有專(zhuān)利/競(jìng)賽/科研助手經(jīng)歷 | +5 | 橙子cyx 2026-03-06 | 6/300 |
|
|
[考研] 哈爾濱理工大學(xué)2026年研究生調(diào)劑,材料科學(xué)與化學(xué)工程學(xué)院研究生調(diào)劑 +3 | xinliu866 2026-03-06 | 3/150 |
|
|
[考研] 初試297求調(diào)劑 +3 | 一個(gè)蘿蘿 2026-02-28 | 3/150 |
|
|
[考研] 290分材料工程085601求調(diào)劑 數(shù)二英一 +9 | llx0610 2026-03-02 | 10/500 |
|
|
[考研] 材料專(zhuān)碩290求調(diào)劑 +8 | 杰尼龜aaa 2026-03-04 | 8/400 |
|
|
[考研] 301求調(diào)劑 +7 | 朝天椒的雙馬尾 2026-03-05 | 7/350 |
|
|
[考研] 085600,一志愿鄭州大學(xué),280分求調(diào)劑 +7 | Wuqi725 2026-03-05 | 7/350 |
|
|
[考研] 083000,總分284,求調(diào)劑 +3 | 徐yr 2026-03-04 | 3/150 |
|
|
[考研] 求材料調(diào)劑 +4 | berdmond 2026-03-05 | 4/200 |
|
|
[考研] 一志愿天津大學(xué)085600 319分 材料與化工 金屬方向 求調(diào)劑 +6 | 青科11 2026-03-02 | 6/300 |
|
|
[考研] 材料與化工,291分,求調(diào)劑 +9 | 咕嚕咕嚕123123 2026-03-04 | 11/550 |
|
|
[考研] 070300化學(xué) 280 一志愿太原理工 求調(diào)劑 +8 | 拾玖壹 2026-03-04 | 8/400 |
|
|
[考研] 求調(diào)劑院校 +6 | 云朵452 2026-03-02 | 12/600 |
|
|
[考研] 322,求調(diào)劑 +3 | 菜菜愛(ài)玩 2026-03-04 | 3/150 |
|
|
[考研] 0703 總分319求調(diào)劑 +4 | Xinyuu 2026-03-02 | 4/200 |
|
|
[考研] 化工專(zhuān)碩調(diào)劑 +4 | 利好利好. 2026-03-03 | 7/350 |
|
|
[考研] 化工335求調(diào)劑 +5 | 摸摸貓貓頭 2026-03-02 | 5/250 |
|
|
[考研] 338求調(diào)劑 +5 | 18162027187 2026-03-02 | 6/300 |
|