Interesting Examples of Computational Physics
  • Welcome to the blog of Computational Physics at the IFM!
  • Dynamical Systems
    • The simple pendulum
    • The spherical pendulum
  • The wave equation
    • The simple discretization
    • Boundary conditions
    • Interfaces between mediums
    • Knots on ropes
    • 2D wave equation
  • Time dependent Schrödinger equation
    • The Crank-Nicolson method
    • Free wave packet
    • Quantum Tunneling
    • Harmonic Oscillator
    • Forced Harmonic Oscillator
    • 2D Harmonic Oscillator
    • Wave-particle duality
Powered by GitBook
On this page
  1. Time dependent Schrödinger equation

Quantum Tunneling

PreviousFree wave packetNextHarmonic Oscillator

Last updated 1 year ago

Numerical Domain
xmin = -4
xmax =  4
Nx = 4000
CFL = 0.125
Nt = 150000

Initial Conditions
p0 = 50.0
a = 0.25
psi = (2.0d0/pi/a**2)**0.25*exp(-((x+2.0d0)/a)**2)*exp(cmplx(0.0d0,p0*x))

Potential
if (|x| < 0.05):
    V = 1500
else:
    V = 0