fix qtpie/reaxff command
Syntax
fix ID group-ID qtpie/reaxff Nevery cutlo cuthi tolerance params gfile args
ID, group-ID are documented in fix command
qtpie/reaxff = style name of this fix command
Nevery = perform QTPIE every this many steps
cutlo,cuthi = lo and hi cutoff for Taper radius
tolerance = precision to which charges will be equilibrated
params = reaxff or a filename
gfile = the name of a file containing Gaussian orbital exponents
one or more keywords or keyword/value pairs may be appended
keyword = scale or maxiter or nowarn scale beta = set value of scaling factor beta (determines strength of electric polarization) maxiter N = limit the number of iterations to N nowarn = do not print a warning message if the maximum number of iterations is reached
Examples
fix 1 all qtpie/reaxff 1 0.0 10.0 1.0e-6 reaxff exp.qtpie
fix 1 all qtpie/reaxff 1 0.0 10.0 1.0e-6 params.qtpie exp.qtpie scale 1.5 maxiter 500 nowarn
Description
Added in version 19Nov2024.
The QTPIE charge equilibration method is an extension of the QEq charge
equilibration method. With QTPIE, the partial charges on individual atoms
are computed by minimizing the electrostatic energy of the system in the
same way as the QEq method but where the absolute electronegativity,
which acts to penalize long-range charge transfer seen with the QEq charge
equilibration scheme. In this equation,
The effect of an external electric field can be incorporated into the QTPIE method by modifying the absolute or effective electronegativities of each atom (Chen). This fix models the effect of an external electric field by using the effective electronegativity given in (Gergs):
where
This fix is typically used in conjunction with the ReaxFF force
field model as implemented in the pair_style reaxff
command, but it can be used with any potential in LAMMPS, so long as it
defines and uses charges on each atom. For more technical details about the
charge equilibration performed by fix qtpie/reaxff, which is the same as in
fix qeq/reaxff except for the use of
This fix requires the absolute electronegativity,
itype chi eta gamma
where itype is the atom type from 1 to Ntypes. Note that eta is defined here as twice the eta value in the ReaxFF file.
The overlap integrals
itype alpha
Empty lines or any text following the pound sign (#) are ignored. An example gfile for a system with two atom types is
# An example gfile. Exponents are taken from Table 2.2 of Chen, J. (2009).
# Theory and applications of fluctuating-charge models.
# The units of the exponents are 1 / (Bohr radius)^2 .
1 0.2240 # O
2 0.5434 # H
The optional scale keyword sets the value of
The optional maxiter keyword allows changing the max number of iterations in the linear solver. The default value is 200.
The optional nowarn keyword silences the warning message printed when the maximum number of iterations is reached. This can be useful for comparing serial and parallel results where having the same fixed number of iterations is desired, which can be achieved by using a very small tolerance and setting maxiter to the desired number of iterations.
Note
In order to solve the self-consistent equations for electronegativity equalization, LAMMPS imposes the additional constraint that all the charges in the fix group must add up to zero. The initial charge assignments should also satisfy this constraint. LAMMPS will print a warning if that is not the case.
Restart, fix_modify, output, run start/stop, minimize info
No information about this fix is written to binary restart files. This fix computes a global scalar (the number of iterations) and a per-atom vector (the effective electronegativity), which can be accessed by various output commands. No parameter of this fix can be used with the start/stop keywords of the run command.
This fix is invoked during energy minimization.
Restrictions
This fix is part of the REAXFF package. It is only enabled if LAMMPS was built with that package. See the Build package page for more info.
This fix does not correctly handle interactions involving multiple
periodic images of the same atom. Hence, it should not be used for
periodic cell dimensions smaller than the non-bonded cutoff radius,
which is typically
This fix may be used in combination with fix efield and will apply the external electric field during charge equilibration, but there may be only one fix efield instance used and the electric field must be applied to all atoms in the system. Consequently, fix efield must be used with group-ID all and must not be used with the keyword region. Equal-style variables can be used for electric field vector components without any further settings. Atom-style variables can be used for spatially-varying electric field vector components, but the resulting electric potential must be specified as an atom-style variable using the potential keyword for fix efield.
Default
scale = 1.0 and maxiter = 200
(Rappe) Rappe and Goddard III, Journal of Physical Chemistry, 95, 3358-3363 (1991).
(Chen) Chen, Jiahao. Theory and applications of fluctuating-charge models. University of Illinois at Urbana-Champaign, 2009.
(Gergs) Gergs, Dirkmann and Mussenbrock. Journal of Applied Physics 123.24 (2018).
(Aktulga) Aktulga, Fogarty, Pandit, Grama, Parallel Computing, 38, 245-259 (2012).