Hello,
I am using GULP to create a lammps useable potential for Li-Al-O system.
- I started with making the LiAlO.gin file where I put in the Buckingham parameters for 5 out of the 6 interactions Li-O, Al-O, O-O, Li-Li and Al-Al parameters. I collected these parameters from 3 different papers. I do not currently have the Li-Al Buckingham parameters.
I used the “output lammps” and “output lammps_pot” command to produce the tabulation of 2 body potential. My input looks like this
opti conp comp
Created by GDIS version 0.90.0
name LiAlO2_Crystal_Str
cell
5.168700 5.168700 6.267900 90.000000 90.000000 90.000000
cartesian
Li core 4.200086 4.200086 0.000000 1.0000000
Al core 0.909174 0.909174 0.000000 1.0000000
O core 1.741335 1.502024 4.840699 1.0000000
O shell 1.741335 1.502024 4.840699 1.0000000
space
P 41 21 2
species
Li core 1.00
Al core 3.00
O core 0.800
O shel -2.800
buckingham
Li core O shel 632.1018 0.2906 0.0 0.0 12.0
buckingham
O shel O shel 12420.5 0.2215 29.07 0.0 25.0
buckingham
Li core Li core 120.2 0.285710 0.16
buckingham
Al core Al core 0 0.1 0.0
buckingham
Al core O shel 1109.92381 0.31540 0.0 0.0 10.0
spring
O 31.0
output lammps_pots
dump every LiAlO2.grs
~
The error that I get is
At line 827 of file …/outlammps.F90 (unit = 27, file = ‘fort.27’)
Fortran runtime error: Expected INTEGER for item 7 in formatted transfer, got REAL
('pair_coeff ‘,i3,1x,i3,’ buck/mdf ',f12.10,1x,f13.10,1x,f8.4,1x,f8.4)
^
Error termination. Backtrace:
#0 0x7f6fd49f41aa
#1 0x7f6fd49f4d19
#2 0x7f6fd49f5521
#3 0x7f6fd4bee511
#4 0x7f6fd4bfae6f
#5 0x7f6fd4bfdd50
#6 0x7f6fd4bfe184
#7 0xc0788e
#8 0xbf2e06
#9 0x88b3d3
#10 0x137b404
#11 0x401b7a
#12 0x7f6fd3e5a7b2
#13 0x401bbd
#14 0xffffffffffffffff
The files being created are fort.25 fort.26 and fort.27
My questions are:
- Which part of the output can I use in lammps?
- The fort.25 file contains only 0 values and looks like
Buckingham_Li_O
N 1001 R 0.00000 0.00000
1 0.000000000 0.000000000 -0.000000000
2 0.000000000 0.000000000 -0.000000000
3 0.000000000 0.000000000 -0.000000000
4 0.000000000 0.000000000 -0.000000000
5 0.000000000 0.000000000 -0.000000000
6 0.000000000 0.000000000 -0.000000000
.
.
.
.
.
.with 1000 rows for each type of interaction (Li-O, Al-O , etc ). I am sure this is not correct so how to correct this?
- Is the Li-Al interaction available in any of the libraries provided in GULP. If so kindly suggest how to correctly build a potential of Li-Al-O system.
I really appreciate your response to my last query where you suggested me to use output lammps command. Your advice on this occasion will prove to be very helpful.
Sincerely,
Ankit Roy
Lehigh University