This notebook solves the steady, two-dimensional, incompressible laminar boundary layer over an isothermal flat plate (constant properties, zero pressure gradient, negligible viscous dissipation). It computes the exact similarity solution for the velocity field (Blasius) and for the temperature field (Pohlhausen), and uses them to obtain the wall shear stress and the heat-transfer coefficient.
Governing equations
Similarity transformation
Similarity transformation
With the similarity variable η = y , the stream function ψ = f(η)(so that u = V f’(η)), and the dimensionless temperature θ = (T - T_surface)/(T_∞ - T_surface), the partial differential equations reduce to two ordinary differential equations:
V
νx
Vνx
◼
Blasius: with
◼
Pohlhausen: with
Solution method
Solution method
1
.The Blasius equation is nonlinear. It is solved by shooting: the unknown wall curvature s = f’’(0) is adjusted with FindRoot until f’(etamax) = 1. The result is f’’(0) = 0.332057.
2
.The Pohlhausen equation is linear in θ¸ once f is known. It is integrated with θ¸θ’(0) = 1 and then rescaled by 1/θ(etamax), which gives the true wall gradient θ’(0) without a second shooting loop.
3
.The exact θ’(0) is compared with the correlation 0.332 Pr^(1/3) and with the Churchill-Ozoe expression valid for all Pr.
4
.Velocity and temperature profiles are plotted, and the Pr = 1 limit (where θ = f’) is used as a check.
Main results
Main results
◼
Skin friction: C_f,x = 2 f’(0) Re_x^(-1/2) = 0.664 Re_x^(-1/2)
◼
Boundary-layer thickness: δ = 5 x / Re_x^(1/2)
◼
Local Nusselt number: Nu_x = θ’(0) Re_x^(1/2) ≈ 0.332 Re_x^(1/2) Pr^(1/3) (for Pr ≳ 0.6)
◼
Plate-average Nusselt number: Nu_L = 2 θ’(0) Re_L^(1/2) ≈ 0.664 Re_L^(1/2) Pr^(1/3)
Notes
Notes
◼
etamax = 10 is adequate for Pr ≳ 0.6. For liquid metals (Pr ≲ 0.05) increase it to about ; for very large Pr the thermal layer is much thinner than the velocity layer, so check convergence in etamax.
10
Pr
◼
Evaluate fluid properties at the film temperature T_f = (T_surface + T_∞)/2.
◼
The later cells use etamax, s0 and the Blasius solution defined first.
In[]:=
etaMax=10;(*Blasius:2f'''+ff''=0,f(0)=f'(0)=0,f'(∞)=1*)(*Shootons=f''(0)*)fpInf[s_?NumericQ]:=NDSolveValue[{2f'''[x]+f[x]f''[x]==0,f[0]==0,f'[0]==0,f''[0]==s},f'[etaMax],{x,0,etaMax}];s0=s/.FindRoot[fpInf[s]==1,{s,0.3,0.4}](*s0=0.332057*)
Out[]=
0.332057
In[]:=
blas=NDSolve[{2f'''[x]+f[x]f''[x]==0,f[0]==0,f'[0]==0,f''[0]==s0},f,{x,0,etaMax}];
Plotf'[eta]/.blas,{eta,0,etaMax},
Out[]=
Pohlhausen:θ’’+(Pr/2) f θ’=0, θ(0)=0, θ(∞)=1*)
The equation is linear in θ: solve with θ’(0)=1,then rescale by 1/θ(∞)
thetaSol[Pr_?NumericQ]:=NDSolve[{2f'''[x]+f[x]f''[x]==0,f[0]==0,f'[0]==0,f''[0]==s0,th''[x]+(Pr/2)f[x]th'[x]==0,th[0]==0,th'[0]==1},{f,th},{x,0,etaMax}];thetaPrime0[Pr_?NumericQ]:=Module[{sol=thetaSol[Pr]},1/(th[etaMax]/.First[sol])];
PeList={0.005,0.01,0.05,0.1,0.5,1,5,10};peSol=Table[pfunall[pe,DaBaseline,KeqBaseline],{pe,PeList}];peSummary=outletSummary/@peSol;peTable=Table[Prepend[peSummary[[k]],PeList[[k]]],{k,Length[PeList]}];
Compare with the 0.332 Pr^(1/3) correlation
tbl=Table[{Pr,thetaPrime0[Pr],0.332Pr^(1/3),0.3387Pr^(1/3)/(1+(0.0468/Pr)^(2/3))^(1/4)},{Pr,{0.7,1,7,100}}];TableForm[tbl,TableHeadings->{None,{Style["Pr",Darker@Red],Style["θ'(0) exact",Darker@Green],Style["0.332*Pr^(1/3)",Darker@Green],Style["Churchill-Ozoe",Darker@Green]}},TableSpacing->{4,4}]
Out[]//TableForm=
Pr | θ'(0) exact | 0.332*Pr^(1/3) | Churchill-Ozoe |
0.7 | 0.29268 | 0.294784 | 0.289484 |
1 | 0.332057 | 0.332 | 0.328517 |
7 | 0.645922 | 0.635093 | 0.642286 |
100 | 1.57183 | 1.54101 | 1.56975 |
PlotEvaluate@Table[Module[{sol=thetaSol[Pr],c=thetaPrime0[Pr]},c(th[x]/.First[sol])],{Pr,{0.7,1,7,100}}],{x,0,8},
Out[]=
Pr=1 check:θ should equal f’
Module[{sol=thetaSol[1],c=thetaPrime0[1]},Max@Table[Abs[c(th[x]/.First[sol])-(f'[x]/.First[sol])],{x,0,8,0.1}]]
Out[]=
1.00775×
-7
10
CITE THIS NOTEBOOK
CITE THIS NOTEBOOK
Laminar flat-plate boundary layer: Blasius and Pohlhausen solutions
by Housam Binous
Wolfram Community, STAFF PICKS, October 7, 2026
https://community.wolfram.com/t/28281/1
by Housam Binous
Wolfram Community, STAFF PICKS, October 7, 2026
https://community.wolfram.com/t/28281/1