Printed in Great Britain.
0949-149X/91 $3.00+0.00
# 2004 TEMPUS Publications.
Use of a Spreadsheet Package to
Demonstrate Fundamentals of
Computational Fluid Dynamics and
Heat Transfer*
MARK SCHUMACK
University of Detroit Mercy, Mechanical Engineering Department, P.O. Box 19900, Detroit, MI 48219,
USA. E-mail: schumamr@udmercy.edu
This paper describes how the Solver tool in Microsoft Excel can be used to solve nonlinear systems of equations resulting from finite difference discretization of the governing equations for fluid dynamics and heat transfer. Students learning computational fluid dynamics and heat transfer for the first time typically spend an inordinate amount of time struggling with algorithm development and programming issues. The use of the visual presentation and automated solution capabilities of
Excel can help bolster the student 's understanding of basic discretization issues unencumbered by programming details. Cell formatting can be used to visualize the geometry and how the grid variables interact with one another, a feature that is particularly helpful when dealing with irregular geometries or staggered grids. Results can be easily shown on contour or x-y plots. Although the number of grid points and thus accuracy is limited by the number of equations that the Solver tool can handle, a spreadsheet model is nevertheless valuable for giving students an intuitive feel for discretization before going on to write code. Two applications are described. The first is a twodimensional conduction problem that is introduced to show how Solver can be used to solve systems of finite difference equations. The second demonstrates the solution of the incompressible NavierStokes equations using the staggered grid formulation. The conduction problem is one that is easily incorporated into an undergraduate heat transfer class, while the flow problem is appropriate for a graduate level course.
values interact
References: J. Mech. Eng. Educ., 28(2), 1998, pp. 113±139. 4. R. Kumar and A. Al-Shantaf, Spreadsheet analysis of fluid mechanics problems, 1997 ASEE/IEEE Frontiers in Education Conf 5. E. G. Wiggins, Computational fluid dynamics on a spreadsheet, Computers in Education J., 7(2), 1997, pp 6. E. Morishita, Spreadsheet fluid dynamics, J. Aircraft, 36(4), 1999, pp. 720±723. 8. F. P. Incropera and D. P. DeWitt, Introduction to Heat Transfer, 4th ed., John Wiley & Sons (2002), ch 9. S. V. Patankar, Numerical Heat Transfer and Fluid Flow, Hemisphere Publishing Corp. (1980), ch. 10. J. C. Tannehill, D. A. Anderson, and R. H. Pletcher, Computational Fluid Mechanics and Heat Transfer, 2nd ed., Taylor & Francis (1997), ch 12. K. Goda, A Multistep Technique with implicit difference schemes for calculating two- or threedimensional cavity flows, J. Computational Physics, 30, 1979, pp. 76±95. 13. U. Ghia, K. N. Ghia, and C. T. Shin, High-Re solutions for incompressible flow using the NavierStokes Equations and a Multigrid Method, J. Computational Physics, 48, 1982, pp. 387±411.