Changes between Version 48 and Version 49 of Tutorial/ParticleImageVelocimetry


Ignore:
Timestamp:
Mar 23, 2015, 5:42:41 PM (10 years ago)
Author:
vaillant1p
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/ParticleImageVelocimetry

    v48 v49  
    77The Particle Image Velocimetry (PIV) computation measures the displacement of features in a pair of images. Visual evidence of feature displacement between the two images is a prerequisite  for the success of the computation. To observe this motion, write the file indices 1 and 2 in the boxes '''[i1]''' and '''[i2]''' respectively, in the frame '''[File Indices]''' on the left. Then push the red button '''[<-->]''' in the frame '''[Navigate]''', see figure. The image then alternatively switches from 1 to 2. The speed of motion can be adjusted with the slider '''[speed]'''. Press '''[STOP]''' to stop the motion.
    88
    9        [[Image(movie1-2.JPG)]]
     9  [[Image(movie1-2.JPG)]]
    1010
    1111== Launching PIV ==
     
    1616The operation produces a  file with format netcdf, named with extension '.nc', in a folder called 'Images.civ'. This can be viewed by pressing '''[STATUS] '''in the GUI '''series''', which displays the result file 'frame_1-2.nc'. The index string '_1-2' indicates that it results from images 1 and 2. Select the file name and press '''[OPEN]''' to open it directly with '''uvmat''', or use the browser of '''uvmat'''.
    1717
    18         [[Image(Civ_1.JPG)]]
     18  [[Image(Civ_1.JPG)]]
    1919
    2020== Visualizing  the velocity fields ==
     
    4141A contour plot can be obtained instead of a color map by selecting the option 'contour' in the menu '''[!ListContour]''' in the frame''' [Scalar] '''. Then select the contour interval, for instance 0.5. The result is shown in the following figure.
    4242
    43     [[Image(contours.JPG)]]
     43  [[Image(contours.JPG)]]
    4444
    4545== Spatial derivatives ==
     46To get the vorticity field, 'curl', and other spatial derivatives, you need to come back to the GUI''' series''' with images in '''[Input Files]''' and '''[Action]''' as 'civ_series'. In''' civ_input''', select the check boxes '''[FIX1] ''' and  '''[PATCH1] ''', validate the input with '''[OK]''', then press '''[RUN]''' in the GUI '''series'''. A question box appears to warn about the existence of the result file, answer '''[OK]''' to refresh it with the new data. Otherwise the results are stored in a new subdirectory with extension '.civ1', so the previous results are not erased (you can modify this extension by editing the boxe '''[!OutputDirExt]''' in the GUI '''series'''.
    4647
    47 To get the vorticity field, 'curl', and other spatial derivatives, you need to come back to the GUI''' series''' with images in '''[Input Files]''' and '''[Action]''' as 'civ_series'. In''' civ_input''', select the check boxes '''[FIX1] ''' and  '''[PATCH1] ''', validate the input with '''[OK]''', then press '''[RUN]''' in the GUI '''series'''. A question box appears to warn about the existence of the result file, answer '''[OK]''' to refresh it with the new data. Otherwise the results are stored in a new subdirectory with extension '.civ1', so the previous results are not erased (you can modify this extension by editing the boxe '''[!OutputDirExt]''' in the GUI '''series'''.
    48 
    49 This will produce an interpolated velocity field and their spatial derivatives in the same netcdf file.  After this operation vorticity can be visualized in the GUI  '''uvmat''', selecting the option 'vort' in the popup menu '''[!FieldName]'''.
     48This will produce an interpolated velocity field and their spatial derivatives in the same netcdf file.  After this operation vorticity can be visualized in the GUI  '''uvmat''', selecting the option 'curl' in the popup menu '''[!FieldName]'''.
    5049
    5150== Superposing image and vectors ==
     
    5453[[Image(Tutorial5 - Image+Vectors.png)]]
    5554
    56 Similarly, the velocity vectors can be superposed to the vorticity field, selecting 'vort'''' ''' in '''[!FieldName_1]''' instead of 'image'''''''.'''
     55Similarly, the velocity vectors can be superposed to the vorticity field, selecting 'curl' in '''[!FieldName_1]''' instead of 'image'.
    5756
    5857== From pixel displacement to physical velocity ==