How can I can get complete streamlines?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
KSSV
le 1 Fév 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);
Voir également
Catégories
En savoir plus sur Vector Fields dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!