Updated 11 Feb 2020
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 (2023). flow2d (https://www.mathworks.com/matlabcentral/fileexchange/74112-flow2d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Sciences > Physics > Fluid Dynamics >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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