24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1423  |  回复: 0

wangwen552

铜虫 (小有名气)

[求助] LAMMPS运行出错,向各位大侠求助!

我是第一次用LAMMPS建模,(以前都是直接读取模型数据文件,)运行in文件老是提示错误:ERROR: Unknown command: creat_box 1 box (../input.cpp:228),没有头绪改了几次都不行,下面是我的in文件:
# initial conditions

boundary     s p p
#processors   4 4 10
dimension    3
units        metal
atom_style   atomic
neighbor 2.0 bin
neigh_modify delay 10 check yes

#create geometry
lattice      hcp 2.5187
region box block 0 300 0 300 0 30
creat_box 1 box
creat_atoms 1 box
mass 1 58.933

# potentials

pair_style   eam/alloy
pair_coeff   * * Co_PurjaPun_2012.eam.alloy Co


# calculates the pressure of the entire system

compute p all pressure thermo_temp


# define what variables for thermal output

thermo_style custom step temp press c_p[1] c_p[2] c_p[3] vol etotal


# energy minimization

min_style cg
minimize 1.0e-6 1.0e-6 100000 100000  
reset_timestep 0

# define how to dump a snapshot of atom quantities to one file
       
dump 1 all custom 10000 dump1.* x y z id

# The simulated samples are relaxed in the isobaric-isothermal ensemble under pressre 0 bar and temperature 300 k

fix 1 all npt temp 300.0 300.0 0.2 x 0.0 0.0 2.0 y 0.0 0.0 2.0 z 0.0 0.0 2.0 couple none
thermo 50
timestep 0.002

run 200000

write_restart restart.relax400ps

log.lammps文件是:
LAMMPS (30 Oct 2014)
WARNING: OMP_NUM_THREADS environment is not set. (../comm.cpp:88)
  using 1 OpenMP thread(s) per MPI task
# initial conditions

boundary     s p p
#processors   4 4 10
dimension    3
units        metal
atom_style   atomic
neighbor 2.0 bin
neigh_modify delay 10 check yes

#create geometry
lattice      hcp 2.5187
Lattice spacing in x,y,z = 2.5187 4.36252 4.11302
region box block 0 300 0 300 0 30
creat_box 1 box
ERROR: Unknown command: creat_box 1 box (../input.cpp:228)

求各路高手指点迷津!
回复此楼

» 猜你喜欢

已阅   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 wangwen552 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿华中农微生物,288分,三年实验经历 +11 代fish 2026-04-09 11/550 2026-04-12 10:21 by Hayaay
[考研] 305求调剂 +7 玛卡巴卡boom 2026-04-11 7/350 2026-04-12 07:35 by zhouxiaoyu
[考研] 359求调剂 +5 胃痉挛累了 2026-04-11 5/250 2026-04-11 19:55 by lbsjt
[考研] 求调剂 +10 璃茉一定上岸 2026-04-10 10/500 2026-04-11 13:31 by 1005715100
[考研] 22408 352分求调剂0854类 +4 努力的夏末 2026-04-09 4/200 2026-04-11 09:57 by zhq0425
[考研] 287求调剂 +15 Fnhc 2026-04-07 21/1050 2026-04-10 19:09 by chemisry
[考研] 求调剂 +5 不会飞的鱼@ 2026-04-10 5/250 2026-04-10 19:07 by chemisry
[考研] 085404 298分求调剂 +10 呼啦呼啦呼呼呼 2026-04-10 11/550 2026-04-10 16:44 by wangy0907
[考研] 070300化学 求调剂 +13 73372112 2026-04-08 13/650 2026-04-09 20:22 by maddjdld
[考研] 348求调剂 +3 candyyyi 2026-04-09 3/150 2026-04-09 17:20 by 段伟艳
[考研] 材料工程调剂 +12 小刘同学吖吖 2026-04-06 13/650 2026-04-09 17:07 by luoyongfeng
[考研] 086004 求调剂 309 +7 Yin DY 2026-04-08 7/350 2026-04-09 13:59 by Delta2012
[考研] 一志愿西南大学生物学学硕344 求生物学相关调剂/生物与医药 +7 超人不会飞@ 2026-04-08 7/350 2026-04-09 09:35 by gong120082
[考研] 296求调剂 +3 汪!?! 2026-04-08 3/150 2026-04-08 22:00 by zhouyuwinner
[考研] 293分求调剂,外语为俄语 +7 加一一九 2026-04-07 10/500 2026-04-08 20:14 by yutian743
[考研] 275 求调剂 +8 Lei812514 2026-04-07 8/400 2026-04-08 12:46 by chemisry
[考研] 323求调剂 +3 林zlu 2026-04-07 4/200 2026-04-07 23:21 by lbsjt
[考研] 机械调剂 +3 zzzbcb 2026-04-07 3/150 2026-04-07 22:19 by hemengdong
[考研] 307求调剂 +3 所念及所望 2026-04-06 3/150 2026-04-06 17:30 by 土木硕士招生
[考研] 22408 331分求调剂 +4 y__1 2026-04-06 4/200 2026-04-06 17:26 by 土木硕士招生
信息提示
请填处理意见