[gpaw-users] Boundary conditions for poisson solver different for grid and pw mode?

Filip Anselm Rasmussen fras at fysik.dtu.dk
Fri Nov 28 11:31:11 CET 2014


Dear GPAW'ers

I am calculating the vacuum level of graphene and noticed that it varied 
with ~0.3 eV depending on whether I use FD or PW mode. The calculations 
seem to be very well comverged, so I plotted the in-plane averaged 
effective potential along the z-direction (see attached figures) and 
noted that even though I use periodic boundary conditions (even in the 
z-direction where I have only one k-point), the slope of the FD 
effective potential at the boundaries is not zero as I expected. In PW 
mode the slope seems to be zero.

So my question is: Does FD mode use non-periodic boundary conditions if 
there is only one k-point along some axis - even though you have 
pbc=True for your Atoms object?

Input scripts have been attached. I calculate the effective potential 
along z like this:

Veff_z = np.mean(np.mean(calc.get_effective_potential(), axis=0), axis=0)


Thanks,
Filip Rasmussen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Veff_comparison_zoom.png
Type: image/png
Size: 25920 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141128/b18e17e6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Veff_comparison.png
Type: image/png
Size: 35943 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141128/b18e17e6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gs_LDA_pw600.py
Type: text/x-python
Size: 972 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141128/b18e17e6/attachment-0002.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gs_LDA_fd.py
Type: text/x-python
Size: 914 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141128/b18e17e6/attachment-0003.py>


More information about the gpaw-users mailing list