|
|
各位大佬们好,小弟最近正在做lammps关于铁铬合金的氧化,先简单做了一个Cr原子和氧气的反应,in文件如下:units real
dimension 3
boundary p p p
atom_style charge
read_data Cr.data
pair_style reax/c NULL
pair_coeff * * ffield.reax.Fe_O_Cr O Cr
neighbor 2.0 bin
neigh_modify every 10 delay 0 check no
fix 1 all nvt temp 1150.0 1150.0 10.0
fix 2 all qeq/reax 1 0.0 10.0 1e-6 reax/c
timestep 1.0
thermo_style custom step temp etotal ke pe etotal dt time
thermo 100
dump 1 all custom 1000 CrO.xyz id type x y z fx fy fz
run 10000
但是跑了之后报错ERROR on proc 0: ffield.reax.Fe_O_Cr:70: This force field file requires using 'lgvdw yes',我在网上查了说是要使用长程作用力,之后将pair_style 改为pair_style reax/c NULL lgvdw yes,报错ERROR on proc 0: Not a valid floating-point number: 'H',请问各位老师,大佬该如何解决呢? 附上力场文件
|
|