3.3. Build atom Input
abcinp is used to generate input files for atom. Just run abcinp without any argument and it will print help information:
abcinp filename kind_of_atoms forcefield amplitude sn gmax glimit nsaves natoms1 symbol1 ...
-- For atomic clusters:
forcefield = LennardJones: sigma epsilon
forcefield = CoulombLennardJones: q sigma epsilon
forcefield = Morse: power epsilon beta r0
forcefield = CoulombBornMayer: q B rho
forcefield = CoulombMorseRepulsion: q D alpha rho C
forcefield = Girifalco: nC A B d
forcefield = Dzugutov: a alpha kF b sigma m rC V0
forcefield = Gupta: A xi d p q
forcefield = SuttonChen: p q epsilon a c
forcefield = SuttonChenMJB: p epsilon a c alpha
forcefield = Tersoff: A B lambda mu beta m c d h R S chi omega
forcefield = ExLennardJones: maxk c6 c7 ... cmaxk
You need to input several arguments. I will explain them one by one:
filenameThe job file name. The generated input files will be named asfilename.inp,filename.parandfilenamei.xyz.kind_of_atomsThe number of atomic types. For \(\left(\mathrm{MgO}\right)_{10}\) clusters, this should be2; For \(\mathrm{B}_{20}\), this should be1.forcefieldThe force field you want to use. All supported ones are listed in Supported Model Force Fields. Available choices:LennardJones,CoulombLennardJones,Morse,CoulombBornMayer,CoulombMorseRepulsion,Girifalco,Dzugutov,Gupta,SuttonChen,SuttonChenMJB,Tersoff,ExLennardJones.
Attention
You must input exactly the names listed above. For example, if you want to use Gupta potential, you must input Gupta. Both gupta or GUPTA will raise errors!
amplitudeThe estimated size of the cluster in Angstrom. See Theoretical Background for details.snThe population size \(SN\). See Theoretical Background for details.gmaxThe maximum cycle number \(g_{\mathrm{max}}\). See Theoretical Background for details.glimitThe scout limit \(g_{\mathrm{limit}}\). See Theoretical Background for details.nasvesThe number of local minima you want to save.natoms1 symbol1 ...For each kind of atoms, its number and symbol must be given. For \(\left(\mathrm{MgO}\right)_{10}\) clusters, this should be10 Mg 10 O; For \(\mathrm{B}_{20}\), this should be20 B.
After this, abcinp will ask for force field parameters. It will hint you the order of parameters, and the parameter names are exactly the same as shown in the formulas in Supported Model Force Fields. For references, below we give the correspondence between computer characters and mathematical symbols:
Potential |
Computer Characters and Mathematical Symbols |
|---|---|
Coulomb-Born-Mayer |
|
Lennard-Jones |
|
Coulomb-Lennard-Jones |
|
Morse |
|
Coulomb-Morse-Repulsion |
|
Girifalco |
|
Dzugutov |
|
Gupta |
|
Sutton–Chen |
|
Modified Sutton-Chen (by Januszko–Bose) |
|
Tersoff |
|
Extended Lennard-Jones |
|
Let’s explain this with the example in Example: 38 Lennard-Jones Particles:
$ abcinp lj38 1 LennardJones 5.0 30 300 5 30 38 C
Parameters for atom 0: sigma epsilon > 1.4 1.0
This means: Perform a global optimization on a LennardJones cluster, with \(L\) = 5.0,
\(SN\) = 30, \(g_{\mathrm{max}}\) = 300, \(g_{\mathrm{limit}}\) = 5, 30 local minima will be saved. We have 1 kind of particles, its number and symbol is 38 and C, respectively. The generated files will be named as lj38*.
After this, you will get three files:
lj38.inpThe main input file.lj38.parThe parameter file.lj38i.xyzInitial guess of the cluster.
Let’s examine lj38.inp:
138 # number of atoms
2lj38i.xyz # initial guess file ; * - random guess
3LennardJones # force field types
4lj38.par # force field parameters
530 # population size
6300 # maximal generations
75 # scout limit
85.00000000 # amplitude
9lj38 # save optimized configuration to .xyz and .gjf
1030 # number of LMs to be saved
All texts after # are comments and can be arbitrary. The meaning of each line is explained by its comment. If you do not have an initial guess, you can change line 2 to * then atom will automatically generate an initial guess.