Function flow2d produces a contour plot of streamlines, velocity field, and dynamic pressure field for the two-dimensional potential flow of incompressible fluid given by a complex potential. It is assumed that flow is stationary and that the fluid has no free surfaces. The influence of gravity is neglected.
flow2d('z + 1/z') produce contour plot of streamlines , velocity field and pressure field correspond to potential f(z) = z + 1/z.
milan batista (2020). flow2d (https://www.mathworks.com/matlabcentral/fileexchange/74112-flow2d), MATLAB Central File Exchange. Retrieved .
Change the title of the pressure field to Dynamic pressure field
Change the pressure field to dynamic pressure field
Correct calculation of the pressure field
add some new options and examples