How can I can get complete streamlines?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (1)
KSSV
am 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);
Siehe auch
Kategorien
Mehr zu Vector Fields 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!