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



Similar documents
Abaqus/CFD Sample Problems. Abaqus 6.10

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

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

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

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

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

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

Introduction to COMSOL. The Navier-Stokes Equations

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

CFD Application on Food Industry; Energy Saving on the Bread Oven

Heat Transfer by Free Convection

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

. Address the following issues in your solution:

How To Run A Cdef Simulation

CFD Application on Food Industry; Energy Saving on the Bread Oven

Benchmarking COMSOL Multiphysics 3.5a CFD problems

STEADY STATE VORTEX STRUCTURE OF LID DRIVEN FLOW INSIDE SHALLOW SEMI ELLIPSE CAVITY

Steady Flow: Laminar and Turbulent in an S-Bend

CFD Simulation of Subcooled Flow Boiling using OpenFOAM

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

ME6130 An introduction to CFD 1-1

Eco Pelmet Modelling and Assessment. CFD Based Study. Report Number R1D1. 13 January 2015

MAE 561 Computational Fluid Dynamics Final Project

NUMERICAL INVESTIGATION OF HEAT AND MASS TRANSFER IN A REFRIGERATED TRUCK COMPARTMENT

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

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

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

CFD Based Air Flow and Contamination Modeling of Subway Stations

OpenFOAM Opensource and CFD

This tutorial provides a recipe for simulating L

Dimensionless versus Dimensional Analysis in CFD and Heat Transfer

NUCLEAR ENERGY RESEARCH INITIATIVE

A CODE VERIFICATION EXERCISE FOR THE UNSTRUCTURED FINITE-VOLUME CFD SOLVER ISIS-CFD

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

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

MEL 807 Computational Heat Transfer (2-0-4) Dr. Prabal Talukdar Assistant Professor Department of Mechanical Engineering IIT Delhi

Application of CFD Simulation in the Design of a Parabolic Winglet on NACA 2412

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

2013 Code_Saturne User Group Meeting. EDF R&D Chatou, France. 9 th April 2013

Dimensional Analysis

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

How To Model A Horseshoe Vortex

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

Laminar Flow in a Baffled Stirred Mixer

Purdue University - School of Mechanical Engineering. Objective: Study and predict fluid dynamics of a bluff body stabilized flame configuration.

INTERNATIONAL JOURNAL OF MECHANICAL ENGINEERING AND TECHNOLOGY (IJMET)

CFD Grows Up! Martin W. Liddament Ventilation, Energy and Environmental Technology (VEETECH Ltd) What is Computational Fluid Dynamics?

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics

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

External bluff-body flow-cfd simulation using ANSYS Fluent

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

Using CFD to improve the design of a circulating water channel

Use of OpenFoam in a CFD analysis of a finger type slug catcher. Dynaflow Conference 2011 January , Rotterdam, the Netherlands

Simulation of Flow Field and Particle Trajectories in Hard Disk Drive Enclosures

Flow Physics Analysis of Three-Bucket Helical Savonius Rotor at Twist Angle Using CFD

CFD simulations using an AMR-like approach in the PDE Framework Peano

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

Multi-Block Gridding Technique for FLOW-3D Flow Science, Inc. July 2004

LBM BASED FLOW SIMULATION USING GPU COMPUTING PROCESSOR

Problem Statement In order to satisfy production and storage requirements, small and medium-scale industrial

THERMAL STRATIFICATION IN A HOT WATER TANK ESTABLISHED BY HEAT LOSS FROM THE TANK

EXAMPLE: Water Flow in a Pipe

Energy Efficient Data Center Design. Can Ozcan Ozen Engineering Emre Türköz Ozen Engineering

Basic Equations, Boundary Conditions and Dimensionless Parameters

Flow in data racks. 1 Aim/Motivation. 3 Data rack modification. 2 Current state. EPJ Web of Conferences 67, (2014)

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

Introduction to Computational Fluid Dynamics

TECHNICAL BRIEF: Selected Benchmarks from Commercial CFD Codes

CHAPTER 4 CFD ANALYSIS OF THE MIXER

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

Supporting document to NORSOK Standard C-004, Edition 2, May 2013, Section 5.4 Hot air flow

Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms

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

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

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

MAXIMISING THE HEAT TRANSFER THROUGH FINS USING CFD AS A TOOL

Multiphase Flow - Appendices

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

How To Write A Program For The Pd Framework

OPEN-SOURCE CFD ANALYSIS OF MULTI-DOMAIN UNSTEADY HEATING WITH NATURAL CONVECTION

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

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

NUMERICAL SIMULATION OF FLOW FIELDS IN CASE OF FIRE AND FORCED VENTILATION IN A CLOSED CAR PARK

Error Analysis in Finite Volume CFD

Heat Transfer From A Heated Vertical Plate

Colocated Finite Volume Schemes for Fluid Flows

Module 6 Case Studies

Paper Pulp Dewatering

COMPARISON OF SOLUTION ALGORITHM FOR FLOW AROUND A SQUARE CYLINDER

Numerical simulations of heat transfer in plane channel

A DEVELOPMENT AND VERIFICATION OF DENSITY BASED SOLVER USING LU-SGS ALGORITHM IN OPENFOAM

Use of Computational Fluid Dynamics for Calculating Flow Rates Through Perforated Tiles in Raised-Floor Data Centers

ASSESSMENT OF MODELING SLATTED FLOOR AS POROUS MEDIA IN LIVESTOCK BUILDINGS IN TWO VENTILATION SYSTEMS. Inge Lehmanns Gade 10, 8000, Aarhus C, Denmark

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

Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2)

Transcription:

Hands on computer session: 1. Lid driven flow in a cavity [Time: 1 h 30 ] Objects choice of computational domain, problem adimensionalization and definition of boundary conditions; influence of the mesh refinement (uniform mesh vs. near wall refined mesh, increasingly refined meshes); evaluation of different discretization schemes: accurancy and dissipative effects; identification of reference data, calculation of quantities to verify simulation accuracy (streamfunction, velocity profiles along vertical and horizontal midlines); Richardson extrapolation as a discretization error extimator. Physical problem A square cavity filled with flow; the top wall moves with a uniform velocity U: isothermal laminar incompressible problem; primary central vortex and secondary vortices at the corners; complex flow patterns at increasing Reynolds number; stability bounds for Central Difference Scheme. Centro Interdipartimentale di Fluidodinamica e Idraulica 1

Non dimensional data top wall velocity U = 1 cavity width L = 2 cavity height H = 2 Reynolds number Re = 1000 and Re = 10000 fluid adimensional density rho = 1 fluid adimensional viscosity mu = 2/Re Worksheet Mesh generation Boundary conditions Solution method Results mesh.4a: uniform mesh 20x20x1 cells; mesh.4b: near wall refined mesh 20x20x1 cells; mesh.4c: near wall refined mesh 40x40x1 cells; mesh.4d: near wall refined mesh 80x80x1 cells; create a subdomain (a quarter domain) with block structure grid create near wall refinement (uniform space factor) use CGEN-REFLECT to replicate subdomain regions use symmetry B.C. to set up a bidimensional simulation use Wall B.C.(slip option) at the top wall use Wall B.C.(no-slip option) at the bottom and side walls steady state simulation at Re=1000 (mesh 4a,4b,4c), solve for V, P steady state simulation at Re=10000 (mesh 4c,4d), solve for V, P use of differencing scheme (UD,CD,MARS) considerations over velocity field (velocity vectors and stream function contour plots) extraction of u and v velocity component profiles along the vertical and the horizontal midlines comparison to the literature results Richardson extrapolation References Ghia, U., Ghia, K. N., and Shin C.T., (1982), High-Re solutions for incompressible flows using the Navier-Stokes equations and a multigrid method, J.Comput.Phys, 48, 387-411. Shon, J.L., (1988), Evaluation of FIDAP on some classical laminar and turbolent bench-marks, Int. J. Numer. Meth. Fluids, 8, 1469-1490. Nonino, C., and Croce, G., (1997), An equal-order velocity-pressure algorithm for incompressible thermal flows, part 2: validation, Numer. Heat Transfer, 32, 17-35. Centro Interdipartimentale di Fluidodinamica e Idraulica 2

Geometry and Results Figure 1: Refined grid 40x40 Figure 2: Streamfunction plot: right, Re=1000; left, Re=10000 [Ref.3] Figure 3: Streamfunction plot: right, Re=1000 (CDS); left, Re=10000 (MARS) Centro Interdipartimentale di Fluidodinamica e Idraulica 3

Re1000: u and v velocity components along vertical and horizontal midlines Figure 4: mesh with 20x20 cells: left,uniform mesh; right: near wall refined mesh.square[ref.3] Figure 5: Left: mesh with 20x20 cells; right: mesh comparison.square[ref.3]. Centro Interdipartimentale di Fluidodinamica e Idraulica 4

Re10000: u and v velocity components along vertical and horizontal midlines Figure 6: Meshes and discretization schemes comparison.square[ref.3]. Centro Interdipartimentale di Fluidodinamica e Idraulica 5

Reference values u components along vertical midline Re=1000 Re=10000 y u u 1.0 1.0 1.0 0.9532 0.65928 0.47221 0.9376 0.57492 0.47783 0.9218 0.51117 0.4807 0.9062 0.46604 0.47804 0.7032 0.33304 0.34635 0.4688 0.18719 0.20673 0.2344 0.05702 0.08344 0.0-0.0608 0.03111-0.0938-0.10648-0.0754-0.4374-0.27805-0.23186-0.6562-0.38289-0.32709-0.7968-0.2973-0.38-0.8594-0.2222-0.41657-0.875-0.20196-0.42537-0.8906-0.18109-0.42735-1.0 0.0 0.0 v components along horizontal midline Re=1000 Re=10000 x v v 1.0 0.0 0.0 0.9376-0.21388-0.54302 0.9218-0.27669-0.52987 0.9062-0.33714-0.49099 0.8906-0.39188-0.45863 0.8126-0.5155-0.41496 0.7188-0.42665-0.36737 0.6094-0.31966-0.30719 0.0 0.02526 0.00831-0.5312 0.32235 0.27224-0.5468 0.33075 0.28003-0.6874 0.37095 0.3507-0.8124 0.32627 0.41487-0.8438 0.30353 0.43124-0.8594 0.29012 0.43733-0.875 0.27485 0.43983-1 0.0 0.0 Centro Interdipartimentale di Fluidodinamica e Idraulica 6

MACROS! Geometry.MAC *!!*** complete mesh generation by symmetry along x and y! get vmax mxve cset all cgen,2,vmax,cset,cset,1,vref,1,2 cset all cplot get vmaxnew mxve cgen,2,vmaxnew,cset,cset,1,vref,1,1 cset all cplot vmer all vcomp all ccomp all cset all cdirection,1,0,1,1,1 restructure,50000,,default, $y vset news vran 0,49000,1 vcomp all $y cset all cplot!umidplane-x0-gu.mac *!!*** y coordinate and u velocity component extraction on vertical midline to screen and to file.usr! vset subset gran -0.0001 0.0001,,, -0.01 0.01 greset y getv, None,SU gpost,vset,,,next frame,1,xreg,init,4 frame,1,xtitle,4.3,1.5 Y LOCATION frame,1,yreg,init,9 frame,1,ytitle,0.5,5.5 SU term,,x gdraw,1 rlabel,9,on SU Centro Interdipartimentale di Fluidodinamica e Idraulica 7

lint,9,9,3,1 symt,9,9,8,1 $rtab,9,y,y bart,9,9,90,1 gredraw oper,getv,x,1,1 oper,getv,y,1,2 oper,getv,z,1,3 oper,getv,su,4 savu,file.usr,both,user,vset I9,6X,4G16.9 close file.usr! Vmidplane-y0-GU.MAC *!!*** x coordinate and v velocity component extraction on horizontal midline to screen and to file.usr! vset subset gran,,, -0.0001 0.0001-0.01 0.01 greset y getv, None,SV gpost,vset,,,next frame,1,xreg,init,3 frame,1,xtitle,4.3,1.5 X LOCATION frame,1,yreg,init,9 frame,1,ytitle,0.5,5.5 SV term,,x gdraw,1 rlabel,9,on SV lint,9,9,3,1 symt,9,9,8,1 $rtab,9,y,y bart,9,9,90,1 gredraw oper,getv,x,1,1 oper,getv,y,1,2 oper,getv,z,1,3 oper,getv,sv,4 savu,file.usr,both,user,vset I9,6X,4G16.9 close file.usr Centro Interdipartimentale di Fluidodinamica e Idraulica 8

! U-V-midplane.MAC *!!*** comparison of u and v velocity profile from different file.pst! - load exe4-ud.pst greset y vset subset gran -0.0001 0.0001,,, -0.01 0.01 greset y numreg,100 getv, None,SU gpost,vset,,,1 sens dele all vset subset gran,,, -0.0001 0.0001-0.01 0.01 getv, None,SV gpost,vset,,,12 frame,1,xreg,init,14,9 frame,1,yreg,init,20,4 frame,1,xrange,-1,1 frame,1,xtitle,4.94,1.6 U frame,1,yrange,-1,1 frame,1,ytitle,0.71,5.51 V rlabel,20,on SV lint,20,11,3,1 symt,20,20,8,1 $rtab,20,y,n bart,20,20,90,1 rlabel,4,on Y LOCATION lint,4,4,3,1 symt,4,4,8,1 $rtab,4,y,n bart,4,4,90,1 term,,x gdraw,1 load exe4mars.pst vset subset gran -0.0001 0.0001,,, -0.01 0.01 getv, None,SU gpost,vset,,,24 sens dele all vset subset gran,,, -0.0001 0.0001-0.01 0.01 getv, None,SV Centro Interdipartimentale di Fluidodinamica e Idraulica 9

gpost,vset,,,36 frame,1,xreg,init,38,32,14,9 frame,1,yreg,init,44,27,20,4 frame,1,xrange,-1,1 frame,1,xtitle,4.94,1.6 U frame,1,yrange,-1,1 frame,1,ytitle,0.71,5.51 V rlabel,44,on SV lint,44,3,3,1 symt,44,44,8,1 $rtab,44,y,n bart,44,44,90,1 rlabel,27,on Y LOCATION lint,27,27,3,1 symt,27,27,8,1 $rtab,27,y,n bart,27,27,90,1 term,,x gdraw,1 Centro Interdipartimentale di Fluidodinamica e Idraulica 10