Compute Streamlines in Parallel and Antiparallel Directions
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a field vector on a 3D grid and I am using
XYZ = stream3(X,Y,Z,U,V,W,startx,starty,startz)
to calculate the streamlines. It works great when calculating the streamlines parallel to the flow. However, I need to find the streamlines upstream (antiparallel) and downstream of the seed points. Is there any way to do that?
0 Kommentare
Akzeptierte Antwort
Wick
am 1 Mai 2018
Just reverse your velocity fields.
XYZ_reverse = stream3(X,Y,Z,-U,-V,-W,startx,starty,startz)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Volume Visualization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!