potential flow

Object can be drawn. Solve as electrostatic task.
Updated 15 Jan 2011

View License

This is simulation of liquid motion around object using potential flow method.

The velocity field is represented as external velocity plus influence from object that considered as electric field in some electrostatic task. potential flow means Laplace operator of potential is 0 that is electrostatic task. The electrostatic task is solved as set of point charge that charges need to find from condition for velocity to be tangent on object surface. All charges is on object surface or inside.

It is possible to draw object. Spline interpolation used.

Run main.m

See how it works in video:

Cite As

Maxim Vedenyov (2024). potential flow (https://www.mathworks.com/matlabcentral/fileexchange/30030-potential-flow), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Fluid Dynamics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes