Unformatted text preview: Plot compared to the exact solution, which is the same as the initial conditions. 2. Add weak spatial smoothing to each solution, consistent with the type of spatial derivatives being used, plot compared to the exact solution. A) second order spatial smoothing with the coefficient chosen to damp the 2 ∆ x wave. (use 64 and 256 grid points) B) 4 th-order compact smoothing with β = 0, α = 0.4, a = 0.925, b = 0.9, c = -0.025 (see page 57 of thesis notes). Use 64 and 128 grid points. C) Spectral cutoff filter, for de-aliasing k cutoff = 2/3 k max . Use 32 and 64 grid points only. A periodic tri-diagonal matrix solver and a FFT package is provided for the assignment. The FFT package provided uses only powers of 2 so the number of grid points needs to be 128, 256, 512,… a power of 2 (or 129, 257, 513,…) depending on method of periodicity. Plot the results with Tecplot....
View
Full Document
- Spring '07
- Slinn
- Power of two, grid points, Fast Fourier transform, periodic boundary conditions, Coastal and Oceanographic Engineering
-
Click to edit the document details