24小时热门版块排行榜    

查看: 1475  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[博后之家] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 Vi50GxzrFcSG 2026-08-07 4/200 2026-08-08 16:02 by oEVWOejN9taj
[公派出国] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 Vi50GxzrFcSG 2026-08-07 5/250 2026-08-08 15:59 by oEVWOejN9taj
[论文投稿] 十年后又回来了,论文投稿求助 +5 哈哈114477 2026-08-01 5/250 2026-08-08 15:14 by 仁砚薪传
[论文投稿] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 Vi50GxzrFcSG 2026-08-07 6/300 2026-08-08 15:07 by oEVWOejN9taj
[基金申请] fileCode有新解读? +9 Tide man 2026-08-08 17/850 2026-08-08 14:56 by archvillain
[基金申请] 这样的filecode谁见过 +5 布布和一二 2026-08-08 8/400 2026-08-08 14:54 by archvillain
[硕博家园] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 HEQlVqMTIA7d 2026-08-07 6/300 2026-08-08 14:47 by oEVWOejN9taj
[基金申请] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 KXLV3nuBVBY7 2026-08-07 5/250 2026-08-08 14:07 by oEVWOejN9taj
[论文投稿] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 KXLV3nuBVBY7 2026-08-07 6/300 2026-08-08 14:01 by oEVWOejN9taj
[基金申请] 基金中了 +14 laoda193707 2026-08-06 14/700 2026-08-08 00:23 by 实验小白ha
[基金申请] 关于filecode +4 布布和一二 2026-08-07 7/350 2026-08-07 22:55 by zhanghaozhu
[基金申请] 娱乐 +6 Tide man 2026-08-03 6/300 2026-08-07 22:40 by 铁帽子农民
[基金申请] 固定端突然变了,今天 +6 archvillain 2026-08-06 10/500 2026-08-07 16:03 by 医学老男孩
[基金申请] 听说今天filecode变了 +24 布布和一二 2026-08-06 47/2350 2026-08-07 16:02 by zhiyanjiang
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[基金申请] 关于豆爷回答的JTJC与%2F数量 +4 yang182083 2026-08-06 6/300 2026-08-07 12:43 by 虫友是什么虫
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
[基金申请] 面上提前没消息,有中的吗 +14 archvillain 2026-08-02 18/900 2026-08-04 14:42 by archvillain
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见