Computing Exercises/Assignments
Matlab is available in ESB 1-39, but you may use any language you prefer.
If you select access to AFS when you "authenticate," you'll have access to your permanent UA file storage.
Labs for 2016
- Third scored lab (two options):
- Second scored lab, solving a steady-state heat equation in 2D.
Instructor's solutions for lab 2:
- Matlab solution with 5 x 5 gridpoints, i.e. Δ=0.25
- Matlab solution with 21 x 21 gridpoints, i.e. Δ=0.05
- Fortran 90 solution with 21 x 21 gridpoints, i.e. Δ=0.05; slices at y=0 and y=1/8
- Matlab solution with 51 x 51 gridpoints, i.e. Δ=0.02
For gridlengths Δ=(0.25,0.05), the numerical solution should give temperature peaks (at the origin) of respectively T(0,0) ≈(0.375,0.636)o. The analytic solution gives T(0,0)=0.6357o. As the number of terms included in the analytical solution increases to infinity, ever shorter waves (higher wavenumbers) contribute and the analytic solution captures the "peakiness" of the delta function. In the numeric solution, the equivalent progression towards the true solution is made by refining the resolution (reducing the gridlength Δ), so that the heat source, ideally a delta function (if seen in cross section through y=0), is represented by an increasingly narrow (but higher) triangle (always preserving unit area).
- First scored lab, an Eulerian treatment of surface layer dispersion.
- Lab 2 (unscored): a Random Displacement Model of dispersion in the atmospheric surface layer.
- Lab 1 (unscored): simulating dispersion in homogeneous turbulence by the Random Displacement Model
Computing exercises/assignments collected from previous years
Link to Earth & Atmospheric Sciences home page.
Last Modified: 11 Apr., 2016