Next Article in Journal
Perspective on the Response of Turbulent Pipe Flows to Strong Perturbations
Next Article in Special Issue
Open Water Flume for Fluid Mechanics Lab
Previous Article in Journal
The Seasonal Variability of the Ocean Energy Cycle from a Quasi-Geostrophic Double Gyre Ensemble
Previous Article in Special Issue
Teaching and Learning Floating and Sinking: Didactic Transformation in a Density-Based Approach
Article

A CFD Tutorial in Julia: Introduction to Laminar Boundary-Layer Theory

School of Mechanical and Aerospace Engineering, Oklahoma State University, Stillwater, OK 74078, USA
*
Author to whom correspondence should be addressed.
Academic Editor: Ashwin Vaidya
Fluids 2021, 6(6), 207; https://doi.org/10.3390/fluids6060207
Received: 13 May 2021 / Revised: 27 May 2021 / Accepted: 28 May 2021 / Published: 3 June 2021
(This article belongs to the Special Issue Teaching and Learning of Fluid Mechanics, Volume II)
Numerical simulations of laminar boundary-layer equations are used to investigate the origins of skin-friction drag, flow separation, and aerodynamic heating concepts in advanced undergraduate- and graduate-level fluid dynamics/aerodynamics courses. A boundary-layer is a thin layer of fluid near a solid surface, and viscous effects dominate it. Students must understand the modeling of flow physics and implement numerical methods to conduct successful simulations. Writing computer codes to solve equations numerically is a critical part of the simulation process. Julia is a new programming language that is designed to combine performance and productivity. It is dynamic and fast. However, it is crucial to understand the capabilities of a new programming language before attempting to use it in a new project. In this paper, fundamental flow problems such as Blasius, Hiemenz, Homann, and Falkner-Skan flow equations are derived from scratch and numerically solved using the Julia language. We used the finite difference scheme to discretize the governing equations, employed the Thomas algorithm to solve the resulting linear system, and compared the results with the published data. In addition, we released the Julia codes in GitHub to shorten the learning curve for new users and discussed the advantages of Julia over other programming languages. We found that the Julia language has significant advantages in productivity over other coding languages. Interested readers may access the Julia codes on our GitHub page. View Full-Text
Keywords: CFD; Julia; Blasius; Hiemenz; Homann; Falkner–Skan; boundary-layer CFD; Julia; Blasius; Hiemenz; Homann; Falkner–Skan; boundary-layer
Show Figures

Figure 1

MDPI and ACS Style

Oz, F.; Kara, K. A CFD Tutorial in Julia: Introduction to Laminar Boundary-Layer Theory. Fluids 2021, 6, 207. https://doi.org/10.3390/fluids6060207

AMA Style

Oz F, Kara K. A CFD Tutorial in Julia: Introduction to Laminar Boundary-Layer Theory. Fluids. 2021; 6(6):207. https://doi.org/10.3390/fluids6060207

Chicago/Turabian Style

Oz, Furkan, and Kursat Kara. 2021. "A CFD Tutorial in Julia: Introduction to Laminar Boundary-Layer Theory" Fluids 6, no. 6: 207. https://doi.org/10.3390/fluids6060207

Find Other Styles
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Access Map by Country/Region

1
Back to TopTop