Understanding Atmospheric & Oceanic Flows: |
|
The goal of this seminar is to introduce participants to the application of cross-correlation analysis to the measurement of fluid flows in the atmosphere and oceans. These flows carry heat around the planet and so dictate the state of our climate. It is possible to study aspects of the real-world flows by building physical laboratory analog models. Using particles that are artificially embedded in the laboratory flows it is possible to take successive images of the particle's positions and by cross correlation determine how far the particles have moved -- and by inference, since the time between images is controlled by the observer, basic statistical properties of the fluid flow can be determined.
| Time (am) | Activity |
| 9:00 - 10:00 | Lecture |
| 10:00 - 10:30 | Laboratory Visit |
| 10:30 - 11:30 | Computing Exercise |
| 11:30 - 12:00 | Participant Reports |
The seminar is divided into four parts. First, a lecture will present an overview of basic elements of the earth's climate system and how atmospheric (e.g., the Jet Stream) and oceanic (e.g., the Gulf Stream) flows affect the climate we experience today and how that climate was radically different some 15,000 years ago (i.e., the last ice age). The basic mathematics of cross-correlation and the numerics and implementation of an efficient algorithm on a computer will be discussed. Third, the practical aspects of retrieving two sequential images of fluid flow with embedded particles will be covered, including details of image recovery (e.g., remote from artificial satellite or local by desktop camera), lighting (e.g., natural by sunlight or artificial by laser light sheet), particle seeding (e.g., natural by plankton or artificial by microspheres), and other pertinent aspects. The final part of the lecture will be the presentation of a computer code (in MATLAB) that implements the cross-correlation which receives as input sequential images of a fluid and produces as output the fluid's flow field. The lecture notes are available in PowerPoint format.
The second part of the seminar will be a visit to the nearby NYU Environmental Fluid Dynamics Laboratory (EFDL) where physical laboratory experiments of fluids on a turntable (mimicking the earth's rotation) are performed. A laser-based system which illuminates glass microspheres embedded in the fluid is used to measure the details of the fluid's flow. An underlying premise is that a laboratory experiment flow mimics certain aspects of the real flows that occur in the atmosphere and oceans.
A hands-on computational exercise using the MATLAB programming language will make up the third part of the seminar. A basic tutorial on using MATLAB is made available at the seminar web page. The application code used to compute fluid velocity by cross correlation is also found there. The participant exercises involve computing fluid flow under a variety of conditions, e.g. good lighting versus poor lighting, etc.
The final part of the seminar will consist of presentations by the participants of the results obtained in their computing exercises and summaries of their understanding of the basic principles underlying measuring fluid flow by cross-correlation analysis.
Oceanic flow fields can be determined by using an analysis technique known as feature tracking. The idea is to take two sequential images of the ocean surface and to employ an algorithm that can determine the spatial displacement of identifiable features embedded within the surface flow. For example, plant life in the ocean can be detected as phytoplankton pigment concentration by satellites. Here are two sequential images (a and b) of chlorophyll-a data collected over the US east coast on May 8, 2000 by two different satellites at time spacing of 67 minutes. An example of fluid flow computed for these waters using a feature-tracking algorithm is:

A related technique, and one that is becoming quite popular in the study of fluid flows on small scales (such as in a physical laboratory), is particle image velocimetry (PIV). This technique and its application of cross-correlation analysis is the focus of this seminar. The technique can be used to produce a velocity map from two sequential images of "seeded" fluid flow. The seeds usually consist of small hollow glass spheres (typically 10 micron diameter and neutrally buoyant). The seeds are illuminated by a laser light sheet and their instantaneous spatial pattern is captured by a digital, cross-correlation camera. As an example of two sequential images we provide pictures base and cross. Using cross-correlation analysis, the PIV technique provides an estimate of the fluid velocity field (shown as red arrows):

Computer hardware and software resources will be provided during the seminar. For the former, we will use PCs; for the latter, MATLAB running under a Windows OS. Persons without MATLAB experience should browse an online tutorial prior to attending the seminar. For a hands-on demonstration of PIV analysis of the above sample images, participants will carry out the following actions:
>>",


>> piv_gui"
to launch the graphical user interface (GUI),

Default Parameters"
RUN !" to produce a PIV analysis,
The particular PIV software we are using is called URAPIV and it originates from a webpage maintained by Alex Liberzon. It is a collection of MATLAB routines (i.e., M-files) specifically developed for analysis of raw PIV data, and it comes complete with two sample images. The M-files and images are:
cross_correlate.m
default_parameters.m
find_displacement.m
piv.zip
piv_gui.m
read_image_dir.m
read_image_dir.m
simple_flow (example of a user-specified images directory)
exp1_001_b.bmp and exp1_001_c.bmp as well as an image of PIV analysis of flow as result.jpg
sub_pixel_velocity.m
ura_piv.m
An alternative PIV package known as mpiv is available here, and one known as CIV available here. Additional PIV images are available from the PIV standards webpage.
Make a directory under the current directory.
Put there two images named something like 'anyname_001_b.bmp' and 'anyname_001_c.bmp'.
Any additional pair of images would be with suffix '_b.bmp' and '_c.bmp' and prefix numbered as 'anyname_###'.
Default directory name: 'simple_flow' (string)
inter_window_size - interrogation window size in pixels, same in X and Y directions
(Must be power of 2, i.e., 2^N)
Default: 32
inter_window_overlap - interrogation window overlap in pixels, same in X and Y directions
(Must be power of 2, i.e., 2^N)
Default: 32
Signal-to-noise calculation method:
'Peak-to-Peak Ratio' means that the second largest peak in the interrogation window is found and used for ratio calculation with the largest peak,
'Peak-to-Mean Ratio' means that the mean of the interrogation window is used for the ratio calculation with the largest peak
Default: 'Peak-to-Peak Ratio
Signal-To-Noise-Ratio-Limit
(1 means no limit, OFF)
Default: 1
Real-world time delay between images in a pair
(Hit 'Enter' after typing number into GUI box)
Default: 1 s
Real-world spatial displacement between two pixels
(Hit 'Enter' after typing number into GUI box)
Default: 1 m
Global outliers limit
(100 means almost OFF)
Default: 100
During the run you'd be asked of Crop vector, when the grid of images are Interrogation area X Interrogation area size, so you just look at the pictures (first and second) and choose how many rows/columns of 32x32 pixels blocks you should remove. Press 'Enter', if you don't want to crop you images. For example, a possible crop vector is [ 3 0 5 0] - 3*32 pixels crop from the left, 5*32 pixels crop from the right, and no crop from the top and from the bottom.
Default: [0 0 0 0]
Sets all default parameter values.
(Must be executed at start up).
Results are:
Cropped first image with a quiver plot.
Directory 'images' contains txt files 'filtered', 'unfiltered', 'final' (filtered and interpolated, or 'filled').
Closes the PIV GUI, but does not close MATLAB.
(Enter 'Quit' from the MATLAB prompt to close down MATLAB).
|
. © David Holland. All Rights Reserved. |
|
If you would like further information concerning any of the above topics please send email . |