Changes between Version 4 and Version 5 of Tutorial/ComparaisonNumSolution


Ignore:
Timestamp:
Feb 19, 2015, 3:14:12 PM (6 years ago)
Author:
vaillant1p
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/ComparaisonNumSolution

    v4 v5  
    1111== Synthetic Images ==
    1212In the folder '!AnalyticFlows', select one of the images from the 'a3b' series. It shows a diagonal uniform flow running from the bottom left corner to the top right one. '''[RUN]''' a PIV on the images series only using '''[CIV1]''', '''[FIX1]''' and '''[PATCH1]''' with the default parameters.
    13 Then '''[Open]''' one of the vector files (.civ) created. We need to substract the numerical solution to this image in order to keep only the errors between our calculation and the theorical one. Select the mall red square'''[SubField]''' under the '''[Input]''' table to open a second file in '''uvmat'''. Open the netcdf file of the synthetic solution 'a3b_sol_num.nc'. The GUI '''get_field''' pops up, select 'vectors' in the '''[!FieldOptions]''' table and 'U' and 'V' in the right and left tables under '''[Ordinate]'''. The '''[Coordinates]''' should still remain as 'X' and 'Y'. Click on '''[OK]'''. An 'ERROR' window pops up, select '''[OK]''' and close the GUI '''set_object]''' which automatically popped up.
     13Then '''[Open]''' one of the vector files (.civ) created. We need to substract the numerical solution to this image in order to keep only the errors between our calculation and the theorical one. Select the mall red square'''[!SubField]''' under the '''[Input]''' table to open a second file in '''uvmat'''. Open the netcdf file of the synthetic solution 'a3b_sol_num.nc'. The GUI '''get_field''' pops up, select 'vectors' in the '''[!FieldOptions]''' table and 'U' and 'V' in the right and left tables under '''[Ordinate]'''. The '''[Coordinates]''' should still remain as 'X' and 'Y'. Click on '''[OK]'''. An 'ERROR' window pops up, select '''[OK]''' and close the GUI '''set_object]''' which automatically popped up.
    1414
    1515On the left hand side of '''uvmat''' select the '''[Tranform]''' function 'diff_vel'. If this one does not appear on the list, click on 'more...' and select 'diff_vel.m' from the folder 'UVMAT/transform_field'. The difference between the two vectors should run automatically and the result appears in '''uvmat'''. Selecting '''[<-]''' and '''[+>]''' we can go through all the series observing the difference result on screen. A single file will be easier to observe the errors between the analytic and synthetic solutions. As we do not want to focus on the borders of the images we are going to create a '''[Projection object/rectangle]''' of '''[Max]''' (100, 100) with a center at x=128 and y=128. You can change this parameters once you drew the rectangle in '''set_object'''.