Tutorial: Dam-Break Simulation Using FLUENT s Volume of Fluid Model

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

External bluff-body flow-cfd simulation using ANSYS Fluent

GAMBIT Demo Tutorial

Multiphase Flow - Appendices

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics

Introductory FLUENT Training

Tutorial: Using a UDF to Control the Dynamic Mesh of a Flexible Oscillating Membrane

Steady Flow: Laminar and Turbulent in an S-Bend

Customer Training Material. Lecture 5. Solver Settings ANSYS FLUENT. ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.

Trace Layer Import for Printed Circuit Boards Under Icepak

ME6130 An introduction to CFD 1-1

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

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

OpenFOAM Opensource and CFD

ANSYS FLUENT. Using Moving Reference Frames and Sliding Meshes WS5-1. Customer Training Material

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Introduction to CFD Analysis

AB3080 L. Learning Objectives: About the Speaker:

Tetrahedral Mesh Generation

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

CCTech TM. ICEM-CFD & FLUENT Software Training. Course Brochure. Simulation is The Future

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

Laminar Flow in a Baffled Stirred Mixer

Introduction to COMSOL. The Navier-Stokes Equations

Fluid Flow Simulation Software Nᐧ FLOW. Tutorial Introduction. Dam Break Simulation

Finding Drag Coefficient using Solidworks Flow Simulation

CFD Analysis Of Multi-Phase Flow And Its Measurements

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

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

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

Modeling and Numerical Blood Flow Analysis of Tibial Artery using CFD

This tutorial provides a recipe for simulating L

CFD modelling of floating body response to regular waves

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

Introduction to CFD Analysis

CastNet: Modelling platform for open source solver technology

COMPARISON OF SOLUTION ALGORITHM FOR FLOW AROUND A SQUARE CYLINDER

CFD SUPPORTED EXAMINATION OF BUOY DESIGN FOR WAVE ENERGY CONVERSION

Embankment Consolidation

Performance Comparison of a Vertical Axis Wind Turbine using Commercial and Open Source Computational Fluid Dynamics based Codes

Tutorial for laboratory project #2 Using ANSYS Workbench. For Double Pipe Heat Exchanger

version 3.0 tutorial - Turbulent mixing in a T-junction with CFDSTUDY in SALOME contact: saturne-support@edf.fr

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

Abaqus/CFD Sample Problems. Abaqus 6.10

Module 6 Case Studies

CFD Analysis of Sloshing Within Tank

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

CastNet: GUI environment for OpenFOAM

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

How To Run A Cdef Simulation

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

Model of a flow in intersecting microchannels. Denis Semyonov

SINGLE TRAIN PASSING THROUGH A TUNNEL

All the following videos are at this YouTube playlist:

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

Design and Analysis of Engine Cooling Fan

CFD ANALYSIS OF CONTROLLABLE PITCH PROPELLER USED IN MARINE VEHICLE

Applying a circular load. Immediate and consolidation settlement. Deformed contours. Query points and query lines. Graph query.

Auxiliary Processing swak4foam and PyFoam

NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM

Modeling Fluid Flow Using Fluent

Computational Fluid Dynamics (CFD) and Multiphase Flow Modelling. Associate Professor Britt M. Halvorsen (Dr. Ing) Amaranath S.

Heat Transfer by Free Convection

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

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

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

TVM 4155 Numerical modelling and hydraulics 10. March OpenFOAM homework

3. Prescribe boundary conditions at all boundary Zones:

The influence of mesh characteristics on OpenFOAM simulations of the DrivAer model

Computational Fluid Dynamic Modeling Applications

Advanced discretisation techniques (a collection of first and second order schemes); Innovative algorithms and robust solvers for fast convergence.

Overset Grids Technology in STAR-CCM+: Methodology and Applications

The Multiphase Capabilities of the CFD Toolbox OpenFOAM for Hydraulic Engineering Applications

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

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

Modeling of Earth Surface Dynamics and Related Problems Using OpenFOAM

Setting Up Outlook on Workstation to Capture s

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

How To Model A Horseshoe Vortex

APPENDIX 3 CFD CODE - PHOENICS

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

COMPUTATIONAL FLUID DYNAMICS USING COMMERCIAL CFD CODES

Planetary Orbit Simulator Student Guide

ANSYS CFD-Post Tutorials

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

HPC enabling of OpenFOAM R for CFD applications

CFD: What is it good for?

PUTTING THE SPIN IN CFD

Aerodynamic Department Institute of Aviation. Adam Dziubiński CFD group FLUENT

Visual Tutorial Basic Edition 1. Visual. Basic Edition Tutorial.

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

ANSYS CFD-Post Standalone: Tutorials

CONVERGE Features, Capabilities and Applications

Validations of CFD Code for Density-Gradient Driven Air Ingress Stratified Flow

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

Using Computational Fluid Dynamics (CFD) Simulation to Model Fluid Motion in Process Vessels on Fixed and Floating Platforms

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Introduction to ANSYS

Transcription:

Tutorial: Dam-Break Simulation Using FLUENT s Volume of Fluid Model Purpose This tutorial examines the dam-break problem using the Volume of Fluid (VOF) multiphase model. This tutorial demonstrates how to do the following: Set up a dam-break problem. Choose the time step by estimating the maximum possible velocity of the interface and the grid cell dimension. Solve the problem using the VOF model. Manipulate the solution parameters. Prerequisites This tutorial assumes that you are familiar with the FLUENT interface and that you have a good understanding of basic setup and solution procedures. In this tutorial, you will use VOF multiphase model, so you should have some experience with it. This tutorial will not cover the mechanics of using this model; instead, it will focus on the application of this model to solve a dam-break problem. If you have not used this model before, it would be helpful to first refer to the FLUENT 6.3 User s Guide and the FLUENT 6.2 Tutorial Guide. Problem Description The initial setup of the dam-break problem is shown in Figure 1. In this problem, a rectangular column of water, in hydrostatic equilibrium, is confined between two walls. Gravity is acting downwards with a magnitude of -9.81 m/s 2. At the beginning of the calculation, the right wall is removed and the water is allowed to flow out to the horizontal wall. c Fluent Inc. November 6, 2006 1

1.00e+00 9.50e-01 9.00e-01 8.50e-01 8.00e-01 7.50e-01 7.00e-01 6.50e-01 6.00e-01 5.50e-01 5.00e-01 4.50e-01 4.00e-01 3.50e-01 3.00e-01 2.50e-01 2.00e-01 1.50e-01 1.00e-01 5.00e-02 0.00e+00 Contours of Volume fraction (water-liquid) (Time=0.0000e+00) Figure 1: Initial Setup of the Problem Preparation 1. Copy the mesh file, dambreak.msh.gz to the working folder. 2. Start the 2D (2d) version of FLUENT. 2 c Fluent Inc. November 6, 2006

Setup and Solution Step 1: Grid 1. Read the grid file dambreak.msh.gz. 2. Check the grid. Grid Check 3. Display the grid (Figure 2). Display Grid... (a) Click the Colors... button to open the Grid Colors panel. i. Select Color By ID. This will assign a different color to each zone in the domain, rather than to each type of zone. ii. Close the Grid Colors panel. (b) Click Display. (c) Close the Grid Display panel. Grid FLUENT 6.3 (2d, pbns, lam) Figure 2: Grid Display c Fluent Inc. November 6, 2006 3

Step 2: Models 1. Define the solver settings. Define Models Solver... (a) Select Unsteady for Time. (b) Click OK to close the Solver panel. 2. Define the model settings. Define Models Multiphase... (a) Select the Volume of Fluid multiphase model. (b) Enable Implicit Body Force Formulation. (c) Click OK to close the Multiphase Model panel. Step 3: Materials The default properties of water and air are the correct values for this problem. You can check them in the Materials panel. 1. Define the material properties. Define Materials... (a) Retain the default settings for air. (b) Define the new material by copying water-liquid (h20<l>) from the Fluent Database. (c) Click Change/Create and close the Materials panel. 2. Define the primary (air) and secondary (water-liquid) phases. Define Phases... (a) Specify air as the primary phase. (b) Specify water-liquid as the secondary phase. (c) Close the Phases panel. 4 c Fluent Inc. November 6, 2006

Step 4: Operating Conditions Define Operating Conditions... 1. Enable Gravity. 2. Enter -9.81 m/s 2 for Gravitational Acceleration in the Y direction. 3. Enable Specified Operating Density and retain the default value for Operating Density. 4. Click OK to close the Operating Conditions panel. Step 5: Boundary Conditions Define Boundary Conditions... 1. Set the boundary conditions for poutlet. (a) In the drop-down list for Phase, select water-liquid and click the Set... button. i. Retain the default value of 0 for Backflow Volume Fraction. ii. Click OK to close the Pressure Outlet panel. (b) Close the Boundary Conditions panel. Step 6: Solution 1. Set the solution parameters. Solve Controls Solution... (a) Enter 0.9 for Pressure, 0.7 for Momentum, and 1 for the remaining parameters in the Under-Relaxation Factors group box. (b) Select PRESTO! from the Pressure drop-down list, and First Order Upwind from the Momentum drop-down list in the Discretization group box. (c) Select PISO from the Pressure-Velocity Coupling drop-down list. PISO is recommended for transient flow simulations. (d) Click OK to close the Solution Controls panel. 2. Set the termination criteria for Pressure. Solve Controls Multigrid... (a) Enter 0.001 for Termination Value for Pressure. (b) Click OK to close the Multigrid Controls panel. c Fluent Inc. November 6, 2006 5

3. Initialize the solution. Solve Initialize Initialize... (a) Retain the default values for all components and click Init. (b) Close the Solution Initialization panel. 4. Patch the initial distribution of the water-liquid. Solve Initialize Patch... (a) In the drop-down list for Phase, select water-liquid. (b) In the Variable list, select Volume Fraction. (c) Select water in the Zones To Patch list. (d) Set the Value to 1. (e) Click Patch and close the Patch panel. 5. Enable the plotting of residuals during the calculation. Solve Monitors Residual... (a) Enable Plot. (b) Click OK to close the Residual Monitors panel. 6. Calculate the time step by estimating the maximum possible velocity of the interface and the grid cell dimension. Courant = t x cell v fluid ρgh = ρ 2 v2 fluid v fluid = 2gh 10m/s 7. Set the time stepping parameters. Solve Iterate... (a) Enter 0.01 (s) for Time Step Size. (b) Enter 20 for Number of Time Steps. t = x cell /v fluid 0.01sec (c) Enter 40 for Max. Iterations per Time Step. (d) Click Apply. 8. Save the initial case and data files, (dambreak.cas.gz and dambreak.dat.gz). 9. Click Iterate to start the calculation. 10. After FLUENT completes the specified number of iterations, run the calculation further successively specifying 30, 30, and 20 (a total of 80) for Number of Time Steps. 6 c Fluent Inc. November 6, 2006

11. Save the case and data files after each set of iterations. This will help in viewing the progress of the VOF simulation. Step 7: Postprocessing The velocity vectors and contours of velocity for the VOF model are displayed for four time step values. The following figures (Figure 3 to Figure 9) show the progression of the solution as the number of time steps is increased. 1. Display velocity vectors after 20 time steps (Figure 3). (a) Select Velocity from the Vectors Of drop-down list. (b) Select mixture from the Phase drop-down list. (c) Select Velocity... and Velocity Magnitude from the Color By drop-down lists and click Display. 2. Display filled contours of volume fraction of water-liquid after 20 time steps (Figure 4). (a) Select Phases... and Volume Fraction from the Contours Of drop-down lists. (b) Select water-liquid from the Phase drop-down list and click Display. 3. Similarly, display the contours of volume fraction and velocity vectors after 50, 80, and 100 time steps (Figure 5 to Figure 10). c Fluent Inc. November 6, 2006 7

4.26e+00 4.05e+00 3.84e+00 3.62e+00 3.41e+00 3.20e+00 2.99e+00 2.77e+00 2.56e+00 2.35e+00 2.14e+00 1.92e+00 1.71e+00 1.50e+00 1.29e+00 1.08e+00 8.63e-01 6.51e-01 4.39e-01 2.26e-01 1.41e-02 Velocity Vectors Colored By Velocity Magnitude (mixture) (m/s) (Time=2.0000e-01) Figure 3: Velocity Vectors Colored By Velocity Magnitude after 20 Time Steps 1.00e+00 9.50e-01 9.00e-01 8.50e-01 8.00e-01 7.50e-01 7.00e-01 6.50e-01 6.00e-01 5.50e-01 5.00e-01 4.50e-01 4.00e-01 3.50e-01 3.00e-01 2.50e-01 2.00e-01 1.50e-01 1.00e-01 5.00e-02 0.00e+00 Contours of Volume fraction (water-liquid) (Time=2.0000e-01) Figure 4: Contours of Water Volume Fraction after 20 Time Steps 8 c Fluent Inc. November 6, 2006

7.33e+00 6.97e+00 6.60e+00 6.24e+00 5.87e+00 5.51e+00 5.14e+00 4.78e+00 4.41e+00 4.05e+00 3.68e+00 3.32e+00 2.95e+00 2.58e+00 2.22e+00 1.85e+00 1.49e+00 1.12e+00 7.58e-01 3.93e-01 2.78e-02 Velocity Vectors Colored By Velocity Magnitude (mixture) (m/s) (Time=5.0000e-01) Figure 5: Velocity Vectors Colored By Velocity Magnitude after 50 Time Steps 1.00e+00 9.50e-01 9.00e-01 8.50e-01 8.00e-01 7.50e-01 7.00e-01 6.50e-01 6.00e-01 5.50e-01 5.00e-01 4.50e-01 4.00e-01 3.50e-01 3.00e-01 2.50e-01 2.00e-01 1.50e-01 1.00e-01 5.00e-02 0.00e+00 Contours of Volume fraction (water-liquid) (Time=5.0000e-01) Figure 6: Contours of Water Volume Fraction after 50 Time Steps c Fluent Inc. November 6, 2006 9

9.01e+00 8.56e+00 8.11e+00 7.66e+00 7.21e+00 6.76e+00 6.31e+00 5.86e+00 5.41e+00 4.96e+00 4.51e+00 4.06e+00 3.61e+00 3.16e+00 2.71e+00 2.26e+00 1.80e+00 1.35e+00 9.04e-01 4.53e-01 2.46e-03 Velocity Vectors Colored By Velocity Magnitude (mixture) (m/s) (Time=8.0000e-01) Figure 7: Velocity Vectors Colored By Velocity Magnitude after 80 Time Steps 1.00e+00 9.50e-01 9.00e-01 8.50e-01 8.00e-01 7.50e-01 7.00e-01 6.50e-01 6.00e-01 5.50e-01 5.00e-01 4.50e-01 4.00e-01 3.50e-01 3.00e-01 2.50e-01 2.00e-01 1.50e-01 1.00e-01 5.00e-02 0.00e+00 Contours of Volume fraction (water-liquid) (Time=8.0000e-01) Figure 8: Contours of Water Volume Fraction after 80 Time Steps 10 c Fluent Inc. November 6, 2006

9.35e+00 8.88e+00 8.41e+00 7.94e+00 7.48e+00 7.01e+00 6.54e+00 6.08e+00 5.61e+00 5.14e+00 4.68e+00 4.21e+00 3.74e+00 3.28e+00 2.81e+00 2.34e+00 1.88e+00 1.41e+00 9.41e-01 4.75e-01 7.71e-03 Velocity Vectors Colored By Velocity Magnitude (mixture) (m/s) (Time=1.0000e+00) Figure 9: Velocity Vectors Colored By Velocity Magnitude after 100 Time Steps 1.00e+00 9.50e-01 9.00e-01 8.50e-01 8.00e-01 7.50e-01 7.00e-01 6.50e-01 6.00e-01 5.50e-01 5.00e-01 4.50e-01 4.00e-01 3.50e-01 3.00e-01 2.50e-01 2.00e-01 1.50e-01 1.00e-01 5.00e-02 0.00e+00 Contours of Volume fraction (water-liquid) (Time=1.0000e+00) Figure 10: Contours of Water Volume Fraction after 100 Time Steps c Fluent Inc. November 6, 2006 11

Step 8: Manipulation of Solution Parameters 1. Solve the problem by manipulating different solution parameters. Interface tracking scheme. Enable/Disable PISO. Pressure interpolation scheme. Discretization scheme for momentum, volume fraction. Reference density value and location. Time step size. Summary In this tutorial, a dam-break problem was solved using the Volume of Fluid (VOF) model in FLUENT. 12 c Fluent Inc. November 6, 2006