This MATLAB simulation solves the heat equation in a 1D, 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. Edit the slider bar limits in the m-file to change the available range of parameters. Note that all initial values must be within the range of the slider limits.
NOTE: To simulate a constant surface temperature on the right hand boundary, increase hR to infinity (>10,000 W/m2K).
This simulation runs on desktop using the free Wolfram Player. Download the Wolfram Player here.
This simulation was made at the University of Colorado Boulder, Department of Chemical and Biological Engineering. Author: Keith Regner