24小时热门版块排行榜    

查看: 1127  |  回复: 1

HDMD2017

新虫 (初入文坛)

[求助] 各位大神,求助为什么原子总是丢失 已有1人参与

最近在做一个很简单的模拟,但总是在计算过程中会丢失一两个原子,想求助大神帮忙看一下是什么问题
units              lj
boundary           p  p  f
atom_style         atomic
neighbor           0.3  bin
neigh_modify       every 1 delay 10 check  yes

lattice      fcc  2.609804 origin 0 0 0.181991 orient x 1 -1 0 orient y 1 1 -2 orient z 1 1 1
region       box  block  -100 100 -5 5 0 150 units box

create_box   2  box

mass       1  1
mass       2  4.875

region     wall    cylinder  y  0  -173.2050807  200  INF  INF units box

create_atoms   2  region wall

region     liquid  block -25 25 -5 5 26.7949193 76.7949193 units box            

lattice    fcc 0.78074 origin 0 0 0

create_atoms   1 region liquid
         

group    wall     region   wall

group    liquid  type 1
group    out     union liquid  wall
lattice      fcc  2.609804 origin 0 0 0.181991 orient x 1 -1 0 orient y 1 1 -2 orient z 1 1 1


pair_style        lj/cut   3.5

pair_coeff    1 1 1  1
pair_coeff    2* 2*   50  0.736872                     
pair_coeff    1 2  0.009899  1.27469               

delete_atoms      overlap 0.5 all all

min_style                                 fire
minimize                        1.0e-6 1.0e-8 10000 10000
write_restart                        min.equil

timestep        0.002   #0.002329474_5fs
velocity        liquid create 0.826736 102486 mom yes rot yes dist gaussian

velocity        wall  set 0.0 0.0 0.0 sum no units box


fix      NVT01  wall langevin  0.826736  0.826736 0.2 48279  
fix      NVEPT wall nve
run                  0

fix      NVT03  liquid temp/rescale  100 0.826736  0.826736 0.01 1.0
fix      NVE   liquid  nve

fix      re1 liquid recenter INIT INIT NULL units box
fix      re liquid momentum 1000 linear 1 1 1

compute     Tliquid liquid temp                   #/profile 1 0 0 z 40
compute     Twall wall temp

thermo_style      custom  step temp ke pe etotal  c_Twall  c_Tliquid
thermo            2000

dump     1 all custom 1000 dump.atom id type x y z vx vy vz fx fy fz
dump     2 out custom 1000 dump.atom.out id type x y z vx vy vz fx fy fz
dump     3 liquid custom 5000 dump.atom.liquid id type x y z vx vy vz fx fy fz
restart   1000000  restart.*

compute   myKE all ke/atom   
compute   myPE all pe/atom
compute   1 liquid com                                                         
fix       com liquid ave/time 5000 1 5000 c_1[1] c_1[2] c_1[3] file com.out                                                                                                                       

compute cc1 liquid chunk/atom bin/1d z center 0.05 units reduced                  
compute cc2 all chunk/atom bin/2d  x center 0.2 z center 0.2 units lattice  
compute cc3 liquid chunk/atom bin/1d z center 0.1 units lattice   
                                                                                                                    
fix         Tout  liquid  ave/chunk 100 5000 500000 cc1 density/mass  temp  file Tmp.dat     #bias Tliquid
fix         2profilexz  liquid ave/chunk 100 5000 500000 cc2  density/mass fx fy fz c_myKE c_myPE temp file 2Dprofilexz.dat      
fix         Density01  liquid  ave/chunk 100 5000 500000 cc3 vx vy vz fx fy fz c_myKE c_myPE density/mass  file Density01.dat
###################.....EMD turn to the NEMD and  fix the teperature differece.....##################
run      1000000


每次总是跑了几万步就显示错误了,每次错误就是丢了一两个原子,求助各位大神啊
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

abinitio

版主 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
lammps丢原子是一件很难说明的事,好象大家一致认为是和初始结构、势函数和neighbour有关。
2楼2018-05-08 10:42:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 HDMD2017 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 国合现在查不到了吗? +8 chengyan1220 2026-08-24 16/800 2026-08-26 08:50 by paperzjh
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +24 木水思豆 2026-08-25 27/1350 2026-08-26 08:26 by yanchen918
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 7K1CJE38xLG4 2026-08-25 5/250 2026-08-26 07:17 by cNXvBfCpiZOM
[公派出国] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 PbwVEMK5haaE 2026-08-25 6/300 2026-08-26 06:57 by cNXvBfCpiZOM
[基金申请] 有没有大神帮我看看基金代码 28+4 1234567wang 2026-08-24 10/500 2026-08-25 19:15 by lfy8008
[基金申请] 放榜前的不淡定 20+4 snowwithsea 2026-08-19 19/950 2026-08-25 17:57 by chick875
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +17 医学老男孩 2026-08-20 22/1100 2026-08-25 15:36 by 医学老男孩
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 今天基金会出结果吗?20260819 +17 kkkl_v 2026-08-19 18/900 2026-08-25 09:41 by windflowerwy
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
[基金申请] 能否退出参与的面上项目解除限项 +21 koalala 2026-08-24 24/1200 2026-08-24 19:25 by 家与远方
[基金申请] filecode,4个jtjc了 +14 ziyangfang 2026-08-19 17/850 2026-08-24 18:37 by 哈哈蛤?
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
信息提示
请填处理意见