24小时热门版块排行榜    

查看: 1221  |  回复: 2

Recycled

新虫 (初入文坛)

[求助] LAMMPS能量计算值不正确

大家好,关于LAMMPS模拟中,能量相关的部分,有一些问题想要请教各位。

我所采用的in文件及data文件,是moltemplate软件中的OPLS-AA力场正丁烷范例,条件为260K,1atm。在按照范例运行之后,发现内能/焓的计算值相比于NIST的数据小50%左右。我尝试了其他的温度和压力,发现能量(U及H)的计算值要比NIST数据小很多,而且集中在4-5kcal/mol附近,变化很小。

我尝试修改了special_bonds的参数,虽然值发生变化但这应该是不正确的。因此想要请教各位是否出现过同样的问题,以及对应的解决方法。

谢谢大家!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Recycled

新虫 (初入文坛)

这里是In文件中的运行部分

# ------------------------------- Run Section -------------------------------
dump            dumpeq1 all custom 50 traj_eq1_min.lammpstrj id mol type x y z ix iy iz
thermo_style    custom step temp press ke etotal enthalpy
thermo          50
thermo_modify   norm yes

velocity        all create 900.0 4928459 dist gaussian

# -- Equilibration: part 1: initial minimization --

minimize 1.0e-5 1.0e-7 100000 400000
undump          dumpeq1

write_data   system_after_eq1_min.data

# -- Equilibration part 2: reorienting the molecules (NVT) --

timestep        1.0
dump dumpeq2 all custom 200 traj_eq2_reorient.lammpstrj id mol type x y z ix iy iz

fix fxlan all langevin  900.0 900.0  120 48279
fix_modify fxlan energy yes
fix fxnve all nve

run             4000

velocity        all scale 900.0 sum yes

unfix fxlan
unfix fxnve

fix fxnvt all nvt temp 900.0 900.0 100.0
fix_modify fxnvt energy yes

run             10000
undump dumpeq2


write_data   system_after_eq2_reorient.data

unfix fxnvt


# -- equilibration part 3: Equilibrating the density (NPT) --

dump dumpeq3 all custom 200 traj_eq3_npt.lammpstrj id mol type x y z ix iy iz
fix fxnpt all npt temp 900.0 260.0 100.0 iso 500.0 500.0 1000.0 drag 2.0

timestep        1.0
run             20000

unfix fxnpt
fix fxnpt all npt temp 260.0 260.0 100.0 iso 500.0 1.0 1000.0 drag 2.0

timestep        1.0
run             100000

write_data   system_after_eq3_npt.data
2楼2019-05-05 10:07:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Recycled

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by Recycled at 2019-05-05 10:07:04
这里是In文件中的运行部分

# ------------------------------- Run Section -------------------------------
dump            dumpeq1 all custom 50 traj_eq1_min.lammpstrj id mol type x y z ix iy iz
the ...

这里是能量计算相关的设置   

units real
    atom_style full
    bond_style harmonic
    angle_style harmonic
    dihedral_style opls
    improper_style harmonic
    pair_style lj/cut/coul/long 18.0 18.0
    pair_modify mix geometric tail yes
    special_bonds lj/coul 0.0 0.0 0.5
    kspace_style pppm 0.0001
3楼2019-05-05 10:08:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Recycled 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026国自然函评费到账 +19 羊腰板 2026-08-21 22/1100 2026-08-25 10:38 by popular289
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +5 process2012 2026-08-23 7/350 2026-08-25 09:42 by huixian257
[基金申请] 今天基金会出结果吗?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
[基金申请] 范进中举一文的中心思想 +7 炎黄贵胄 2026-08-22 8/400 2026-08-25 08:48 by ZJTJZ
[基金申请] 只有每年这种时候来逛逛小木虫 +25 yaoyewhu2008 2026-08-20 27/1350 2026-08-25 08:01 by Equinoxhua
[基金申请] 明天应该可查了!? +5 chengyan1220 2026-08-23 5/250 2026-08-24 23:28 by 我4大白菜
[基金申请] 没有任何消息-是不是就凉了 +7 图啦图啦 2026-08-24 8/400 2026-08-24 22:00 by maomao_da
[基金申请] 人气不行了 +10 fansofjerry 2026-08-21 10/500 2026-08-24 21:03 by zhanghaozhu
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 估计是周四 +4 archvillain 2026-08-18 4/200 2026-08-24 13:53 by zzuzxg
[基金申请] 朋友圈看到的 +7 wangzilk 2026-08-18 9/450 2026-08-24 10:50 by cmrandy
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[基金申请] 放榜前的不淡定 20+4 snowwithsea 2026-08-19 17/850 2026-08-24 10:20 by echo8914667
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[基金申请] 今天放榜没戏了吧 +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
[基金申请] 重要消息,中午系统在维护 +11 yuleib84 2026-08-18 12/600 2026-08-20 11:09 by xskun
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
信息提示
请填处理意见