24小时热门版块排行榜    

查看: 2178  |  回复: 0

欧阳少恭

新虫 (初入文坛)

[求助] Lammps 模拟NPT系统出错

这是我的input file, 想要在NVT的基础上接着运行NPT, 但是使用如下fix命令后无论是温度还是压强都没有被fix,如果删除fix rigid 那么分子之间的bond就消失了。。。使用fix rigid/npt 又说 invalid style。。。只有这种形式才能运行,但是温度和压强又不fix。。。请各位大神帮帮忙~~~~~

input file:
————————————————————————————————————————————————————————————————————————
dimension 2
boundary p p p

neighbor        0.3 bin
neigh_modify        delay 1
timestep        0.002

units                lj
atom_style        full

read_restart        restart.dimer_final


group                dimer molecule <> 1 3200

thermo_style custom step temp press vol enthalpy pe ke etotal lx ly lz atoms

pair_style      hybrid/overlay lj/cut 6.0 yukawa 1.0 6.0
pair_coeff      * * lj/cut 1.0 1.0
pair_coeff      * * yukawa 2.250

fix  10 dimer rigid molecule
fix 1 all press/berendsen iso 0.0018 0.0018 1.0
fix 2 all npt temp 0.045 0.045 1.0 iso 0.0018 0.0018 1.0

neigh_modify exclude molecule dimer

fix     5 all enforce2d
——————————————————————————————————————————————————————————————————————————

output file 就这样:
————————————————————————————————————————————————————————————————————————
LAMMPS (9 Nov 2011)
Reading restart file ...
  orthogonal box = (0 0 0) to (357.77 357.77 2.2)
  1 by 5 by 1 processor grid
  6400 atoms
  3200 bonds
Finding 1-2 1-3 1-4 neighbors ...
  1 = max # of 1-2 neighbors
  0 = max # of 1-3 neighbors
  0 = max # of 1-4 neighbors
  1 = max # of special neighbors
6400 atoms in group dimer
3200 rigid bodies with 6400 atoms
WARNING: One or more atoms are time integrated more than once (modify.cpp:240)
Setting up run ...
Memory usage per processor = 4.26651 Mbytes
Step Temp Press Volume Enthalpy PotEng KinEng TotEng Lx Ly Lz Atoms
11000000  0.045404677   -0.0048495    127999.37  -0.16623931   -0.1032962  0.034046413 -0.069249787       357.77       357.77          2.2     6400
11001000  0.035714946 0.0025690215     149326.3 -0.030062248  -0.11678389  0.026780629 -0.090003259    386.42761    386.42761          2.2     6400
11002000  0.030264793 0.0023758957    176161.74 -0.033412274  -0.12150331  0.022693866 -0.098809449    419.71626    419.71626          2.2     6400
11003000  0.029004975 0.0022623105    192742.28 -0.033463396  -0.12334429  0.021749199   -0.1015951    439.02424    439.02424          2.2     6400
11004000  0.028354983 0.0022907102    208286.37 -0.028235237  -0.12404763  0.021261807  -0.10278582    456.38402    456.38402          2.2     6400
11005000   0.02802591 0.0023240801    230934.88 -0.019681906  -0.12455808  0.021015054  -0.10354302    480.55684    480.55684          2.2     6400
11006000  0.027851188 0.0022193808     248575.1 -0.017691289  -0.12477576  0.020884039  -0.10389173    498.57306    498.57306          2.2     6400
11007000  0.027480945 0.0022516638    249899.94 -0.015969955  -0.12449678  0.020606415  -0.10389037    499.89993    499.89993          2.2     6400
11008000  0.027463389 0.0022537957    268442.03 -0.0096305365  -0.12475714  0.020593251  -0.10416389    518.11391    518.11391          2.2     6400
————————————————————————————————————————————————————————————————————————————————
多谢各位大神。。。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 欧阳少恭 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 投票:  有多少人是今天查系统知道结果的? +16 爱看书的可乐 2026-08-26 18/900 2026-08-28 16:41 by winsaint
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +11 Kittylucky 2026-08-27 12/600 2026-08-28 16:26 by lyxiaomc
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +8 苏东坡二世 2026-08-23 8/400 2026-08-28 14:41 by lkforward
[基金申请] 2026年叶企孙基金 +3 bud_bud 2026-08-27 6/300 2026-08-28 11:53 by bud_bud
[基金申请] 国自然面上复盘~欢迎讨论 (金币+5) +12 晴天加油 2026-08-26 13/650 2026-08-28 11:32 by skyjudy
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 9/450 2026-08-28 11:06 by maolC
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[文学芳草园] 梦想 +3 myrtle 2026-08-26 3/150 2026-08-27 10:01 by angelyueyi
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 系统查不到 +10 董八千 2026-08-26 10/500 2026-08-26 16:30 by Equinoxhua
[基金申请] 范进中举一文的中心思想 +9 炎黄贵胄 2026-08-22 10/500 2026-08-26 15:40 by semaglutide
[基金申请] 2026国自然函评费到账 +22 羊腰板 2026-08-21 25/1250 2026-08-26 15:00 by zuocuiping
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 国际合作可查了,中了面上 (EPI+1)(金币+50) +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 国合现在查不到了吗? +10 chengyan1220 2026-08-24 20/1000 2026-08-26 08:57 by peasantsprig
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 明天应该可查了!? +6 chengyan1220 2026-08-23 6/300 2026-08-25 19:45 by zfd97
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
信息提示
请填处理意见