1
11.31 Stagnation plane flow of a fluid is encountered in welding applications.
For two-dimensional flow where the free stream horizontal component of
velocity is given by , the velocity distribution is determined by the
solution of the ODE for the non-dimensional function f :
with the boundary conditions:
, , and
where is dimensionless variable, and . The velocity components in the x and y
directions are u and v, respectively. Solve this two-point boundary value problem for by rewriting the
third-order ODE as a system of three first-order ODEs. Solve the system as though it was an initial value
problem. This requires an assumed value for at that gives a solution that satisfies the boundary
condition . For the infinity boundary condition use . Write a MATLAB program in a
script file that uses MATLAB’s built-in functions to solve the system of the three ODEs. The program first
determines two values for that, when used in the solution, bound the boundary condition at infinity.
Then, the program uses the shooting method with linear interpolation (Eq. (11.14)) to determine the solu-
tion to the problem. To determine two values for that, when used in the solution, bound the boundary
condition at infinity, start with the guess and , then use and , and so on.
Display the results in a plot of f versus , and a plot of versus (two separate figures). Note that
replacing with a number greater than 4.5 will cause numerical problems as the second derivative
vanishes and changes the ODE.
Solution
The following script solves this problem:
d3f
dη3
——––fd2f
dη2
——––0.5 df
dη
——
2
1––+0=
d2f
dη2
——––
η0=
1
30
—––
=