| 查看: 1944 | 回复: 3 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
[求助]
关于fix shake以及compute命令的应用问题 已有1人参与
|
||
|
我最近写了一个关于超临界水的in文件,里面用到了fix shake命令,但运行的时候一直报错ERROR: Invalid fix style,我对照manuel检查了命令格式,没有发现问题,禁了fix shake后运行又出现ERROR: Invalid compute style,都没查出问题在哪里,请各位大侠不吝赐教,小女子先谢过了 以下是我的in文件 units real dimension 3 boundary p p p atom_style full pair_style lj/charmm/coul/charmm 7.5 8.0 8.0 10.0 bond_style harmonic angle_style harmonic read_data data.Mol angle_coeff 1 55.0000 104.5200 bond_coeff 1 450.0000 0.9572 pair_coeff 1 1 0.1521 3.1507 pair_coeff 1 2 0.0836 1.7753 pair_coeff 2 2 0.0460 0.4000 region 1 block INF INF INF INF INF INF velocity all create 640 100 velocity all scale 640 #group water type 1 2 fix 1 all shake 0.0001 20 0 b 1 a 1 fix 2 all npt temp 640 760 1000 iso 236.92 236.92 1000 drag 1 timestep 0.01 compute 1 all ke compute 2 all pe compute 3 all temp compute 4 all dilatation/atom compute 5 all displace/atom thermo 500 thermo_style custom temp press density vol pe ke etotal enthalpy run 1000 data文件如下 LAMMPS data file from msi2lmp v3.8 for Mol 6 atoms 4 bonds 2 angles 0 dihedrals 0 impropers 2 atom types 1 bond types 1 angle types -0.854007846 3.056692154 xlo xhi -0.764937233 3.145762767 ylo yhi -1.347689527 2.563010473 zlo zhi Masses 1 15.999400 2 1.007970 Atoms 1 1 1 -0.798200 0.121798883 0.387575451 0.043193656 0 1 0 2 1 2 0.399100 0.308427222 1.054689176 -0.656528781 0 1 0 3 1 2 0.399100 0.163119246 -0.433256524 -0.481969457 0 1 0 4 2 1 -0.798200 1.973583684 2.001768480 1.988670964 0 -1 0 5 2 2 0.399100 2.453643042 1.441265665 1.343893247 0 -1 0 6 2 2 0.399100 1.587480847 2.690434354 1.408703210 0 -1 0 Bonds 1 1 1 2 2 1 1 3 3 1 4 5 4 1 4 6 Angles 1 1 2 1 3 2 1 5 4 6 |
» 猜你喜欢
2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗?
已经有17人回复
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有3人回复
今天务委会开完了,明天出结果吗
已经有21人回复
在坚冰还盖着北海的时候,我看到了怒放的梅花。
已经有9人回复
明天应该可查了!?
已经有6人回复
有没有大神帮我看看基金代码
已经有10人回复
放榜前的不淡定
已经有19人回复
某些机构,以效率低为荣,以效率低作为存在感
已经有10人回复
2026国自然函评费到账
已经有23人回复
今日不放榜?网传国自然预计 8 月 27 日可查结果
已经有22人回复
» 本主题相关价值贴推荐,对您同样有帮助:
修改lammps程序的neighbor命令
已经有4人回复
Ubuntu 编译Lammps 单机串行错误,帮帮忙
已经有5人回复
3楼2017-07-12 01:42:23
yuexiaoming
新虫 (小有名气)
- 应助: 2 (幼儿园)
- 金币: 7.7
- 散金: 54
- 帖子: 101
- 在线: 91小时
- 虫号: 1661246
- 注册: 2012-03-03
- 专业: 微/纳机械系统
2楼2014-08-28 17:10:53
哦买噶等
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 374.1
- 帖子: 102
- 在线: 14.2小时
- 虫号: 13928364
- 注册: 2019-01-28
- 性别: MM
- 专业: 矿物工程与物质分离科学
4楼2019-09-08 10:22:44









回复此楼
28