24小时热门版块排行榜    

查看: 1049  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 招08考数学 +4 laoshidan 2026-03-20 8/400 2026-03-22 19:56 by 小皮蛋酱
[考研] 寻找调剂 +4 倔强芒? 2026-03-21 4/200 2026-03-22 16:14 by 木托莫露露
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-20 3/150 2026-03-22 16:00 by ColorlessPI
[考研] 318求调剂 +4 plum李子 2026-03-21 7/350 2026-03-22 14:17 by ColorlessPI
[考研] 资源与环境 调剂申请(333分) +5 holy J 2026-03-21 5/250 2026-03-21 22:42 by Catalysis25
[考研] 材料学硕301分求调剂 +7 Liyouyumairs 2026-03-21 7/350 2026-03-21 22:31 by peike
[考研] 一志愿南大,0703化学,分数336,求调剂 +3 收到VS 2026-03-21 3/150 2026-03-21 18:42 by 学员8dgXkO
[考研] 22 350 本科985求调剂,求老登收留 +3 李轶男003 2026-03-20 3/150 2026-03-21 13:28 by 搏击518
[考研] 316求调剂 +6 梁茜雯 2026-03-19 6/300 2026-03-21 06:32 by Ecowxq666!
[考研] 二本跨考郑大材料306英一数二 +3 z1z2z3879 2026-03-17 3/150 2026-03-21 02:29 by JourneyLucky
[考研] 274求调剂 +10 S.H1 2026-03-18 10/500 2026-03-20 23:51 by JourneyLucky
[考研] 22408 344分 求调剂 一志愿 华电计算机技术 +4 solanXXX 2026-03-20 4/200 2026-03-20 23:49 by alg094825
[考研] 321求调剂 +9 何润采123 2026-03-18 11/550 2026-03-20 23:19 by JourneyLucky
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 一志愿吉林大学材料学硕321求调剂 +11 Ymlll 2026-03-18 15/750 2026-03-20 19:40 by 丁丁*
[考研] 320求调剂0856 +3 不想起名字112 2026-03-19 3/150 2026-03-19 22:53 by 学员8dgXkO
[考研] 生物学调剂招人!!! +3 山海天岚 2026-03-17 4/200 2026-03-19 21:34 by 怎么释怀
[考研] 277调剂 +5 自由煎饼果子 2026-03-16 6/300 2026-03-17 19:26 by 李leezz
[考研] 一志愿南京大学,080500材料科学与工程,调剂 +4 Jy? 2026-03-16 4/200 2026-03-17 11:02 by gaoqiong
[考研] 283求调剂 +3 听风就是雨; 2026-03-16 3/150 2026-03-17 07:41 by 热情沙漠
信息提示
请填处理意见