Numerical simulation of a square cavity was conducted to validate an implementation of an Immersed Boundary Method (IBM). The cavity consists of two differentially heated side walls and adiabatic top and bottom walls. A Cartesian grid is used with a finite volume, fractional step pressure correction method. Simulations use Dirichlet boundaries for vertical walls and Neumann boundaries for horizontal walls. The Immersed Boundary Method involves modifying the Navier--Stokes equations to include a forcing function in the momentum and energy equations that creates a virtual boundary. This method is useful because the boundary does not necessarily have to coincide with grid points; however, it is much less computationally expensive than other similar methods such as the cut cell method. The IBM is commonly used in simulations involving complex objects and can also accommodate moving boundaries. A standard numerical simulation with grid aligned with the boundary is first compared with previous results. The same geometry is then simulated by tilting the grid at various angles and using the IBM for each of the walls, and comparing these results with those initially obtained. We detail the implementation method and common problems associated with this. Velocity and temperature profiles are presented and the IBM is shown to maintain second order spatial accuracy. References E. A. Fadlun, R. Verzicco, P. Orlandi, and J. Mohd-Yusof. Combined immersed-boundary finite-difference methods for three-dimensional complex flow simulations. Journal of Computational Physics, 161(1):35--60, 2000. doi:10.1006/jcph.2000.6484 T. Gao, Y. H. Tseng, and X. Y. Lu. An improved hybrid cartesian/immersed boundary method for fluid-solid flows. International Journal for Numerical Methods in Fluids, 55(12):1189--1211, 2007. doi:10.1002/fld.1522 M. P. Kirkpatrick and S. W. Armfield. Experimental and large eddy simulation results for the purging of salt water from a cavity by an overflow of fresh water. International Journal of Heat and Mass Transfer, 48(2):341--359, 2005. doi:10.1016/j.ijheatmasstransfer.2004.08.016 M. P. Kirkpatrick, S. W. Armfield, and J. H. Kent. A representation of curved boundaries for the solution of the navier-stokes equations on a staggered three-dimensional cartesian grid. Journal of Computational Physics, 184(1):1--36, 2003. doi:10.1016/S0021-9991(02)00013-X B. P. Leonard and Simin Mokhtari. Beyond first-order upwinding: The ultra-sharp alternative for non-oscillatory steady-state simulation of convection. International Journal for Numerical Methods in Engineering, 30(4):729--766, 1990. doi:10.1002/nme.1620300412 S. H. Peng and L. Davidson. Large eddy simulation for turbulent buoyant flow in a confined cavity. volume 22, pages 323--331, 2001. doi:10.1016/S0142-727X(01)00095-9 C. S. Peskin. Numerical-analysis of blood-flow in heart. Journal of Computational Physics, 25(3):220--252, 1977. doi:10.1016/0021-9991(77)90100-0 J. Salat, S. Xin, P. Joubert, A. Sergent, F. Penot, and P. Le Quere. Experimental and numerical investigation of turbulent natural convection in a large air-filled cavity. International Journal of Heat and Fluid Flow, 25:824--832, 2004. doi:10.1016/j.ijheatfluidflow.2004.04.003 Y. H. Tseng and J. H. Ferziger. A ghost-cell immersed boundary method for flow in complex geometry. Journal of Computational Physics, 192(2):593--623, 2003. doi:10.1016/j/jcp.2003.07.024 N. Zhang and Z. C. Zheng. An improved direct-forcing immersed-boundary method for finite difference applications. Journal of Computational Physics, 221(1):250--268, 2007. doi:10.1016/j.jcp.2006.06.012 N. Zhang, Z. C. Zheng, and S. Eckels. Study of heat-transfer on the surface of a circular cylinder in flow using an immersed-boundary method. International Journal of Heat and Fluid Flow, 29(6):1558--1566, 2008. doi:10.1016/j.ijheatfluidflow.2008.08.009
Read full abstract