24小时热门版块排行榜    

CyRhmU.jpeg
查看: 3734  |  回复: 7
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

朱雪刚521

铁杆木虫 (知名作家)

[求助] lammps运行出错:ERROR: Illegal fix nvt/npt/nph command (fix_nh.cpp:317)

整个结果如下。
LAMMPS (29 Jun 2012)
# 3d Lennard-Jones melt

units                metal
boundary        p p p

atom_style        atomic

variable        x equal 2.5                 #temperatue frome 2.5K

lattice                hcp 2.268                #short distance of Be hcp
Lattice spacing in x,y,z = 2.268 3.92829 3.70363

region                box block 0 10 0 10 0 10 #0 22.8560 0 22.8560 035.8320 frome MS creat 2000 atome

create_box        1 box
Created orthogonal box = (0 0 0) to (22.68 39.2829 37.0363)
  1 by 1 by 1 MPI processor grid

create_atoms         1 box
Created 4000 atoms

timestep        0.01                        #why others have 0.005

thermo                1000                        #why

#velocity        all create 3.0 87287

pair_style        tersoff
pair_coeff        * * Be.tersoff Be

neighbor        0.5 bin                        #why
neigh_modify        every 20 delay 0 check no #yes or no

#velocity        all create $x 825577 dist gaussian

fix                NVT all nvt $x $x 1.0 drag 0.2
fix                NVT all nvt 2.5 $x 1.0 drag 0.2
fix                NVT all nvt 2.5 2.5 1.0 drag 0.2
ERROR: Illegal fix nvt/npt/nph command (fix_nh.cpp:317)

加个reax?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

刘雪鹏

木虫 (小有名气)

少了keyword temp
6楼2014-05-07 09:28:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 朱雪刚521 的主题更新
信息提示
请填处理意见