24小时热门版块排行榜    

Znn3bq.jpeg
查看: 2113  |  回复: 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)

我们都爱小木虫

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

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 欧阳少恭 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求调剂,985材料与化工348分 +9 涵竹刘 2026-04-11 11/550 2026-04-12 22:18 by fqwang
[考研] 346分,工科0854求调剂,专硕 +6 moser233 2026-04-12 7/350 2026-04-12 22:11 by fqwang
[考研] 313求调剂 +5 余摆摆是大哥 2026-04-11 5/250 2026-04-12 10:34 by 猪会飞
[考研] 人工智能320调剂08工类还有机会吗 +12 振—TZ 2026-04-10 12/600 2026-04-12 07:54 by wj165256
[考研] 计算机22408 281分,求调剂 +7 17715607211 2026-04-06 7/350 2026-04-12 00:43 by xuxiang
[考研] 267求调剂 +8 再忙也要吃饭啊 2026-04-09 8/400 2026-04-11 21:42 by cfdbai
[教师之家] 请问地理、遥感方面,可以做哪些横向项目啊,纵向完不成考核啊 +3 锦衣卫寒战 2026-04-07 5/250 2026-04-11 20:51 by 豫椒
[考研] 283求调剂 086004考英二数二 +17 那个噜子 2026-04-10 18/900 2026-04-11 16:27 by 明月此时有
[考研] 085410-273求调剂 +6 X1999 2026-04-10 6/300 2026-04-11 10:32 by Delta2012
[考研] 一志愿北理工298英一数二已上岸,感谢各位老师 +14 Reframe 2026-04-10 16/800 2026-04-10 23:07 by caotw2020
[考研] 调剂 +12 卷卷卷心菜_ 2026-04-09 13/650 2026-04-10 22:36 by Ftglcn90
[考研] 287求调剂 +15 Fnhc 2026-04-07 21/1050 2026-04-10 19:09 by chemisry
[考研] 一志愿华东师范生物学326分,求调剂 +8 刘墨墨 2026-04-09 8/400 2026-04-10 12:00 by pengliang8036
[考研] 江苏大学 工科调剂 捡漏 +3 Evan_Liu 2026-04-09 5/250 2026-04-10 10:22 by Evan_Liu
[考研] 一志愿中科院105500专业总分315求调剂 +6 lallalh 2026-04-09 7/350 2026-04-09 17:51 by lallalh
[考研] 331求调剂 +5 luoxin0706. 2026-04-08 5/250 2026-04-08 22:15 by zhouyuwinner
[考研] 材料工程专业日语生求调剂 +9 111623 2026-04-07 9/450 2026-04-07 23:31 by 一只好果子?
[考研] 机械调剂 +3 zzzbcb 2026-04-07 3/150 2026-04-07 22:19 by hemengdong
[考研] 331求调剂 +5 张元一 2026-04-07 6/300 2026-04-07 22:13 by hemengdong
[考研] 085100建筑学 寻求跨专业调剂 一志愿南大294分 校级省级国家级奖项若干 踏实肯干 +3 1021075758 2026-04-06 4/200 2026-04-07 09:23 by 蓝云思雨
信息提示
请填处理意见