potential flow
http://simulations.narod.ru/
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:
http://www.youtube/watch?v=VGngHjK_fm0
potential flow
http://simulations.narod.ru/
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:
http://www.youtube/watch?v=VGngHjK_fm0