24小时热门版块排行榜    

查看: 1416  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 311求调剂 +3 26研0 2026-03-20 3/150 2026-03-22 14:46 by ColorlessPI
[考研] 354求调剂 +7 Tyoumou 2026-03-18 10/500 2026-03-22 11:11 by 人来盛
[考研] 0856材料专硕353求调剂 +4 NIFFFfff 2026-03-20 4/200 2026-03-22 09:49 by 2026paper
[考研] 0703化学297求调剂 +3 Daisy☆ 2026-03-20 3/150 2026-03-21 17:45 by ColorlessPI
[考研] 313求调剂 +4 肆叁贰壹22 2026-03-19 4/200 2026-03-21 17:33 by ColorlessPI
[考研] 299求调剂 +4 某某某某位 2026-03-21 4/200 2026-03-21 16:30 by barlinike
[考研] 求调剂 +3 白QF 2026-03-21 3/150 2026-03-21 13:12 by zhukairuo
[考研] 330求调剂0854 +3 assdll 2026-03-21 3/150 2026-03-21 13:01 by 搏击518
[考研] 一志愿华中科技大学,080502,354分求调剂 +5 守候夕阳CF 2026-03-18 5/250 2026-03-21 01:06 by JourneyLucky
[考研] 南京大学化学376求调剂 +3 hisfailed 2026-03-19 6/300 2026-03-20 23:43 by hisfailed
[考研] 295求调剂 +4 一志愿京区211 2026-03-18 6/300 2026-03-20 23:41 by JourneyLucky
[考研] 330求调剂 +4 小材化本科 2026-03-18 4/200 2026-03-20 23:13 by JourneyLucky
[考研] 085600材料与化工 +8 安全上岸! 2026-03-16 8/400 2026-03-20 22:13 by luoyongfeng
[考研] 求调剂 +3 @taotao 2026-03-20 3/150 2026-03-20 19:35 by JourneyLucky
[考研] 广西大学家禽遗传育种课题组2026年硕士招生(接收计算机专业调剂) +3 123阿标 2026-03-17 3/150 2026-03-20 15:58 by 飞行琦
[考研] 求调剂 +3 暗涌afhb 2026-03-16 3/150 2026-03-20 00:28 by 河南大学校友
[考研] 本科郑州大学物理学院,一志愿华科070200学硕,346求调剂 +4 我不是一根葱 2026-03-18 4/200 2026-03-19 09:11 by 浮云166
[考研] 材料,纺织,生物(0856、0710),化学招生啦 +3 Eember. 2026-03-17 9/450 2026-03-18 10:28 by Eember.
[考研] [导师推荐]西南科技大学国防/材料导师推荐 +3 尖角小荷 2026-03-16 6/300 2026-03-16 23:21 by 尖角小荷
[考研] 中科院材料273求调剂 +4 yzydy 2026-03-15 4/200 2026-03-16 15:59 by Gaodh_82
信息提示
请填处理意见