Solving Blasius Equation with the Shooting Method
The equation we wish to solve is f''' + (1/2)*f*f'' with f(0) = 0, f'(0) = 0, f'(inf) = 1. This equation arises in the theory of fluid boundary layers, and must be solved numerically. We recast this problem as a system of first-order ODEs: y = [f; f'; f''] = [y(1); y(2); y(3)] so that dy/dEta = y' = [f'; f''; f'''] = [y(2); y(3); -(1/2)*y(1)*y(3)] with y(1)(0) = 0, y(2)(0) = 0, y(2)(inf) = 1. This new system of equations may then be solved numerically using the shooting method. For a description of this numerical method, please follow the given link: https://en.wikipedia.org/wiki/Shooting_method.
Cite As
Mohammad Alkhadra (2026). Solving Blasius Equation with the Shooting Method (https://www.mathworks.com/matlabcentral/fileexchange/69310-solving-blasius-equation-with-the-shooting-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Ordinary Differential Equations >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
