How can I can get complete streamlines?

2 views (last 30 days)
Naveen K S
Naveen K S on 1 Feb 2022
Commented: Naveen K S on 1 Feb 2022
Hello everyone,
I'm trying to plot streamlines for a flow field. In the code attached Im varying the starting point and number of elements. However I'm not able to plot the entire streamlines (empty space) as shown in the figure attached. Please suggest any changes in the code so that I get complete streamlines.

Answers (1)

KSSV
KSSV on 1 Feb 2022
You increase the value of n.
n=200; % change this
starting_x = zeros(1,n); % starting points for streamlines
starting_z = linspace(-0.05,0.05,n);
  1 Comment
Naveen K S
Naveen K S on 1 Feb 2022
Thank you for your reply. However here is no change in the results. I have also attached the flow field data in csv format.

Sign in to comment.

Categories

Find more on Vector Fields in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!