Creating a point mesh with an arbitrarily shaped hole

3 views (last 30 days)
Hello, I want to create a point mesh (such as the result of meshgrid) for the area around an arbitrary shape, in this case an airfoil. I want to do this so I can simulate the flow over an airfoil by finding the velocity at a point using my panel code, but I can't seem to find a good way to create the mesh such that any points within the airfoil are NaN. Any suggestions?

Accepted Answer

bym
bym on 14 Aug 2011
doc inpolygon

More Answers (0)

Categories

Find more on Airfoil tools in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!