image thumbnail
from Velocity Profile of Laminar Flow of Power Law fluid in a Pipe by Housam Binous
velocity profile of laminar flow of a power law fluid

f=zero(x)
% Author: Housam Binous

% Velocity Profile of Laminar Flow of Power Law fluid in a Pipe

% National Institute of Applied Sciences and Technology, Tunis, TUNISIA

% Email: binoushousam@yahoo.com

% We use the shooting method to get the no-slip boundary 
% condition at the pipe wall 

function f=zero(x)

global kappa n rend

X0=[0,x];

[r X]=ode45(@goveq,[1e-5 rend],X0);

f=X(end,2);

end

Contact us at files@mathworks.com