Left side boundary condition
273 373 Ts,L = 373 [K] 0 150 qs″ = 100 [W/m2] 0 10,000 hL = 10 [W/m2-K] 273 373 T∞,L = 300 [K] 1 301 k = 10 [W/m-K] 0 10,000 q̇ = 0 [W/m3] 0 10,000 hR = 10 [W/m2-K] 273 373 T∞,R = 275 [K] Ts,L T∞,R, hR x

Directions

This simulation solves the heat equation in a 1-D, plane wall in the steady state. The boundary condition on the right side of the wall is convection with ambient fluid temperature T∞,R and convection coefficient hR. The boundary condition on the left side of the wall can be chosen with the radio buttons. Options include constant surface temperature at Ts,L, constant surface heat flux at qs″, and convection with ambient fluid temperature T∞,L and convection coefficient hL. Adjust all parameters with the respective slider bar and observe the change in the spatial temperature (left plot) and heat flux (right plot) profiles. Note that the uniform volumetric heat generation q̇ and the thermal conductivity of the wall k can also be adjusted. To simulate a constant surface temperature on the right hand boundary, increase hR to infinity (>10,000 W/m2K).

Details

The steady-state heat equation for a plane wall of thickness \(L\) with uniform volumetric heat generation \(\dot{q}\) and constant thermal conductivity \(k\) is:

\[ \frac{d^{2}T}{dx^{2}} + \frac{\dot{q}}{k} = 0 \]

Integrating twice yields the general solution for the temperature profile:

\[ T(x) = -\frac{\dot{q}\,x^{2}}{2k} + C_{1}x + C_{2} \]

and the heat flux is obtained from Fourier's law:

\[ q''(x) = -k\frac{dT}{dx} = \dot{q}\,x - C_{1}k \]

The right-side boundary condition is convection for all cases:

\[ -k\left.\frac{dT}{dx}\right|_{x=L} = h_{R}\left[T(L) - T_{\infty,R}\right] \]

1. Constant surface temperature   \(T(0) = T_{s,L}\):

\[ C_{2} = T_{s,L}, \qquad C_{1} = \frac{\dot{q}L + \dfrac{\dot{q}L^{2}h_{R}}{2k} + h_{R}\left(T_{\infty,R} - C_{2}\right)}{h_{R}L + k} \]

2. Constant surface heat flux   \(q''(0) = q_{s}''\):

\[ C_{1} = -\frac{q_{s}''}{k}, \qquad C_{2} = \frac{\dot{q}L + \dfrac{\dot{q}L^{2}h_{R}}{2k} + h_{R}T_{\infty,R} - C_{1}\left(h_{R}L + k\right)}{h_{R}} \]

3. Convection   \(-k\left.\dfrac{dT}{dx}\right|_{x=0} = h_{L}\left[T_{\infty,L} - T(0)\right]\):

\[ C_{2} = \frac{\dot{q}L + \dfrac{\dot{q}L^{2}h_{R}}{2k} + h_{R}T_{\infty,R} + \dfrac{h_{L}\left(h_{R}L + k\right)T_{\infty,L}}{k}}{h_{R} + \dfrac{h_{L}\left(h_{R}L + k\right)}{k}}, \qquad C_{1} = -\frac{h_{L}\left(T_{\infty,L} - C_{2}\right)}{k} \]

Symbols:

\(T\) = temperature [K]
\(x\) = position [m]
\(L\) = wall thickness (0.075 m)
\(k\) = thermal conductivity [W/m-K]
\(\dot{q}\) = uniform volumetric heat generation [W/m3]
\(q''\) = heat flux [W/m2]
\(q_{s}''\) = surface heat flux [W/m2]
\(h_{L},\,h_{R}\) = convection coefficients on the left and right surfaces [W/m2-K]
\(T_{\infty,L},\,T_{\infty,R}\) = ambient fluid temperatures on the left and right sides [K]
\(T_{s,L}\) = left surface temperature [K]
\(C_{1},\,C_{2}\) = integration constants

About

This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It is a JavaScript/HTML5 implementation of a MATLAB simulation by Keith Regner. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.

⚠️ Simulation Under ReviewThis content is still being reviewed for quality and accuracy and may be updated in the future. Feel free to send us feedback.