lmf in reduced dimensions
Summary
lmf can treat a system that is periodic in a plane and finite in the perpendicular direction, such as a slab, a monolayer or a surface, without periodic images along the third lattice vector. The cell contains the slab and a layer of vacuum, as in the usual supercell approach; in 2D mode the Coulomb interaction does not wrap around the cell along the third lattice vector, so a net dipole of the slab does not produce a spurious periodic-image electric field in the vacuum.
2D mode is switched on with the tag HAM_DIM_TWOD=1, which also selects the slab-truncated Coulomb kernel for the electrostatic potential, as described below (token VHAR, which follows TWOD by default). Self-consistency requires some care with the density mixing: see here for the reasoning; for a comparison of 2D and 3D results in a Ni/graphene system, see here.
Table of Contents
- What changes in 2D mode
- The HAM_DIM tag
- Density mixing in a slab: special considerations
- Test Case : graphene on Ni
- References
What changes in 2D mode
Reduction in periodicity appears in three places:
- Reduced periodicity in basis functions (Bloch’s theorem)
- Reduced periodicity in the Hartree potential and associated terms in total energy
- Reduced periodicity in the exchange potential (Fock matrix)
The last appears only in diagrammatic methods; as of this writing only the DFT part is implemented. It will be discussed here when available. Dealing with the Hartree potential has complications because of its long ranged nature. Options to deal with in Questaal’s lmf are explained below.
2D Ewald sums in the basis
The envelope functions are smoothed Hankel functions. Their Bloch sums, and the Bloch sums of the Gaussian functions needed to make matrix elements, are lattice sums that are evaluated by the Ewald method. In 3D the sums run over the three lattice vectors. The input file still requires three lattice vectors, for reasons explained below. But in 2D mode the translations run only over the two in-plane lattice vectors, PLAT(1) and PLAT(2). It is a requirement that PLAT(1) and PLAT(2) lie in the xy plane and that PLAT(3) point along z.
This is turned on by HAM_DIM_TWOD=1 for the envelope functions, and by HAM_DIM_VHAR=1 for the Gaussian and Hankel functions that enter the electrostatic potential (see below). The Ewald parameter and the real- and reciprocal-space lattice vector lists are generated in 2D mode, from the cell area, in a separate pass of the lattice generator; the 2D lists are not subsets of the 3D ones.
Coulomb kernel for Hartree and Exchange interactions
The Yukawa potential, , is the bare Coulomb potential (in Ry units) screened with a Thomas-Fermi function with screening wave number , , where is the Fermi energy of etf; the Hankel energy is . It has a Fourier transform
The electrostatic potential is obtained from Poisson’s equation. For a periodic system defined by reciprocal lattice vectors , it is the product of the bare Coulomb kernel () and the density
is made from in reciprocal space because of the simple algebraic relation between and there.
In 2D, periodicity is lost and the kernel must be Fourier transformed in to yield a mixed space representation:
With periodicity, become a set of discrete points and .
This representation is not convenient for solution of Poisson’s equation, as the relation between and is no longer algebraic. By keeping the interaction only for a window , where and is the supercell length along , and transforming back to reciprocal space, we obtain a truncated kernel [1,2], but once again defined in 3D reciprocal space.
The integral can be carried out
On the grid of points of the supercell, with , we get . Then and so the sin term drops out and
Some observations and caveats:
- Taking makes the bracket 1 and recovers the 3D case, .
- The sin term vanishes only on the grid with , so the form with alone is not valid for arbitrary . Thus enters explicitly into the formula.
- For the bare (unscreened) kernel, and . For the kernel diverges as when , with a finite remainder , so the term needs separate handling. In the DFT case the term is dropped, as in the 3D kernel.
- With there is no divergence at . The term is for , with no divergence needed to be removed. The truncation error is only of order , because the Yukawa tail is exponentially screened. That is why the truncation matters much less than for the bare Coulomb kernel.
- The kernel equals only for charge within of the point where it is evaluated. This is why the cell must be large enough that the slab and vacuum fit within , and why a margin is kept.
- With measured from the slab, the potential is valid only for . If , the potential for , or equivalently between and , is the mirror image (even about ; the electric field changes sign).
- For , where , continue with and take the real part, as in the principal-value prescription. Then , so the bracket oscillates in instead of decaying.
This is the exact potential of an isolated slab for charge confined to a region of thickness , so the slab and the vacuum must fit the cell accordingly (vacuum of at least on each side). The in-plane components decay as away from the slab, as for the true potential. The same truncation is applied to the Gaussian (compensating) charges.
The kernel is exact inside of all the charge. Farther away the planar average () of the truncated potential is the mirror image (even about ; the field changes sign) of that near the slab, as noted above; that is, it is not the correct vacuum potential. The next section fixes this.
Planar average of the potential in the vacuum
After the smooth electrostatic potential has been transformed back to the real-space mesh, the routine smvpln2d (in fp/smves.f) replaces the planar average of the potential ( component) outside the slab by its vacuum continuation. The components are left alone.
- The slab is bounded by the outermost atoms: the largest periodic gap in z between atoms is taken to be vacuum. The slab is extended on each side by the margin (HAM_DIM_MARGIN).
- Inside this region the planar average is unchanged.
- In the vacuum the planar average is replaced by the constant value it has at the edge on each side of the slab, and the two values are joined by a quintic step over the central half of the vacuum, so that the potential remains periodic and smooth.
The default margin is . The program prints the atom extent, the margin, and the step of the potential across the slab, for example
2D planar ves: atoms span z = 0.000 to 13.350, margin = 4.562 (zc = 22.738), step across slab (top-bottom) = -0.096190
The margin keeps the replacement away from the region outside the outermost atoms where the density is still appreciable. The program prints a warning if the slab plus margin do not fit within . With a negative value of HAM_DIM_MARGIN the replacement is skipped. In tests, switching the replacement on or off changed the force correction by at most 0.4 mRy/au.
The HAM_DIM tag
2D mode is controlled by the compound tag HAM_DIM in category HAM:
HAM_DIM[twod=1 vhar=1 margin=#]
| Token | Arguments | Default | Explanation |
|---|---|---|---|
| TWOD | i | 0 | 0: 3D periodic boundary conditions. 1: 2D periodic boundary conditions with vacuum above and below the atoms. 2: 1D periodic boundary conditions (a wire along z, with vacuum around the axis); see below. Selects the Bloch sums of the basis functions. |
| VHAR | i | same as TWOD | Coulomb kernel used to make the electrostatic (Hartree) potential. 0: 3D periodic boundary conditions. 1: truncated kernel: slab-truncated for TWOD=0 or 1 (see above), cylinder-truncated for TWOD=2 (see below). The lattice sums of the compensating densities are made in 2D (1D for TWOD=2), and the planar (axial for TWOD=2) average of the potential in the vacuum is replaced by its continuation. |
| MARGIN | r | not set | Used only when VHAR=1. Margin (a.u.) added to the slab limits when the planar average of the electrostatic potential is replaced by its vacuum continuation (see smvpln2d). For TWOD=2 it is added to the radius of the atoms about the axis; see below. If not set, the default is used, where is the slab thickness and is defined above. Any other negative value switches the replacement off. |
Example: The following fragment of a ctrl file turns on the 2D mode and keeps the default margin:
HAM ...
dim[twod=1]
Geometry requirements:
- the first two lattice vectors PLAT(1) and PLAT(2) must lie in the xy plane and PLAT(3) must be along z.
- the slab must have a thickness no greater than , with , with the charge confined to the slab (the vacuum must be at least on each side). See above. The density tails count: leave at least about 5 a.u. beyond the outermost atoms within ; see here. The program warns if the room is less than twice the largest augmentation radius.
Restrictions: a homogeneous background charge and the dipole correction are not available when VHAR=1.
Wire (TWOD=2)
Under development. TWOD=2 treats a system that is periodic only along PLAT(3), such as an atomic chain, with vacuum around the axis. It is the 1D analog of the slab: the Bloch sums of the basis functions and (for VHAR=1) of the compensating densities are made in 1D, and the Coulomb kernel is truncated to a cylinder of radius , the half-length of the shortest lattice vector in the plane perpendicular to the axis. With and the components of perpendicular and along the axis, the kernel is for and for ; the term is dropped as in 3D. The potential is exact for charge within of the axis. Beyond that radius the axially averaged potential is replaced by its exterior multipole continuation (the analog of the planar average in the slab), whose fit starts at the radius of the atoms plus the margin; unless you set HAM_DIM_MARGIN the margin is taken from the extent of the density (radius where the axial average of the smooth density falls below ).
Geometry requirements: PLAT(3) must be along z and PLAT(1), PLAT(2) in the xy plane; leave at least about 5 a.u. of density-free space beyond the density tails within . A homogeneous background charge and the dipole correction are not available. lmf announces the mode in the line special: … 1D ….
Status: for a dimerized carbon chain the smooth electrostatic potential of VHAR=1 agrees with a 3D calculation in a cell three times wider to about Ry out to the cell edge. Total energies, forces and self-consistent runs have not yet been tested.
TWOD and VHAR act independently and normally you should not set VHAR: its default follows TWOD. The Bloch sums of the compensating densities that correct the plane-wave potential must use the same kernel as the plane-wave sums, so they follow VHAR, not TWOD. The geometry requirements apply when either token is 1.
The mixed settings are not normally needed. In the five-atom slab of this section (vacuum of about 32 a.u.), TWOD=0 and TWOD=1 at the same VHAR gave the same total energies, RMS DQ and forces to at least seven digits over 10 iterations, because the basis functions decay within the vacuum; TWOD=1 was 10–18% faster in that test, since the 2D lattice lists are much shorter. The results depend on VHAR, not on TWOD.
Check that the tag is read with lmf --input (prints the help for HAM_DIM_TWOD, HAM_DIM_VHAR and HAM_DIM_MARGIN) and with --show=2 (prints what was read). The program announces the two switches in the line special: 2D, 2D-ves (2D for TWOD=1 and 2D-ves for VHAR=1).
Density mixing in a slab: special considerations
The density of a slab is mixed with the same algorithm as any other lmf calculation, controlled by the string ITER_MIX, but the choice of the model dielectric function that screens the density difference matters more. For slabs we recommend the option etf (Thomas-Fermi function) rather than elind (Lindhard function). The test case designed for this page uses the following
mix=a2,etf=0.83,b=0.2,n=10,k=10
together with the switch –floorxfer. Tests and tables are below.
In many systems several independent factors can be responsible for barriers to convergence. Here we cover some of the most common ones. Let be the difference between the output and input densities of an iteration. The simplest estimate for the next iteration is linear mixing, . In this expression, of is combined with . Its functionality is limited, for several reasons. The two most common ones are:
The Coulomb kernel connecting and may greatly amplify for a given , for some components. This is especially the case for slab geometries. The amplification can be greatly ameliorated by screening, as this page explains. However, for low-dimensional systems available model dielectric functions can artificially cause charge to spill into the vacuum. This page explains what occurs and how to address the issue.
Mixing of prior iterations. Knowledge of pairs from prior iterations can be used to greatly accelerate convergence. Questaal has two algorithms (Anderson and Broyden methods) designed to use such information for this purpose. See this page.
Why screening is important
Let be the difference between the output and input densities of an iteration. The change in the electrostatic potential caused by is (Ry units), so the small- components of have the largest effect. If the new input density is simply , these long-wavelength components make the potential, and then the output density, overshoot from one iteration to the next: charge sloshing. The cell of a slab is long in the direction perpendicular to the slab, so its smallest is small, and charge can slosh across it. The mixing step therefore replaces by , with a model dielectric function that is large at small (the “Kerker” idea; see here). In the language of the code, a screening charge is added to the output density.
Without screening the iteration for the test slab is unstable even for : with simple linear mixing the RMS DQ grew from 0.031 to 0.16 in six iterations. With screening it converges. At the smallest of the cell of this test, , so these modes are damped by that factor.
Origin of the floor
The screening charge is local in reciprocal space but nonlocal in real space. What the screening does with the differences in the slab, especially large ones, therefore affects what appears in the vacuum. The mixing step adds to the linearly mixed density the screened change . When a model is used for , some screening charge spills out into the vacuum, and creates a floor, especially when is large as it is in initial iterations. How much is spilled depends on the functional form of : The Lindhard function spills much more than the Thomas-Fermi function, as explained next, which is why it is recommended to use the latter.
The floor dies out slowly with self-consistency, because floor is removed by the mixing at a rate of per iteration. In this instance , so a single iteration reduces the floor density by only about 0.4%. A uniform shift cannot be used to remove it because the total charge must be conserved. Instead we use the algorithm activated by –floorxfer.
Why the Thomas-Fermi function is preferred in a slab
Expressions for the Thomas-Fermi and Lindhard functions are given here.
- For the Thomas-Fermi function is smooth, and the corresponding real-space kernel decays exponentially with the screening length . The screening charge generated in the slab does not reach far into the vacuum.
- The Lindhard function is non-analytic at . The screening charge oscillates in sign and does not decay as a simple exponential into slab, because of that. It deposits a small spurious density in the vacuum in every iteration.
Thus, while both T-F and Lindhard functions similarly provide the key damping of the small- components of , the nonanalytic behavior of Lindhard significantly exacerbates the unwanted spillage of charge into the vacuum. T-F does not remove the floor completely though. Switch –floorxfer explained below is designed to ameliorate this problem.
Both the Thomas-Fermi and the Lindhard model dielectric functions are defined by a single parameter, a Fermi energy (in Ry), from which the Thomas-Fermi wave number follows as . The strength of the damping is controlled by this parameter. You supply it with etf=# or elind=# in the mix string of ITER_MIX, as shown above. The results below used etf = 0.4, 0.83 and 1.6. The larger the value, the higher the Fourier components that are screened. Picking it too large (small) overdamps (underdamps) the screening. You can reach a good compromise by choosing etf=−#: this selects a default value, scaled by #. The default value itself comes from HAM_ELIND, which is unless you set it, meaning 0.7 times the free-electron gas value for the given volume and number of valence electrons (see here). For the test slab used here, this default is 0.83 Ry, which is 0.7 of the free-electron value (1.19 Ry), and it is why the tests used etf=0.83.
The –floorxfer and –rhopos switches
As mentioned earlier, screening via a model dielectric function can induce a spurious positive “floor” charge in the vacuum. It is also the case that spurious negative charges can appear as well, either for the same reason as the positive floor charge appears, but also because the local densities have representation in spherical harmonics. They have to be tabulated points on a (spherical) mesh to evaluate the exchange correlation energy, and because the is cut off at some maximum value, some points where the density is low might turn negative because of the approximation. Thus lmf has two switches to take care of different aspects of spurious positive or negative charges:
–floorxfer works in the mixing step, right after charge is mixed as described in the documentation for ITER_MIX. –floorxfer[~theta=#][~alpha=#][~pos] moves the charge that the mixing step leaves in the vacuum into the dense region, conserving the total charge. The result becomes the next input density and enters the mixing history. Only the smooth mesh density is changed. Its motivation, the derivation and its properties are given here. The defaults are and . The option ~pos also removes the negative points of the smooth density (see below).
–rhopos works when a density is supplied to make the potential, before the potential is built. It clips negative points of the smooth density and of the sphere (augmentation) densities, then rescales to keep the charge. The XC evaluation also uses the clipped density.
The ~pos option
The option ~pos also removes negative values of each spin density on the mesh, taking the charge they carry from the dense region (mathematics). Thus there are four possibilities
| mode | switches | acts on | what it does |
|---|---|---|---|
| A | –floorxfer | new input density, in the mixing step | Moves the vacuum charge into the dense region. Negative values are left alone. |
| B | –floorxfer~pos | new input density, in the mixing step | As A, and also removes the negative points of the smooth density of each spin on the mesh, taking the charge from the dense region. The result is the input density of the next iteration and is what enters the mixing history. Only the smooth density is changed. |
| C | –floorxfer –rhopos | input density, at the start of the iteration, before the potential is made | As A in the mixing step. Then –rhopos removes the negative points of the smooth density and of the densities in the augmentation spheres, restoring the charge by rescaling, and the exchange-correlation potential is evaluated from the positive density. |
| D | –floorxfer~pos –rhopos | both | The mixing step delivers an input density with no negative smooth density, so –rhopos should have little left to change on the mesh; it still covers the augmentation spheres and the density seen by the exchange-correlation potential. |
These different modes are analyzed for the test case below.
Test Case : graphene on Ni
This section provides detailed tests comparing 2D and 3D, together with tests of convergence to self-consistency, for a three-layer of slab with a monolayer of C on top.
The tests compare, for the five-atom slab, starting from free atoms with mix=a2,etf=0.83,b=0.2, 100 iterations each. The four runs differ in what is done about the negative density (tests A, B, C, D as described above).
The ctrl file is generated from the init file given in the box below.
LATTICE
# SPCGRP=
ALAT=1 UNITS=A
PLAT= 2.4890159 0.0000000 0.0000000
1.2445079 2.1555510 0.0000000
0.0000000 0.0000000 44.0645459
# 5 atoms, 2 species
SITE
ATOM=Ni X= 0.3333333 0.3333333 0.4538796
ATOM=Ni X= -0.3333333 0.6666667 0.5000000
ATOM=Ni X= 0.0000000 0.0000000 0.5461204
ATOM=C X= 0.0000000 0.0000000 0.5915083
ATOM=C X= 0.3333333 0.3333333 0.5915083
SPEC
NI MMOM=0,0,1
ATOM=Ni PZ= 5.4 5.4 4.4
ATOM=C PZ= 3.5 3.4
Comparing 2D and 3D calculations
In 3D the periodic images of a slab with a net dipole produce a spurious electric field in the vacuum. With the truncated kernel (VHAR=1) there is no such field, so the total energy and forces differ slightly from the 3D values for such a slab, even for a thick vacuum. The following compares the two modes for a five-atom slab (two species, not mirror symmetric, with a net dipole) and a cell with a.u., in which the atoms span 13.35 a.u. along z. Both runs start from free atoms, use Anderson mixing with Thomas-Fermi screening (mix=a2,etf=0.83,b=0.2) and –floorxfer (see below); they are converged to RMS DQ of about 5×10−6 (3D, 70 iterations) and 2×10−6 (2D, 90 iterations).
| 3D | 2D | |
|---|---|---|
| ehf (Ry) | −9261.0200825 | −9261.0198861 |
| ehk (Ry) | −9261.0200891 | −9261.0199274 |
| Maximum Harris force (mRy/au) | 29.3 | 29.4 |
| Maximum eigenvalue correction (mRy/au) | 0.1 | 0 |
Dependence on the vacuum thickness
The same calculation was done for three cells that differ only in the length of the third lattice vector: 0.8, 1.0 and 1.2 times that of the cell above. The atoms (spanning 13.35 a.u. along z) and the in-plane lattice are the same. All calculations use mix=a2,etf=0.83,b=0.2 and –floorxfer, start from free atoms and were iterated 90 times (70 for the 3D run of the middle cell, which is the one used in the comparison above). Here is the span of the atoms.
| L=36.4 a.u. | L=45.5 a.u. | L=54.6 a.u. | |
|---|---|---|---|
| z_c=L/2 (a.u.) | 18.19 | 22.74 | 27.29 |
| (z_c-t)/2: room beyond the outer atoms (a.u.) | 2.42 | 4.69 | 6.97 |
| Margin used by smvpln2d (a.u.) | 2.42 | 4.56 | 4.56 |
| ehf, 3D (Ry) | −9261.0201123 | −9261.0200825 | not run |
| ehf, 2D (Ry) | −9260.9891391 | −9261.0198861 | −9261.0200013 |
| ehf 2D − 3D (mRy) | +30.97 | +0.196 | |
| Maximum Harris force, 2D (mRy/au) | 46.7 | 29.4 | 29.3 |
It is seen that 3D is nearly independent of the length of the cell, while 2D is only so for the middle and larger cells.
There are two main possibilities: either the 2D basis set differs from the 3D basis set, with its artificial periodic images, or the differing treatment of the Hartree potentials is responsible. This can be checked by running 2D mode, but with VHAR=0. In this case, it turns out that the truncated kernel for the Hartree potential is responsible for poor agreement in the short vacuum case. The truncated Coulomb kernel is exact only for charge that is confined to a region of thickness . In the shortest cell only 2.4 a.u. are available beyond the outermost atoms, about the radius of the augmentation sphere (2.28 a.u.), so part of the density tail lies outside that region. In the middle cell there are 4.7 a.u. and in the longest 7.0 a.u.
Rule of thumb. Leave at least about 5 a.u. of vacuum beyond the outermost atoms, inside the truncation length, that is a.u., with and the span of the atoms. In this system 2.4 a.u. is not enough, and with 4.7 a.u. the energy is within 0.12 mRy and the forces within 0.10 mRy/au of those for 7.0 a.u. We did not test longer cells, so the energy at 7.0 a.u. may itself not be fully converged with respect to the length of the cell. The program prints a warning if is smaller than twice the largest augmentation radius (4.56 a.u. here). Note that this is a condition on the density and not only on the atoms.
Convergence of the density mixing in a slab
In a calculation for a slab (a cell with a large region of vacuum, in 3D or 2D mode), the density mixing algorithm can build up a small spurious density in the vacuum, a “floor”, of order 10−5 e/a.u.3. The floor is not present in the output density of the band calculation. It is made by the mixing step, and it persists because the screened RMS difference between input and output densities (printed as RMS DQ) is almost insensitive to it, so the iteration can look converged while the vacuum density is still wrong.
This section explains where the floor comes from, how to avoid it (Anderson mixing with Thomas-Fermi screening, option etf of ITER_MIX, and the switch –floorxfer) and shows how convergence depends on the screening parameter etf and the mixing parameter beta, in 3D and in 2D. The reasoning behind etf is given above, and the mathematics of –floorxfer in the self-consistency page.
Recommended settings
Anderson mixing with Thomas-Fermi screening, with etf of about 0.83 and beta between 0.1 and 0.2, for example in category ITER:
mix=a2,etf=0.83,b=0.2,n=10,k=10the switch –floorxfer on the command line (see below).
Do not rely on RMS DQ alone: also check that ehk and ehf agree. Do not judge forces before the iteration has converged; in the first iterations the Harris force can be particularly unreliable. You can get an estimate of how reliable the force is from the line printed in each iteration
Maximum Harris force = # mRy/au (site #) Max eval correction = #
The eigenvalue correction is the largest correction term in the force, in the same units, and the force can be trusted only when it is smaller than the force itself. The righ-hand figure below shows how both the force and the correction evolve with iteration number. You cansee that the force stabilizes at around the 10th iteration, even though the density is fairly far from self-consistency.
–floor
Four kinds of density correction schemes were run, cases A, B, C, D as described above.
Convergence rate. Left: RMS of each iteration for runs A–D, iterations 1–80. Right: run D, iterations 1–40: RMS (log scale, left axis), and the maximum Harris force and the maximum eigenvalue correction to it (linear scale, right axis, 0–100 mRy/au. Removing the negative density, by ~pos or by –rhopos, roughly halves the number of iterations needed to bring RMS below 10−3. The gain shrinks at tighter thresholds, differs between the variants (it is largest for B), and is gone at 3×10−5. None of the variants accelerates the final approach, which is the same slow long-wavelength mode in all runs, reducing RMS by a factor of 0.92–0.96 per iteration.
Run D: energy error, RMS DQ and charge moved by –floorxfer, iterations 1-40. Left: distance of ehf and ehk from the converged ehf, ehf∞ = −9261.0199200 Ry (log scale; ehf is always below ehf∞ and ehk above it), together with RMS (log scale, right axis). Right: charge moved by –floorxfer from the vacuum to the dense region in each iteration (open symbols: moved the other way). Over these 40 iterations the deviation of the density from self-consistency, RMS , falls by nearly three orders of magnitude (from 4×10−2 to 6×10−5), while the deviations of ehf and ehk from ehf∞ fall by about four and five orders of magnitude (from 0.2 and 9 Ry to 1×10−5 and 4×10−5 Ry). The total energy is thus variational in : its error falls faster than . Similarly, the forces stabilize quickly because of the eigenvalue correction term. From iteration 10 on the maximum Harris force stays between 26 and 34 mRy/au, approximately independent of . Without the correction, the error in the force would be approximately proportional to : the correction itself, which is the size of that error, falls with .
Dependence on etf and beta
Every test was started from free atoms (no restart file, no mixing file) with mix=a2, –floorxfer and the parameters shown, for 50 iterations. The cell is a five-atom slab; the 3D and 2D cells are identical, so 2D differs only in the treatment of the Coulomb interaction (2D mode). The figure shows all 50 iterations of every test, for 3D (left) and 2D (right). The top row is the RMS DQ and the bottom row is |ΔE| = |ehk − ehf| (Ry). Colors distinguish etf (0.4 blue, 0.83 orange, 1.6 green); dashed lines are beta=0.1 and solid lines beta=0.2.
RMS DQ and |ehk-ehf| versus iteration for etf=0.4, 0.83, 1.6 and beta=0.1, 0.2, in 3D (left) and 2D (right). The convergence is similar in 3D and 2D, though the final RMS DQ is somewhat lower in 3D in every case. With beta=0.1 the convergence is smooth, with no large jumps, for every etf but slow; beta=0.2 reaches a lower RMS DQ, but less smoothly. A larger etf damps the small- components more strongly, and etf=1.6 has fewer large jumps than the smaller values (etf=0.4 and 0.83 are similar), but it slows the convergence of the energy, most clearly in 2D with etf=1.6. etf=0.83 converges the energy better than etf=1.6 and the density comparably, so it is a good compromise. Also note that with the floor removed, ehk and ehf usually agree well before the RMS DQ is small.
References
[1] S. Ismail-Beigi, Truncation of periodic image interactions for confined systems, Phys. Rev. B73, 233103 (2006).
[2] C. A. Rozzi, D. Varsano, A. Marini, E. K. U. Gross, and A. Rubio, Exact Coulomb cutoff technique for supercell calculations, Phys. Rev. B73, 205119 (2006).