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

6 visualizzazioni (ultimi 30 giorni)
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?

Risposte (2)

SALAH ALRABEEI
SALAH ALRABEEI il 5 Giu 2021
% try
quiver(x,y,u,v)

darova
darova il 5 Giu 2021
Use griddata to create monotonic data
  1 Commento
biot0p
biot0p il 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!

Accedi per commentare.

Categorie

Scopri di più su Vector Fields in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by