# pair_style saip/metal command Accelerator Variant: *saip/metal/opt* ## Syntax ``` LAMMPS pair_style [hybrid/overlay ...] saip/metal cutoff tap_flag ``` - cutoff = global cutoff (distance units) - tap_flag = 0/1 to turn off/on the taper function ## Examples ``` LAMMPS pair_style hybrid/overlay saip/metal 16.0 1 pair_coeff * * saip/metal CHAu.ILP Au C H pair_style hybrid/overlay eam rebo saip/metal 16.0 pair_coeff 1 1 eam Au_u3.eam Au NULL NULL pair_coeff * * rebo CH.rebo NULL C H pair_coeff * * saip/metal CHAu.ILP Au C H ``` ## Description ::: versionadded 17Feb2022 ::: The *saip/metal* style computes the registry-dependent interlayer potential (ILP) potential for hetero-junctions formed with hexagonal 2D materials and metal surfaces, as described in [(Ouyang6)](Ouyang6). $$\begin{aligned} E = & \frac{1}{2} \sum_i \sum_{j \neq i} V_{ij} \\ V_{ij} = & {\rm Tap}(r_{ij})\left \{ e^{-\alpha (r_{ij}/\beta -1)} \left [ \epsilon + f(\rho_{ij}) + f(\rho_{ji})\right ] - \frac{1}{1+e^{-d\left [ \left ( r_{ij}/\left (s_R \cdot r^{eff} \right ) \right )-1 \right ]}} \cdot \frac{C_6}{r^6_{ij}} \right \}\\ \rho_{ij}^2 = & r_{ij}^2 - ({\bf r}_{ij} \cdot {\bf n}_i)^2 \\ \rho_{ji}^2 = & r_{ij}^2 - ({\bf r}_{ij} \cdot {\bf n}_j)^2 \\ f(\rho) = & C e^{ -( \rho / \delta )^2 } \\ {\rm Tap}(r_{ij}) = & 20\left ( \frac{r_{ij}}{R_{cut}} \right )^7 - 70\left ( \frac{r_{ij}}{R_{cut}} \right )^6 + 84\left ( \frac{r_{ij}}{R_{cut}} \right )^5 - 35\left ( \frac{r_{ij}}{R_{cut}} \right )^4 + 1 \end{aligned}$$ Where $\mathrm{Tap}(r_{ij})$ is the taper function which provides a continuous cutoff (up to third derivative) for interatomic separations larger than $r_c$ [pair_style ilp_graphene_hbn](pair_ilp_graphene_hbn). It is important to include all the pairs to build the neighbor list for calculating the normals. :::: note ::: title Note ::: To account for the isotropic nature of the isolated gold atom electron cloud, their corresponding normal vectors ([{bf n}\_i]{.title-ref}) are assumed to lie along the interatomic vector [{bf r}\_ij]{.title-ref}. Notably, this assumption is suitable for many bulk material surfaces, for example, for systems possessing s-type valence orbitals or metallic surfaces, whose valence electrons are mostly delocalized, such that their Pauli repulsion with the electrons of adjacent surfaces are isotropic. Caution should be used in the case of very small gold contacts, for example, nano-clusters, where edge effects may become relevant. :::: The parameter file (e.g. CHAu.ILP), is intended for use with *metal* [units](units), with energies in meV. Two additional parameters, *S*, and *rcut* are included in the parameter file. *S* is designed to facilitate scaling of energies. *rcut* is designed to build the neighbor list for calculating the normals for each atom pair. :::: note ::: title Note ::: The parameters presented in the parameter file (e.g. BNCH.ILP), are fitted with taper function by setting the cutoff equal to 16.0 Angstrom. Using different cutoff or taper function should be careful. :::: This potential must be used in combination with hybrid/overlay. Other interactions can be set to zero using pair_style *none*. This pair style tallies a breakdown of the total interlayer potential energy into sub-categories, which can be accessed via the [compute pair](compute_pair) command as a vector of values of length 2. The 2 values correspond to the following sub-categories: 1. *E_vdW* = vdW (attractive) energy 2. *E_Rep* = Repulsive energy To print these quantities to the log file (with descriptive column headings) the following commands could be included in an input script: ``` LAMMPS compute 0 all pair saip/metal variable Evdw equal c_0[1] variable Erep equal c_0[2] thermo_style custom step temp epair v_Erep v_Evdw ``` ------------------------------------------------------------------------ Styles with a *gpu*, *intel*, *kk*, *omp*, or *opt* suffix are functionally the same as the corresponding style without the suffix. They have been optimized to run faster, depending on your available hardware, as discussed on the [Accelerator packages](Speed_packages) page. The accelerated styles take the same arguments and should produce the same results, except for round-off and precision issues. These accelerated styles are part of the GPU, INTEL, KOKKOS, OPENMP, and OPT packages, respectively. They are only enabled if LAMMPS was built with those packages. See the [Build package](Build_package) page for more info. You can specify the accelerated styles explicitly in your input script by including their suffix, or you can use the [-suffix command-line switch](Run_options) when you invoke LAMMPS, or you can use the [suffix](suffix) command in your input script. See the [Accelerator packages](Speed_packages) page for more instructions on how to use the accelerated styles effectively. ------------------------------------------------------------------------ ## Mixing, shift, table, tail correction, restart, rRESPA info This pair style does not support the pair_modify mix, shift, table, and tail options. This pair style does not write their information to binary restart files, since it is stored in potential files. Thus, you need to re-specify the pair_style and pair_coeff commands in an input script that reads a restart file. ## Restrictions This pair style is part of the INTERLAYER package. It is only enabled if LAMMPS was built with that package. See the [Build package](Build_package) page for more info. This pair style requires the newton setting to be *on* for pair interactions. The CHAu.ILP potential file provided with LAMMPS (see the potentials directory) are parameterized for *metal* units. You can use this potential with any LAMMPS units, but you would need to create your own custom CHAu.ILP potential file with coefficients listed in the appropriate units, if your simulation does not use *metal* units. ## Related commands [pair_coeff](pair_coeff), [pair_none](pair_none), [pair_style hybrid/overlay](pair_hybrid), [pair_style drip](pair_drip), [pair_style ilp_tmd](pair_ilp_tmd), [pair_style ilp_graphene_hbn](pair_ilp_graphene_hbn), [pair_style pair_kolmogorov_crespi_z](pair_kolmogorov_crespi_z), [pair_style pair_kolmogorov_crespi_full](pair_kolmogorov_crespi_full), [pair_style pair_lebedeva_z](pair_lebedeva_z), [pair_style pair_coul_shield](pair_coul_shield). ## Default tap_flag = 1 ------------------------------------------------------------------------ ::: {#Ouyang6} **(Ouyang6)** W. Ouyang, O. Hod, and R. Guerra, J. Chem. Theory Comput. 17, 7215 (2021). :::