Fourier spectral computation of geometrically confined two-dimensional flows door