VISCOUS FLOW CALCULATIONS FOR UNDERGRADUATE FLUID MECHANICS EDUCATION USING MATLAB

Similar documents
NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Basic Equations, Boundary Conditions and Dimensionless Parameters

Dimensional Analysis

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure

The Viscosity of Fluids

EXAMPLE: Water Flow in a Pipe

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Abaqus/CFD Sample Problems. Abaqus 6.10

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

240EQ014 - Transportation Science

Free Convection Film Flows and Heat Transfer

INTRODUCTION TO FLUID MECHANICS

Ravi Kumar Singh*, K. B. Sahu**, Thakur Debasis Mishra***

4.What is the appropriate dimensionless parameter to use in comparing flow types? YOUR ANSWER: The Reynolds Number, Re.

HEAVY OIL FLOW MEASUREMENT CHALLENGES

Fluids and Solids: Fundamentals

FLUID MECHANICS IM0235 DIFFERENTIAL EQUATIONS - CB _1

Introduction to COMSOL. The Navier-Stokes Equations

Experiment 3 Pipe Friction

1. Fluids Mechanics and Fluid Properties. 1.1 Objectives of this section. 1.2 Fluids

Natural Convection. Buoyancy force

Dimensional analysis is a method for reducing the number and complexity of experimental variables that affect a given physical phenomena.

Lecture 5 Hemodynamics. Description of fluid flow. The equation of continuity

HEAT TRANSFER ANALYSIS IN A 3D SQUARE CHANNEL LAMINAR FLOW WITH USING BAFFLES 1 Vikram Bishnoi

FLUID FLOW STREAMLINE LAMINAR FLOW TURBULENT FLOW REYNOLDS NUMBER

Laminar Flow and Heat Transfer of Herschel-Bulkley Fluids in a Rectangular Duct; Finite-Element Analysis

The Viscosity of Fluids

Basic Principles in Microfluidics

Contents. Microfluidics - Jens Ducrée Physics: Fluid Dynamics 1

Distinguished Professor George Washington University. Graw Hill

Practice Problems on Boundary Layers. Answer(s): D = 107 N D = 152 N. C. Wassgren, Purdue University Page 1 of 17 Last Updated: 2010 Nov 22

XI / PHYSICS FLUIDS IN MOTION 11/PA

Graduate Certificate Program in Energy Conversion & Transport Offered by the Department of Mechanical and Aerospace Engineering

Heat Transfer Prof. Dr. Ale Kumar Ghosal Department of Chemical Engineering Indian Institute of Technology, Guwahati

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Notes on Polymer Rheology Outline

Textbook: Introduction to Fluid Mechanics by Philip J. Pritchard. John Wiley & Sons, 8th Edition, ISBN ,

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Steady Flow: Laminar and Turbulent in an S-Bend

Fundamentals of Fluid Mechanics

A COMPUTATIONAL FLUID DYNAMICS STUDY ON THE ACCURACY OF HEAT TRANSFER FROM A HORIZONTAL CYLINDER INTO QUIESCENT WATER

Microfluidic Principles Part 1

Graduate Courses in Mechanical Engineering

Finite Element Modules for Enhancing Undergraduate Transport Courses: Application to Fuel Cell Fundamentals

ME 305 Fluid Mechanics I. Part 8 Viscous Flow in Pipes and Ducts

Mathematical Modeling and Engineering Problem Solving

Dynamic Process Modeling. Process Dynamics and Control

ME6130 An introduction to CFD 1-1

VISUAL PHYSICS School of Physics University of Sydney Australia. Why do cars need different oils in hot and cold countries?

A Comparison of Analytical and Finite Element Solutions for Laminar Flow Conditions Near Gaussian Constrictions

Chapter 2. Derivation of the Equations of Open Channel Flow. 2.1 General Considerations

CBE 6333, R. Levicky 1 Review of Fluid Mechanics Terminology

The ratio of inertial to viscous forces is commonly used to scale fluid flow, and is called the Reynolds number, given as:

HEAT TRANSFER CODES FOR STUDENTS IN JAVA

Lecture 11 Boundary Layers and Separation. Applied Computational Fluid Dynamics

Fluid Dynamics and the Navier-Stokes Equation

Hydraulic losses in pipes

Model of a flow in intersecting microchannels. Denis Semyonov

1 The basic equations of fluid dynamics

INCORPORATING CFD INTO THE UNDERGRADUATE MECHANICAL ENGINEERING PROGRAMME AT THE UNIVERSITY OF MANITOBA

FREESTUDY HEAT TRANSFER TUTORIAL 3 ADVANCED STUDIES

Heat Transfer From A Heated Vertical Plate

Integration of a fin experiment into the undergraduate heat transfer laboratory

CHEG 3128 Heat, Mass, & Kinetics Laboratory Diffusion in Laminar Flow Regimes Modeling and COMSOL Tutorial Tutorial by Andrea Kadilak

Navier-Stokes Equation Solved in Comsol 4.1. Copyright Bruce A. Finlayson, 2010 See also Introduction to Chemical Engineering Computing, Wiley (2006).

Fluid Mechanics

Lecturer, Department of Engineering, Lecturer, Department of Mathematics,

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

A. Hyll and V. Horák * Department of Mechanical Engineering, Faculty of Military Technology, University of Defence, Brno, Czech Republic

How To Run A Cdef Simulation

Module 1 : Conduction. Lecture 5 : 1D conduction example problems. 2D conduction

Iterative calculation of the heat transfer coefficient

Introduction to Microfluidics. Date: 2013/04/26. Dr. Yi-Chung Tung. Outline

HEAT TRANSFER IM LECTURE HOURS PER WEEK THERMODYNAMICS - IM _1

Paul Clements, SpR in Anaesthetics, Hope Hospital, Salford, UK. Carl Gwinnutt, Consultant Anaesthetist, Hope Hospital, Salford, UK.

- momentum conservation equation ρ = ρf. These are equivalent to four scalar equations with four unknowns: - pressure p - velocity components

CFD Simulation of Subcooled Flow Boiling using OpenFOAM

Heat Transfer by Free Convection

A Fast Numerical Procedure for Steady Capillary Flow in Open Channels

Customer Training Material. Lecture 2. Introduction to. Methodology ANSYS FLUENT. ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.

THE CFD SIMULATION OF THE FLOW AROUND THE AIRCRAFT USING OPENFOAM AND ANSA

Magnetohydrodynamic free convection between vertical parallel porous plates in the presence of induced magnetic field

CFD SUPPORTED EXAMINATION OF BUOY DESIGN FOR WAVE ENERGY CONVERSION

Chapter 13 OPEN-CHANNEL FLOW

ADVANCED COMPUTATIONAL TOOLS FOR EDUCATION IN CHEMICAL AND BIOMEDICAL ENGINEERING ANALYSIS

O.F.Wind Wind Site Assessment Simulation in complex terrain based on OpenFOAM. Darmstadt,

. Address the following issues in your solution:

EXPERIMENTAL STUDIES ON PRESSURE DROP IN A SINUSOIDAL PLATE HEAT EXCHANGER: EFFECT OF CORRUGATION ANGLE

CHEMICAL ENGINEERING AND CHEMICAL PROCESS TECHNOLOGY - Vol. I - Interphase Mass Transfer - A. Burghardt

This tutorial provides a recipe for simulating L

Teil I. Student Laboratory Manuals

Open channel flow Basic principle

MAXIMISING THE HEAT TRANSFER THROUGH FINS USING CFD AS A TOOL

Lift and Drag on an Airfoil ME 123: Mechanical Engineering Laboratory II: Fluids

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

VISCOSITY OF A LIQUID. To determine the viscosity of a lubricating oil. Time permitting, the temperature variation of viscosity can also be studied.

Transcription:

ULIBTK 11 18. Ulusal Isı Bilimi ve Teknii Kongresi VISCOUS FLOW CALCULATIONS FOR UNDERGRADUATE FLUID MECHANICS EDUCATION USING MATLAB Barbaros ÇETN 1, Yakuphan ÖZTÜRK 2, Serdar TAZE 3 1,2,3 Middle East Technical Univeristy Northern Cyprus Campus, Mechanical Engineering, Microfluidics & Lab-on-a-chip Research Group, Phone: (392) 6612980, Fax: (392) 6612999, 1 e-mail: barbaros@metu.edu.tr, 2 e-mail: e154485@metu.edu.tr, e-mail: e161578@metu.edu.tr 3 ÖZET Yatay plaka üzerindeki dı" akı" problemi ve iki paralel tabaka arasında olu"an basınç ve/veya kesme-kuvveti odaklı iç akı" problemi lisans akı"kanlar mekani#i dersi için iki temel problemdir. Bu tür problemlerin analitik çözümleri vardır ancak çözümlerin matematiksel yapısı lisans ö#rencileri açısından sorun yaratabilir. MATLAB gibi modern matematiksel araçların çözüme entegre edilmesiyle problemlerin matematiksel çözümleri ve sonuçların görselle"tirilmesi gerçekle"tirilebilir. Bu çalı"mada bahsi geçen temel akı"kanlar mekani#i problemlerinin sonuçlarını göstermek için MATLAB kullanılarak hazırlanan bir grafik kullanıcı arayüzü sunulmaktadır. Dı" akı" problemi için viskozitileri kullanıcı tarafından belirlenen farklı sıvıların sınır tabaka kalınlı#ı ve hız profilleri GUI sayesinde hesaplanır ve görüntülenir. MATLAB ın ODE çözücüsü kullanarak farklı sıvıların Blasius sınır tabakası denklemi çözülür. ç akı" problemi için kullanıcı koordinat sisteminin konumunu ve sınır ko"ullarını belirleyerek, GUI kullanarak kanal içinde meydana gelen akı"ın hız profilini belirler ve görüntüler. GUI sayesinde lisans ö#rencilerinin vizkoz akı"lar ile ilgili temel kavramları daha iyi kavramaları için faydalı olabilir. Anahtar Kelimeler: Viskoz akı", Dı" akı", ç akı", MATLAB, Grafiksel kullanıcı arayüzü ABSTRACT Flow over a flat plate is a fundamental external flow problem, and fully developed pressuredriven and/or shear-driven flow between paralel plates is a fundamental internal flow problem for the undergraduate fuid mechanics courses. These problems have the analytical solutions; however, the mathematical structure of the solutions can be problematic for undergraduate students. Modern mathematical tools such as MATLAB can be integrated into the solution to handle the mathematical derivation and to visualize the results of the solution. This paper presents a graphical user interface (GUI) prepared by MATLAB to demonstrate the results of the aferomentioned fundamental fluid mechanics problems. For the external flow problem, the viscosity of the different fluids are defined by the user and the GUI computes and visualizes the boundary layer thickness and the velocity profiles for each fluid by solving the Blasius boundary layer equation using MATLAB built-in ODE solver. For the internal flow problem, the user defines the location of the coordinate system and the associated boundary conditions, and GUI determines and visualizes the fully developed velocity profiles inside the channel. This kind of GUI can be very helpful to the undergraduate students to increase their fundamental understanding of the viscous flow phenomena. Keywords: Viscous flow, External Flow, Internal flow, MATLAB, Graphical user interface 1. INRODUCTION Fluid mechanics is one of the key areas in the mechanical engineering discipline. Discussion of the differential viscous fluid flow analysis through Navier-Stokes eqautions is a crucial step for fluid mechanics education. Since Navier-Stokes equations are very complicated non-linear partial differential equations, the analytical solutions are very limited. Therefore, numerical methods are more appropriate for the solution of the Navier- Stokes equations. However, to gain the fundamental understanding of the fluid flow, analytical solutions are very important. At the undergraduate level, these kind of analytical solutions can be problematic for the students, and also for the instructors who would like to provide deeper understandings to the students. At this point, modern mathematical tools such as MATLAB can be integrated into the solution to handle the

ULIBTK 11 18. Ulusal Isı Bilimi ve Teknii Kongresi problematic steps. It may serve as a tool to improve the fundamental understanding of the viscous flow phenomena. In the discussion of the Navier-Stokes aquations, there are two fundamental problems. One of them is the laminar flow over a flat plate, the other one is the fully-developed laminar flow in a channel. Both problems have analytical solutions, and their solutions conclude very important key findings for viscous flow phenomena. This study presents a graphical user interface (GUI) prepared by MATLAB to assist students and the intructors to handle the mathematical derivation and to visualize the results of the aferomentioned fundamental viscous flow problems. We believe that this kind of GUI can be very helpful to the undergraduate students to increase their fundamental understanding of the viscous flow phenomena. 2. ANALYSIS 2.1. External Flow: Flow over flat plate Figure 1. Schematic drawing of the flow over flat plate problem. Flow over flat plate, is a fundamental external fluid flow problem, and schematically shown in Figure 1. Using boundary layer approximations together with similarity transformation, the non-linear partial differential Navier-Stoke s equations can be transformed into non-linear ordinary differential equation which is also known as Blausius equation, with the following boundary conditions as (Incropera and DeWitt, 1996), where " is the stream function, # is the kinematic viscosity. Eq. (2) together with Eq. (3) can be solved either by using series expansion, or numerical integration (Incropera and Dewitt, 1996). Although the procedure to obtain Eq. (2) and the solution procedure is beyond the scope of the undergraduate fluid mechanics education, the results possess very significant conclusions. As a conclusion of the solution, one can estimate the thickness of the boundary layer ($) as, " = 5x Re x, (5) where Re is the Reynolds number, which is define as Re x = U " x /#. The local friction coefficient can also be estimated as, C f,x = 0.664 Re x "1/ 2, (6) which will lead to the calculation of the drag force. With the detailed solution, one can also obtain the velocity profile in the boundary layer. Eq. (3) can be used to visualize the boundary layer thickness of the different fluids to see the effect of the viscosity on the boundary layer thickness. Eq. (1) together with Eq. (2) can be solved by using MATLAB built-in function bvp5c, which is a finite difference code that implements the fourstage Lobatto IIIa formula (www.mathworks.com/ help/techdoc/ref/bvp5c.html), without any difficulty to obtain the velocity profile over the flat plate. 2.2. Internal Flow: Flow in a channel 2 d 3 f d" 3 + f d 2 f = 0, 2 (1) d" df d" "= 0 = f (0) = 0 and df d" " #$ # 1. (2) where f and are dimensionless quantities defined as, $ f (") #, (3) U o %x /U o " # y U o /$x, (4) Figure 2. Schematic drawing of the flow in a channel. Flow in a channel, is a fundamental internal fluid flow problem, and schematically shown in Figure 2. Flow can be pressure-driven and/or shear-driven by the movement of the walls. Coordinate system may locate anywhere in the channel. x-direction is fixed; however, y-direction can be in either directions (upward or downwards). Fully developed velocity profile can be determined, by solving the following

ULIBTK 11 18. Ulusal Isı Bilimi ve Teknii Kongresi ordinary differential equation with the following boundary conditions, u bottom wall = C 1 U w and µ d 2 u dy 2 = " #P L, (7) u top wall = C 2 U w. (8) where µ is the dynamic viscosity, %P/L is the applied pressure gradient, C 1 and C 2 are two coefficients to specify the velocity of the walls. Mathematical location of the walls, depend in the location of the origin, and the height of the channel. Eq. (7) together with Eq. (8) can be easily be solved to obtain the velocity profile. In this study, all the variables defined as symbolic variables, and the equationsa re solved by using built-in symbolic ODE solver of MATLAB. The height of the channel is defined in terms of H, and the y- coordinate the scaled with H. The velocity of the walls is scaled with U w. Fully developed velocity profile is also scaled with either with the mean velocity (if both walls are stationary) or the velocity of the wall. For the purely pressure-driven flow, the value of the pressure gradient is unnecesary since the velocity is scaled with the mean velocity in the channel. However, when the flow is generated, there exists an important dimensionless parameter which determines the shape of the velocity profile which is given as (Munson et al, 2006), P = " H 2 #P µu w L. (9) Parameter, P can be either positive and negative. (a) (b) Figure 3. Screenshots of the windows: (a) external flow window, (b) internal flow window.

ULIBTK 11 18. Ulusal Isı Bilimi ve Teknii Kongresi 3. RESULTS AND DISCUSSION GUI has two options at the start-up. At the top of the GUI window, the user can select either external flow or internal flow options. Screen shots of the external and internal flow windows are given in Figure 3-(a) and 3-(b), respectively. For the external flow, user can enter the free stream velocity value and 3 different viscosity values. When the user hit the Show Boundary Layer button, the boundary layers of the 3 different fluids are visualized. The critical x location where the transition from laminar to turbulent occurs is also displayed for these fluids. Once the boundary layers are visualized, the user may also want to see the veloctiy profiles. When the user hit the Show Velocity Profile button, the velocity profiles associated with these fluids are determined by solving the Blasius equation and the results are visualized. The screenshot of the external flow window after puhing the two buttons is shown in Figure 4. The effect of the viscosity on the boundary layer thickness and the velocity profile can be seen clearly by the user. With the help of these visualization, the user can understanding the effect of the viscosity on the flow characteristics. Figure 4. Screenshots of the external flow window after the calculations. For the internal flow problem, the x-direction is fixed in the problem. The user cam select the direction of the y-axis (either upwards, or downwards), location of the origin (located at the top wall, at the center or at the bottom wall), height of the channle (in terms of H), velocity of the top wall and bottom wall (in terms of U w )., and the dimensionless P parameter. Once the user defines these parameters, and hit the Show the Solution button, the user can obtain the equation of the dimensionless velocity profile, which is the solution of the Eqs. (7) and (8). The user can also visualize the velocity profile, when he/she hits the Plot the Solution button. The screenshots of the internal flow window for two fundamental internal flow problems, which are purely shear-driven flow (Couette flow), and purely pressure-driven flow (Poiseuille flow) are shown in Figure 5. User can run the simulator for different cases where the P parameter has different values, and with different wall velocities, to see the effect of these parameters on the solution. 4. CONLUSION In this study, a GUI prepared by MATLAB is to assist students and the intructors to handle the mathematical derivation and to visualize the results of the fundamental viscous flow problems is presented. The solution preocedures for the problems are described. The parameters that needs to be defined by the user are discussed. By the help of this GUI, users can understand the fundamentals of the viscous flow phenomena better. This GUI is a starter. In the future studies, many improvements are going to be performed, some of which are the inclusion of slip-velocity and electro-viscous effects (which are important at microscale), non- Newtonian models, and thermal characteristics.

ULIBTK 11 18. Ulusal Isı Bilimi ve Teknii Kongresi (a) (b) Figure 5. Screenshots of the external flow window after the calculations: (a) Couette flow, (b) Poiseuille flow. 5. ACKNOWLEDGMENT Financial support from the METU NCC via the Campus Research Project (BAP-FEN10) is greatly appreciated. 6. REFERENCES Incropera, F. P., DeWitt, D. P., Fundamentals of Heat and Mass Transfer, John Wiley & Sons, Fourth Edition, pp. 348-354, 420-424, 1996. Munson, B. R., Young, D. F., Okisshi, T. H., Fundamentals of Fluid Mechanics, John Wiley & Sons, Fifth Edition, p. 325, 1996.