标题: 求助:运行lammps产生报错Pair_coeff command before simulation box is defined [打印本页] 作者Author: kino 时间: 2024-2-27 12:26 标题: 求助:运行lammps产生报错Pair_coeff command before simulation box is defined LAMMPS (2 Aug 2023 - Update 2)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
Loaded 0 plugins from C:\LAMMPS 64-bit 2Aug2023 with GUI\plugins
Loaded 1 plugins from D:\LAMMPS 64-bit 2Aug2023 with GUI\plugins
units metal
dimension 3
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
pair_style hybrid eam lj/cut/coul/long 10
kspace_style pppm 1.0e-5
neighbor 3.0 bin
neigh_modify every 1 delay 0 check yes
#read_restart 3.rst
#reset_timestep 1000
restart 1000 my_simulation.rst
pair_coeff 1 1 lj/cut/coul/long 0.006734447 3.1536
ERROR: Pair_coeff command before simulation box is defined (src/input.cpp:1722)
Last command: pair_coeff 1 1 lj/cut/coul/long 0.006734447 3.1536
作者Author: Q1ngKl 时间: 2024-2-29 12:51
检查以下data文件是不是定义了Pair_coeff作者Author: kino 时间: 2024-3-1 14:01 本帖最后由 kino 于 2024-3-1 14:02 编辑