Donald R.F . Harleman , a civil engineer who pioneered the study of the flow of contaminants through bodies of water and advised agencies that cleaned up Boston Harbor , Chesapeake Bay and bodies of water in several developing countries , died on Sept. 28 on Nantucket , in Massachusetts .