Compute Streamlines in Parallel and Antiparallel Directions
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
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 Exchange에서 Volume Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!