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 CenterFile Exchange에서 Vector Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by