A Blasius boundary layer (named after Paul Richard Heinrich Blasius) describes the steady two-dimensional laminar boundary layer that forms on a semi-infinite plate which is held parallel to a constant unidirectional flow.
Blasius obtained an exact solution for the Boundary Layer Equations by assuming a zero-pressure gradient.
This numerical solution considers the
Blasius Exact Solution for laminar boundary layer
flow over a flat plate.
The similarity variables are given as:
Where:
The Blasius similarity equation is given by:
The momentum equation for a hydrodynamic boundary layer over a flat plate is given as:
The velocity distribution in the boundary layer can be obtained by solving the equation above. The following boundary conditions are satisfied:
-
$(i)$ At$y = 0, \quad u = 0,$ -
$(ii)$ At$y = 0, \quad v = 0,$ -
$(iii)$ At$y = \infty , \quad u = U.$
The Blasius technique for an exact solution for the hydrodynamic layer lies in the conservation of the momentum equation and the continuity equation:
As
since
Also, as
The dimensionless velocity
Substituting the value of
Where,
The stream function,
Or,
The partial differential of the stream function with respect to
Or,
Here
Or,
Now,
Similarly,
Again,
Inserting the values of
Or,
Or,
Or,
Or,
Or,
The physical and transformed boundary conditions are:
Physical boundary conditions | Transformed boundary conditions |
---|---|
at |
at |
at |
at |
at |
at |
The Blasius equation (eqn.
This system of equation is then solved numerically using the fourth-order Runge-Kutta (RK4) numerical scheme.
A random number is used as the initial guess for
The code in this project requires at least C++17 to run.
Compile with flag -std=c++17
.
You can run the run.sh script
from the project root to run the solution,
or with CMake
and Ninja build
using run_with_cmake.sh.
The script requires CMake
version
Both scripts compile and run the solution in the
/solution/
directory in the working directory, but should be executed
from the project root.
clean.sh can be used to clean the compiled files and results.