Cadence CFD Boundary Layer Calculator Guide
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator estimates the boundary layer thickness for a flat plate in a fluid flow, a common starting point in CFD (Computational Fluid Dynamics) analysis. You enter the distance along the plate (x) and the flow velocity (U), and the calculator returns the boundary layer thickness (δ) for laminar flow, along with the displacement thickness (δ*) and momentum thickness (θ). It uses the classic Blasius solution for a laminar boundary layer on a smooth flat plate with zero pressure gradient.
Formula
The boundary layer thickness for laminar flow over a flat plate is given by the Blasius solution:
δ = 5.0 × √(ν · x / U)
δ* = 1.7208 × √(ν · x / U)
θ = 0.664 × √(ν · x / U)
Where:
- δ = boundary layer thickness (m)
- δ* = displacement thickness (m)
- θ = momentum thickness (m)
- ν = kinematic viscosity of the fluid (m²/s) — default 1.5×10�� m²/s for air at 20°C
- x = distance from the leading edge (m)
- U = freestream velocity (m/s)
The calculator uses a fixed ν of 1.5×10�� m²/s (air at about 20°C). If your fluid or temperature differs, adjust the formula manually or use the calculator as a starting point.
Worked Example
Using the default values: x = 1.0 m, U = 10.0 m/s, ν = 1.5×10�� m²/s.
- Compute the Reynolds number: Re = U·x / ν = 10.0 × 1.0 / 1.5×10�� = 666,667 (laminar, since Re < 5×10�).
- Compute √(ν·x/U) = √(1.5×10�� × 1.0 / 10.0) = √(1.5×10��) = 0.0012247 m.
- δ = 5.0 × 0.0012247 = 0.0061235 m = 6.123 mm (rounded to 6.123 mm).
- δ* = 1.7208 × 0.0012247 = 0.002107 m = 2.107 mm.
- θ = 0.664 × 0.0012247 = 0.0008133 m = 0.813 mm.
The calculator output matches these values, confirming the Blasius solution.
Why the Boundary Layer Matters in CFD
In CFD, the boundary layer is the thin region near a solid surface where viscous effects dominate. Its thickness determines mesh resolution: you need several cell layers inside δ to capture velocity gradients accurately. For a flat plate, the Blasius solution gives a quick estimate before building a mesh. For real airfoils or curved surfaces, the boundary layer grows differently, and pressure gradients cause separation—this calculator is only for flat plates at zero pressure gradient.
Engineers use δ to set the first cell height in a CFD mesh. A common rule is to place the first cell center at a y+ value of 1 for low-Reynolds models, but this calculator gives the overall thickness, not the first cell height.
How to Use the Result
The boundary layer thickness tells you how far from the wall the flow is affected by viscosity. For a flat plate at Re = 6.7×10�, δ is about 6 mm at 1 m downstream. That means the velocity profile changes from zero at the wall to 99% of freestream at y ≈ 6 mm. Use δ to:
- Set mesh growth rates: typically 10–20 cells across the boundary layer.
- Estimate skin friction drag: τ_w = 0.332 � U² / √Re_x.
- Check if flow is laminar or turbulent: Re_x < 5×10� is laminar; above that, transition occurs.
Common Mistakes and Limitations
Unit errors are the most frequent problem. The formula requires ν in m²/s and x in meters. If you input x in centimeters, the result will be off by a factor of 100. Always convert to SI units first.
The Blasius solution assumes:
- Smooth flat plate, no pressure gradient
- Incompressible flow (Mach < 0.3)
- Steady, 2D laminar flow
- Constant fluid properties
For turbulent boundary layers, the thickness grows faster: δ ≈ 0.37 x / Re_x^(1/5). This calculator does not handle turbulence. Also, real surfaces have roughness that trips transition earlier.
Choosing Between Laminar and Turbulent
To know which formula to use, compute the Reynolds number Re_x = U x / ν. If Re_x < 5×10�, the boundary layer is typically laminar. If Re_x > 5×10�, transition to turbulence begins, and the turbulent formula is more appropriate. In practice, transition depends on surface roughness, freestream turbulence, and pressure gradient. For a quick check, use the laminar formula for Re below 5×10� and the turbulent formula above.
Frequently Asked Questions
What is the difference between boundary layer thickness and displacement thickness?
Boundary layer thickness (δ) is the distance where velocity reaches 99% of freestream. Displacement thickness (δ*) is the distance by which the external flow is displaced outward due to the reduced velocity in the boundary layer. δ* is always smaller than δ, about 34% of it for laminar flow.
Can I use this calculator for airfoils?
No, not directly. Airfoils have pressure gradients that change the boundary layer growth. The Blasius solution is only for a flat plate with zero pressure gradient. For airfoils, use panel methods or CFD with proper turbulence models.
What is y+ and how does it relate to boundary layer thickness?
y+ is a dimensionless distance from the wall used in turbulence modeling. It depends on the friction velocity, not directly on δ. For a given δ, you can estimate the first cell height using empirical correlations, but this calculator does not compute y+.
Does the calculator work for water?
No, because the default kinematic viscosity is for air. For water at 20°C, ν ≈ 1×10�� m²/s, which is 15 times lower. You would need to modify the formula to use that value. The calculator is fixed to air.
How accurate is the Blasius solution?
It is exact for laminar flow over a smooth flat plate with zero pressure gradient. For real flows, accuracy depends on how well the assumptions hold. In practice, it gives a very good estimate for the initial mesh setup.
What is the critical Reynolds number for transition?
For a flat plate, transition typically occurs at Re_x ≈ 5×10�, but it can range from 3×10� to 10� depending on surface roughness and freestream turbulence. This calculator assumes laminar flow up to that point.
Alternatives and Extensions
For turbulent boundary layers, use the turbulent formula: δ ≈ 0.37 x / Re_x^(1/5). For compressible flows, add the Mach number correction. For real engineering geometries, CFD software like OpenFOAM or ANSYS Fluent solves the full boundary layer equations. This calculator is a quick hand-check tool to verify mesh spacing or to sanity-check CFD results.
If you need to account for a different fluid, adjust ν in the formula. For example, for water at 20°C, replace ν with 1×10�� m²/s. The calculator’s fixed value is a limitation, but the formula is straightforward to modify.
Related
Formula used
in x | Distance from leading edge | m | 1.0 | 0 in U | Freestream velocity | m/s | 10.0 | 0 out delta | Boundary layer thickness (δ) | mm | 5.0 * sqrt(1.5e-5 * x / U) * 1000 | 3 out delta_star | Displacement thickness (δ*) | mm | 1.7208 * sqrt(1.5e-5 * x / U) * 1000 | 3 out theta | Momentum thickness (θ) | mm | 0.664 * sqrt(1.5e-5 * x / U) * 1000 | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.