How to plot streamlines for a fea unstructured mesh with given u,v velocities?

9 views (last 30 days)
I have a unstructured mesh with node coordinates and respective u,v velocities. The streamline plot fucntion needs monotonic data, is there any other way to plot stream lines using unstructured mesh?

Answers (2)

SALAH ALRABEEI
SALAH ALRABEEI on 5 Jun 2021
% try
quiver(x,y,u,v)

darova
darova on 5 Jun 2021
Use griddata to create monotonic data
  1 Comment
biot0p
biot0p on 26 Apr 2022
Typically meshes that come from complex geometries of FEA are actually unstructured, so griddata would not work in this case.
i found this link here, that plots steamlines from meshes, but one of the functions used (tsearch) is deprecated. It would be great if streamline simply had a way of plotting with meshes, like quiver does!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!