Compute Streamlines in Parallel and Antiparallel Directions

3 ビュー (過去 30 日間)
Orion
Orion 2018 年 4 月 30 日
コメント済み: Orion 2018 年 5 月 1 日
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?

採用された回答

Wick
Wick 2018 年 5 月 1 日
Just reverse your velocity fields.
XYZ_reverse = stream3(X,Y,Z,-U,-V,-W,startx,starty,startz)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVector Volume Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by