from High Speed PIV and Hotwire post processing by Anurag
High Speed PIV and hotwire post processing routines

piv_variables.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                                                                  %%
%%   Copyright (C) 2005-2007  Anurag Singh                                                          %%
%%                                                                                                  %%
%%       This program/code snippet/file (hence forth refered as "library")                          %%
%%       is free software; you can redistribute it and/or                                           %%
%%       modify it under the terms of the GNU Lesser General Public                                 %%
%%       License as published by the Free Software Foundation; either                               %%
%%       version 2.1 of the License, or (at your option) any later version.                         %%
%%                                                                                                  %%
%%       This library is distributed in the hope that it will be useful,                            %%
%%       but WITHOUT ANY WARRANTY; without even the implied warranty of                             %%
%%       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                          %%
%%       Lesser General Public License for more details.                                            %%
%%                                                                                                  %%
%%       You should have received a copy of the GNU Lesser General Public                           %%
%%       License along with this library; if not, write to the Free Software                        %%
%%       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                  %%
%%                                                                                                  %%
%%   FILENAME:                                                                                      %%
%%      piv_variables.m                                                                             %%
%%                                                                                                  %%
%%   AUTHOR:                                                                                        %%
%%                                                                                                  %%
%%      Anurag Singh,                                                                               %%
%%      MS, 2007                                                                                    %%
%%      Aerospace Engineering & Mechanics                                                           %%
%%      University of Minnesota - Twin Cities.                                                      %%
%%      Minneapolis, MN 55455 (USA)                                                                 %%
%%                                                                                                  %%
%%      (currently working at: Exa Corporation, Burlington, MA 01803)                               %%
%%                                                                                                  %%
%%   CONTACT/EMAIL:                                                                                 %%
%%                                                                                                  %%
%%      anurag@aem.umn.edu                                                                          %%
%%      anurag9@gmail.com                                                                           %%
%%                                                                                                  %%
%%   SOURCE CONTROL INFORMATION:                                                                    %%
%%      None (since I was planning on putting it under source control since it has                  %%
%%      reached the critical file system size. Would be a good thing to put it under                %%
%%      source control while making changes.                                                        %%
%%                                                                                                  %%
%%   DESCRIPTION:                                                                                   %%
%%                                                                                                  %%
%%       PIV post processing global variables                                                       %%
%%                                                                                                  %%
%%                                                                                                  %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

global R_gas   
global mmHg_Pa 
global g       
global nu      
global rho_hg  
global num_files  
global num_datset 
global skip_files 
global folder_name
global file_name  
global blp_flname
global pivstat_flname
global data_folder
global flincr
global t_inf  
global p_inf  
global delta_p
global dP_pres  
global diapres  
global dt      
global fov     
global piv_z_pos   
global ccd_siz 
global int_w   
global capfreq 
global vecimfreq 
global t_inf  
global p_inf  
global rho_air
global piv_u_inf  
global u_exp  
global pix_m  
global piv_ubar 
global piv_ustd 
global piv_vbar 
global piv_vstd 
global sw2D 
global stdsw2d
global coreid
global u
global v
global x
global y
global NX NY NZ
global uim uim1
global vim vim1
global xim xim1
global yim yim1
global upiv_vstd 
global u_norm
global u_normplus
global v_plus
global piv_zplus   
global piv_ubarplus
global piv_ustdplus
global piv_vbarplus
global piv_vstdplus
global piv_uvstd
global tau_w   
global u_tau
global vort2D

global coreidtable core
global core_apdf core_maxswpdf

global swfrm swfrm1 idfrm pidfrm nidfrm markfrm pointcnt
global circ numcores
       
global cores swcores vortcores

global dudx dudy dvdx dvdy dfdx dfdy


global ufrm ufrm1 nuidfrm numregions
global fltx flty fltv newregid newregion slowregion mergregid

global tagidstack

global regions region_apdf region_minupdf region_lenpdf region_widpdf

global showplot

global thresh corethresh corefrm

global lenconvfac areaconvfac cellarea 

Contact us at files@mathworks.com