Asked by Debasis Roy
on 11 Nov 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=106;

t_e=156;

deltavals = 0.6 ;

alphavals = [-0.3,- 0.2 ,-0.1,0, 0.1,0.2,0.3 ];

yvals = 0.3:0.1:1;

[ alpha, y] = ndgrid( alphavals, yvals);

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)))

plot(y,U,'-r') end

Opportunities for recent engineering grads.

Apply Today
## 4 Comments

## Image Analyst (view profile)

Direct link to this comment:https://www.mathworks.com/matlabcentral/answers/429170-facing-problem-about-plot-the-velocity-profile#comment_635549

## Debasis Roy (view profile)

Direct link to this comment:https://www.mathworks.com/matlabcentral/answers/429170-facing-problem-about-plot-the-velocity-profile#comment_635585

## Image Analyst (view profile)

Direct link to this comment:https://www.mathworks.com/matlabcentral/answers/429170-facing-problem-about-plot-the-velocity-profile#comment_644701

## Souvick roy (view profile)

Direct link to this comment:https://www.mathworks.com/matlabcentral/answers/429170-facing-problem-about-plot-the-velocity-profile#comment_645988

Sign in to comment.