Tutorial: Heat and Mass Transfer with the Mixture Model

Similar documents
Tutorial 17. Using the Mixture and Eulerian Multiphase Models

Use 6DOF solver to calculate motion of the moving body. Create TIFF files for graphic visualization of the solution.

Tutorial: Riser Simulation Using Dense Discrete Phase Model

Calculate a solution using the pressure-based coupled solver.

Tutorial: Hydrodynamics of Bubble Column Reactors

Using the Eulerian Multiphase Model for Granular Flow

Simulation of Flow Development in a Pipe

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

Using Multiple Rotating Reference Frames

This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following:

Flow in an Intake Manifold

Modeling Evaporating Liquid Spray

Tutorial 2. Modeling Periodic Flow and Heat Transfer

Modeling Evaporating Liquid Spray

The purpose of this tutorial is to illustrate how to set up and solve a problem using the. Moving Deforming Mesh (MDM) using the layering algorithm.

Express Introductory Training in ANSYS Fluent Workshop 07 Tank Flushing

Using Multiple Rotating Reference Frames

Modeling Flow Through Porous Media

Modeling Unsteady Compressible Flow

Using a Single Rotating Reference Frame

Using the Discrete Ordinates Radiation Model

Non-Newtonian Transitional Flow in an Eccentric Annulus

Appendix: To be performed during the lab session

Tutorial: Modeling Liquid Reactions in CIJR Using the Eulerian PDF transport (DQMOM-IEM) Model

Modeling External Compressible Flow

Tutorial: Simulating a 3D Check Valve Using Dynamic Mesh 6DOF Model And Diffusion Smoothing

FLUENT Secondary flow in a teacup Author: John M. Cimbala, Penn State University Latest revision: 26 January 2016

Tutorial: Modeling Domains with Embedded Reference Frames: Part 2 Sliding Mesh Modeling

Cold Flow Simulation Inside an SI Engine

Lab 9: FLUENT: Transient Natural Convection Between Concentric Cylinders

Contents Contents Contents... 1 Abstract... 3 Nomenclature... 4 Index of Figures... 6 Index of Tables... 8 Introduction... 9 Theory...

c Fluent Inc. May 16,

Grid. Apr 09, 1998 FLUENT 5.0 (2d, segregated, lam) Grid. Jul 31, 1998 FLUENT 5.0 (2d, segregated, lam)

Module D: Laminar Flow over a Flat Plate

Modeling Supersonic Jet Screech Noise Using Direct Computational Aeroacoustics (CAA) 14.5 Release

Preliminary Spray Cooling Simulations Using a Full-Cone Water Spray

ANSYS FLUENT. Lecture 3. Basic Overview of Using the FLUENT User Interface L3-1. Customer Training Material

Project 2 Solution. General Procedure for Model Setup

Auto Injector Syringe. A Fluent Dynamic Mesh 1DOF Tutorial

Solver Basics. Introductory FLUENT Training ANSYS, Inc. All rights reserved. ANSYS, Inc. Proprietary

Revolve 3D geometry to display a 360-degree image.

and to the following students who assisted in the creation of the Fluid Dynamics tutorials:

Prerequisites: This tutorial assumes that you are familiar with the menu structure in FLUENT, and that you have solved Tutorial 1.

Flow and Heat Transfer in a Mixing Elbow

Compressible Flow in a Nozzle

Swapnil Nimse Project 1 Challenge #2

Advanced ANSYS FLUENT Acoustics

Solution Recording and Playback: Vortex Shedding

Express Introductory Training in ANSYS Fluent Workshop 04 Fluid Flow Around the NACA0012 Airfoil

Express Introductory Training in ANSYS Fluent Workshop 06 Using Moving Reference Frames and Sliding Meshes

CFD MODELING FOR PNEUMATIC CONVEYING

Fluent User Services Center

APPLIED COMPUTATIONAL FLUID DYNAMICS-PROJECT-3

Supersonic Flow Over a Wedge

Middle East Technical University Mechanical Engineering Department ME 485 CFD with Finite Volume Method Fall 2017 (Dr. Sert)

A B C D E. Settings Choose height, H, free stream velocity, U, and fluid (dynamic viscosity and density ) so that: Reynolds number

Heat transfer and Transient computations

Express Introductory Training in ANSYS Fluent Workshop 02 Using the Discrete Phase Model (DPM)

ANSYS AIM Tutorial Turbulent Flow Over a Backward Facing Step

3D Numerical Analysis of Two-Phase Immersion Cooling for Electronic Components

ANSYS AIM Tutorial Fluid Flow Through a Transition Duct

Free Convection Cookbook for StarCCM+

COMPUTATIONAL FLUID DYNAMICS ANALYSIS OF ORIFICE PLATE METERING SITUATIONS UNDER ABNORMAL CONFIGURATIONS

Step 1: Create Geometry in GAMBIT

Self-Cultivation System

CFD Simulation for Stratified Oil-Water Two-Phase Flow in a Horizontal Pipe

Introduction to ANSYS SOLVER FLUENT 12-1

Simulation and Validation of Turbulent Pipe Flows

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard

Speed and Accuracy of CFD: Achieving Both Successfully ANSYS UK S.A.Silvester

Simulation of Turbulent Flow around an Airfoil

Introduction to C omputational F luid Dynamics. D. Murrin

CFD modelling of thickened tailings Final project report

Introduction to ANSYS CFX

Project #3 MAE 598 Applied CFD

Turbulencja w mikrokanale i jej wpływ na proces emulsyfikacji

CHAPTER 5 STUDY OF THERMAL COMFORT IN A ROOM WITH INSECT PROOF SCREEN

Stratified Oil-Water Two-Phases Flow of Subsea Pipeline

Isotropic Porous Media Tutorial

ANSYS AIM Tutorial Steady Flow Past a Cylinder

CFD Analysis of a Fully Developed Turbulent Flow in a Pipe with a Constriction and an Obstacle

MODELING AND NUMERICAL INVESTIGATION OF HOT GAS DEFROST ON A FINNED TUBE EVAPORATOR USING COMPUTATIONAL FLUID DYNAMICS. A Thesis.

Best Practices: Electronics Cooling. Ruben Bons - CD-adapco

SOLIDWORKS Flow Simulation Options

Express Introductory Training in ANSYS Fluent Workshop 08 Vortex Shedding

SIMULATION OF PROPELLER-SHIP HULL INTERACTION USING AN INTEGRATED VLM/RANSE SOLVER MODELING.

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil

FLUENT Training Seminar. Christopher Katinas July 21 st, 2017

November c Fluent Inc. November 8,

ANSYS AIM Tutorial Compressible Flow in a Nozzle

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Use of CFD in Design and Development of R404A Reciprocating Compressor

TUTORIAL#4. Marek Jaszczur. Turbulent Thermal Boundary Layer on a Flat Plate W1-1 AGH 2018/2019

4.0 USER S GUIDE 4.1 DOS COMMAND LINE PREPROCESSOR

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

Investigation of mixing chamber for experimental FGD reactor

Workshop 3: Cutcell Mesh Generation. Introduction to ANSYS Fluent Meshing Release. Release ANSYS, Inc.

Simulating Sinkage & Trim for Planing Boat Hulls. A Fluent Dynamic Mesh 6DOF Tutorial

Modeling and Simulation of Single Phase Fluid Flow and Heat Transfer in Packed Beds

CFD VALIDATION FOR SURFACE COMBATANT 5415 STRAIGHT AHEAD AND STATIC DRIFT 20 DEGREE CONDITIONS USING STAR CCM+

Transcription:

Tutorial: Heat and Mass Transfer with the Mixture Model Purpose The purpose of this tutorial is to demonstrate the use of mixture model in FLUENT 6.0 to solve a mixture multiphase problem involving heat and mass transfer. Prerequisites This tutorial assumes that you are familiar with the FLUENT interface, and have a good understanding of basic setup and solution procedures. This tutorial will not cover the mechanics of using the models; instead, it will focus on the application of the models. If you have not used the mixture models before, the FLUENT Tutorial Guide will provide you with the necessary experience. Problem Description The problem to be solved in this tutorial is shown in the following Figure 1. Initially, the container contains water (the primary phase) at a temperature near the boiling point (372 K). The center portion of the bottom wall of he container is at a temperature higher than the boiling temperature, at 573 K. Because of conduction, the temperature of the fluid near this wall will increase beyond the saturation temperature (373 K). Vapor bubbles will form and rise, due to buoyancy, establishing a pattern similar to a bubble column with vapor escaping at the top and water recirculating in the container. The default mixture model, as implemented in FLUENT 6.0, does not solve for mass transfer between phases. Therefore User Defined Functions (UDFs) are necessary to model the mass transfer from the liquid to the vapor phase. This is done by incorporating a user defined mass sink term in the vapor continuity equation and an equivalent mass source terms in the liquid continuity equation. c Fluent Inc. May 16, 2002 1

Figure 1: Problem Specification 2 c Fluent Inc. May 16, 2002

Setup and Solution Step 1: Grid 1. Read in the grid file boil.msh. 2. Check and display the grid. Grid Mar 18, 2002 FLUENT 6.0 (2d, dp, segregated, lam) Figure 2: Graphics Display of the Grid Step 2: Models 1. Define Segregated solver with 2D space and Unsteady time condition. 2. Define the Mixture multiphase model and turn on the Impilicit Body Force. 3. Enable heat transfer by activating the Energy Equation. Step 3: Materials 1. Modify the properties for air. (a) Density=0.5542 (b) Cp=2014 (c) Thermal Conductivity=0.0261 (d) Viscosity=1.34e 05 2. Copy water-liquid from the database. (a) Change the values for Density and Viscosity to 1000 and 0.0009 respectively. Retain the default values for the other parameters. c Fluent Inc. May 16, 2002 3

3. Define the primary and secondary phases. Define Phases... (a) Set the phase material of primary-phase (phase-1) to water-liquid. Renamephase-1 to liquid. (b) Similarly set the secondary-phase material to air and rename it vapor. Change the value of Diameter to 0.0002. Step 4: Operating Conditions 1. Turn on Gravity and under Gravitational Acceleration, enter value of Y as -9.81. 2. Turn on Specified Operating Density, and set the value of Operating Density to that of vapor. Step 5: Boundary Condition 1. Set the boundary conditions for poutlet zone. (a) In the Boundary Conditions panel, select mixture for Phase. The Pressure Outlet panel appears. (b) Set the values of Gauge Pressure and Backflow Total Temperature to 0 and 372 respectively. (c) For vapor phase, set the value of Backflow Volume Fraction to 0. (d) Set the value of Temperature for wall-hot to 573 K. (e) Set Heat Flux for all other walls to 0. (f) Save the case and data files Step 6: Compile the Interpreted UDF s The UDFs are used to specify mass transfer between phases. If you want to use a mass transfer model that is not available in FLUENT, you can specify it yourself using a userdefined subroutine. The mass transfer terms are equal and opposite and are specified as source terms in the volume fraction equations. In addition, there is an energy source term to take into account the latent heat absorbed/released. For more information on interpreted UDF s, refer to Section 7.2, Interpreted UDFs, in the UDF Manual. 4 c Fluent Inc. May 16, 2002

1. Create a working directory. Save the C functions in your working directory. 2. Start FLUENT from your working directory. 3. Read the case file. 4. Compile the UDF using the Interpreted UDFs panel. (a) Enter the name of the C function ( source.c) under Source File Name. (b) Specify the C preprocessor to be used in the CPP Command Name field. (c) Keep the default Stack Size setting of 10000, unless the number of local variables in your function will cause the stack to overflow. In this case, set the Stack Size to a number that is greater than the number of local variables used. (d) Select the Use Contributed CPP option if you want to use the C preprocessor that Fluent Inc. has supplied, instead of using your own. (e) Click Compile. (f) When the compilation is over, click Close to close the panel. If you keep the panel open, the Compile button can be used repeatedly while you are in the process of debugging your function, since you can make changes with an editor in a separate window, and continue to compile until no errors are reported. Step 7: Assign the UDF s Define the macro s for liquid, vapor and mixtures. 1. Select fluid for Zone and liquid for Phase. Click Set... The Fluid panel opens. 2. Turn on Source Terms and set the value of Mass to udf liq src. 3. Similarly, in the Fluid panel for vapor, set the value of Mass to udf vap src and for mixture, set the value of Energy to udf enrg src. Step 8: Solution 1. Set the parameters that control the solution. (a) Retain the default selected equations (all of them). (b) Under Under-Relaxation Factors, set the values of Pressure to 0.5, Momentum to 0.2 and Volume Fraction to 0.4. (c) Under Discretization, setpressure interpolation scheme to Body Force Weighted and change Momentum and Volume Fraction to Second Order Upwind. (d) Retain the values for other parameters. 2. Initialize the flow field Temperature to 372 K. 3. Adapt the boundary region next to wall-hot. c Fluent Inc. May 16, 2002 5

(a) Under Boundary Zones, deselect all the zones and then select wall-hot. (b) Set Number of Cells to 1 and click on Mark to mark the cells for refinement. 4. Patch a temperature slightly higher than the saturation temperature of 373 defined in the UDF. (a) Select Temperature for Variable and boundary-r0 for Registers To Patch. (b) Set the Value to 373.15 and click on Patch. 5. Set commands for animations Solve Execute Commands... If required, set up commands to write out tiff files for animation. The Execute Commands panel is displayed. Define the commands as shown in the following panel. 6. Set the Time Step Size to 0.01 and Number of Time Steps to 1000 and click Iterate. 6 c Fluent Inc. May 16, 2002

Step 9: Postprocessing 1. Display filled contours of liquid velocity magnitude. (a) Select Velocity... and liquid Velocity Magnitude in the Contours Of drop-down list and click Display. 3.31e-01 2.98e-01 2.65e-01 2.31e-01 1.98e-01 1.65e-01 1.32e-01 9.93e-02 6.62e-02 3.32e-02 1.16e-04 Contours of liquid Velocity Magnitude (m/s) (Time=3.0000e+00) Mar 18, 2002 FLUENT 6.0 (2d, dp, segregated, mixture, lam, unsteady) Figure 3: Contours of liquid Velocity Magnitude 2. Display filled contours of vapor volume fraction. (a) Select Phases... and Volume fraction of vapor in the Contours Of drop-down list and click Display. 1.89e-01 1.70e-01 1.51e-01 1.33e-01 1.14e-01 9.47e-02 7.57e-02 5.68e-02 3.79e-02 1.89e-02 0.00e+00 Contours of Volume fraction of vapor (Time=3.0000e+00) Mar 18, 2002 FLUENT 6.0 (2d, dp, segregated, mixture, lam, unsteady) Figure 4: Contours of Volume fraction of vapor c Fluent Inc. May 16, 2002 7

3. Display filled contours of static pressure. (a) Select Pressure... and Static Pressure in the Contours Of drop-down list and click Display. 9.78e+03 8.80e+03 7.82e+03 6.84e+03 5.87e+03 4.89e+03 3.91e+03 2.93e+03 1.96e+03 9.78e+02 0.00e+00 Contours of Static Pressure (pascal) (Time=3.0000e+00) Mar 18, 2002 FLUENT 6.0 (2d, dp, segregated, mixture, lam, unsteady) Figure 5: Contours of Static Pressure 4. Display filled contours of static temperature. (a) Select Temperature... and Static Temperature in the Contours Of drop-down list and click Display. 3.77e+02 3.76e+02 3.76e+02 3.75e+02 3.75e+02 3.74e+02 3.74e+02 3.73e+02 3.73e+02 3.72e+02 3.72e+02 Contours of Static Temperature (k) (Time=3.0000e+00) Mar 18, 2002 FLUENT 6.0 (2d, dp, segregated, mixture, lam, unsteady) Figure 6: Contours of Static Temperature 8 c Fluent Inc. May 16, 2002

Results When you use interpreted UDFs, the name and contents of the source.c will be stored in the case file, and when you read the case in a later session, the routine(s) will be compiled during the reading process. Summary Application of the ASMM to solve a mixture multiphase problem involving heat and mass transfer has been demonstrated in this tutorial. Also, UDF s have been used to enhance the standard features of FLUENT. c Fluent Inc. May 16, 2002 9