WS7-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory #002601 Introductory FLUENT Training Workshop 7 Tank Flushing.

Slides:



Advertisements
Similar presentations
Chapter 10 Transient Flow Modeling
Advertisements

Working with Profiles in IX1D v 3 – A Tutorial © 2006 Interpex Limited All rights reserved Version 1.0.
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Workshop 7 Tank Flushing
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Workshop 10 Turbo Pre and Post
Workshop 5 Cavitating Centrifugal Pump
Workshop 8 Transient Brake Rotor
WS11-1 VND101, Workshop 11 MSC.visualNastran 4D Exercise Workbook Bracket.
Chapter 4 Boundary Conditions
Workshop 15 Hybrid meshing of a simple HVAC assembly
© Fluent Inc. 5/10/2015N1 Fluids Review TRN Postprocessing and Visualization.
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Centrifugal Pump
Workshop XX Transonic Flow over a RAE 2822 Airfoil
Workshop 2 Simulate the Crushing of an Empty Soda Can
Electromagnetic Analysis of a 2 Gap Solenoid
UNICAMP THE HEIGHT OF LIQUID METHOD FOR FREE SURFACE FLOWS Flow simulations of real processes often involve fluids that are separated by a sharp interface.
Workshop 1 Mixing T-Junction
Flow over an Obstruction MECH 523 Applied Computational Fluid Dynamics Presented by Srinivasan C Rasipuram.
Chapter 2 Creating Winding Bodies from Line Bodies Workshop 1.
Workshop 3 Room Temperature Study
Chapter 5 Using Business Information Sets
Axisymmetric Analysis of a Pipe Assembly
Workshop 1 Taylor Impact Test – Basic Simulation
Chapter 10 Heat Transfer Introduction to CFX.
1 CREL meeting 2004 CFD Simulation of Fisher-Tropsch Synthesis in Slurry Bubble Column By Andrey Troshko Prepared by Peter Spicka Fluent Inc. 10 Cavendish.
ANSYS BladeModeler 11.0 Practical 1
Workshop 2 Transonic Flow over a NACA 0012 Airfoil
Workshop 2 Transonic Flow Over a NACA 0012 Airfoil.
© Fluent Inc. 9/20/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Basics.
Workshop 4 Flow Through Porous Media
Catalytic Converter Simulation
CFD Pre-Lab 2 Simulation of Turbulent Flow around an Airfoil Seong Mo Yeon, and Timur Dogan 11/12/2013.
Getting Started With AutoCAD ENGR 2 Week #1 Laboratory.
Workshop 3 Room Temperature Study (Part 1)
Workshop 4 Electronics Cooling with Natural Convection and Radiation
1 TEISS Case Project Introduction Melinda Ronca-Battista and Angelique Luedeker ITEP/TAMS Center.
WS8.1-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop 8.1 Line and Surface Bodies DesignModeler.
Numerical investigation on the upstream flow condition of the air flow meter in the air intake assembly of a passenger car Zoltán Kórik Supervisor: Dr.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
Appendix B Turbo Pre and Post
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Tutorial For Version 10.0 and later.
6-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 6 Day 1 Review and Tips Introduction to CFX.
CFX-10 Introduction Lecture 1.
Heating Coil Simulation
9.0 New Features New Coupled-Field Material Property allows Analysis of Peltier Cooling Workshop 6 Thermoelectric Cooler.
Chapter 9 Free Surface. Training Manual May 15, 2001 Inventory # Objectives Describe the Free Surface Capability Discuss Free Surface Phenomena.
Batch Mode: Plate with Hole at Center Workshop 13A Short Topics.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W8-1 BladeModeler 11.0 ANSYS, Inc. Proprietary BladeModeler 11.0 Practical.
Multiple Species Chapter 7. Training Manual May 15, 2001 Inventory # Objectives The FLOTRAN multiple species capabilities. Dilute mixture option.
1-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 1 ANSYS Workbench ANSYS Meshing Application.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W6-1 BladeModeler 11.0 ANSYS, Inc. Proprietary BladeModeler 11.0 Practical.
WS 9-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. February 27, 2009 Inventory # Workshop 9 Taylor Impact Test – “What if” Study.
13-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 13 Solver.out File and CCL Introduction to.
Chapter 5 Armature Gap Sweep Workshop 4. Training Manual Electromagnetic Analysis in Workbench March 4, 2005 Inventory # Workshop #2: Armature.
8-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 8 Surface Meshing ANSYS Meshing Application.
WS4.3-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. July 2009 Inventory # Chapter 4 Volume Meshing – Workshop 3 Femur BF Cartesian.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W0-1 BladeModeler 11.0 ANSYS, Inc. Proprietary ANSYS TurboSystem Practical.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W4-1 BladeModeler 11.0 ANSYS, Inc. Proprietary ANSYS BladeModeler 11.0.
Chapter 10 Transient Flow Modeling
Workshop 6 Electronics Cooling with Natural Convection and Radiation
Workshop 7 Tank Flushing
Workshop 7 Tank Flushing
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Cavitating Centrifugal Pump
Workshop 5 Centrifugal Pump
Workshop 4 Electronics Cooling with Natural Convection and Radiation
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Workshop 4 Flow Through Porous Media
Presentation transcript:

WS7-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Introductory FLUENT Training Workshop 7 Tank Flushing

WS7-2 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Introduction In this workshop, you will model the filling and emptying of a water tank. The transient problem is solved as a multiphase (air/water) simulation using the volume of fluid (VOF) multiphase model. An initial water level is set in the tank. The water supply is turned on for the first second of the simulation and then shut off for the rest of the simulation. The water level rises until water flows out the U-tube generating a siphoning effect which effectively empties the tank.

WS7-3 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Mesh Import Start a new 3D FLUENT session Read or import the mesh file tankflush.msh.gz Click General in the outline tree. – Scale the mesh to units of centimeters. – Set View Length Unit In to cm to have FLUENT display lengths in centimeters. – Verify the domain extents: –11.1 < x < 20 cm –19.8 < y < 27.9 cm 0 < z < 1 cm – Set the working units of length to centimeters. – Check the mesh. – Display the mesh.

WS7-4 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Simulation Type In the General panel, under Solver, set Time to Transient. Enable Gravity and set Gravitational Acceleration to –9.81 m/s 2 in the y direction.

WS7-5 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Enable Turbulence Model 4.Activate Models in the outline tree. – Double-click Viscous-Laminar in the central pane under Models. – In the Viscous Model panel, select k-epsilon (2 eqn). – Under k-epsilon model, select Realizable. – Retain defaults for all other settings. – Click OK.

WS7-6 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing VOF Multiphase Model Setup Enable the VOF multiphase model. – Activate Models in the outline tree. – Double-click on Multiphase. – In the panel that opens, enable Volume of Fluid. – Set Number of Eulerian Phases to 2. – Ensure that Scheme is set to Explicit. – Enable Implicit Body Force – Click OK. Define the materials. – Activate Materials in the outline tree. – Click Create/Edit… – In the Materials panel, click FLUENT Database… – Select water-liquid from the FLUENT Fluid Materials list, click Copy and then click Close.

WS7-7 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Phases Define the phases. – Activate Phases in the outline tree. – Double-click phase1-Primary Phase. – In the Primary Phase panel, change the Name to water. – Ensure that air is selected under Phase Material. – Click OK. – Double-click phase2-Secondary Phase. – In the Secondary Phase panel, change the Name to air. – Select water-liquid under Phase Material. – Click OK.

WS7-8 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Multiphase Model Setup Define phase interactions – Click the Interaction button. – In the Phase Interaction panel that opens, activate the Surface Tension tab. – Select constant in the pull-down list and enter N/m for the Surface Tension Coefficient. Click OK.

WS7-9 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Set Operating Conditions 5.Set the operating conditions. – Activate Cell Zone Conditions in the outline tree. – Click Operating Conditions… in the center pane. – Verify that Gravity is enabled and the Gravitational Acceleration is set correctly (–9.81 m/s 2 in the y direction). – Under Variable Density Parameters, activate Specified Operating Density. – Accept the default entry of kg/m 3 for the Operating Density. The operating density should be set to the density of the lightest fluid in the domain when using the VOF model; otherwise, an erroneous hydrostatic pressure distribution will occur.

WS7-10 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Boundary Conditions Define inlet boundary conditions. – Activate Boundary Conditions in the outline tree. – Double click the inlet boundary. – Under Velocity Specification Direction, select Normal to Boundary. – Under Turbulence Specification Method, select Intensity and Hydraulic Diameter. Set the Turbulent Intensity to 5% and Hydraulic Diameter to 2.1 cm. – Click OK. – In the center pane, select air under Phase and double-click again on inlet. – Set the Mass Flow Rate of air to 0. – In the center pane, select water under Phase and double click on inlet. Set the inlet water mass flow rate to 0.2 kg/s. – Click OK.

WS7-11 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Boundary Conditions 7.Define boundary conditions for the ambient boundary. – Select mixture under Phase (in the center pane). – Double-click the ambient boundary. – Under Turbulence, set the Specification Method to Intensity and Hydraulic Diameter. – Set the Backflow Turbulence Intensity to 5% and Backflow Hydraulic Diameter to 12.5 cm. – Click OK. – In the center pane, select air under Phase and double-click again on ambient. – Activate the Multiphase tab and enter 0 for Backflow Volume Fraction. – Click OK.

WS7-12 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Boundary Conditions 8.Copy Boundary conditions from ambient to outlet. – In the center pane, click Copy… – Under From Boundary Conditions, select ambient. – Under To Boundary Conditions, select outlet. – Select mixture under Phase and click Copy. – Click OK when asked if you want to copy the boundary conditions. – Select water under Phase and click Copy. – Click OK when asked if you want to copy the boundary conditions. – Close the Copy Conditions panel.

WS7-13 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Solution Methods and Controls In the outline tree, select Solution Methods. – Under Pressure-Velocity Coupling, set Scheme to PISO. – Under Spatial Discretization, set the following discretization schemes: Pressure – PRESTO! Momentum, Turbulent Kinetic Energy and Turbulent Dissipation Rate – Second Order Upwind Volume Fraction – Geo Reconstruct – Ensure that Geo-Reconstruct is selected under Volume Fraction. In the outline tree, select Solution Controls. – Set the Under-Relaxation factor for momentum to 0.5. – Set the under-relaxation factors for k and epsilon to 0.6.

WS7-14 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Solution Controls In the outline tree, select Solution Controls. – Under Pressure-Velocity Coupling, set Scheme to PISO. – Under Spatial Discretization, set the following discretization schemes: Pressure – PRESTO! Momentum, Turbulent Kinetic Energy and Turbulent Dissipation Rate – Second Order Upwind Volume Fraction – Geo Reconstruct – Ensure that Geo-Reconstruct is selected under Volume Fraction.

WS7-15 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Initialize and Patch the Initial Solution Initially, the tank is filled to a liquid level of 6 cm. Here you will first initialize the flow solution, then create an adaption register and use the register to define the initial location of the liquid surface. 9.Initialize the flow field. – Select Solution Initialization in the outline tree. – Set air volume fraction to 1. – Click Initialize. This will instruct the solver to fill the tank with air. The next step is to partially fill the tank with water, resulting in the proper initial condition.

WS7-16 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Adaption Register for Patching Next, define the region of the domain to be filled with liquid. – In the top menu, select Adapt → Region. – Enter the values shown in the panel to the right. – Click Mark. DO NOT CLICK ADAPT! A message appears in the FLUENT console informing you that 3716 cells have been marked. – To view the marked cells, click Manage. – Select the register hexahedron-r0 under Registers and click Display. – Close the Manage Adaption Registers panel and the Region Adaption panel. The marked cells will be displayed in the graphics window (see next page).

WS7-17 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Cells Marked for Patching Outline of region adaption register

WS7-18 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Initialize the Flow Solution 11.Patch the initial solution into the adaption register. – Click Patch… – In the panel that opens, under Phase, select air. – Select Volume Fraction under Variable. – Set Value to 0. – Under Registers to Patch, select the adaption register you created. – Click Patch. – Close the Patch panel.

WS7-19 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Initialize Display Settings Create a contour plot of air volume fraction on plane sym1 after patching. The variable to plot is under Phases…Volume Fraction. – Note that the color scheme can optionally be changed from the default BGR to the gray scheme. This can be done using the GUI menu: Display → Colormap. Also, for clarity, the Colormap Size has been reduced to 10 which will use 10 colors instead of the default 20.

WS7-20 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Calculation Activities In this step you will define activities that FLUENT will perform during the calculation. These activities are as follows: – Autosave case and data files. – Generate a contour plot of air volume fraction. – Write the contour plot to a PNG image file. These files can be assembled into an animation later. – Set the inlet flow to be zero when t = 1 second. Set autosave options. – Select Calculation Activities in the outline tree. – Set Autosave Every (time steps) to 25. – Click Edit… next to Autosave. – In the panel that opens, enter the file name tank-flush.gz. – Retain the defaults for all other settings and click OK.

WS7-21 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Calculation Activities Instruct FLUENT to execute commands for contour plot generation and saving as well as changing inlet boundary conditions. – In the center pane, under Execute Commands, click Create/Edit. – In the panel that opens, set Defined Commands to 3. – Check Active next to each command line. – Enter the following commands to be executed: command-1: display set-window 2 contour air vof 0 1 command-2: display hard-copy airvof%t.png command-3: define bc mass-flow-inlet inlet water y n 0 – Set Every to 2 for command-1 and command-2. – Set Every to 100 for command-3. – Set When to Time Step for the three commands. – Click OK. Check the next page to ensure that your settings are correct before clicking OK. You can optionally set up animations in the Solution Animation portion of the Calculation Activities item of the outline tree.

WS7-22 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Define Calculation Activities

WS7-23 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Set Hard Copy Output Options To set the file size, resolution and color scheme for the output images, click the camera icon on the FLUENT toolbar. In the panel that opens, set the following: – Format – PNG – Coloring – Color – Options – Select Landscape Orientation and deselect White Background. – Resolution – Set Width to 640 and Height to 480. – Click Save… Save the initial image as airvof0000.png. – Click Apply and close the Save Picture panel.

WS7-24 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Run the Calculation Before running the calculation, you should save the case and data files. Use the Save toolbar button to write case and data files as tank-flush-init.gz. – If running FLUENT from within ANSYS Workbench, Select Export under the File menu. Export case and data files as tank-flush-init.gz. Select Run Calculation from the outline tree. – Enter 0.01 s for Time Step Size – Enter 350 under Number of Time Steps. – Click Calculate. The solution will require around one hour to complete on most Windows machines. You can choose to run all of the calculations or stop the iterations and open a later data file to view the results.

WS7-25 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Workshop Supplement WS7 – Tank Flushing Post-Process Results The results can be postprocessed by viewing the PNG files generated during the calculation. A few of these are shown below. These images can be assembled into an animation using a number of both commercially available and free utilities.