vort2dord2
algorithm
- vorticity measures the tendency of a vectorfield to rotate around a point
- calculates vorticity of a vector field in each point of the field
- uses second order gradients of Matlab
- plots isolevels of vorticity
syntax
vortz=vort2dord2(X,Y,x_velocity,y_velocity)
example for input
vortz=vort2dord2(X,Y,x_velocity,y_velocity)
input arguments
| Name |
description |
| X,Y |
vectors defining the rectangular domain |
| x_velocity,y_velocity |
velocity components |
output arguments
| Name |
description |
| vortz |
vorticity around z-axis |
| plot |
isovalues of vorticity |
matlab tools required
corresponding 3d tools