Friction Flow in a Pipe Friction flow in a Pipe Finite Element Tutorial By Dr. Essam A. Ibrahim, Tuskegee University, Mechanical Engineering Dept., emeei@tuskegee.edu.

Slides:



Advertisements
Similar presentations
SolidWorks Flow Simulation
Advertisements

Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Fluid Mechanics for Mechanical Engineering Viscous Flow in Ducts
Chapter 07: Lecture Notes (CSIT 104) 1111 Exploring Microsoft Office Excel 2007 Chapter 7 Data Consolidation, Links, and Formula Auditing.
University of Western Ontario
Feature-Based Modeling and Optional Advanced Modeling
Output - Derived Variables Derived Variables are quantities evaluated from the primitive (or solved) variables by PHOENICS. It means, PHOENICS first solve.
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Centrifugal Pump
Who Wants to Be a CFD Expert? In the ME 566 course title, CFD for Engineering Design, what does the acronym CFD stand for? A.Car Free Day B.Cash Flow Diagram.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
COMSOL Step-by-Step Tutorial Expt 140 – Tank Discharge March 4, 2013 Team 2 Joseph Duffy Zlatko Sokolikj Andrew Suellentrop.
Using Surfcam to Produce a Numeric Control (NC) Program An Introduction to the CAD/CAM Process Instructions for 3 Axis Programming Using the D&M CNC Milling.
Experimental and Numerical Study of the Effect of Geometric Parameters on Liquid Single-Phase Pressure Drop in Micro- Scale Pin-Fin Arrays Valerie Pezzullo,
Jennifer Tansey 12/15/11. Introduction / Background A common type of condenser used in steam plants is a horizontal, two- pass condenser Steam enters.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Thermo-fluid Analysis of Helium cooling solutions for the HCCB TBM Presented By: Manmeet Narula Alice Ying, Manmeet Narula, Ryan Hunt and M. Abdou ITER.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
Image courtesy of National Optical Astronomy Observatory, operated by the Association of Universities for Research in Astronomy, under cooperative agreement.
CEE 331 Fluid Mechanics April 17, 2017
Fluid mechanics 3.1 – key points
Thermal Analysis Module 6. Training Manual January 30, 2001 Inventory # Thermal Analysis In this chapter, we will briefly describe the procedure.
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
Computer Literacy BASICS
Introduction to COMSOL Travis Campbell Developed for CHE 331 – Fall 2012 Oregon State University School of Chemical, Biological and Environmental Engineering.
SURVIVAL MODE Quiz 3 –
S.S. Yang and J.K. Lee FEMLAB and its applications POSTEC H Plasma Application Modeling Lab. Oct. 25, 2005.
University of Puerto Rico at Mayagüez Department of Mechanical Engineering Introduction to NX 6.0 Tutorial 3 Modified by (2011): Dr. Vijay K. Goyal and.
Ansys Workbench 1 Introduction
Tutorial (Basics in SolidWorks) 小明 in ERB106.  Modeling  2D ▪ Sketching ▪ Dimensioning ▪ Mirror/Pattern ▪ Trim/Extend ▪ Fillet/Chamfer  3D ▪ Extruded/
University of Puerto Rico at Mayagüez Department of Mechanical Engineering Introduction to NX 6.0 Tutorial 1 Modified by (2011): Dr. Vijay K. Goyal and.
COSMOS FloWorks Wind Tunnel Simulation
University of Puerto Rico at Mayagüez Department of Mechanical Engineering Introduction to NX 6.0 Tutorial 4 Modified by (2011): Dr. Vijay K. Goyal and.
Catalytic Converter Simulation
Ken YoussefiIntroduction to Engineering – E10 1. Various Blade designs Ken YoussefiIntroduction to Engineering – E10 2.
University of Puerto Rico at Mayagüez Department of Mechanical Engineering Introduction to NX 6.0 Tutorial 2 Modified by (2011): Dr. Vijay K. Goyal and.
Course 6: Analyzing AVO/AVA Analysis. Use gassman’s equations to predict velocity Objective accurately predict changes in amplitude.
CFX-10 Introduction Lecture 1.
© Pritchard Introduction to Fluid Mechanics Chapter 8 Internal Incompressible Viscous Flow.
PolyTech developed WinTXU Screw Configuration Manager in 2004 as the future Windows interface for TXS. In the meantime, WinTXU has been highly successful.
Bolted Joint Assembly. Advanced Solid Body Contact Options Goal – In this workshop, our goal is to study the effect that contact stiffness specification.
VISCOUS FLOW IN CONDUITS  When we consider viscosity in conduit flows, we must be able to quantify the losses in the flow Fluid Mechanics [ physical.
Distributed Resistances and Fan Models Chapter 4.

Workshop 2 Steel Bracket Modified by (2008): Dr. Vijay K. Goyal Associate Professor, Department of Mechanical Engineering University of Puerto Rico at.
Viscous Flow in Pipes: Overview
Pipe flow analysis.
Incompressible Flow in Pipes and Channels
Heat Transfer Su Yongkang School of Mechanical Engineering # 1 HEAT TRANSFER CHAPTER 8 Internal flow.
Heat Transfer Su Yongkang School of Mechanical Engineering # 1 HEAT TRANSFER CHAPTER 7 External flow.
CFD Exercise 1 Laminar & turbulent flows with COMSOL.
Chapter 5 Armature Gap Sweep Workshop 4. Training Manual Electromagnetic Analysis in Workbench March 4, 2005 Inventory # Workshop #2: Armature.
Stress Relaxation Workshop Six REFERENCE: Training Manual Implicit Creep (4-32)
CFD Simulation Investigation of Natural Gas Components through a Drilling Pipe RASEL A SULTAN HOUSSEMEDDINE LEULMI.
Static Mixer: Geometry and Mesh
Workshop 7 Tank Flushing
Simulation of Pipe Flow Using FlowLab 1.1 (PreLab 1)
From: On Development of a Semimechanistic Wall Boiling Model
Workshop 6 Modeling of Catalytic Convertor
The inner flow analysis of the model
Workshop 5 Cavitating Centrifugal Pump
Workshop 5 Centrifugal Pump
Flow Through a Pipe Elbow (Comsol)
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Using Surfcam to Produce a Numeric Control (NC) Program
The application of an atmospheric boundary layer to evaluate truck aerodynamics in CFD “A solution for a real-world engineering problem” Ir. Niek van.
For this type of flow, the stagnation temperature is constant, then
Pressure Drop & Head Loss
Presentation transcript:

Friction Flow in a Pipe Friction flow in a Pipe Finite Element Tutorial By Dr. Essam A. Ibrahim, Tuskegee University, Mechanical Engineering Dept., emeei@tuskegee.edu Copyright 2006 Expected completion time for this tutorial: 45 minutes to 1 hour Companion tutorial for Fluid Mechanics Course Reference text: Fluid Mechanics, 5th Edition by Frank M. White

Table of Contents Educational Objectives Problem Description Creating the parts Assembly of the parts Solving with FloWorks Viewing the Results of the FE Analysis Comparison of Analytical to Finite Element Analysis Conclusion Acknowledgment

Educational Objectives Be familiar with the basis of FE theory for three-dimensional flow analysis. Understand the fundamentals of internal flow through the use of the COSMOS FloWorks finite element software. Be able to construct a correct solid model using the SolidWorks CAD and perform an accurate finite element analysis using COSMOS FloWorks. Learn to apply the appropriate ambient and boundary conditions and decide on the suitable size for the computational domain. 5. Know how to interpret and evaluate finite element solution quality including the process of validating the solution using the Moody Chart.

Problem Description 1 Case: Methods: Validation: Ten liters per second of water at 25C is to flow through a horizontal pipe 10 m long. We need to estimate the pressure drop in a cast iron pipe of circular cross section of 10 cm diameter. Methods: We use SolidWorks to design the model; COSMOS FloWorks to determine the pressure drop in the turbulent pipe flow with non-zero inner surface roughness. Validation: Once the CFD solution is obtained, the results are to be compared with the analytic solutions using the Moody Chart.

Problem Description 2 Pressure Drop, P2 - P1 = ? Inlet P1 Volumetric Flow Rate, Q= 10 liters/sec Water Temperature, T= 25C Ambient Pressure, P= 1.0 ATM Inner diameter = 10 cm Outer diameter = 12 cm Pipe Length, L= 10 meters Pressure Drop, P2 - P1 = ? P2 Exit A cast iron pipe with rough inner surface

Steps to Analysis Modeling of the system with SolidWorks CAD suites Meshing and solving the flow with COSOMOS FloWorks CFD solver suites Calculating the analytic solution and validating the CFD results

Modeling with SolidWorks Create a new SolidWorks working window by choosing ‘a 3D representaion of a single design component’ option

Designing the Pipe Click open the Circle drawing option in the Sketch menu.

Creating the cross section of the pipe 1 Enter Sketch mode 50 mm 60 mm x, y, z = (0, 0, 0) Creating the cross section of the pipe 1

Creating the cross section of the pipe 2 Create concentric circles for the inner and outer surfaces of the pipe 2 50 mm 60 mm x, y, z = (0, 0, 0) Creating the cross section of the pipe 2

Creating the cross section of the pipe 3 4 Confirm 50 mm Input radii for two circles Default SI unit is millimeters 60 mm x, y, z = (0, 0, 0) 3 Creating the cross section of the pipe 3

Extruding circles to form a 3-D pipe 1 Use these buttons to change the view, e.g., zoom in and out, move, and pan. Click Features, choose Extrude Extruding circles to form a 3-D pipe 1

Extruding circles to form a 3-D pipe 2 Confirm 2 Enter the length of the pipe. When 10.0 m is entered, it will show 100000.00mm since the default SI unit is set in millimeters. Extruding circles to form a 3-D pipe 2

Creating Inlet and Exit lids Once pipe is created and saved with a file extension of *.SLDPRT, then inlet and exit lids are to be modeled in new working windows. These imaginary lids are needed to impose both Initial and Boundary Conditions for the COSMOS FloWorks to solve the flow. The Inlet and Exit lid modeling procedure is identical to that of the pipe modeling. The Circle and Extrude radio buttons are used to enable the modes.

Creating and moving of the lids 1 Once Inlet lid is created and saved as a part (*.SLDPRT) the exit lid is copied from it and moved to the exit of the pipe. Creating and moving of the lids 1

Creating and moving of the lids 2 Select along which axis the body is to be moved. Creating and moving of the lids 2

Creating and moving of the lids 3 4 Confirm and save 3 Move/Copy of the Body function is selected from Insert – Features –Move/Copy menu buttons. Enter the distance the body has to translate. Creating and moving of the lids 3

Assembly of the parts So far three parts are modeled and saved separately: Pipe, Inlet lid, and Exit lid. Next step is to assemble parts to form a complete working model which will be used to in COSMOS FloWorks CFD Suite. Assembly of the parts are done using the Insert – Part menu. First open any part file and then insert parts one by one in one working window.

Inserting Components Assembly of the parts can be performed by using Insert Component menu. Selecting the biggest object first is recommended. Subsequently select all the remaining parts to the model that is being assembled. It is very critical to verify that each part is inserted intended location. Even If there is (are) mismatch(es) of the parts, it still can be saved as a whole assembly. This will cause errors in the COSMOS FloWorks later on.

1 Select Part sub menu in the Insert Function. Then select which part is to be inserted. Assembly of the parts 1

Before saving the assembly, confirm each part is inserted properly Before saving the assembly, confirm each part is inserted properly. This diagram, for example, shows the pipe exit and the exit lid mated as designed. 2 Since parts already have proper locations to be placed, clicking in the yellow graphics area will suffice for insertion. Once all the parts are inserted, save the assembly with a file extension of *.SLDASM Assembly of the parts 2

Solving with FloWorks Once the model is designed and assembled, the turbulent pipe flow can be solved using the COSMOS FloWorks CFD Solver suite. Proper assigning of the solid and liquid properties is as important as accurate inputting of Initial and Boundary conditions. Solver sequence is as follows: Project Configuration – Units – Computational Domain- Initial & Boundary Conditions – Solve - Analyses

Project Configuration This is the project labeling procedure. When the configuration has to be modified later on, one can use the previous configuration. Previous data will be overwritten. If testing for several flow conditions, a new configuration should be created.

Unit System The units used in the SolidWorks modeling process will be converted to the unit system that is selected in this process. For this tutorial, the SI is chosen.

Analysis Type internal is chosen for a pipe flow Heat transfer is not occurring in this problem. However, solid inlet and exit lids have to be meshed to accommodate flow conditions. Although lids are invisible to flow, they still are considered as solids. If this box unchecked, lids will not be meshed i.e., the solver can not solve the flow.

Fluid Property Select Water for the working fluid This flow has both Laminar and Turbulent region.

Wall Conditions Adiabatic Wall is selected since heat transfer is not involved in this flow. 300 micrometers of surface roughness for the cast iron is obtained from material property tables.

Initial Conditions Initial conditions are not required for this Steady state flow. However, providing known flow conditions help reducing time for solution convergence.

Results and Geometry Resolution This slide bar will control the mesh size in the solution domain. Higher number setting, i.e., finer meshes may generate better solutions but it requires more CPU time and memory space. For the initial runs, it is recommended to set it near 3.

Symmetry Condition Since this model is symmetric, it is possible to “cut” the model in half or in quarter and use a symmetry boundary condition on the plane of symmetry. This procedure is not required but will significantly reduce CPU time and memory space thus more efficient analyses are possible.

Reduced Computational Domain Applying the symmetry condition reduces the computational domain in half.

Specifying the Initial Conditions 1 Click FloWorks, Insert, Initial Condition. Specifying the Initial Conditions 1

Specifying the Initial Conditions 2 Select the Inlet lid that is in contact with the fluid. Specifying the Initial Conditions 2

Specifying the Initial Conditions 3 Specify known properties of the flow. Inlet Velocity is calculated form inlet volumetric flow rate. Specifying the Initial Conditions 3

Specifying the Inlet Boundary Conditions 1 Click FloWorks, Insert, Boundary Condition. Specifying the Inlet Boundary Conditions 1

Specifying the Inlet Boundary Conditions 2 Select the Inlet lid inner face that is in contact with the fluid Specifying the Inlet Boundary Conditions 2

Specifying the Inlet Boundary Conditions 3 Select, enter Inlet flow properties Specifying the Inlet Boundary Conditions 3

Specifying the Exit Boundary Conditions 1 Click FloWorks, Insert, Boundary Condition. Specifying the Exit Boundary Conditions 1

Specifying the Exit Boundary Conditions 2 Select the Exit lid inner face that is in contact with the fluid Specifying the Exit Boundary Conditions 2

Specifying the Exit Boundary Conditions 3 Click Pressure Openings and choose Static pressure. Enter ambient pressure and the fluid temperature Specifying the Exit Boundary Conditions 3

Running the Calculation Click the FloWorks, Solve, Run. Above Run dialog box appears. Select Run to start the iteration process

Progress Report Window Info window shows real time progress of the solution as well as domain information such as cell values. While FloWorks is solving the flow, this window logs time such as start and end time of the iteration. Any error in the solution scheme, reverse flow condition, etc., will be listed in this window.

CFD Solution Analysis Once iteration is converged, data files are stored with the file extension of *. fdl in the same working folder. The solution files can be loaded/unloaded by selecting FloWorks, Results, Load/Unload options. Results such as pressure, velocity, temperature values are shown in both numerical data and graphics form. Numerical data are useful to obtain local properties of the flow, e.g., pressure drop, while graphical plots show flow behavior in the entire computational domain.

Results Summary Selecting FloWorks, Results, Results Summary will produce basic information about file structures, computational domain, and flow properties. From the summary, one can quickly calculate the pressure drop between inlet and exit: Pmax – Pmin =103,136.13 – 101,321.38 = 1,814.75 pa

Generating Plots Various flow properties can be shown on different types of plots Cut plots, Flow Trajectories, Surface plots, Iso-surface plots, Particle plots are most frequently used plot formats. Cut plot command window is shown by selecting cut plot icon on the main tool bars. Cut plane can be diagonal, horizontal, or vertical and it can be chosen by selecting a plane in the working window. Contours, Isolines, and Vectors can be plotted separately or in combinations on one plot.

Cut Plots Pressure contour is selected to be shown on the cut plot. Velocity vectors will also be shown on the same cut plot.

Pressure Contour and Velocity Vector Cut Plot Inlet Once Cut plot parameters are selected, combinations of flow properties are shown. Exit Pressure Contour and Velocity Vector Cut Plot

Velocity Profile Inlet Mid section Exit Velocity profiles are shown on the cut plane at the center of the pipe, where Vmin = 0.0m/s, Vmax = 1.54m/s, Vinlet = 1.273m/s. The flow has not reached to the fully developed stage near the Inlet, while the velocity profiles are consistent along the X-axis: Fully Developed. Due to the coarseness of the grids near pipe’s inner surface, flow in the boundary layer is not resolved.

Pressure Drop, CFD The calculation of the pressure drop, the objective of this simulation, is performed by directly comparing the pressures at the Inlet and the Exit: DP = Pressure Drop = Pmin –Pmax = Pexit – Pinlet = 101,321.38 – 103,136.13 Pa = -1,814.75 Pa = -1.81 kPa This result is to be compared with the analytic solution for the validation of the computational model.

Calculation of the Friction Factor f Here L is the length of the pipe with the fully developed flow, along with pressure loss DP is obtained from the computation. Taking the absolute value of the pressure drop and by substituting the values, we calculate the value of the friction factor: f = 0.023.

The Reynolds Number The water velocity in the circular pipe, V, is given by This is well over the critical Reynolds value of 2300, so the flow is a fully developed turbulent pipe flow.

Relative Roughness In order to obtain the value of the friction factor, f, from the experimental data such as the Moody Diagram, the relative roughness is calculated. Here e is the roughness of the pipe (300mm), and D is the diameter of the pipe.

Validation of the Solution The results are to be validated by comparing with: Existing charts such as Moody Diagrams The moody chart relates the Friction factor for fully developed pipe flow to the Reynolds number and relative roughness of a circular pipe. The relative roughness being , the ratio of the mean height of roughness of the pipe to the pipe diameter. In 1944, L.F. Moody plotted the Darcy-Weisbach friction factor into what is now known as the Moody Diagram. The analytical solutions The Colebrook and Haaland Equations are implicit equations which combines experimental results of studies of laminar and turbulent flow in pipes. They were developed in 1939 by C. F. Colebrook, in 1983 by S. E. Haaland, respectively.

Moody Diagram for fully developed turbulent pipe flow With the relative roughness and Reynolds number, the friction factor, f, can be obtained form this diagram. For this fully developed turbulent flow, the friction factor is f = 0.027. Friction factor, f = 0.027 Relative roughness=0.003 Reynolds Number = 1.418 x 105

Validation using Haaland Equation The value of friction factor calculated from Haaland Equation is in an excellent agreement with the result obtained from Moody Diagram which is based on the Colebrook Equation.

Validation: Error Calculation Results obtained from Moody Diagram and Haaland Equation: CFD Solution: Error:

Sources of Discrepancy There is a 14.8% difference between Experimental and CFD solutions. The sources of this discrepancy can be: Coarse meshes which did not resolve turbulent boundary layers Lack of refinement / reiteration processes Inaccurate turbulence model and/or constants Inlet velocity profile not being fully developed in the CFD simulation (minor)

Coarse Meshes Above plots show the size of the grids and their placement Inlet, mid-section, and the inclined views from left to right. Resolution of Level 4 was chosen for the initial configuration, however, to successfully resolve the turbulent buffer and viscous sub-layers smaller grids are to be used near the surface. To resolve this problem, the automatic mesh generating scheme must be turned off; manually assign grid size and placement for the different flow zones.

Turbulence Solver Modules To more accurately solve the flow, different Turbulent Kinetic Energy equations and parameters should be tested. Turbulence intrinsically has uncertainty and thus it is not possible to perfectly predict the turbulent flow as of now.

Conclusion Using SolidWorks CAD and COSMOS FloWorks CFD solver suites, a fully developed turbulent pipe flow has been successfully modeled and solved. The roughness of the pipe surface was also accounted for during the solution process. Although relatively large grids are used, the results obtained from analytic and CFD methods are in good agreement. Further grid and solver refining is required to obtain better solutions.

Acknowledgment This tutorial was developed under the NSF Grant DUE Number 053619