24小时热门版块排行榜    

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

cuteCarl

新虫 (初入文坛)

[求助] lammps 周期边界条件为啥会原子丢失啊

新人,金币不多,请见谅
我什么我使用了周期边界条件,还会出现院子丢失的现象啊
下面是我的in文件

echo           screen
dimension      3
boundary       p p fm
units          metal

atom_style     atomic
neighbor       2.0 bin
neigh_modify   every 1 delay 5 check yes

region         box block 0.0 100.0 0.0 25.0 0.0 200.0
create_box     2 box

region         wall_down block 0.0 100.0 0.0 25.0 0.0 10.0
region         wall_up block 0.0 100.0 0.0 25.0 190.0 200.0
region         wall_shape1 cone z 12.5 12.5 10.0 0.0  10.0 20.0
region         wall_shape2 cone z 37.5 12.5 10.0 0.0  10.0 20.0
region         wall_shape3 cone z 62.5 12.5 10.0 0.0  10.0 20.0
region         wall_shape4 cone z 87.5 12.5 10.0 0.0  10.0 20.0
region         flow block 0.0 100.0 0.0 25.0 10.0 30.0

lattice        fcc 5.738
create_atoms   1 region flow

lattice        fcc 3.483
create_atoms   1 region wall_down
create_atoms   1 region wall_up
create_atoms   1 region wall_shape1   
create_atoms   1 region wall_shape2
create_atoms   1 region wall_shape3
create_atoms   1 region wall_shape4

mass           1 39.948
mass           2 39.948

pair_style     hybrid lj/cut  8.5  dpd/tstat  10.0  98.0  8.5 34387
pair_coeff     1 1 lj/cut 0.0103125 3.4
pair_coeff     1 2 lj/cut 0.0505    3.4
pair_coeff     2 2 lj/cut 0.00515625 3.4
pair_coeff     1 1 dpd/tstat 0.0672 8.5
comm_modify    vel yes

group 1 region wall_shape1
group 2 region wall_shape2
group 3 region wall_shape3
group 4 region wall_shape4
group 5 region wall_down
group 5 region wall_up
group wall union 1 2 3 4 5 6
group flow region flow
group Ar subtract all wall
set   group wall type 2

velocity flow create 86 482748 mom yes rot yes
fix      1 all nvt temp 10.0 98.0 0.02
compute  1 Ar chunk/atom bin/2d y lower 2 z lower 2 units box

velocity wall set 0.0 0.0 0.0
fix      2 wall setforce 0.0 0.0 0.0
fix      3 flow ave/chunk 100 5 500 1 density/mass file new.profile

timestep  0.005
thermo    20
thermo_style custom step temp pe press density etotal

dump      1 all custom 20 new.dump id x y z
run       310000

各位大佬,帮忙看一下吧
回复此楼

» 猜你喜欢

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

cuteCarl

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by 哈呵呀 at 2020-11-27 10:23:36
有可能是从Z方向跑出去了,Z方向上设置一下wall/reflect试试

再请教一下,我加了fix 4 flow wall/reflect zhi 200.0还是不行,是不是我写错了,我看手册是这样呀新手太难了

发自小木虫Android客户端
3楼2020-11-28 09:13:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 2 个回答

哈呵呀

新虫 (小有名气)

有可能是从Z方向跑出去了,Z方向上设置一下wall/reflect试试

发自小木虫Android客户端
2楼2020-11-27 10:23:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 急需调剂 +5 绝不放弃22 2026-04-15 5/250 2026-04-15 23:11 by Tide man
[考研] 300求调剂 +7 橙a777 2026-04-15 7/350 2026-04-15 22:28 by Equinoxhua
[考研] 297,工科调剂? +3 河南农业大学-能 2026-04-14 3/150 2026-04-15 22:02 by noqvsozv
[考研] 22408 312求调剂 +20 门路摸摸 2026-04-14 21/1050 2026-04-15 20:39 by cuisz
[考研] 211本科材料化工求调剂 +19 YHLAH 2026-04-11 23/1150 2026-04-14 22:25 by fenglj492
[考研] 化学070300 求调剂 +23 哈哈哈^_^ 2026-04-12 23/1150 2026-04-14 16:30 by zhouxiaoyu
[考研] 药学305求调剂 +10 玛卡巴卡boom 2026-04-10 10/500 2026-04-14 15:55 by zs92450
[考研] 一志愿华南理工大学331分材料求调剂 +10 天下ww 2026-04-09 11/550 2026-04-13 23:25 by pies112
[考研] 0854调剂 +10 长弓傲 2026-04-11 11/550 2026-04-13 10:38 by wp06
[考研] 0831一轮调剂失败求助 +10 小熊睿睿_s 2026-04-11 10/500 2026-04-12 22:43 by 长弓傲
[考研] 材料工程日语考生求调剂 +7 0856?调剂 2026-04-10 7/350 2026-04-11 21:33 by 蓝云思雨
[考研] 085410 273分调剂 +4 X1999 2026-04-09 4/200 2026-04-11 13:05 by pies112
[考研] 农学0904 312求调剂 +6 Say Never 2026-04-10 6/300 2026-04-11 10:33 by wwj2530616
[考研] 机械专硕270求调剂,接受跨专业 +12 老师看看我吧aba 2026-04-09 14/700 2026-04-11 10:21 by laoshidan
[考研] 22408 352分求调剂0854类 +4 努力的夏末 2026-04-09 4/200 2026-04-11 09:57 by zhq0425
[考研] 337求调剂 +4 研s. 2026-04-10 4/200 2026-04-11 08:57 by zhq0425
[考研] 一志愿京区985,085401,与本科专业一致,电子信息工程, +4 阳光开朗的男孩 2026-04-10 4/200 2026-04-10 18:27 by shenrf
[考研] 298求调剂 +13 钉叮咚冬瓜 2026-04-09 13/650 2026-04-10 15:49 by jiajinhpu
[考研] 一志愿沪9,326生物学求相关专业调剂 +4 刘墨墨 2026-04-09 4/200 2026-04-10 12:07 by pengliang8036
[考研] 085601初试330分找调剂 +10 流心奶黄包l 2026-04-09 10/500 2026-04-10 08:14 by Sammy2
信息提示
请填处理意见