Falkner - Skan equation is a third order non-linear ordinary differential equation which arises in the laminar boundary layer flow past wedge-like objects. (More details here). The equation reads,
where m is a constant representing the pressure gradient parameter. Our objective is to solve this differential equation for $ f(\eta)$ , for a given value of m using the boundary conditions,
$ f’(0)=0 \quad \rightarrow \text{ no-slip condition at the wall}$
$ f’(1)=1 \, \rightarrow \text{free-stream velocity is reached at the edge of the boundary layer}$
Generally, initial value problems (IVP) are preferred for ODEs. In the case of IVP, We will be given where to start and which direction to proceed. Then we use the differential equation to progress in that direction in a step by step manner. But here we have a boundary value problem. Shooting method is used in situations where a boundary value problem has to be solved using initial value methods. The method is described as follows.
Shooting method
Guess two values for $ f’'(0)$.
Solve the FS equation using RK4 method with initial conditions $ f(0)=0, f’(0)=0, f’'(0) = Guess1$.
Solve the FS equation using RK4 method with initial conditions $ f(0)=0, f’(0)=0, f’'(0) = Guess2$.
Find out the resulting boundary value $ f’(1)$ from both these solutions.
If the boundary value $ f’(1)$ is different from the required value $ f’(1)=1$, find a better initial guess using Secant method.
Solve the FS equation by RK4 method using the new initial value guess (obtained from secant method).
Repeat the process until the required boundary value $ f’(1)$ is obtained.
A Fortran program for solving the Falkner-Skan equation implementing the above algorithm is provided below. (Click on any part of the code and use right arrow key to scroll to right).
Line 114 in the above code calls the gnuplot program FS.plt to plot the solution. The most relevant plots for fluid dynamics in this problem are the streamwise velocity profile $ f’(\eta)$ and the wall-normal velocity profile given by,