Finite difference Schrodinger equation

4 replies · 2K views · last reply
aaaa202
Messages
1,144
Reaction score
2
I am simulating electrons inside a cylindrical well like the one shown on the first figure.
My current work has been on solving the Schrödinger equation numerically for the above potential and then finding corrections to the solution such that it is consistent with Poissons equation.
To do so I need to apply the inverse Laplacian to the electron density as shown in figure 2, which will give me the correction to the potential profile (at least in the first iteration). The problem is however, that applying the inverse Laplacian to the electron density shown gives me a correction as shown on figure 3. As seen it makes sense that this is peaked around the origin, since the electron density is highest at this point. What however doesn't make sense, is that it curves upwards in one direction and doesn't go to zero in a spherically symmetric manner. Everything in my problem has circular symmetry, so I have no idea why it doesn't go to zero with circular symmetry. Does anyone have an idea why this can be? Is it a numerical problem? I doubt so since my mesh size is not very big.
 
Attachments
  • 3D surface plot titled Potential profile showing a cylindrical well: a yellow-and-blue mesh with a flat rim at about 0 dropping to a floor near -8 × 10^-19, axes in units of 10^-8.
    1.png
    6.8 KB · Views: 824
  • Surface plot titled Electron density in well: a smooth bell-shaped peak centred on a square x-y grid, with z axis scaled by 10^24 running from 0 to 3.
    2.png
    12 KB · Views: 806
  • 3D surface plot titled "Correction to potential" over x and y from -1e-8 to 1e-8, z axis scaled by 1e-19 up to 1; a single broad peak near the centre falls off toward the edges, with a visible tilt rather than symmetric decay.
    3.png
    13.5 KB · Views: 793
It's hard to answer without more details of the method you use. It could indeed be due to the propagation of an error. Looking at figure 3, the correction seems to be symmetric along the right axis, but not the left axis. Is your calculation starting from the negative end of the left axis and then proceeds from negative to positive values of the left axis?
 
My 2d grid is indexed like the one attached. It starts at one corner and then the value of the wave function at each point on the grid represents an entry in an NxN dimensional vector.
 
Attachments
  • Square lattice of grey dots joined by dotted grey lines, six columns by six rows, numbered 1 to 10 along the bottom two rows and the row above them, in row-major order from the bottom-left corner.
    grid.png
    17.1 KB · Views: 786
For a given point the second order derivative is calculated using 4 points in the vicinity as marked by the red cross on the this figure. I guess this causes problems for points on the edge.
 
Attachments
  • Square grid of gray dots joined by dotted lines, numbered 1 to 10 along the bottom two rows, with a red plus-shaped cross centred on one interior dot marking the four neighbouring points.
    grid.png
    10.8 KB · Views: 788