Borrar filtros
Borrar filtros

problem in plotting the velocity profile

1 visualización (últimos 30 días)
Souvick roy
Souvick roy el 12 de Nov. de 2018
Comentada: KSSV el 14 de Nov. de 2018
Respected sir i have attched one picture here , likethis picture i want to plot velocity(u) vs y plot my formula for velocity profile is below whatever I have done in Matlab code I am writing below the formulae
U = 1./mu.*(t_o.*(y-delta)+4.*alpha.*sqrt(t_o.*t_e).*exp(- alpha./(2.*delta))+t_e.*alpha.*(1-exp(-y./alpha)))
t_o=100
t_e=150
mu=0.3
delta=0.6
alpha values are 0.1,0.2,0.3,0.3,0.4,-0.2,-0.5

Respuestas (1)

KSSV
KSSV el 12 de Nov. de 2018
Editada: KSSV el 12 de Nov. de 2018
alpha = [0.1,0.2,0.3,0.3,0.4,-0.2,-0.5] ;
t_o=100 ;
t_e=150 ;
mu=0.3 ;
delta=0.6 ;
y = linspace(0,1) ;
figure
hold on
for i = 1:length(alpha)
U = 1/mu*(t_o.*(y-delta)+4*alpha(i)*sqrt(t_o*t_e).*exp(-alpha(i)/(2*delta))+t_e*alpha(i).*(1-exp(-y/alpha(i)))) ;
plot(y,U)
end
  6 comentarios
Souvick roy
Souvick roy el 14 de Nov. de 2018
sir i rename alpha by lamda
KSSV
KSSV el 14 de Nov. de 2018
YOu be sure of the formula, image and values associated with it.....the image says omething..it has beta and alpha also.

Iniciar sesión para comentar.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by