vort2dord4
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 fourth order gradients
- plots isolevels of vorticity
syntax
vortz=vort2dord4(X,Y,x_velocity,y_velocity)
example for input
vortz=vort2dord4(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
- gradient