Spectral methods#

Fourier pseudo-spectral time stepping for periodic problems, and Chebyshev collocation for boundary-value problems, checked against the Hopf-Cole exact solution of viscous Burgers’ equation.

Fourier pseudo-spectral methods: Burgers’ equation

Fourier pseudo-spectral methods: Burgers' equation

Chebyshev collocation: spectral accuracy without periodicity

Chebyshev collocation: spectral accuracy without periodicity

Burgers’ equation and the Hopf-Cole transformation

Burgers' equation and the Hopf-Cole transformation