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



Similar documents
. Address the following issues in your solution:

Introduction to COMSOL. The Navier-Stokes Equations

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

Heat Transfer by Free Convection

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

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

Steady Flow: Laminar and Turbulent in an S-Bend

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

Turbulent Flow Through a Shell-and-Tube Heat Exchanger

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

This tutorial provides a recipe for simulating L

Learning Module 4 - Thermal Fluid Analysis Note: LM4 is still in progress. This version contains only 3 tutorials.

A LAMINAR FLOW ELEMENT WITH A LINEAR PRESSURE DROP VERSUS VOLUMETRIC FLOW ASME Fluids Engineering Division Summer Meeting

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

FLUID FLOW Introduction General Description

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Solved with COMSOL Multiphysics 4.3

THE EFFECTS OF UNIFORM TRANSVERSE MAGNETIC FIELD ON LOCAL FLOW AND VELOCITY PROFILE

Viscous flow in pipe

Abaqus/CFD Sample Problems. Abaqus 6.10

Laminar Flow in a Baffled Stirred Mixer

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

Exergy Analysis of a Water Heat Storage Tank

Design and Analysis of Various Bluff Objects for Vortex flow meters

COMPUTATIONAL FLUID DYNAMICS (CFD) ANALYSIS OF INTERMEDIATE PRESSURE STEAM TURBINE

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

The Viscosity of Fluids

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

COMPUTATIONAL FLOW MODEL OF WESTFALL'S 4000 OPEN CHANNEL MIXER R1. By Kimbal A. Hall, PE. Submitted to: WESTFALL MANUFACTURING COMPANY

Mathematical Model of Blood Flow in Carotid Bifurcation. Phd student: Eng. Emanuel Muraca. 16/10/09 Milan

Tutorial 1. Introduction to Using ANSYS FLUENT in ANSYS Workbench: Fluid Flow and Heat Transfer in a Mixing Elbow

NUMERICAL SIMULATION OF PULSED ELECTRIC FIELDS (PEF) PROCESSING FOR CHAMBER DESIGN AND OPTIMISATION

Experiment 3 Pipe Friction

1. Lid driven flow in a cavity [Time: 1 h 30 ]

FEMM 4.2 Magnetostatic Tutorial 1. David Meeker January 25, Introduction

CONCEPT-II. Overview of demo examples

Head Loss in Pipe Flow ME 123: Mechanical Engineering Laboratory II: Fluids

Pushing the limits. Turbine simulation for next-generation turbochargers

Turbulence Modeling in CFD Simulation of Intake Manifold for a 4 Cylinder Engine

Comparison of Heat Transfer between a Helical and Straight Tube Heat Exchanger

Chapter 10. Flow Rate. Flow Rate. Flow Measurements. The velocity of the flow is described at any

OpenFOAM Optimization Tools

Begin creating the geometry by defining two Circles for the spherical endcap, and Subtract Areas to create the vessel wall.

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

Finding Drag Coefficient using Solidworks Flow Simulation

ANSYS ICEM CFD - pre-processing program used to generate the geometry and mesh for our CFD simulations.

4.3 Results Drained Conditions Undrained Conditions References Data Files Undrained Analysis of

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

ABS TECHNICAL PAPERS 2008 A STERN SLAMMING ANALYSIS USING THREE-DIMENSIONAL CFD SIMULATION. Suqin Wang SWang@eagle.org

OPTIMISE TANK DESIGN USING CFD. Lisa Brown. Parsons Brinckerhoff

ME6130 An introduction to CFD 1-1

NUMERICAL ANALYSIS OF WELLS TURBINE FOR WAVE POWER CONVERSION

Summary of important mathematical operations and formulas (from first tutorial):

AN EFFECT OF GRID QUALITY ON THE RESULTS OF NUMERICAL SIMULATIONS OF THE FLUID FLOW FIELD IN AN AGITATED VESSEL

Tutorial: 2D Pipe Junction Using Hexa Meshing

LECTURE 5: Fluid jets. We consider here the form and stability of fluid jets falling under the influence of gravity.

Composite Surfaces Tutorial

GAMBIT Demo Tutorial

du u U 0 U dy y b 0 b

TI-Nspire CAS Graphing Calculator

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

Chapter 5 MASS, BERNOULLI AND ENERGY EQUATIONS

Teil I. Student Laboratory Manuals

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

Keywords: Heat transfer enhancement; staggered arrangement; Triangular Prism, Reynolds Number. 1. Introduction

ANSYS CFD-Post Standalone: Tutorials

CFD Analysis of Supersonic Exhaust Diffuser System for Higher Altitude Simulation

FLUID FLOW ANALYSIS OF CENTRIFUGAL FAN BY USING FEM

Numerical Investigation of Heat Transfer Characteristics in A Square Duct with Internal RIBS

COMPARISON OF SOLUTION ALGORITHM FOR FLOW AROUND A SQUARE CYLINDER

Set up and solve a transient problem using the pressure-based solver and VOF model.

CosmosWorks Centrifugal Loads

Solved with COMSOL Multiphysics 4.0a. COPYRIGHT 2010 COMSOL AB.

Application of Wray-Agarwal Model to Turbulent Flow in a 2D Lid-Driven Cavity and a 3D Lid- Driven Box

Battery Thermal Management System Design Modeling

AB3080 L. Learning Objectives: About the Speaker:

Numerical Model for the Study of the Velocity Dependence Of the Ionisation Growth in Gas Discharge Plasma

Performance prediction of a centrifugal pump working in direct and reverse mode using Computational Fluid Dynamics

Numerical Simulations of Pulsed-Air Mixing Technology using Multiphase Computational Fluid Dynamics Methods

Fundamentals of Fluid Mechanics

Modelling and CFD Analysis of Single Stage IP Steam Turbine

Dimensional Analysis

Transactions on Engineering Sciences vol 5, 1994 WIT Press, ISSN

NUMERICAL ANALYSIS OF AERO-SPIKE NOZZLE FOR SPIKE LENGTH OPTIMIZATION

Open channel flow Basic principle

International Journal of Heat and Mass Transfer

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

XI / PHYSICS FLUIDS IN MOTION 11/PA

INTRODUCTION TO FLUID MECHANICS

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

OUTCOME 3 TUTORIAL 5 DIMENSIONAL ANALYSIS

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

A Guide to Using Excel in Physics Lab

Using Microsoft Excel to Plot and Analyze Kinetic Data

1 The basic equations of fluid dynamics

Scientific Graphing in Excel 2010

Numerical Analysis of Independent Wire Strand Core (IWSC) Wire Rope

The Viscosity of Fluids

A Strategy for Teaching Finite Element Analysis to Undergraduate Students

Excel Guide for Finite Mathematics and Applied Calculus

Transcription:

Introduction to Chemical Engineering Computing Copyright, Bruce A. Finlayson, 2004 1 Navier-Stokes Equation Solved in Comsol 4.1. Copyright Bruce A. Finlayson, 2010 See also Introduction to Chemical Engineering Computing, Wiley (2006). Next consider entry flow into a pipe as illustrated in Fig. 10-1. The flow is taken as uniform in radius at the entrance (taking the value 1.0 at each radial position), and the velocity has to develop into its fully developed profile. The pipe radius is taken as 0.5. How far downstream do you have to go to get a fully developed solution? (Another way to pose this question is: how much error do you make if you assume fully developed flow when it isn t?) z, v r=0 r, u Figure 10-1. Entry flow into a pipe. Step 1: choose the problem. Open Comsol and choose 2D axisymmetric, next; then Laminar Flow, next; then Stationary, finish. Step 2: define the geometry. Right click on Geometry and choose Rectangle. Set the width to 0.5 and the height to 2. Step 3: define the problem. Click on Laminar Flow and change the Compressibility option to Incompressible flow. Right click on Laminar Flow and select Fluid Properties. Click on the domain,the + to add the domain to the Selection Box. Change the density and viscosity to User defined, with rho = 10, viscosity = 1. Step 4: set the boundary conditions. Right click Laminar Flow and choose Inlet. Select the boundary 2 and + to add it to the Selection box; set the normal velocity to 1.0. Right click Laminar Flow and choose Outlet. Select the boundary 2, then + to add it to the box; and change the boundary condition from Pressure, no viscous stress (we know there is viscous stress in fully developed flow) to Pressure, p 0 = 0. Step 5: set the mesh. Choose mesh and Build All. 1

Introduction to Chemical Engineering Computing Copyright, Bruce A. Finlayson, 2004 2 Step 6: solve the problem. Right click Study = and you get the plot of the solution. What is plotted is the value of U = sqrt(u^2+w^2). Step 7: examine the solution. To obtain more specific information, right click Results, choose 2D Plot Group, right click 2D Plot Group 2 and choose surface arrows. Click the plot icon to see the arrow plot. Also, right click Results, choose 2D Plot Group, right click 2D Plot Group 3 and choose streamline; click the plot icon to get the streamline plot. See Figures 10.2a, b, c. Step 8: make more plots. The inlet velocity is found by right clicking Results, choosing 1D Plot Group, selecting the boundary 2, changing the X-Axis Data Expression to r, and clicking the plot icon. The result is a step function. Change the title and axis labels to Inlet Velocity, r and w. Repeat this procedure but choose the outlet boundary. To see the approach to fully developed flow, plot the axial velocity along the centerline. Right click Results, choose 1D Plot Group. Right click 1D Plot Group and select Line Graph, then select boundary 1, the centerline, then the + to add it to the Selection box. Change the X-Axis Parameter to Expression, z. Change the titles and axis labels and click the plot icon. Step 9: improve the solution. There is a small increase in the centerline velocity near the exit; this is not a valid solution. The reason is that the finite element functions are linear functions. For laminar flows, quadratic functions usually give better results. Look at the top of the Model Builder; on the right there is a down arrow. Choose More options. Then go back to Laminar Flow; there is now an option for Discretization of fluids. The default value is P1+P1, which means that both the velocity and pressure are approximated with linear elements. Change that to P2+P1; then the velocity is approximated with quadratic elements. Right click Study = to get the new solution. Select the Line Graph that has the centerline velocity plotted and you see that the uptick at the end has disappeared. Step 10: calculate average properties. To calculate average quantities, right click on Derived Values (under Results) and select Line Integration. Click on the inlet boundary 2, then + to add it to the Selection box, then = (at the top) to get the value. It is listed in Results as 0.4997. If you wonder whether the integration has been done using rdr or just r, change the expression to r*spf.u and click the = sign. The value is 0.1249, which is correct if one integrates 1*rdr from 0 to 0.5. Thus, the rdr is included only if you include it in the expression. The small departure from 0.125 is due to numerical error and can be decreased if more elements are used. Doing the same thing at the outlet gives 0.1249. If you want the 2π included, you can take out the r and choose Integration Settings, Compute surface integral. The value is 0.7846, which is 2π times 0.125. 2

Introduction to Chemical Engineering Computing Copyright, Bruce A. Finlayson, 2004 3 (a) Mesh (b) Arrow Plot (c) Streamlines Figure 10-2. Mesh, arrow plot, and streamlines for entry flow into a pipe Step 11: plot more properties. It is useful to plot the solution along a boundary surface. Right click Results and choose 1D Plot Group. Right click 1D Plot Graph and choose Line Graph. Select the inlet boundary, +, to add it to the Selection box. Click the plot icon to see the inlet velocity, Figure 10-3. The velocity is not exactly 1.0 for all radii at the inlet, because there is a discontinuity in the boundary conditions. The boundary conditions use v = 1 on one boundary and v = 0 on an adjoining boundary, and the program has to choose which one to use at the corner. Comsol does a good job of satisfying these conflicting conditions. (It s not possible to achieve those boundary conditions physically.) Step 12: plot along the centerline. Return to the Line/Extrusion plot and plot along the points (r,z) = (0,0) and (0,2) to obtain Fig. 10.4. This figure shows how quickly the center velocity approaches its asymptotic value as z increases. This gives you an indication of the entry length. Figure 10.4 was obtained using quadratic functions for velocity. Step 13: plot exit velocity profile. Right click Results and choose 1D Plot Group. Right click 1D Plot Group and select the outlet boundary. Click + to add it to the Selection box. Click the plot icon to see the exit velocity. The exact solution is a quadratic function of position, which is satisfied in Fig. 10-5. 3

Introduction to Chemical Engineering Computing Copyright, Bruce A. Finlayson, 2004 4 Figure 10-3. Velocity at inlet to pipe Figure 10-4. Centerline velocity in pipe flow 4

Introduction to Chemical Engineering Computing Copyright, Bruce A. Finlayson, 2004 5 Figure 10-5. Velocity profile at exit Next, change the problem slightly and take the inlet velocity as the fully developed velocity profile. v(r,0) = 2 1 r 2 (10.12) 0.5 Step 14: Use a fully developed inlet velocity. This is inserted in Laminar Flow, as the v velocity. 2*(1 (r /0.5)^2) The streamlines are now straight. (10.13) 5