24小时热门版块排行榜    

查看: 1452  |  回复: 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的回帖

哈呵呀

新虫 (小有名气)

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

发自小木虫Android客户端
2楼2020-11-27 10:23:36
已阅   回复此楼   关注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的回帖
相关版块跳转 我要订阅楼主 cuteCarl 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 294 英二数二物化 求调剂 +4 米饭团不好吃 2026-03-09 4/200 2026-03-09 17:48 by 脱颖而出
[考研] 求调剂 +3 鹤遨予卿 2026-03-09 3/150 2026-03-09 17:32 by houyaoxu
[考研] 考研调剂,一志愿山东大学材料与化工,328分,政治51 +5 关你西红柿929 2026-03-08 6/300 2026-03-09 13:50 by 新篇章DFSS
[考研] 310 070300化学求调剂 +3 扑风铃的猫 2026-03-08 4/200 2026-03-09 13:46 by macy2011
[考博] 申博 +5 添菜了哈 2026-03-04 8/400 2026-03-09 10:52 by jamesqi
[考研] 290 材料与化工求调剂 +7 Nebulala 2026-03-08 7/350 2026-03-09 05:21 by houyaoxu
[教师之家] 交大前校长王树国:现在最先进的科技并不在大学实验室,而是在企业研究院 +4 zju2000 2026-03-08 6/300 2026-03-08 19:15 by zju2000
[考研] 一志愿郑大071000分数282求调剂 +3 研研颜 2026-03-05 7/350 2026-03-07 22:33 by 帆船哥
[考研] 一志愿211 化学305分求调剂 +3 0703杨悦305分 2026-03-05 3/150 2026-03-07 21:15 by yinhuanshun
[考研] 267化工调剂求助 +7 聪少OZ 2026-03-04 7/350 2026-03-07 17:33 by 无际的草原
[考研] 289求调剂 +3 驰光绝景 2026-03-04 4/200 2026-03-06 12:34 by 驰光绝景
[考研] 求材料调剂 +4 berdmond 2026-03-05 4/200 2026-03-05 19:45 by 黑衣馒头人
[考研] 304求调剂 +3 曼殊2266 2026-03-04 3/150 2026-03-05 10:39 by Iveryant
[考研] 调剂材料学硕 +6 词凝Y 2026-03-02 6/300 2026-03-05 07:10 by 昆工985
[考研] 材料专硕346求调剂 +3 旺一下 2026-03-04 3/150 2026-03-04 16:26 by sslc1985
[考研] 085600 材料与化工 298 +14 小西笑嘻嘻 2026-03-03 14/700 2026-03-04 16:23 by sslc1985
[考研] 武理材料工程302调剂 +3 Doleres 2026-03-03 6/300 2026-03-04 15:54 by zhukairuo
[考研] 293求调剂 +4 是乐渝哇 2026-03-03 4/200 2026-03-03 23:04 by zhukairuo
[考研] 298求调剂一志愿中海洋 +3 lour. 2026-03-03 3/150 2026-03-03 20:41 by gxg2025
[考研] 085602化学工程350,调剂,有没有211的 +5 利好利好. 2026-03-02 9/450 2026-03-03 17:06 by 利好利好.
信息提示
请填处理意见