Dear Users and Developers,
I am trying to run a coreshell system, with the Li species within the system as rigid ion. I have made sure the correct modules are loaded, and tested the example coreshell model provided, which runs fine. My data file is in the correct format, where the element, atom, and bond groups/types are defined as:
Element type 1=Li, 2=Ni, 3=Ni_shell, 4=Co, 5=Co_shell, 6=Mn, 7=Mn_shell, 8=O, 9=O_shell
Group type 1=Li, 2= Ni and Ni_shell, 3= Co and Co_shell, 4= Mn and Mn_shell, 5= O and O_shell
Bond type 1 = Ni and Ni_shell, 2=Co and Co_shell, 3= Mn and Mn_shell, 4= O and O_shell
Where the bond between each individual core-shell has an individual bond number, such as:
Bonds
1 1 961 962
2 1 963 964
3 1 965 966
4 1 967 968
… … … …
768 1 2495 2496
769 2 2497 2498
770 2 2499 2500 etc.
I am fairly confident that this input is correct. The system does run, however doesn’t get past step 0 of the minimisation. Below is the output given, where the program doesn’t stop running or exit, but will not go pass this point. I have to manually stop the process.
Setting up cg style minimization …
Unit style : metal
Current step : 0
Per MPI rank memory allocation (min/avg/max) = 69.21 | 69.21 | 69.21 Mbytes
Step TotEng Temp Enthalpy Fmax Lx Ly Lz Volume Press
0 -nan 0 -nan nan 45.623566 24.789324 27.811644 31454.339 -nan
I believe the issue may lie in the parameter input file, however I can not see where the error is, nor can my colleagues. I have tried varying everything I can think off but I cannot find anything which doesn’t result in the above. I have this exact system and potentials working in dlpoly4 without any issue, so the potentials are not the cause. Any assistance would be very much appriciated.
#------------Variables and cell--------------------------#
clear
units metal #eV,atomic charge,angstroms,ps,kelvin,bars,g/mol
dimension 3
boundary p p p
atom_style full
fix csinfo all property/atom i_CSID
read_data coordinates.lammps fix NULL CS-Info #File name read in containing coordinates etc.
group cores type 1 2 4 6 8
group shells type 3 5 7 9
group lithium type 1
neighbor 2.0 bin
comm_modify vel yes
variable T1 equal 1 #Sets temperature of the system
variable Timer equal step*dt
#---------- Pair styles and electrostatics--------------#
pair_style buck/coul/long/cs 8.0 #A, rho, C
pair_coeff * * 0.0 1.000 0.00
pair_coeff 1 9 632.1018 0.2906 0.0000
pair_coeff 3 9 1582.5000 0.2882 0.00000
pair_coeff 5 9 1397.6300 0.3211 0.00000
pair_coeff 7 9 1329.8200 0.3087 0.00000
pair_coeff 9 9 22764.0000 0.1490 65.0000
bond_style harmonic
bond_coeff 1 93.7 0.0
bond_coeff 2 196.3 0.0
bond_coeff 3 95.0 0.0
bond_coeff 4 65.0 0.0
kspace_style ewald 1e-03 #Ewald precision
-------------- Run Minimization ---------------------#
reset_timestep 0
timestep 0.5
thermo 10 #prints data every x steps
thermo_style custom step enthalpy fmax lx ly lz vol press
min_style cg
minimize 1e-25 1e-25 5000 10000
Many thanks,
Lucy