ANSYS Fluent Tutorial Guide 2019
ANSYS Fluent Tutorial Guide 2019
com/id446425943
ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Table of Contents
Using This Manual ...................................................................................................................................... xxi
1. What’s In This Manual ........................................................................................................................ xxi
2. How To Use This Manual .................................................................................................................... xxi
2.1. For the Beginner ....................................................................................................................... xxi
2.2. For the Experienced User .......................................................................................................... xxi
3. Typographical Conventions Used In This Manual ................................................................................ xxi
1. Fluid Flow in an Exhaust Manifold .......................................................................................................... 1
1.1. Introduction ..................................................................................................................................... 1
1.2. Prerequisites ..................................................................................................................................... 2
1.3. Problem Description ......................................................................................................................... 2
1.4. Setup and Solution ........................................................................................................................... 2
1.4.1. Preparation .............................................................................................................................. 3
1.4.2. Meshing Workflow ................................................................................................................... 3
1.4.3. General Settings ..................................................................................................................... 15
1.4.4. Solver Settings ....................................................................................................................... 15
1.4.5. Models ................................................................................................................................... 16
1.4.6. Materials ................................................................................................................................ 16
1.4.7. Cell Zone Conditions .............................................................................................................. 16
1.4.8. Boundary Conditions ............................................................................................................. 17
1.4.9. Solution ................................................................................................................................. 19
1.4.10. Postprocessing ..................................................................................................................... 26
1.5. Summary ........................................................................................................................................ 33
2. Fluid Flow and Heat Transfer in a Mixing Elbow ................................................................................... 35
2.1. Introduction ................................................................................................................................... 35
2.2. Prerequisites ................................................................................................................................... 35
2.3. Problem Description ....................................................................................................................... 35
2.4. Setup and Solution ......................................................................................................................... 36
2.4.1. Preparation ............................................................................................................................ 37
2.4.2. Launching ANSYS Fluent ........................................................................................................ 37
2.4.3. Reading the Mesh .................................................................................................................. 40
2.4.4. Setting Up Domain ................................................................................................................. 43
2.4.5. Setting Up Physics .................................................................................................................. 46
2.4.6. Solving .................................................................................................................................. 58
2.4.7. Displaying the Preliminary Solution ........................................................................................ 68
2.4.8. Adapting the Mesh ................................................................................................................. 80
2.5. Summary ........................................................................................................................................ 93
3. Postprocessing ...................................................................................................................................... 95
3.1. Introduction ................................................................................................................................... 95
3.2. Prerequisites ................................................................................................................................... 96
3.3. Problem Description ....................................................................................................................... 96
3.4. Setup and Solution ......................................................................................................................... 96
3.4.1. Preparation ............................................................................................................................ 97
3.4.2. Reading the Mesh .................................................................................................................. 97
3.4.3. Manipulating the Mesh in the Viewer ...................................................................................... 97
3.4.4. Adding Lights ........................................................................................................................ 99
3.4.5. Creating Isosurfaces ............................................................................................................. 103
3.4.6. Generating Contours ............................................................................................................ 106
3.4.7. Generating Velocity Vectors .................................................................................................. 110
3.4.8. Creating an Animation ......................................................................................................... 115
3.4.9. Displaying Pathlines ............................................................................................................. 119
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Tutorial Guide
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Tutorial Guide
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. vii
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
viii of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Tutorial Guide
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. ix
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
x of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Tutorial Guide
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xi
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xii of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
List of Figures
1.1. Manifold Geometry for Flow Modeling .................................................................................................... 2
1.2. Mass Flow Rate History ......................................................................................................................... 26
1.3. Residuals .............................................................................................................................................. 26
1.4. Pathlines Through the Manifold ............................................................................................................. 28
1.5. Scene Containing the Mesh and Pathlines Throughout the Manifold ...................................................... 31
1.6. Contours of Velocity Magnitude at the Outlet ........................................................................................ 33
2.1. Problem Specification ........................................................................................................................... 36
2.2. The Hexahedral Mesh for the Mixing Elbow ........................................................................................... 43
2.3. Convergence History of the Mass-Weighted Average Temperature ......................................................... 66
2.4. Residuals .............................................................................................................................................. 66
2.5. Predicted Velocity Distribution after the Initial Calculation ..................................................................... 70
2.6. Predicted Temperature Distribution after the Initial Calculation .............................................................. 72
2.7. Velocity Vectors Colored by Velocity Magnitude ..................................................................................... 73
2.8. Resized Velocity Vectors ........................................................................................................................ 74
2.9. Magnified View of Resized Velocity Vectors ............................................................................................ 74
2.10. Outlet Temperature Profile for the Initial Solution ................................................................................ 77
2.11. Contours of the Dynamic Head Custom Field Function ......................................................................... 79
2.12. Cells Marked for Adaption ................................................................................................................... 83
2.13. Alternative Display of Cells Marked for Adaption .................................................................................. 85
2.14. The Adapted Mesh .............................................................................................................................. 87
2.15. The Complete Residual History ............................................................................................................ 88
2.16. Convergence History of Mass-Weighted Average Temperature ............................................................. 88
2.17. Filled Contours of Temperature Using the Adapted Mesh ..................................................................... 89
2.18. Outlet Temperature Profile for the Adapted Coupled Solver Solution .................................................... 90
2.19. Outlet Temperature Profiles for the Two Solutions ................................................................................ 93
3.1. Problem Specification ........................................................................................................................... 96
3.2. Mesh Display of the Chip and Board Surfaces ........................................................................................ 99
3.3. Graphics Window with Default Lighting ............................................................................................... 101
3.4. Display with Additional Lighting: - Headlight Off .................................................................................. 102
3.5. Display with Additional Lighting ......................................................................................................... 103
3.6. Filled Contours of Temperature on the Symmetry Surfaces ................................................................... 108
3.7. Filled Contours of Temperature on the Clipped Surface ........................................................................ 109
3.8.Temperature Contours on the Surface,Y= 0.25 in. ................................................................................. 110
3.9. Velocity Vectors in the Module Symmetry Plane ................................................................................... 112
3.10. Velocity Vectors Intersecting the Surface ............................................................................................ 114
3.11. Velocity Vectors After Mirroring ......................................................................................................... 115
3.12. Filled Temperature Contours on the Chip and Board Top Surfaces ...................................................... 117
3.13. Filled Temperature Contours on the Chip and Board Top Surfaces ...................................................... 118
3.14. Pathlines Display Colored by Static Pressure ....................................................................................... 122
3.15. Sphere Pathlines Display Colored by Static Pressure ........................................................................... 123
3.16. Sphere Pathlines Colored by Static Temperature ................................................................................ 124
3.17. Temperature Contours and Velocity Vectors Scene ............................................................................. 126
3.18. Overlay of Pathlines Colored by Pressure on Velocity Vectors and Temperature Contours Scene .......... 128
3.19. Exploded Scene Display of Temperature and Velocity ......................................................................... 133
3.20. Temperature Along the Top Centerline of the Module ........................................................................ 138
3.21. A Display with Annotation ................................................................................................................. 140
4.1. Schematic of the Problem ................................................................................................................... 144
4.2. Mesh for the Periodic Tube Bank .......................................................................................................... 147
4.3. Contours of Static Pressure .................................................................................................................. 158
4.4. Contours of Static Pressure with Symmetry .......................................................................................... 159
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xiii
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xiv of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Tutorial Guide
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xv
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
14.10. Convergence History of Mass-Weighted Average CO2 on the Outlet ................................................. 501
15.1. Schematic of the Reactor Configuration ............................................................................................. 504
15.2. Mesh Display .................................................................................................................................... 507
15.3. Contours of Surface Deposition Rate of Ga ......................................................................................... 534
15.4. Scaled Residuals ................................................................................................................................ 535
15.5. Temperature Contours Near wall-4 .................................................................................................... 538
15.6. Contours of Surface Deposition Rate of ga ......................................................................................... 539
15.7. Contours of Surface Coverage of ga_s ................................................................................................ 539
15.8. Plot of Surface Deposition Rate of Ga ................................................................................................. 542
16.1. Problem Specification ....................................................................................................................... 544
16.2. Air-Blast Atomizer Mesh Display ........................................................................................................ 548
16.3. Scaled Residuals ................................................................................................................................ 562
16.4. Velocity Magnitude at Mid-Point of Atomizer Section ......................................................................... 565
16.5. Pathlines of Air in the Swirling Annular Stream ................................................................................... 568
16.6. Convergence History of Mass Fraction of ch3oh on Fluid .................................................................... 585
16.7. Convergence History of DPM Mass Source on Fluid ............................................................................ 585
16.8. Convergence History of Total Mass in Domain .................................................................................... 586
16.9. Convergence History of Evaporated Particle Mass .............................................................................. 586
16.10. Particle Tracks for the Spray Injection ............................................................................................... 588
16.11. Contours of DPM Temperature ......................................................................................................... 590
16.12. Contours of DPM Sauter Diameter ................................................................................................... 590
16.13. Vectors of DPM Mean Velocity Colored by DPM Velocity Magnitude .................................................. 592
16.14. Full Atomizer Display with Surface of Constant Methanol Mass Fraction ........................................... 595
16.15. Atomizer Display with Surface of Constant Methanol Mass Fraction Enhanced .................................. 596
17.1. Schematic of the Problem ................................................................................................................. 598
17.2. Default Display of the Nozzle Mesh .................................................................................................... 600
17.3. The Quadrilateral Mesh ..................................................................................................................... 601
17.4. Mesh Display of the Nozzle Mirrored and Upright .............................................................................. 604
17.5. Contours of Water Volume Fraction After 6 μs .................................................................................... 626
17.6. Contours of Water Volume Fraction After 12 μs ................................................................................... 626
17.7. Contours of Water Volume Fraction After 18 μs ................................................................................... 627
17.8. Contours of Water Volume Fraction After 24 μs ................................................................................... 627
17.9. Contours of Water Volume Fraction After 30 μs ................................................................................... 628
18.1. Problem Schematic ........................................................................................................................... 630
18.2. The Mesh in the Orifice ...................................................................................................................... 632
18.3. Contours of Static Pressure ................................................................................................................ 653
18.4. Mirrored View of Contours of Static Pressure ...................................................................................... 654
18.5. Contours of Turbulent Kinetic Energy ................................................................................................. 654
18.6. Contours of Vapor Volume Fraction .................................................................................................... 655
19.1. Problem Schematic ........................................................................................................................... 658
19.2. Mesh Display of the Mixing Tank ........................................................................................................ 660
19.3. Residual History ................................................................................................................................ 666
19.4. Contours of Air Volume Fraction on the XZ plane ............................................................................... 668
19.5. Contours of Air Volume Fraction on the z=0.08 plane ......................................................................... 669
19.6. Vectors of Water Velocity Magnitude on the XZ plane ......................................................................... 670
19.7. Vectors of Air Velocity Magnitude on the XZ plane ............................................................................. 670
20.1. Solidification in Czochralski Model .................................................................................................... 674
20.2. Mesh Display .................................................................................................................................... 676
20.3. Contours of Temperature for the Steady Conduction Solution ............................................................ 700
20.4. Contours of Temperature (Mushy Zone) for the Steady Conduction Solution ...................................... 702
20.5. Contours of Temperature at t=0.2 s .................................................................................................... 708
20.6. Contours of Stream Function at t=0.2 s .............................................................................................. 709
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xvi of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Tutorial Guide
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xvii
vk.com/club152685050
Tutorial Guide | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xviii of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
List of Tables
1. Mini Flow Chart Symbol Descriptions ..................................................................................................... xxii
2.1. View Manipulation Instructions ............................................................................................................. 42
7.1. Values for the Principle Direction Vectors ............................................................................................. 253
7.2. Values for the Viscous and Inertial Resistance ....................................................................................... 253
12.1. Meaning of Values ............................................................................................................................. 436
15.1. Selected Species ............................................................................................................................... 512
15.2. Selected Site and Solid Species .......................................................................................................... 514
15.3. Reaction Parameters ......................................................................................................................... 515
15.4. Properties of Species ......................................................................................................................... 518
15.5. Properties of Species ......................................................................................................................... 519
17.1. Ink Chamber Dimensions .................................................................................................................. 598
27.1. Flight Condition Table ....................................................................................................................... 892
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xix
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xx of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
You may want to refer to other tutorials for instructions on using specific features, such as custom field
functions, mesh scaling, and so on, even if the problem solved in the tutorial is not of particular interest
to you. To learn about postprocessing, you can look at Postprocessing (p. 95), which is devoted entirely
to postprocessing (although the other tutorials all contain some postprocessing as well).
You may want to refer to other tutorials for instructions on using specific features, such as custom field
functions, mesh scaling, and so on, even if the problem solved in the tutorial is not of particular interest
to you. To learn about postprocessing, you can look at Postprocessing (p. 95), which is devoted entirely
to postprocessing (although the other tutorials all contain some postprocessing as well).
• Different type styles are used to indicate graphical user interface items and text interface items. For example:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxi
vk.com/club152685050
Using This Manual | vk.com/id446425943
• The text interface type style is also used when illustrating exactly what appears on the screen to distinguish
it from the narrative text. In this context, user inputs are typically shown in boldface. For example,
solve/initialize/set-fmg-initialization
• Mini flow charts are used to guide you through the ribbon or the tree, leading you to a specific option, dialog
box, or task page. The following tables list the meaning of each symbol in the mini flow charts.
For example,
indicates selecting the Setting Up Domain ribbon tab, clicking Transform (in the Mesh group box)
and selecting Translate..., as indicated in the figure below:
And
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxii of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Typographical Conventions Used In This Manual
indicates expanding the Setup and Models branches, right-clicking Viscous, and selecting Realizable
k-epsilon from the Model sub-menu, as shown in the following figure:
And
In this manual, mini flow charts usually accompany a description of a dialog box or command, or a
screen illustration showing how to use the dialog box or command. They show you how to quickly
access a command or dialog box without having to search the surrounding material.
• In-text references to File ribbon tab selections can be indicated using a “/”. For example File/Write/Case...
indicates clicking the File ribbon tab and selecting Case... from the Write submenu (which opens the Select
File dialog box).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxiii
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxiv of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
1.1. Introduction
This tutorial illustrates the setup and solution of a three-dimensional turbulent fluid flow in a manifold.
The manifold configuration is encountered in the automotive industry. It is often important to predict
the flow field and temperature field in the area of the mixing region in order to properly design the
junction.
• Calculate a solution.
For more information about using the guided workflows, see Working With Fluent Guided Workflows
in the Fluent User's Guide.
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
1.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorials (Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35), for example) found in this manual and
that you are familiar with the ANSYS Fluent outline view and ribbon structure. Some steps in the setup
and solution procedure will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1.4.1. Preparation
To prepare for running this tutorial:
The SpaceClaim CAD file manifold.scdoc can be found in the folder. In addition, the manifold.pm-
db file is available for use on the Linux platform.
8. Set Processes to 4.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
Each task is designated with an icon indicating its state (for example, as complete, incomplete,
etc. For more information, see Understanding Task States in the Fluent User's Guide). All tasks are
initially incomplete and you proceed through the workflow completing all tasks. Additional tasks
are also available for the workflow. For more information, see Customizing Workflows in the
Fluent User's Guide.
c. (optional) Enable Advanced Options to expose additional options that may be required when importing
a CAD geometry.
In this tutorial, we are keeping the default settings, so you can deselect the Advanced Options.
Many workflow tasks have advanced options that you may want to inspect before updating a task.
d. For File Name, enter the path and file name for the CAD geometry that you want to import (mani-
fold.scdoc).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
The workflow only supports *.scdoc (SpaceClaim) and the intermediary *.pmdb
file formats.
This will update the task, display the geometry in the graphics window, and allow you to proceed
onto the next task in the workflow.
Note
Alternatively, you can use the … button next to File Name to locate the CAD geometry
file, after which, the Import Geometry task automatically updates, displaying the
geometry in the graphics window, and the workflow automatically progresses to the
next task.
Throughout the workflow, you are able to return to a task and change its settings using either the
Edit button, or the Revert and Edit button. For more information, see Editing Tasks in the Fluent
User's Guide
a. In the Add Local Sizing task, you are prompted as to whether or not you would like to add local sizing
controls to the faceted geometry.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
b. For the purposes of this tutorial, you can keep the default setting of no.
c. Click Update to complete this task and proceed to the next task in the workflow.
a. In the Create Surface Mesh task, you can set various properties of the surface mesh. for the faceted
geometry.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. For the purposes of this tutorial, you can keep the default settings.
Note
The red boxes displayed on the geometry in the graphics window are a graphical
representation of size settings. These boxes change size as the values change, and
they can be hidden by using the Clear Preview button.
c. Click Create Surface Mesh to complete this task and proceed to the next task in the workflow.
When you select the Describe Geometry task, you are prompted with questions relating to the
nature of the imported geometry.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
a. Since we plan on extracting a fluid region from this solid model, and adding capping surfaces,
for the purposes of this tutorial, you can keep the default settings.
b. Click Describe Geometry to complete this task and proceed to the next task in the workflow.
Select the Enclose Fluid Regions (Capping) task, where you can cover, or cap, any openings in
your geometry in order to later extract the enclosed fluid region.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. In the Name field, assign a name for the capping surface (for example, inlet) to be assigned to
all of the manifold's inlets.
ii. For the Zone Type, keep the default setting of velocity-inlet.
iii. For the Select By field, keep the default setting of label.
iv. In the Labels list, select in1, in2, and in3 for the openings that you want to cover.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
v. Click Enclose Fluid Regions (Capping) to complete this task and proceed to the next task in the
workflow.
Once completed, this particular task will return you to a fresh task in order to assign additional
capping surfaces, if necessary. We will proceed to assign a cap for the remaining opening
and assign it to be an outlet.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. In the Name field, assign a name for the capping surface (for example, outlet) to be assigned to
the manifold's outlet.
iii. For the Select By field, keep the default setting of label.
iv. In the Labels list, select out1 for the outlet that you want to cover.
a. Select the Create Regions task, where you can determine the number of fluid regions that need to be
extracted. ANSYS Fluent attempts to determine the number of fluid regions to extract automatically.
b. For the Estimated Number of Fluid Regions, keep the default selection of 1.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
a. Select the Update Regions task, where you can review the names and types of the various regions
that have been generated from your imported geometry, and change them as needed.
Aside from fluid regions, and solid regions, you can also have voids within your geometry that are
designated as dead regions. As you can see, there are four dead regions (corresponding to the four
bolt holes near the outlet that were covered when the outlet was covered), a solid region, and a fluid
region.
Once the regions have been updated, the fluid region is displayed by default in the graphics window.
You can use the Draw Regions button to display other options, such as drawing just the solid region,
just the dead regions, or all regions.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select the Create Volume Mesh task, where you can set properties of the boundary layer mesh, as well
as properties of the volume mesh itself.
ANSYS Fluent will apply your settings and proceed to generate a volume mesh for the manifold
geometry. Once complete, the mesh is displayed in the graphics window and a clipping plane is
automatically inserted with a layer of cells drawn so that you can quickly see the details of the volume
mesh.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
Mesh → Check
Now that a high-quality mesh has been generated using ANSYS Fluent in meshing mode, you can
now switch to solver mode to complete the set up of the simulation.
We have just checked the mesh, so select Yes when prompted to switch to solution mode.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Physics → Solver
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
1.4.5. Models
1. Set up your models for the CFD simulation using the Models group box of the Physics ribbon tab.
Note
You can also use the Models task page, which can be accessed from the tree by expanding
Setup and double-clicking the Models tree item.
You will use the default settings for the standard - turbulence model, so you can enable it directly
from the tree by right-clicking the Viscous node and choosing Standard k-epsilon from the context
menu.
1.4.6. Materials
Ordinarily, you would set up the materials for the CFD simulation using the Materials group box of the
Physics ribbon tab.
In this tutorial, we will keep the default materials of air and aluminum.
In this tutorial, we will keep the default assignments of air for the fluid zone and aluminum for the
solid zone.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
2. Apply the same conditions to the other inlets (inlet1, and inlet2).
a. Select inlet from the Boundary Conditions node of the Outline View, right-click and select Copy from
the context menu.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
c. Click Copy, click OK in the confirmation prompt, and close the Copy Conditions dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
c. Retain the default value of 10% for the Backflow Turbulent Intensity.
1.4.9. Solution
1. Specify the discretization schemes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
a. Retain the default selection of Coupled from the Scheme drop-down list.
b. Retain the default selection of Least Squares Cell Based from the Gradient drop-down list in the
Spatial Discretization group box.
c. Retain the default selection of Second Order Upwind from the Momentum drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You can also access the Surface Report Definition dialog box by right-clicking Report
Definitions in the tree (under Solution) and selecting New/Surface Report/Facet Max-
imum... from the menu that opens.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
b. Enable Report File, Report Plot, and Print to Console in the Create group box.
During a solution run, ANSYS Fluent will write solution convergence data in a report file, plot the
solution convergence history in a graphics window, and print the value of the report definition to the
console.
c. Select Velocity... and Velocity Magnitude from the Field Variable drop-down lists.
e. Click OK to save the surface report definition and close the Surface Report Definition dialog box.
The new surface report definition point-vel will appear under the Solution/Report Definitions
tree item. ANSYS Fluent also automatically creates the following items:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Select in1, in2, in3, as well as inlet, inlet1, inlet2 from the Boundaries selection list.
d. Enable Report File, Report Plot, and Print to Console in the Create group box.
e. Click OK to save the surface report definition and close the Flux Report Definition dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
The new surface report definition mass-in will appear under the Solution/Report Definitions
tree item. ANSYS Fluent also automatically creates the following items:
4. Monitor the total mass flow rate through the entire domain.
Perform the same procedure as described above, naming the report mass-tot, and selecting all
boundaries.
Use expressions to create a report definition for the mass balance using existing report definitions.
a. Select mass-tot from the Select Operand Field Functions from drop-down list.
c. Select mass-in from the Select Operand Field Functions from drop-down list.
e. Enable Report File, Report Plot, and Print to Console in the Create group box.
f. Click Define to save the expression definition and close the Expression Report Definition dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
6. Initialize the flow field using the Initialization group box of the Solution ribbon tab.
Solution → Initialization
b. Click Initialize.
8. Start the calculation by requesting 100 iterations in the Solution ribbon tab (Run Calculation group box).
As the solution progresses, the mass flow rate graph flattens out, as seen in Figure 1.2: Mass Flow
Rate History (p. 26).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
c. Similarly, the residuals history will be plotted in the Scaled Residuals tab in the graphics window
(Figure 1.3: Residuals (p. 26)).
1.4.10. Postprocessing
1. Display path lines highlighting the flow field (Figure 1.4: Pathlines Through the Manifold (p. 28)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Particle Variables... and Time from the Color by drop-down lists.
f. Select inlet, inlet1, and inlet2 from the Release from Surfaces list.
The new pathlines-1 definition appears under the Results/Graphics/Pathlines tree branch. To edit
your surface definition, right-click it and select Edit... from the menu that opens.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
b. Select Mesh... and X-Coordinate from the Clip to Values of drop-down lists.
c. Keep the Min value at its minimum setting, and adjust the Max value to be at its halfway point.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The new clip-x-coordinate definition appears under the Results/Surfaces tree branch. To edit your
surface definition, right-click it and select Edit... from the menu that opens.
i. Click New Object and select Mesh to open the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
iii. Click Save/Display and close the Mesh Display dialog box.
The new mesh-1 definition appears under the Results/Graphics/Mesh tree branch. The new
object also appears in the Scene dialog box.
d. Click Save & Display and close the Scene dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 1.5: Scene Containing the Mesh and Pathlines Throughout the Manifold
4. Create and define contours of velocity magnitude at the outlet along with the mesh.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
vk.com/club152685050
Fluid Flow in an Exhaust|Manifold
vk.com/id446425943
b. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
In the Mesh Display dialog box, deselect all surfaces, select the out surface, click Display and
close the dialog.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
1.5. Summary
In this tutorial, you learned how to import a CAD geometry, generate a volume mesh, and set up, solve,
and postprocess a CFD problem involving air flow through a manifold all within a single ANSYS Fluent
interface.
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
2.1. Introduction
This tutorial illustrates the setup and solution of a three-dimensional turbulent fluid flow and heat
transfer problem in a mixing elbow. The mixing elbow configuration is encountered in piping systems
in power plants and process industries. It is often important to predict the flow field and temperature
field in the area of the mixing region in order to properly design the junction.
• Set material properties and boundary conditions for a turbulent forced-convection problem.
• Visually examine the flow and temperature fields using the postprocessing tools available in ANSYS Fluent.
• Change the solver method to coupled in order to increase the convergence speed.
• Adapt the mesh based on the temperature gradient to further improve the prediction of the temperature
field.
2.2. Prerequisites
This tutorial assumes that you have little or no experience with ANSYS Fluent, and so each step will be
explicitly described.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
properties and boundary conditions are given in SI units. The Reynolds number for the flow at the larger
inlet is 50,800, so a turbulent flow model will be required.
Note
Since the geometry of the mixing elbow is symmetric, only half of the elbow must be modeled
in ANSYS Fluent.
The following sections describe the setup and solution steps for running this tutorial in serial:
2.4.1. Preparation
2.4.2. Launching ANSYS Fluent
2.4.3. Reading the Mesh
2.4.4. Setting Up Domain
2.4.5. Setting Up Physics
2.4.6. Solving
2.4.7. Displaying the Preliminary Solution
2.4.8. Adapting the Mesh
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2.4.1. Preparation
1. Download the introduction.zip file here.
Note
ANSYS Fluent tutorials are prepared using ANSYS Fluent on a Windows system. The screen
shots and graphic images in the tutorials may be slightly different than the appearance on
your system, depending on the operating system and/or graphics card.
Fluent Launcher allows you to decide which version of ANSYS Fluent you will use, based on your
geometry and on your processing capabilities.
a. Select 3D from the Dimension list by clicking the radio button or the text.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
c. Set Processes to 4.
To show details of the parallel settings, click Show More Options, then go to the Parallel Settings
tab. Note that your Run Types will be Shared Memory on Local Machine.
Note
An option is enabled when there is a check mark in the check box, and disabled when
the check box is empty. To change an option from disabled to enabled (or vice versa),
click the check box or the text.
Note
Extra
You can also restore the default settings by clicking the Default button.
3. Set the working folder to the one created when you unzipped introduction_R193.zip.
b. Enter the path to your working folder for Working Directory by double-clicking the text box and typing.
Alternatively, you can click the browse button ( ) next to the Working Directory text box
and browse to the directory, using the Browse For Folder dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Click the File ribbon tab, then click Read and Mesh... in the menus that open in order to open the
Select File dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select the mesh file by clicking elbow.msh in the introduction folder created when you unzipped the
original file.
b. Enable the Display Mesh After Reading in the Select File panel.
c. Click OK to read the file and close the Select File dialog box.
As the mesh file is read by ANSYS Fluent, messages will appear in the console reporting the progress
of the conversion. ANSYS Fluent will report that 13,852 hexahedral fluid cells have been read, along
with a number of boundary faces with different zone identifiers.
After having completed reading mesh, ANSYS Fluent displays the mesh in the graphics window.
Extra
You can use the mouse to probe for mesh information in the graphics window. If you
click the right mouse button with the pointer on any node in the mesh, information
about the associated zone will be displayed in the console, including the name of the
zone.
Alternatively, you can click the probe button ( ) in the graphics toolbar and click the
left mouse button on any node. This feature is especially useful when you have several
zones of the same type and you want to distinguish between them quickly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
For this 3D problem, you can make it easier to probe particular nodes by changing the
view. The following table describes how to manipulate objects in the graphics window:
Clicking the Fit to Window icon, , will cause the object to fit exactly and be centered
in the window.
After you have clicked a button in the graphics toolbar, you can return to the default
To judge the scale of your 3D geometry, you can click the Orthographic Projection icon,
. This will display the length scale ruler near the bottom of the graphics window.
Note that you can change the default mouse button actions in the View tab (in the
Mouse group box). For more information, see the Fluent User's Guide.
2. Manipulate the mesh display using the axis triad to obtain a front view as shown in Figure 2.2: The Hexa-
hedral Mesh for the Mixing Elbow (p. 43).
b. Clicking the Fit to Window icon, , will cause the object to fit exactly and be centered in the window.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Extra
You can also change the orientation of the objects in the graphics window using the
• To perform in-plane clockwise or counterclockwise 90° rotations, click the white rotational
arrows .
• To perform free rotations in any direction, click and hold—in the vicinity of the triad—and
use the mouse. Release the left mouse button to stop rotating.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
ANSYS Fluent will report the results of the mesh check in the console.
Domain Extents:
x-coordinate: min (m) = -8.000000e+00, max (m) = 8.000000e+00
y-coordinate: min (m) = -9.134634e+00, max (m) = 8.000000e+00
z-coordinate: min (m) = 0.000000e+00, max (m) = 2.000000e+00
Volume statistics:
minimum volume (m3): 5.098304e-04
maximum volume (m3): 2.330736e-02
total volume (m3): 1.607154e+02
Face area statistics:
minimum face area (m2): 4.865882e-03
maximum face area (m2): 1.017924e-01
Checking mesh....................................
Done.
The mesh check will list the minimum and maximum x, y, and z values from the mesh in the default
SI unit of meters. It will also report a number of other mesh features that are checked. Any errors
in the mesh will be reported at this time. Ensure that the minimum volume is not negative, since
ANSYS Fluent cannot begin a calculation when this is the case.
Note
The minimum and maximum values may vary slightly when running on different platforms.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. From the Mesh Was Created In drop-down list, select in by first clicking the down-arrow button and
then clicking the in item from the list that appears.
Warning
d. Select in from the View Length Unit In drop-down list to set inches as the working unit for length.
e. Confirm that the domain extents are as shown in the previous dialog box.
The mesh is now sized correctly and the working unit for length has been set to inches.
Note
Because the default SI units will be used for everything except length, there is no need
to change any other units in this problem. The choice of inches for the unit of length has
been made by the actions you have just taken. If you want a different working unit for
length, other than inches (for example, millimeters), click Units... in the Domain ribbon
tab (Mesh group box) and make the appropriate change in the Set Units dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
4. Clicking the Fit to Window icon, , will cause the object to fit exactly and be centered in the window.
Note
It is a good idea to check the mesh after you manipulate it (that is, scale, convert to
polyhedra, merge, separate, fuse, add zones, or smooth and swap). This will ensure that
the quality of the mesh has not been compromised.
1. In the Solver group box of the Physics ribbon tab, retain the default selection of the steady pressure-based
solver.
Physics → Solver
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. Set up your models for the CFD simulation using the Models group box of the Physics ribbon tab.
Note
You can also use the Models task page, which can be accessed from the tree by expanding
Setup and double-clicking the Models tree item.
Note
You can also double-click the Setup/Models/Energy tree item and enable the energy
equation in the Energy dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. Retain the default selection of Standard in the k-epsilon Model group box.
iii. Select Enhanced Wall Treatment in the Near-Wall Treatment group box.
Note
The default Standard Wall Functions are generally applicable if the first cell center
adjacent to the wall has a y+ larger than 30. In contrast, the Enhanced Wall
Treatment option provides consistent solutions for all y+ values. Enhanced Wall
Treatment is recommended when using the k-epsilon model for general single-
phase fluid flow problems. For more information about Near Wall Treatments in
the k-epsilon model, refer to the Fluent User's Guide.
iv. Click OK to accept all the other default settings and close the Viscous Model dialog box.
Note that the Viscous... label in the ribbon is displayed in blue to indicate that the Viscous
model is enabled. Also Energy and Viscous appear as enabled under the Setup/Models tree
branch.
Note
While the ribbon is the primary tool for setting up and solving your problem, the
tree is a dynamic representation of your case. The models, materials, conditions,
and other settings that you have specified in your problem will appear in the tree.
Many of the frequently used ribbon items are also available via the right-click
functionality of the tree.
3. Set up the materials for the CFD simulation using the Materials group box of the Physics ribbon tab.
Create a new material called water using the Create/Edit Materials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Copy the material water-liquid (h2o < l >) from the materials database (accessed by clicking the Fluent
Database... button).
c. Select water-liquid (h2o < l >) from the materials list and Click Copy, then close the Fluent Database...
panel.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Ensure that there are now two materials (water-liquid and air) defined locally by examining the Fluent
Fluid Materials drop-down list.
Both the materials will also be listed under Fluid in the Materials task page and under the Materials
tree branch.
4. Set up the cell zone conditions for the fluid zone (fluid) using the Zones group box of the Physics ribbon
tab.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Double-click fluid in the Zone list to open the Fluid dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You can also double-click the Setup/Cell Zone Conditions/fluid tree item in order
to open the corresponding dialog box.
5. Set up the boundary conditions for the inlets, outlet, and walls for your CFD analysis using the Zones group
box of the Physics ribbon tab.
This opens the Boundary Conditions task page where the boundaries defined in your simulation
are displayed in the Zone selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Note
To display boundary zones grouped by zone type (as shown previously), click the
Toggle Tree View button ( ) in the upper right corner of the Boundary Conditions
task page and select Zone Type under Group By.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Here the zones have names with numerical identifying tags. It is good practice to give boundaries
meaningful names in a meshing application to help when you set up the model. You can also
change boundary names in Fluent by simply editing the boundary and making revisions in the
Zone Name text box.
Tip
If you are unsure of which inlet zone corresponds to the cold inlet, you can probe
the mesh display using the right mouse button or the probe toolbar button ( )
as described previously in this tutorial. The information will be displayed in the
ANSYS Fluent console, and the zone you probed will be automatically selected
from the Zone selection list in the Boundary Conditions task page.
ii. Retain the default selection of Magnitude, Normal to Boundary from the Velocity Specification
Method drop-down list.
iv. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Note
You can also access the Velocity Inlet dialog box by double-clicking the
Setup/Boundary Conditions/velocity-inlet-5 tree item.
c. In a similar manner, set the boundary conditions at the hot inlet (velocity-inlet-6), using the values in
the following table:
Setting Value
Velocity Specification Method Magnitude, Normal to Boundary
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Setting Value
Velocity Magnitude 1.2 [m/s]
Specification Method Intensity and Hydraulic Diameter
Turbulent Intensity 5 [%]
Hydraulic Diameter 1 [inch]
Temperature 313.15 [K]
d. Double-click pressure-outlet-7 in the Zone selection list and set the boundary conditions at the outlet,
as shown in the following figure.
Note
• You do not need to set a backflow temperature in this case (in the Thermal tab) because
the material properties are not functions of temperature. If they were, a flow-weighted
average of the inlet conditions would be a good starting value.
• ANSYS Fluent will use the backflow conditions only if the fluid is flowing into the compu-
tational domain through the outlet. Since backflow might occur at some point during the
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
solution procedure, you should set reasonable backflow conditions to prevent convergence
from being adversely affected.
e. For the wall of the pipe (wall), retain the default value of 0 W/m2 for Heat Flux in the Thermal tab.
2.4.6. Solving
In the steps that follow, you will set up and run the calculation using the Solution ribbon tab.
Note
You can also use the task pages listed under the Solution tree branch to perform solution-
related activities.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Note
You can also access the Residual Monitors dialog box by double-clicking the Solu-
tion/Monitors/Residual tree item.
c. Retain the default value of 0.001 for the Absolute Criteria of continuity.
Note
By default, the residuals of all of the equations solved for the physical models enabled
for your case will be monitored and checked by ANSYS Fluent as a means to determine
the convergence of the solution. It is a good practice to also create and plot a surface
report definition that can help evaluate whether the solution is truly converged. You will
do this in the next step.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You can also access the Surface Report Definition dialog box by right-clicking Report
Definitions in the tree (under Solution) and selecting New/Surface Report/Mass-
Weighted Average... from the menu that opens.
b. Enable Report File, Report Plot, and Print to Console in the Create group box.
During a solution run, ANSYS Fluent will write solution convergence data in a report file, plot the
solution convergence history in a graphics window, and print the value of the report definition to the
console.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
This setting instructs ANSYS Fluent to update the plot of the surface report, write data to a file, and
print data in the console after every 3 iterations during the solution.
d. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
f. Click OK to save the surface report definition and close the Surface Report Definition dialog box.
The new surface report definition outlet-temp-avg will appear under the Solution/Report
Definitions tree item. ANSYS Fluent also automatically creates the following items:
4. In the tree, double-click outlet-temp-avg-rfile (under Solution/Monitors/Report Files) and examine the
report file settings in the Edit Report File dialog box.
The dialog box is automatically populated with data from the outlet-temp-avg report definition.
If you had created multiple report definitions, the additional ones would be listed under Available
Report Definitions, and you could use the Add>> and <<Remove buttons to manage which were
written in this particular report definition file.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. (optional) Edit the name and location of the resulting file as necessary using the Output File Base
Name field or Browse... button.
g. Enable Print.
i. Click OK to save the convergence condition settings and close the Convergence Conditions dialog
box.
These settings will cause Fluent to consider the solution converged when the surface report definition
value for each of the previous 15 iterations is within 0.001% of the current value. Convergence of the
values will be checked every 3 iterations. The first 20 iterations will be ignored, allowing for any initial
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
solution dynamics to settle out. Note that the value printed to the console is the deviation between the
current and previous iteration values only.
6. Initialize the flow field using the Initialization group box of the Solution ribbon tab.
Solution → Initialization
b. Click Initialize.
a. (optional) Indicate the folder in which you would like the file to be saved.
By default, the file will be saved in the folder from which you read in elbow.msh (that is, the in-
troduction folder). You can indicate a different folder by browsing to it or by creating a new
folder.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Adding the extension .gz to the end of the file name extension instructs ANSYS Fluent to save
the file in a compressed format. You do not have to include .cas in the extension (for example,
if you enter elbow1.gz, ANSYS Fluent will automatically save the file as elbow1.cas.gz).
The .gz extension can also be used to save data files in a compressed format.
c. Ensure that the default Write Binary Files option is enabled, so that a binary file will be written.
d. Click OK to save the case file and close the Select File dialog box.
8. Start the calculation by requesting 150 iterations in the Solution ribbon tab (Run Calculation group box).
b. Click Calculate.
Note
By starting the calculation, you are also starting to save the surface report data at the
rate specified in the Surface Report Definition dialog box. If a file already exists in
your working directory with the name you specified in the Edit Report File dialog
box, then a Question dialog box will open, asking if you would like to append the
new data to the existing file. Click No in the Question dialog box, and then click OK
in the Warning dialog box that follows to overwrite the existing file.
As the calculation progresses, the surface report history will be plotted in the outlet-temp-avg-
rplot tab in the graphics window (Figure 2.3: Convergence History of the Mass-Weighted Average
Temperature (p. 66)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Similarly, the residuals history will be plotted in the Scaled Residuals tab in the graphics window
(Figure 2.4: Residuals (p. 66)).
Note
You can monitor the two convergence plots simultaneously by right-clicking a tab in
the graphics window and selecting SubWindow View from the menu that opens. To
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
return to a tabbed graphics window view, right-click a graphics window title area and
select Tabbed View.
Since the residual values vary slightly by platform, the plot that appears on your screen may not
be exactly the same as the one shown here.
The solution will be stopped by ANSYS Fluent when any of the following occur:
• the surface report definition converges to within the tolerance specified in the Convergence
Conditions dialog box
• the residual monitors converge to within the tolerances specified in the Residual Monitors
dialog box
• the number of iterations you requested in the Run Calculation task page has been reached
In this case, the solution is stopped when the convergence criterion on outlet temperature is
satisfied. The exact number of iterations for convergence will vary, depending on the platform
being used. An Information dialog box will open to alert you that the calculation is complete.
Click OK in the Information dialog box to proceed.
9. Examine the plots for convergence (Figure 2.3: Convergence History of the Mass-Weighted Average Tem-
perature (p. 66) and Figure 2.4: Residuals (p. 66)).
Note
There are no universal metrics for judging convergence. Residual definitions that are
useful for one class of problem are sometimes misleading for other classes of problems.
Therefore it is a good idea to judge convergence not only by examining residual levels,
but also by monitoring relevant integrated quantities and checking for mass and energy
balances.
The solution has converged when the Convergence Criterion for each variable has
been reached. The default criterion is that each residual will be reduced to a value of
less than 10–3, except the energy residual, for which the default criterion is 10–6.
Sometimes the residuals may not fall below the convergence criterion set in the case
setup. However, monitoring the representative flow variables through iterations may
show that the residuals have stagnated and do not change with further iterations. This
could also be considered as convergence.
• The overall mass, momentum, energy, and scalar balances are obtained.
You can examine the overall mass, momentum, energy and scalar balances in the Flux
Reports dialog box. The net imbalance should be less than 0.2 % of the net flux through
the domain when the solution has converged. In the next step you will check to see
if the mass balance indicates convergence.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
10. Examine the mass flux report for convergence using the Results ribbon tab.
a. Ensure that Mass Flow Rate is selected from the Options list.
b. Select pressure-outlet-7, velocity-inlet-5, and velocity-inlet-6 from the Boundaries selection list.
c. Click Compute.
The individual and net results of the computation will be displayed in the Results and Net Results
boxes, respectively, in the Flux Reports dialog box, as well as in the console.
The sum of the flux for the inlets should be very close to the sum of the flux for the outlets. The net
results show that the imbalance in this case is well below the 0.2% criterion suggested previously.
In later steps of this tutorial you will save additional case and data files with different suffixes.
1. Display filled contours of velocity magnitude on the symmetry plane (Figure 2.5: Predicted Velocity Distri-
bution after the Initial Calculation (p. 70)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
e. Click Display to display the contours in the active graphics window. Clicking the Fit to Window icon
( ) will cause the object to fit exactly and be centered in the window.
Note
If you cannot see the velocity contour display, select the appropriate tab in the
graphics window.
View → Display
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Extra
When you probe a point in the displayed domain with the right mouse button or the
probe tool, the level of the corresponding contour is highlighted in the colormap in the
graphics window, and is also reported in the console.
2. Create and display a definition for temperature contours on the symmetry plane (Figure 2.6: Predicted
Temperature Distribution after the Initial Calculation (p. 72)).
You can create contour definitions and save them for later use.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Temperature... and Static Temperature from the Contours of drop-down lists.
The new contour-temp definition appears under the Results/Graphics/Contours tree branch.
To edit your contour definition, right-click it and select Edit... from the menu that opens.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
3. Display velocity vectors on the symmetry plane (Figure 2.9: Magnified View of Resized Velocity Vec-
tors (p. 74)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Auto Scale option is enabled by default in the Options group box. This scaling sometimes
creates vectors that are too small or too large in the majority of the domain. You can improve
the clarity by adjusting the Scale and Skip settings, thereby changing the size and number of
the vectors when they are displayed.
d. Set Skip to 2.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
To manipulate the image, refer to Table 2.1: View Manipulation Instructions (p. 42). The image will
be redisplayed at a higher magnification (Figure 2.9: Magnified View of Resized Velocity Vectors (p. 74)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Clicking the Fit to Window icon, , will cause the object to fit exactly and be centered in the
window.
4. Create a line at the centerline of the outlet. For this task, you will use the Surface group box of the Results
tab.
b. Select Mesh... and Z-Coordinate from the Surface of Constant drop-down lists.
The range of values in the z-direction is displayed in the Min and Max fields.
f. Click Create.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
The new line surface representing the intersection of the plane z=0 and the surface pressure-
outlet-7 is created, and its name z=0_outlet appears in the From Surface selection list.
Note
• After the line surface z=0_outlet is created, a new entry will automatically be generated
for New Surface Name, in case you would like to create another surface.
• If you want to delete or otherwise manipulate any surfaces, click Manage... to open the
Surfaces dialog box.
5. Display and save an XY plot of the temperature profile across the centerline of the outlet for the initial
solution (Figure 2.10: Outlet Temperature Profile for the Initial Solution (p. 77)).
a. Select Temperature... and Static Temperature from the Y Axis Function drop-down lists.
b. Select the z=0_outlet surface you just created from the Surfaces selection list.
c. Click Plot.
The button that was originally labeled Plot will change to Write....
e. Click Write....
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. Click OK to save the temperature data and close the Select File dialog box.
a. Select Density... and Density from the Field Functions drop-down lists, and click the Select button
to add density to the Definition field.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Click the X button to add the multiplication symbol to the Definition field.
c. Select Velocity... and Velocity Magnitude from the Field Functions drop-down lists, and click the
Select button to add |V| to the Definition field.
d. Click y^x to raise the last entry in the Definition field to a power, and click 2 for the power.
e. Click the / button to add the division symbol to the Definition field, and then click 2.
g. Click Define and close the Custom Field Function Calculator dialog box.
The dynamic-head tree item will appear under the Parameters & Customization/Custom Field
Functions tree branch.
7. Display filled contours of the custom field function (Figure 2.11: Contours of the Dynamic Head Custom
Field Function (p. 79)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select Custom Field Functions... and dynamic-head from the Contours of drop-down lists.
Tip
Note
You may need to change the view by zooming out after the last vector display, if you
have not already done so.
8. Save the settings for the custom field function by writing the case and data files (elbow1.cas.gz and
elbow1.dat.gz).
Note
When you write the case and data file at the same time, it does not matter whether
you specify the file name with a .cas or .dat extension, as both will be saved.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Click OK to save the files and close the Select File dialog box.
1. Define Cell Registers to Adapt the mesh in the regions of high temperature gradient.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Select Temperature... and Static Temperature from the Curvature of drop-down list.
d. Click Compute.
ANSYS Fluent will update the Min and Max values to show the minimum and maximum temperature
gradient.
e. Enter a value of 0.003 for the Cells having value more than.
A general rule is to use 10% of the maximum gradient when setting the value for refinement.
f. Click Save and close the Field Variable Register daialog box.
2. Setup mesh adaption using the Cell Registers. For this task, you will use the Adapt group box in the Domain
ribbon tab.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
a. Select the previously defined curvature_0 cell register from the Refinement Criterion and Coarsening
Criterion drop down lists.
ANSYS Fluent will not coarsen beyond the original mesh for a 3D mesh. Hence, it is not necessary to
select the Coarsening Criterion in this instance.
b. Click Adapt.
c. Click Display.
ANSYS Fluent will display the cells marked for adaption in the graphics window (Figure 2.12: Cells
Marked for Adaption (p. 83)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Extra You can change the way ANSYS Fluent displays cells marked for adaption (Figure 2.13: Al-
ternative Display of Cells Marked for Adaption (p. 85)) by performing the following steps:
i. Click Display Options... in the Adaption Controls dialog box to open the Display Options
- Adaption dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
iii. Ensure that only the Edges option is enabled in the Options group box.
v. Select all of the items except default-interior and z=0_outlet from the Surfaces selection
list.
vi. Click Display and close the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ix. Rotate the view and zoom in to get the display shown in Figure 2.13: Alternative Display of
Cells Marked for Adaption (p. 85).
x. After viewing the marked cells, rotate the view back and zoom out again.
3. Display the adapted mesh (Figure 2.14: The Adapted Mesh (p. 87)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Deselect all of the highlighted items from the Surfaces selection list except for symmetry.
Tip
To deselect all surfaces, click the Deselect All Shown button ( ) at the top of the
Surfaces selection list. Then select the desired surface from the Surfaces selection
list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The solution will converge as shown in Figure 2.15: The Complete Residual History (p. 88) and Fig-
ure 2.16: Convergence History of Mass-Weighted Average Temperature (p. 88).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
5. Save the case and data files for the Coupled solver solution with an adapted mesh (elbow2.cas.gz and
elbow2.dat.gz).
b. Click OK to save the files and close the Select File dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The files elbow2.cas.gz and elbow2.dat.gz will be saved in your default folder.
6. Display the temperature distribution (using node values) on the revised mesh using the temperature contours
definition that you created earlier (Figure 2.17: Filled Contours of Temperature Using the Adapted
Mesh (p. 89)).
Right-click the Results/Graphics/Contours/contour-temp tree item and select Display from the
menu that opens.
7. Display and save an XY plot of the temperature profile across the centerline of the outlet for the adapted
solution (Figure 2.18: Outlet Temperature Profile for the Adapted Coupled Solver Solution (p. 90)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
a. Ensure that the Write to File option is disabled in the Options group box.
b. Ensure that Temperature... and Static Temperature are selected from the Y Axis Function drop-down
lists.
d. Click Plot.
Figure 2.18: Outlet Temperature Profile for the Adapted Coupled Solver Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The button that was originally labeled Plot will change to Write....
f. Click Write....
8. Display the outlet temperature profiles for both solutions on a single plot (Figure 2.19: Outlet Temperature
Profiles for the Two Solutions (p. 93)).
a. Click the Load... button to open the Select File dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
vk.com/club152685050 | vk.com/id446425943
Fluid Flow and Heat Transfer in a Mixing Elbow
Each of these files will be listed with their folder path in the bottom list to indicate that they have
been selected.
Tip
If you select a file by mistake, simply click the file in the bottom list and then
click Remove.
ii. Click OK to save the files and close the Select File dialog box.
b. Select the folder path ending in outlet_temp1.xy from the Curve Information selection list.
The item in the Legend Entries list for outlet_temp1.xy will be changed to Before Adaption. This
legend entry will be displayed in the upper-left corner of the XY plot generated in a later step.
e. In a similar manner, change the legend entry for the folder path ending in outlet_temp2.xy to be Ad-
apted Mesh.
Figure 2.19: Outlet Temperature Profiles for the Two Solutions (p. 93) shows the two temperature profiles
at the centerline of the outlet. It is apparent by comparing both the shape of the profiles and the predicted
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
outer wall temperature that the solution is highly dependent on the mesh and solution options. Specifically,
further mesh adaption should be used in order to obtain a solution that is independent of the mesh.
2.5. Summary
A comparison of the convergence speed for the SIMPLE and Coupled pressure-velocity coupling schemes
indicates that the latter converges much faster. With more complex meshes, the difference in speed
between the two schemes can be significant.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Chapter 3: Postprocessing
This tutorial is divided into the following sections:
3.1. Introduction
3.2. Prerequisites
3.3. Problem Description
3.4. Setup and Solution
3.5. Summary
3.1. Introduction
This tutorial demonstrates the postprocessing capabilities of Fluent using a 3D model of a flat circuit
board with a heat generating electronic chip mounted on it. The flow over the chip is laminar and involves
conjugate heat transfer.
The heat transfer involves conduction in the chip and conduction and convection in the surrounding
fluid. The physics of conjugate heat transfer such as this are common in many engineering applications,
including the design and cooling of electronic components.
In this tutorial, you will read the case and data files (without doing the calculation) and perform a
number of postprocessing exercises.
• Create animations.
• Create a scene.
• Display pathlines.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
vk.com/club152685050
Postprocessing | vk.com/id446425943
3.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
As shown in the figure, each half-module is assumed to generate 1.0 Watts and to have a bulk conduct-
ivity of 1.0 -K. The circuit board conductivity is assumed to be one order of magnitude lower:
0.1 -K. The air flow enters the system at 298 K with a velocity of 1 m/s. The Reynolds number of
the flow, based on the module height, is about 600. The flow is therefore treated as laminar.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
3.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher
in the Fluent Getting Started Guide.
When you select the case file, Fluent will read the data file automatically.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
vk.com/club152685050
Postprocessing | vk.com/id446425943
a. Retain the default enabling of the Edges option and disable the Faces option in the Options group
box.
b. Deselect all surfaces and select board-top and chip from the Surfaces selection list.
Click to deselect all surfaces. Click and select Surface Type under Group By to list the
surfaces by type, as shown above.
c. Click the Colors... button to open the Mesh Colors dialog box.
ii. Click Reset Colors to reset the mesh colors to the default settings and close the Mesh Colors dialog
box.
d. Click Display.
Use the left mouse button to rotate the view. Use the middle mouse button to adjust the magnification
until you obtain an enlarged display of the circuit board in the region of the chip, as shown in Fig-
ure 3.2: Mesh Display of the Chip and Board Surfaces (p. 99).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Extra
You can click the right mouse button on one of the mesh boundaries displayed in the
graphics window and its surface group, ID, and name will be displayed in the console.
This feature is especially useful when you have several zones of the same type and you
want to distinguish between them.
The default light settings add a white light at the position (1,1,1). The default light is defined in the Lights
dialog box by the Light ID 0 with Direction vectors (X, Y, Z) as (1, 1, 1).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 99
vk.com/club152685050
Postprocessing | vk.com/id446425943
a. Make sure that the Lights On option is enabled in the Lighting Attributes group box.
Flat is the most basic lighting whereas Gouraud gives better color gradation. Note that Gouraud
rounds off corners, and so should be used with caution on highly angular geometries.
Shading will be added to the surface mesh display (Figure 3.3: Graphics Window with Default Light-
ing (p. 101)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
100 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
You can also open the Lights dialog box by clicking the Lights... button in the Display Options dialog
box.
a. Set Light ID to 1.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 101
vk.com/club152685050
Postprocessing | vk.com/id446425943
c. Enter -1, 1, and 1 for X, Y, and Z respectively in the Direction group box.
The Headlight On option provides constant lighting effect from a light source directly in front of the
model, in the direction of the view. You can turn off the headlight by disabling the Headlight On
option (the results of this action are shown in Figure 3.4: Display with Additional Lighting: - Headlight
Off (p. 102)).
f. Click Apply.
g. Similarly, add a second light (Light ID= 2 with Light On enabled) with a Direction of (-1, 1, -1).
The result will be more softly shaded display (Figure 3.5: Display with Additional Lighting (p. 103)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
102 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Extra
You can use the left mouse button to rotate the ball in the Active Lights window to gain a
perspective view on the relative locations of the lights that are currently active, and see the
shading effect on the ball at the center.
You can also change the color of one or more of the lights by selecting the color from the
Color drop-down list or by moving the Red, Green, and Blue sliders.
You can define additional surfaces for viewing the results, such as a plane in Cartesian space. In this exercise,
you will create a horizontal plane cutting through the middle of the module with a Y value of 0.25 inches.
You can use this surface to display the temperature and velocity fields.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 103
vk.com/club152685050
Postprocessing | vk.com/id446425943
Tip
When you are creating multiple postprocessing surfaces, it can be helpful to group
surfaces by type for viewing in lists (Click and select Surface Type under Group
By). All iso-surfaces will be grouped together.
b. Select Mesh... and Y-Coordinate from the Surface of Constant drop-down lists.
c. Click Compute.
The Min and Max fields display the Y extents of the domain.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
104 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Mesh... and X-Coordinate from the Clip to Values of drop-down lists.
c. Select fluid-sym from the Clip Surface selection list. You can type fluid into the Filter Text box to
quickly find this surface.
d. Click Compute.
The Min and Max fields display the X extents of the domain.
f. Click Create.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 105
vk.com/club152685050
Postprocessing | vk.com/id446425943
b. Select Mesh... and Y-Coordinate from the Clip to Values of drop-down lists.
c. Retain the selection of fluid-sym from the Clip Surface selection list.
d. Click Compute.
The Min and Max fields display the Y extents of the domain.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
106 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Ensure Filled, Node Values, Global Range, and Auto Range are enabled in the Options group box.
d. Select Temperature... and Static Temperature from the Contours of drop-down lists.
e. Click and select Surface Type under Group By (if surfaces are not already grouped by type).
f. Select board-sym, chip-sym, and fluid-sym (under Symmetry in the Surfaces selection list.)
g. Click Save/Display.
h. Rotate and adjust the magnification of the view using the left and middle mouse buttons, respectively,
to obtain the view as shown in Figure 3.6: Filled Contours of Temperature on the Symmetry Sur-
faces (p. 108).
Tip
If the model disappears from the graphics window at any time, or if you are having
difficulty manipulating it with the mouse, do one of the following:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 107
vk.com/club152685050
Postprocessing | vk.com/id446425943
• Open the Views dialog box by right-clicking Graphics in the tree (under Results)
and selecting Views... from the menu that opens, and then use the Default button
to reset the view. You could also click Camera... in this dialog box to open the
Camera Parameters dialog box, where you could select orthographic from the
Projection drop-down list to reduce the likelihood of zooming through the geo-
metry.
The peak temperatures in the chip appear where the heat is generated, along with the higher temperatures
in the wake where the flow is recirculating.
2. Display filled contours of temperature for the clipped surface (Figure 3.7: Filled Contours of Temperature
on the Clipped Surface (p. 109)).
a. Click to deselect all surfaces from the Surfaces selection list and then select fluid-sym-x-clip and
fluid-sym-y-clip.
b. Click Save/Display.
A clipped surface appears, colored by temperature (Figure 3.7: Filled Contours of Temperature on the
Clipped Surface (p. 109)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
108 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
3. Display filled contours of temperature on the plane, y=0.25in (Figure 3.8: Temperature Contours on the
Surface, Y= 0.25 in. (p. 110)).
a. Click to deselect all surfaces from the Surfaces selection list and then select y=0.25in.
Left-click the colormap in the graphics window and drag it to the bottom of the graphics window.
This can also be accomplished using the Display Options dialog box.
Tip
You can increase/decrease the size of the colormap by dragging the corners of the box
that appears when you hover over the colormap.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 109
vk.com/club152685050
Postprocessing | vk.com/id446425943
In Figure 3.8: Temperature Contours on the Surface, Y= 0.25 in. (p. 110), the high temperatures in the wake
of the module are clearly visible. You can also display other quantities such as velocity magnitude or
pressure using the Contours dialog box.
1. Display velocity vectors on the symmetry plane through the module centerline (Figure 3.9: Velocity Vectors
in the Module Symmetry Plane (p. 112)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
110 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Confirm that Velocity is selected under Vectors of and that Color by is set to Velocity... and Velocity
Magnitude.
c. Ensure Global Range, Auto Range, and Auto Scale are the only enabled Options.
f. Click to deselect all surfaces from the Surfaces selection list and then select fluid-sym.
Extra
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 111
vk.com/club152685050
Postprocessing | vk.com/id446425943
a. Deselect all surfaces from the Surfaces selection list and then select fluid-sym-x-clip and
fluid-sym-y-clip.
b. Click Save/Display.
2. Rotate and adjust the magnification of the view to observe the vortex near the stagnation point and in the
wake of the module (Figure 3.9: Velocity Vectors in the Module Symmetry Plane (p. 112)).
3. Plot velocity vectors in the horizontal plane intersecting the module (Figure 3.10: Velocity Vectors Intersecting
the Surface (p. 114)).
a. Enable Draw Mesh in the Options group box to open the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
112 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. Retain the selection of board-top and chip from the Surfaces selection list.
iii. Click the Colors... button to open the Mesh Colors dialog box.
C. Select light blue from the Colors selection list and close the Mesh Colors dialog box.
iv. Click Display and close the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 113
vk.com/club152685050
Postprocessing | vk.com/id446425943
f. Rotate the view and reduce the magnification to obtain the view as shown in Figure 3.10: Velocity
Vectors Intersecting the Surface (p. 114).
4. Mirror the image about the chip symmetry plane (Figure 3.11: Velocity Vectors After Mirroring (p. 115)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
114 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
This zone is the centerline plane of the module and its selection will create a mirror
of the entire display about the centerline plane.
The display will be updated in the graphics window (Figure 3.11: Velocity Vectors After Mirror-
ing (p. 115)).
You will display the surface temperature distribution on the module and the circuit board by selecting the
corresponding boundaries. You will also create the key frames and view the transition between the key
frames, dynamically, using the animation feature.
1. Display filled contours of surface temperature on the board-top and chip surfaces. (Figure 3.12: Filled
Temperature Contours on the Chip and Board Top Surfaces (p. 117)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 115
vk.com/club152685050
Postprocessing | vk.com/id446425943
b. Retain the selection of Temperature... and Static Temperature from the Contours of drop-down lists.
f. Reorient the display as needed to obtain the view shown in Figure 3.12: Filled Temperature Contours
on the Chip and Board Top Surfaces (p. 117).
Figure 3.12: Filled Temperature Contours on the Chip and Board Top Surfaces (p. 117) shows the high
temperatures on the downstream portions of the module and relatively localized heating of the circuit
board around the module.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
116 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 3.12: Filled Temperature Contours on the Chip and Board Top Surfaces
You will use the current display (Figure 3.12: Filled Temperature Contours on the Chip and Board Top
Surfaces (p. 117)) as the starting view for the animation (Frame = ).
a. Click Add in the Key Frames group box to create the first frame for your animation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 117
vk.com/club152685050
Postprocessing | vk.com/id446425943
The magnified view will be the one-hundredth key frame of the animation, with intermediate displays
(2 through 99) to be filled in during the animation.
e. Rotate the view and adjust the magnification so that the downstream side of the module is in the
foreground (Figure 3.13: Filled Temperature Contours on the Chip and Board Top Surfaces (p. 118)).
Figure 3.13: Filled Temperature Contours on the Chip and Board Top Surfaces
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
118 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You can check the display view of any of your saved key frames by selecting it in the
Keys list.
3. View the scene animation by clicking the “play” button ( ) in the Playback group box.
While effective animation is best conducted on “high-end” graphics workstations, you can view scene
animations on any workstation. If the graphics display speed is slow, the animation playback will take
some time and will appear choppy, with the redrawing very obvious. On fast graphics workstations, the
animation will appear smooth and continuous and will provide an excellent visualization of the display
from a variety of spatial orientations. On many machines, you can improve the smoothness of the anim-
ation by enabling the Double Buffering option in the Display Options dialog box.
To produce a slower animation, increase the number of frames between the key frames. The more sparsely
you place your key frames, the more transition frames Fluent creates between the key frames and
therefore stretching out your animation.
Note
You can also make use of animation tools of Fluent for transient cases as demonstrated
in Modeling Transient Compressible Flow (p. 199).
Extra
You can change the Playback Mode if you want to “auto repeat” or “auto reverse” the
animation. When you are in either of these modes, you can click the “stop” button ( )
to stop the continuous animation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 119
vk.com/club152685050
Postprocessing | vk.com/id446425943
You will refer to the rake by this name when you plot the pathlines.
A rake surface consists of a specified number of points equally spaced between two specified endpoints.
A line surface (the other option in the Type drop-down list) is a line that includes the specified end-
points and extends through the domain; data points on a line surface will not be equally spaced.
d. Enter a starting coordinate of (1.0, 0.105, 0.07) and an ending coordinate of (1.0, 0.25,
0.07) in the End Points group box.
This will define a vertical line in front of the module, about halfway between the centerline and edge.
2. Draw the pathlines (Figure 3.14: Pathlines Display Colored by Static Pressure (p. 122)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
120 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Enable Draw Mesh in the Options group box to open the Mesh Display dialog box.
ii. Retain the selection of board-top and chip from the Surfaces selection list.
These surfaces should already be selected from the earlier exercise where the mesh was displayed
with velocity vectors.
Note
As a general guideline to follow when you are setting these two parameters is that
if you want the particles to advance through a domain of length , the Step Size
times the number of Steps should be approximately equal to .
Coarsening the pathline simplifies the plot and reduces the plotting time. The coarsening factor spe-
cified for Path Coarsen indicates the interval at which the points are plotted for a given pathline in
any cell.
e. Select Pressure and Static Pressure from the Color By selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 121
vk.com/club152685050
Postprocessing | vk.com/id446425943
g. Click Display.
h. Rotate and magnify the view so that the flow field is in front and the wake of the chip is visible as shown
in Figure 3.14: Pathlines Display Colored by Static Pressure (p. 122).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
122 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Ensure that the Write to File in the Options group box is disabled.
c. Click the Attributes... button to open the Path Style Attributes dialog box.
d. Enter 1 inch for Step Size and 1000 for Steps respectively.
f. Retain the selection of pathline-rake in the Release from Surfaces selection list.
g. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 123
vk.com/club152685050
Postprocessing | vk.com/id446425943
h. Select Temperature and Static Temperature from the lower Color by drop-down list.
This will color the pathlines by the surface they are released from (Figure 3.16: Sphere Pathlines Colored
by Static Temperature (p. 124)).
Note
As an optional exercise, you can create solution animations for pathlines using the Animation
Sequence dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
124 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 125
vk.com/club152685050
Postprocessing | vk.com/id446425943
4. Click Save & Display to create the scene and display it in the graphics window.
5. Drag the velocity vector colormap to the top of the graphics window and modify the orientation and zoom
of the scene to match Figure 3.17: Temperature Contours and Velocity Vectors Scene (p. 126).
Note
As an optional exercise, you can add a mesh graphics object to the scene as well, by selecting
Mesh... from the New Object drop-down in the Scene dialog box. Once the mesh graphics
object is saved/created, select it from the Graphics Objects list and click Save & Display in
the Scene dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
126 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. Add a plot of static pressure pathlines to the velocity vector and temperature scene.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 127
vk.com/club152685050
Postprocessing | vk.com/id446425943
c. Use the mouse to obtain the view that is shown in Figure 3.18: Overlay of Pathlines Colored by Pressure
on Velocity Vectors and Temperature Contours Scene (p. 128).
Figure 3.18: Overlay of Pathlines Colored by Pressure on Velocity Vectors and Temperature
Contours Scene
1. Clear the temperature contours, velocity vectors, and pathlines from the current display.
Click the Close Tab button ( ) to clear the graphics window (located at on the right-hand side of
the graphics window tab).
2. Create a plotting surface at X = 3 inches (named x=3.0in), just downstream of the trailing edge of the
module.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
128 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Tip
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 129
vk.com/club152685050
Postprocessing | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
130 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Enable the Draw Mesh option in the Options group box to open the Mesh Display dialog box.
c. Set Skip to 2.
The display will show the vectors superimposed on the contours of temperature at =3.0 in.
5. Create the exploded view by translating the contour display, placing it above the vectors (Figure 3.19: Ex-
ploded Scene Display of Temperature and Velocity (p. 133)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 131
vk.com/club152685050
Postprocessing | vk.com/id446425943
The exploded view allows you to see the contours and vectors as distinct displays in the final scene
(Figure 3.19: Exploded Scene Display of Temperature and Velocity (p. 133)).
c. Deselect Overlays.
f. Magnify the view, as shown in Figure 3.19: Exploded Scene Display of Temperature and Velocity (p. 133).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
132 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Click the Close Tab button ( ) to clear the graphics window (located at on the right-hand side of
the graphics window tab).
3. Use the mouse to reduce the magnification of the view in the graphics window so that the entire board
surface is visible.
4. Generate contours of velocity magnitude and sweep them through the domain along the X axis.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 133
vk.com/club152685050
Postprocessing | vk.com/id446425943
b. Retain the default value of 0 m for Initial Value in the Animation group box.
Warning
The units for the initial and final values are in meters, regardless of the length
units being used in the model. Here, the initial and final values are set to the
Min Value and Max Value, to generate an animation through the entire domain.
e. Select Contours from the Display Type list to open the Contours dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
134 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
You will see the velocity contour plot displayed at 20 successive streamwise planes. Fluent will automat-
ically interpolate the contoured data on the streamwise planes between the specified end points. Especially
on high-end graphics workstations, this can be an effective way to study how a flow variable changes
throughout the domain.
Note
You can also make use of animation tools of Fluent for transient cases as demonstrated in
Modeling Transient Compressible Flow (p. 199).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 135
vk.com/club152685050
Postprocessing | vk.com/id446425943
c. Enter the coordinates of the line using a starting coordinate of (2.0, 0.4, 0.01) and an ending co-
ordinate of (2.75, 0.4, 0.01) in the End Points group box.
2. Plot the temperature distribution along the top centerline of the module (Figure 3.20: Temperature Along
the Top Centerline of the Module (p. 138)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
136 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Temperature... and Static Temperature from the Y Axis Function drop-down lists.
This will plot temperature vs. the X coordinate along the selected line (top-center-line).
d. Click the Axes... button to open the Axes - Solution XY Plot dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 137
vk.com/club152685050
Postprocessing | vk.com/id446425943
v. Enter 2.0 for Minimum and 2.75 for Maximum in the Range group box.
vi. Click Apply and close the Axes - Solution XY Plot dialog box.
The temperature distribution (Figure 3.20: Temperature Along the Top Centerline of the Module (p. 138))
shows the temperature increase across the module surface as the thermal boundary layer develops
in the cooling air flow.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
138 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1. Enter the text describing the plot (for example, Temperature Along the Top Centerline) in the
Annotation Text field.
2. Select 20 from the Size drop-down list in the Font Specification group box.
3. Click Add.
A Working dialog box will appear telling you to select the desired location of the text using the mouse-
probe button.
4. Click the right mouse button in the graphics window where you want the text to appear, and you will see
the text displayed at the selected location (Figure 3.21: A Display with Annotation (p. 140)).
Extra
If you want to move the text to a new location on the screen, select the text in the Names
selection list, click Delete Text, and click Add once again, defining a new position with
the mouse.
Note
Depending on the size of the graphics window and the picture file format you choose,
the font size of the annotation text you see on the screen may be different from the font
size in a picture file of that graphics window. The annotation text font size is absolute,
while the rest of the items in the graphics window are scaled to the proportions of the
picture file.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 139
vk.com/club152685050
Postprocessing | vk.com/id446425943
Click the Save Picture icon- in the toolbar to open the Save Picture dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
140 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
3. Click the Save... button to open the Select File dialog box.
2. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
The maximum temperature in the solid-1 cell zone (the chip) is displayed.
5. Select Minimum in the Report Type group box and click Compute.
The minimum temperature in the solid-1 cell zone (the chip) is displayed.
6. Repeat the operations to determine the maximum and minimum temperatures in the solid-2 and fluid-8
cell zones, corresponding to the board and fluid volume, respectively.
3.5. Summary
This tutorial demonstrated the use of many of the extensive postprocessing features available in Fluent.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 141
vk.com/club152685050
Postprocessing | vk.com/id446425943
For more information on these and related features, see reporting alphanumeric data and displaying
graphics in the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
142 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
4.1. Introduction
Many industrial applications, such as steam generation in a boiler or air cooling in the coil of an air
conditioner, can be modeled as two-dimensional periodic heat flow. This tutorial illustrates how to set
up and solve a periodic heat transfer problem, given a pre-generated mesh.
The system that is modeled is a bank of tubes containing a flowing fluid at one temperature that is
immersed in a second fluid in cross flow at a different temperature. Both fluids are water, and the flow
is classified as laminar and steady, with a Reynolds number of approximately 100. The mass flow rate
of the cross flow is known and the model is used to predict the flow and temperature fields that result
from convective heat transfer.
Due to symmetry of the tube bank and the periodicity of the flow inherent in the tube bank geometry,
only a portion of the geometry will be modeled in ANSYS Fluent, with symmetry applied to the outer
boundaries. The resulting mesh consists of a periodic module with symmetry. In the tutorial, the inlet
boundary will be redefined as a periodic zone, and the outflow boundary defined as its shadow.
4.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 143
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
Because of the symmetry of the tube bank geometry, only a portion of the domain must be modeled.
The computational domain is shown in outline in Figure 4.1: Schematic of the Problem (p. 144). A mass
flow rate of 0.05 kg/s is applied to the inlet boundary of the periodic module. The temperature of the
tube wall ( ) is 400 K and the bulk temperature of the cross flow water ( ) is 300 K. The properties
of water that are used in the model are shown in Figure 4.1: Schematic of the Problem (p. 144).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
144 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
6. Ensure that you are running in single precision (disable Double Precision).
4.4.2. Mesh
1. Read the mesh file tubebank.msh.
ANSYS Fluent will perform various checks on the mesh and report the progress in the ANSYS Fluent
console window. Ensure that the minimum volume reported is a positive number.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 145
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
a. Select cm (centimeters) from the Mesh Was Created In drop-down list in the Scaling group box.
a. Select Display from the Mesh Display and close the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
146 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Clicking the Fit to Window icon, , to center the re-scaled mesh in the graphics window.
Note
It is a good idea to check the mesh after you manipulate it (scale, convert to polyhedra,
merge, separate, fuse, add zones, or smooth and swap.) This will ensure that the quality
of the mesh has not been compromised.
6. Examine the mesh (Figure 4.2: Mesh for the Periodic Tube Bank (p. 147)).
Quadrilateral cells are used in the regions surrounding the tube walls and triangular cells are used for
the rest of the domain, resulting in a hybrid mesh (see Figure 4.2: Mesh for the Periodic Tube Bank (p. 147)).
The quadrilateral cells provide better resolution of the viscous gradients near the tube walls. The remainder
of the computational domain is filled with triangular cells for the sake of convenience.
Tip
You can use the right mouse button to probe for mesh information in the graphics win-
dow. If you click the right mouse button on any node in the mesh, information will be
displayed in the ANSYS Fluent console about the associated zone, including the name of
the zone. This feature is especially useful when you have several zones of the same type
and you want to distinguish between them quickly.
The inlet (wall-9) and outflow (wall-12) boundaries currently defined as wall zones need to be redefined
as periodic using the text user interface. The wall-9 boundary will be redefined as a translationally peri-
odic zone and wall-12 as a periodic shadow of wall-9.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 147
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
b. Enter the text command and input the responses to the prompts as shown. Press Enter after each entry.
> mesh/modify-zones/make-periodic Enter
You will be prompted to enter the zones corresponding to the periodic boundaries and specify
the configuration of the periodicity.
zone 12 deleted
computed translation deltas: 0.040000 -0.000000
created periodic zones.
Physics → Solver
4.4.4. Models
1. Enable heat transfer.
4.4.5. Materials
The default properties for water defined in ANSYS Fluent are suitable for this problem. In this step, you will
make sure that this material is available for selecting in future steps.
1. Add water to the list of fluid materials by copying it from the ANSYS Fluent materials database.
a. Click Fluent Database... in the Create/Edit Materials dialog box to open the Fluent Database Mater-
ials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
148 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Scroll down the list to find water-liquid (h2o<l>). Selecting this item will display the default
properties in the dialog box.
ii. Click Copy and close the Fluent Database Materials dialog box.
The Create/Edit Materials dialog box will now display the copied properties for water-liquid.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 149
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
150 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 151
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
2. Set the boundary conditions for the top wall of the right tube (wall-3).
4.4.9. Solution
1. Set the solution parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
152 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 153
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
a. Retain the default values in the Pseudo Transient Explicit Relaxation Factors group box.
In some cases, the default Pseudo Transient Explicit Relaxation Factors may need to be reduced in
order to prevent oscillation of residual values or stabilization of residual values above the convergence
criteria. For additional information about setting Pseudo Transient Explicit Relaxation Factors, see
the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
154 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
You will first use the default Hybrid initialization method and then patch the fluid zone with the upstream
temperature value.
b. Patch the fluid zone with the bulk upstream temperature value.
The Hybrid Initialization method computes the initial flow field based on inlet and outlet boundary
conditions. In this case we have periodic boundary conditions with a specified upstream bulk temper-
ature. You will patch the initialized solution with this temperature value in order to improve conver-
gence.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 155
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
b. Click Calculate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
156 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4.4.10. Postprocessing
1. Display filled contours of static pressure (Figure 4.3: Contours of Static Pressure (p. 158)).
b. Retain the default selection of Pressure... and Static Pressure from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 157
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
d. Change the view to mirror the display across the symmetry planes (Figure 4.4: Contours of Static Pressure
with Symmetry (p. 159)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
158 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Select all of the symmetry zones (symmetry-18, symmetry-13, symmetry-11, and symmetry-24)
in the Mirror Planes selection list by clicking in the upper right corner.
Note
There are four symmetry zones in the Mirror Planes selection list because the top
and bottom symmetry planes in the domain are each composed of two symmetry
zones, one on each side of the tube centered on the plane. It is also possible to
generate the same display shown in Figure 4.4: Contours of Static Pressure with
Symmetry (p. 159) by selecting just one of the symmetry zones on the top symmetry
plane, and one on the bottom.
iii. Translate the display of symmetry contours so that it is centered in the graphics window by using
the left mouse button (Figure 4.4: Contours of Static Pressure with Symmetry (p. 159)).
The pressure contours displayed in Figure 4.4: Contours of Static Pressure with Symmetry (p. 159) do
not include the linear pressure gradient computed by the solver. Thus, the contours are periodic at
the inlet and outflow boundaries.
2. Display filled contours of static temperature (Figure 4.5: Contours of Static Temperature (p. 160)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 159
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
a. Select Temperature... and Static Temperature from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
160 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The contours in Figure 4.5: Contours of Static Temperature (p. 160) reveal the temperature increase in the
fluid due to heat transfer from the tubes. The hotter fluid is confined to the near-wall and wake regions,
while a narrow stream of cooler fluid is convected through the tube bank.
3. Display the velocity vectors (Figure 4.6: Velocity Vectors (p. 162)).
This will increase the size of the displayed vectors, making it easier to view the flow patterns.
b. Retain the default selection of Velocity from the Vectors of drop-down list.
c. Retain the default selection of Velocity... and Velocity Magnitude from the Color by drop-down lists.
e. Zoom in on the upper right portion of one of the left tubes to get the display shown in (Figure 4.6: Ve-
locity Vectors (p. 162)), by using the middle mouse button in the graphics window.
The magnified view of the velocity vector plot in Figure 4.6: Velocity Vectors (p. 162) clearly shows the re-
circulating flow behind the tube and the boundary layer development along the tube surface.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 161
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
4. Create an isosurface on the periodic tube bank at = 0.01 m (through the first column of tubes).
This isosurface and the ones created in the steps that follow will be used for the plotting of temperature
profiles.
b. Select Mesh... and X-Coordinate from the Surface of Constant drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
162 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Click Create.
5. In a similar manner, create an isosurface on the periodic tube bank at = 0.02 m (halfway between the
two columns of tubes) named x=0.02m.
6. In a similar manner, create an isosurface on the periodic tube bank at = 0.03 m (through the middle of
the second column of tubes) named x=0.03m, and close the Iso-Surface dialog box.
7. Create an XY plot of static temperature on the three isosurfaces (Figure 4.7: Static Temperature at x=0.01,
0.02, and 0.03 m (p. 165)).
With a Plot Direction vector of (0,1), ANSYS Fluent will plot the selected variable as a function of
. Since you are plotting the temperature profile on cross sections of constant , the temperature
varies with the direction.
b. Select Temperature... and Static Temperature from the Y-Axis Function drop-down lists.
d. Click the Curves... button to open the Curves - Solution XY Plot dialog box.
This dialog box is used to define plot styles for the different plot curves.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 163
vk.com/club152685050
Modeling Periodic Flow |and
vk.com/id446425943
Heat Transfer
iii. Set the Curve # to 1 to define the style for the = 0.02 m curve.
vi. Click Apply and close the Curves - Solution XY Plot dialog box.
Since you did not change the curve style for the = 0.03 m curve, the default symbol will be used.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
164 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Further Improvements
4.5. Summary
In this tutorial, periodic flow and heat transfer in a staggered tube bank were modeled in ANSYS Fluent.
The model was set up assuming a known mass flow through the tube bank and constant wall temper-
atures. Due to the periodic nature of the flow and symmetry of the geometry, only a small piece of the
full geometry was modeled. In addition, the tube bank configuration lent itself to the use of a hybrid
mesh with quadrilateral cells around the tubes and triangles elsewhere.
The Periodic Conditions dialog box makes it easy to run this type of model with a variety of operating
conditions. For example, different flow rates (and hence different Reynolds numbers) can be studied,
or a different inlet bulk temperature can be imposed. The resulting solution can then be examined to
extract the pressure drop per tube row and overall Nusselt number for a range of Reynolds numbers.
For additional details about modeling periodic heat transfer, see the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 165
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
166 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
5.1. Introduction
The purpose of this tutorial is to compute the turbulent flow past a transonic airfoil at a nonzero angle
of attack. You will use the Spalart-Allmaras turbulence model.
• Model compressible flow (using the ideal gas law for density).
• Calculate a solution using the pressure-based coupled solver with the pseudo transient option.
5.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 167
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
5.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher
in the Fluent Getting Started Guide.
5.4.2. Mesh
1. Read the mesh file airfoil.msh.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
168 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Make
sure that the reported minimum volume is a positive number.
3. Examine the mesh (Figure 5.2: The Entire Mesh (p. 169) and Figure 5.3: Magnified View of the Mesh Around
the Airfoil (p. 169)).
Quadrilateral cells were used for this simple geometry because they can be stretched easily to account
for different flow gradients in different directions. In the present case, the gradients normal to the airfoil
wall are much greater than those tangent to the airfoil. Consequently, the cells near the surface have
high aspect ratios. For geometries that are more difficult to mesh, it may be easier to create a hybrid
mesh composed of quadrilateral and triangular cells.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 169
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
A parabola was chosen to represent the far-field boundary because it has no discontinuities in slope,
enabling the construction of a smooth mesh in the interior of the domain.
Extra
You can use the right mouse button to probe for mesh information in the graphics win-
dow. If you click the right mouse button on any node in the mesh, information will be
displayed in the ANSYS Fluent console about the associated zone, including the name of
the zone. This feature is especially useful when you have several zones of the same type
and you want to distinguish between them quickly.
5.4.3. Solver
1. Set the solver settings.
Physics → Solver
The pressure-based solver with the Coupled option for the pressure-velocity coupling is a good altern-
ative to density-based solvers of ANSYS Fluent when dealing with applications involving high-speed
aerodynamics with shocks. Selection of the coupled algorithm is made in the Solution Methods task
page in the Solution step.
5.4.4. Models
1. Select the Spalart-Allmaras turbulence model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
170 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
The Spalart-Allmaras model is a relatively simple one-equation model that solves a modeled
transport equation for the kinematic eddy (turbulent) viscosity. This embodies a relatively
new class of one-equation models in which it is not necessary to calculate a length scale
related to the local shear layer thickness. The Spalart-Allmaras model was designed spe-
cifically for aerospace applications involving wall-bounded flows and has been shown to
give good results for boundary layers subjected to adverse pressure gradients.
5.4.5. Materials
The default Fluid Material is air, which is the working fluid in this problem. The default settings need to be
modified to account for compressibility and variations of the thermophysical properties with temperature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 171
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
b. Select sutherland from the Viscosity drop-down list to open the Sutherland Law dialog box.
i. Retain the default selection of Three Coefficient Method in the Methods list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
172 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Sutherland law for viscosity is well suited for high-speed compressible flows.
While Density and Viscosity have been made temperature-dependent, Cp (Specific Heat) and Thermal
Conductivity have been left constant. For high-speed compressible flows, thermal dependency of the
physical properties is generally recommended. For simplicity, Thermal Conductivity and Cp (Specific
Heat) are assumed to be constant in this tutorial.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 173
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
174 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
The gauge pressure in ANSYS Fluent is always relative to the operating pressure, which
is defined in a separate input (see below).
c. Enter 0.997564 and 0.069756 for the X-Component of Flow Direction and Y-Component of Flow
Direction, respectively.
d. Retain Turbulent Viscosity Ratio from the Specification Method drop-down list in the Turbulence
group box.
f. Click the Thermal tab and retain the default value of 300 K for Temperature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 175
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
The Operating Conditions dialog box can also be accessed from the Cell Zone Conditions task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
176 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The operating pressure should be set to a meaningful mean value in order to avoid round-off errors.
The absolute pressure must be greater than zero for compressible flows. If you want to specify
boundary conditions in terms of absolute pressure, you can make the operating pressure zero.
For information about setting the operating pressure, see the Fluent User's Guide.
5.4.8. Solution
1. Set the solution parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 177
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
Select Second Order Upwind from the Modified Turbulent Viscosity drop-down list.
Enter 0.5 for Density in the Pseudo Transient Explicit Relaxation Factors group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
178 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Ensure that Plot is enabled in the Options group box and click OK to close the Residual Monitors
dialog box.
a. Retain the default selection of Hybrid Initialization from the Initialization Methods group box.
It is good practice to save the case and data files during several stages of your case setup.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 179
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
The Timescale Factor allows you to further manipulate the computed Time Step calculated by ANSYS
Fluent. Larger time steps can lead to faster convergence. However, if the time step is too large it can
lead to solution instability.
c. Click Calculate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
180 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
By performing some iterations before setting up the force reports, you will avoid large initial transients
in the report plots. This will reduce the axes range and make it easier to judge the convergence.
7. Set the reference values that are used to compute the lift, drag, and moment coefficients.
The reference values are used to non-dimensionalize the forces and moments acting on the airfoil. The
dimensionless forces and moments are the lift, drag, and moment coefficients.
ANSYS Fluent will update the Reference Values based on the boundary conditions at the far-field
boundary.
8. Create a force report definition to plot and write the drag coefficient for the walls of the airfoil.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 181
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
b. Make sure that Drag Coefficient is selected in the Report Output Type group box.
Note
If you do not enable the Report File option, the history information will be lost when
you exit ANSYS Fluent.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
182 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
f. Enter 0.9976 for X and 0.06976 for Y in the Force Vector group box.
These X and Y values ensure that the drag coefficient is calculated parallel to the free-stream flow,
which is off of the global coordinates.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 183
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
Enter the values for X and Y shown in the Lift Report Definition dialog box.
The X and Y values shown ensure that the lift coefficient is calculated normal to the free-stream flow,
which is off of the global coordinates.
10. In a similar manner, create a force report definition for the moment coefficient.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
184 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Enter the values for the Moment Center and Moment Axis shown in the Moment Report Definition
dialog box.
11. Display filled contours of pressure overlaid with the mesh in preparation for creating a surface report
definition (Figure 5.4: Pressure Contours After 50 Iterations (p. 186) and Figure 5.5: Magnified View of Pressure
Contours Showing Wall-Adjacent Cells (p. 187)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 185
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
186 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The shock is clearly visible on the upper surface of the airfoil, where the pressure jumps to a higher
value downstream of the low pressure area.
Note
The color indicating a high pressure area near the leading edge of the airfoil is ob-
scured by the overlaid green mesh. To view this contour, simply disable the Draw
Mesh option in the Contours dialog box and click Display.
d. Zoom in on the shock wave, until individual cells adjacent to the upper surface (wall-top boundary)
are visible, as shown in Figure 5.5: Magnified View of Pressure Contours Showing Wall-Adjacent
Cells (p. 187).
The magnified region contains cells that are just downstream of the shock and adjacent to the upper
surface of the airfoil. In the following step, you will create a point surface inside a wall-adjacent cell,
which you will use to create a surface report definition.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 187
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
b. Enter 0.53 m for x0 and 0.051 m for y0 in the Coordinates group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
188 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select none from the Convergence Criterion drop-down list so that automatic convergence checking
does not occur.
14. Create a surface report definition for tracking the velocity magnitude value at the point created in the
previous step.
Since the drag, lift, and moment coefficients are global variables, indicating certain overall conditions,
they may converge while local conditions at specific points are still varying from one iteration to the
next. To account for this, create a report definition at a point (just downstream of the shock) where there
is likely to be significant variation, and monitor the value of the velocity magnitude.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 189
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
b. Select Velocity... and Velocity Magnitude from the Field Variable drop-down list.
d. In the Create group box, enable Report File, Report Plot and Print to Console.
15. Save the case and data files (airfoil-1.cas.gz and airfoil-1.dat.gz).
The force reports (Figure 5.7: Drag Coefficient Convergence History (p. 191) and Figure 5.8: Lift Coefficient
Convergence History (p. 191)) show that the case is converged before the number of iterations specified.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
190 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 191
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
17. Save the case and data files (airfoil-2.cas.gz and airfoil-2.dat.gz).
5.4.9. Postprocessing
1. Plot the distribution on the airfoil (Figure 5.10: XY Plot of y+ Distribution (p. 193)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
192 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Turbulence... and Wall Yplus from the Y Axis Function drop-down list.
Note
The values of are dependent on the resolution of the mesh and the Reynolds number
of the flow, and are defined only in wall-adjacent cells. The value of in the wall-adjacent
cells dictates how wall shear stress is calculated. When you use the Spalart-Allmaras
model, you should check that of the wall-adjacent cells is either very small (on the
order of ), or approximately 30 or greater. Otherwise, you should modify your mesh.
Figure 5.10: XY Plot of y+ Distribution (p. 193) indicates that, except for a few small regions
(notably at the shock and the trailing edge), and for much of these regions it does
not drop significantly below 30. Therefore, you can conclude that the near-wall mesh
resolution is acceptable.
2. Display filled contours of Mach number (Figure 5.11: Contour Plot of Mach Number (p. 194)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 193
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
c. Select Velocity... and Mach Number from the Contours of drop-down list.
e. Zoom in on the region around the airfoil, as shown in Figure 5.11: Contour Plot of Mach Number (p. 194).
Note the discontinuity, in this case a shock, on the upper surface of the airfoil in Figure 5.11: Contour
Plot of Mach Number (p. 194) at about .
3. Plot the pressure distribution on the airfoil (Figure 5.12: XY Plot of Pressure (p. 195)).
b. Select Pressure... and Pressure Coefficient from the Y Axis Function drop-down lists.
c. Click Plot.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
194 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Notice the effect of the shock wave on the upper surface in Figure 5.12: XY Plot of Pressure (p. 195).
4. Plot the component of wall shear stress on the airfoil surface (Figure 5.13: XY Plot of x Wall Shear
Stress (p. 195)).
b. Select Wall Fluxes... and X-Wall Shear Stress from the Y Axis Function drop-down lists.
As shown in Figure 5.13: XY Plot of x Wall Shear Stress (p. 195), the large, adverse pressure gradient induced
by the shock causes the boundary layer to separate. The point of separation is where the wall shear stress
vanishes. Flow reversal is indicated here by negative values of the x component of the wall shear stress.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 195
vk.com/club152685050 | vk.com/id446425943
Modeling External Compressible Flow
5. Display filled contours of the component of velocity (Figure 5.14: Contour Plot of x Component of Velo-
city (p. 196)).
Note the flow reversal downstream of the shock in Figure 5.14: Contour Plot of x Component of Velo-
city (p. 196).
6. Plot velocity vectors (Figure 5.15: Plot of Velocity Vectors Downstream of the Shock (p. 197)).
c. Zoom in on the flow above the upper surface at a point downstream of the shock, as shown in Fig-
ure 5.15: Plot of Velocity Vectors Downstream of the Shock (p. 197).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
196 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Further Improvements
Flow reversal is clearly visible in Figure 5.15: Plot of Velocity Vectors Downstream of the Shock (p. 197).
5.5. Summary
This tutorial demonstrated how to set up and solve an external aerodynamics problem using the pressure-
based coupled solver with pseudo transient under-relaxation and the Spalart-Allmaras turbulence
model. It showed how to monitor convergence using force and surface report definitions, and demon-
strated the use of several postprocessing tools to examine the flow phenomena associated with a shock
wave.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 197
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
198 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
6.1. Introduction
In this tutorial, ANSYS Fluent’s density-based implicit solver is used to predict the time-dependent flow
through a two-dimensional nozzle. As an initial condition for the transient problem, a steady-state
solution is generated to provide the initial values for the mass flow rate at the nozzle exit.
• Calculate a steady-state solution (using the density-based implicit solver) as an initial condition for a transient
flow prediction.
• Use dynamic mesh adaption for both steady-state and transient flows.
• Calculate a transient solution using the second-order implicit transient formulation and the density-based
implicit solver.
• Create an animation of the transient flow using ANSYS Fluent’s transient solution animation feature.
6.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 199
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
6.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
200 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The mesh for the half of the geometry is displayed in the graphics window.
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Ensure
that the reported minimum volume is a positive number.
4. Mirror the mesh across the centerline (Figure 6.2: 2D Nozzle Mesh Display with Mirroring (p. 202)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 201
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
The pressure for this problem is specified in atm, which is not the default unit in ANSYS Fluent. You must
redefine the pressure unit as atm.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
202 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Solver group of the Physics tab, select Density-Based from the Type list.
The density-based implicit solver is the solver of choice for compressible, transonic flows without
significant regions of low-speed flow. In cases with significant low-speed flow regions, the pressure-
based solver is preferred. Also, for transient cases with traveling shocks, the density-based explicit
solver with explicit time stepping may be the most efficient.
Note
You will solve for the steady flow through the nozzle initially. In later steps, you will
use these initial results as a starting point for a transient calculation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 203
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
6.4.4. Models
1. Enable the energy equation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
204 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
6.4.5. Materials
1. Define the settings for air, the default fluid material.
a. Select ideal-gas from the Density drop-down list in the Properties group box, so that the ideal gas
law is used to calculate density.
Note
ANSYS Fluent automatically enables the solution of the energy equation when the
ideal gas law is used, in case you did not already enable it manually in the Energy
dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 205
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
Since you have set the operating pressure to zero, you will specify the boundary condition inputs for
pressure in terms of absolute pressures when you define them in the next step. Boundary condition inputs
for pressure should always be relative to the value used for operating pressure.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
206 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 207
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
The inlet static pressure estimate is the mean pressure at the nozzle exit. This value will be used during
the solution initialization phase to provide a guess for the nozzle velocity.
c. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list in the Turbulence
group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
208 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list in the Turbulence
group box.
If substantial backflow occurs at the outlet, you may need to adjust the backflow values to levels
close to the actual exit conditions.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 209
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
a. Retain the default selection of Least Squares Cell Based from the Gradient drop-down list in the
Spatial Discretization group box.
b. Select Second Order Upwind from the Turbulent Kinetic Energy and Specific Dissipation Rate drop-
down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
210 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
The default Courant number for the density-based implicit formulation is 5. For relat-
ively simple problems, setting the Courant number to 10, 20, 100, or even higher
value may be suitable and produce fast and stable convergence. However, if you en-
counter convergence difficulties at the startup of the simulation of a properly set up
problem, then you should consider setting the Courant number to its default value
of 5. As the solution progresses, you can start to gradually increase the Courant
number until the final convergence is reached.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 211
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
4. Create the surface report definition for mass flow rate at the flow exit.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
212 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. In the Create group box, enable Report File, Report Plot and Print to Console.
Note
When Report File is enabled in the Surface Report Definition dialog box, the mass
flow rate history will be written to a file. If you do not enable this option, the history
information will be lost when you exit ANSYS Fluent.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 213
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
Solution → Initialization
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
214 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click Initialize.
You will enable dynamic adaption so that the solver periodically refines the mesh in the vicinity of the
shocks as the iterations progress. The shocks are identified by their large pressure gradients.
a. Select New and Field Variable... from the Cell Registers drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 215
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
iii. Select Scale by Global Average from the Scaling Option drop-down list.
iv. Select Pressure... and Static Pressure from the Curvature of drop down list.
v. Click Compute.
ANSYS Fluent will update the Min and Max values to show the minimum and maximum pressure
gradient.
vi. Enter a value of 0.7 for the Cells having value more than field.
vii. Enter scaled_gradient_refn for the Name of this Field Variable Register.
viii.Click Save.
ix. Click Close to close the Field Variable Register dialog box.
iii. Select Scale by Global Average from the Scaling Option drop down list.
iv. Select Pressure... and Static Pressure from the Curvature of drop-down list.
v. Click Compute.
ANSYS Fluent will update the Min and Max values to show the minimum and maximum pressure
gradient.
vi. Enter a value of 0.3 for the Cells having value less than field.
vii. Enter scaled_gradient_crsn for the Name of this Field Variable Register.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
216 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
viii.Click Save.
ix. Click Close to close the Field Variable Register dialog box.
The mesh adaption criterion can either be the gradient or the curvature (second gradient). Because
strong shocks occur inside the nozzle, the gradient is used as the adaption criterion.
b. In the Adaption Controls dialog box select the refinement and coaresning criterion.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 217
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
218 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
When you write the case and data files at the same time, it does not matter whether you
specify the file name with a .cas or .dat extension, as both will be saved.
10. Click OK in the Question dialog box to overwrite the existing file.
11. Review a mesh that resulted from the dynamic adaption performed during the computation.
a. Ensure that only the Edges option is enabled in the Options group box.
c. Ensure that all of the items are selected from the Surfaces selection list.
The mesh after adaption is displayed in the graphics window (Figure 6.4: 2D Nozzle Mesh after
Adaption (p. 220))
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 219
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
e. Zoom in using the middle mouse button to view aspects of your mesh.
Notice that the cells in the regions of high pressure gradients have been refined.
12. Display the steady flow contours of static pressure (Figure 6.5: Contours of Static Pressure (Steady
Flow) (p. 221)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
220 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 221
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
The steady flow prediction in Figure 6.5: Contours of Static Pressure (Steady Flow) (p. 221) shows the ex-
pected pressure distribution, with low pressure near the nozzle throat.
13. Display the steady-flow velocity vectors (Figure 6.6: Velocity Vectors Showing Recirculation (Steady
Flow) (p. 223)).
The steady flow prediction shows the expected form, with a peak velocity of approximately 300 m/s
through the nozzle.
You can zoom in on the wall in the expansion region of the nozzle to view the recirculation of the
flow as shown in Figure 6.6: Velocity Vectors Showing Recirculation (Steady Flow) (p. 223) .
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
222 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Important
Although the mass flow rate history indicates that the solution is converged, you should
also check the mass flux throughout the domain to ensure that mass is being conserved.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 223
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
c. Click Compute and examine the values displayed in the dialog box.
Important
The net mass imbalance should be a small fraction (for example, 0.1%) of the
total flux through the system. The imbalance is displayed in the lower right field
under Net Results. If a significant imbalance occurs, you should decrease your
residual tolerances by at least an order of magnitude and continue iterating.
2. Read the user-defined function (pexit.c), in preparation for defining the transient condition for the
nozzle exit.
The pressure at the outlet is defined as a wave-shaped profile, and is described by the following equation:
(6.1)
where
A user-defined function ( pexit.c ) has been written to define the equation (Equation 6.1 (p. 224)) required
for the pressure profile.
Note
To input the value of Equation 6.1 (p. 224) in the correct units, the function pexit.c has
to be written in SI units.
More details about user-defined functions can be found in the Fluent Customization Manual.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
224 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
If the UDF source file is not in your working directory, then you must enter the entire directory path
for Source File Name instead of just entering the file name.
b. Click Interpret.
The user-defined function has already been defined, but it must be compiled within ANSYS Fluent before
it can be used in the solver.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 225
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
a. Select udf transient_pressure (the user-defined function) from the Gauge Pressure drop-down list.
For the transient case, the mesh adaption will be done every 10 time steps.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
226 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 227
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
a. For Get Data Every, retain the value of 1 and select time-step from the drop-down list.
Because each time step requires 10 iterations, a smoother plot will be generated by plotting at every
time step.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
228 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The selection of the time step is critical for accurate time-dependent flow predictions. Using a time step
of 2.85596 x 10-5 seconds, 100 time steps are required for one pressure cycle. The pressure cycle begins
and ends with the initial pressure at the nozzle exit.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 229
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
By requesting 600 time steps, you are asking ANSYS Fluent to compute six pressure cycles. The mass flow
rate history is shown in Figure 6.7: Mass Flow Rate History (Transient Flow) (p. 230).
6. Optionally, you can review the effect of dynamic mesh adaption performed during transient flow compu-
tation as you did in steady-state flow case.
7. Save the transient case and data files (noz_uns.cas.gz and noz_uns.dat.gz).
1. Request the saving of case and data files every 10 time steps.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
230 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Retain the default selection of time-step from the Append File Name with drop-down list.
When ANSYS Fluent saves a file, it will append the time step value to the file name prefix (
noz_anim ). The standard extensions ( .cas and .dat ) will also be appended. By adding the
optional extension .gz to the end of the file name, you instruct ANSYS Fluent to save the case and
data files in compressed format. This will yield file names of the form noz_anim-1-00640.cas.gz
and noz_anim-1-00640.dat.gz , where 00640 is the time step number.
Tip
If you have constraints on disk space, you can restrict the number of files saved by
ANSYS Fluent by enabling the Retain Only the Most Recent Files option and setting
the Maximum Number of Data Files to a nonzero number.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 231
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
The default value of 1 in the integer number entry box instructs ANSYS Fluent to update the animation
sequence at every time step.
The In Memory option is acceptable for a small 2D case such as this. For larger 2D or 3D cases,
saving animation files with either the Metafile or PPM Image option is preferable, to avoid using
too much of your machine’s memory.
e. Click New Object and select Contours... from the drop-down list to open the associated dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
232 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Select Pressure... and Static Pressure from the Contours of drop-down lists.
iv. Enter 0.25 atm for Min and 1.25 atm for Max.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 233
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
234 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The default value of 1 in the integer number entry box instructs ANSYS Fluent to update the animation
sequence at every time step.
e. Click New Object and select Contours... from the drop-down list to open the associated dialog box.
i. Select Velocity... and Mach Number from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 235
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
By requesting 100 time steps, you will march the solution through an additional 0.0028 seconds, or
roughly one pressure cycle.
With the autosave and animation features active (as defined previously), the case and data files will be
saved approximately every 0.00028 seconds of the solution time; animation files will be saved every
0.000028 seconds of the solution time.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
236 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
When the calculation finishes, you will have ten pairs of case and data files and there will be 100 pairs
of contour plots stored in memory. In the next few steps, you will play back the animation sequences
and examine the results at several time steps after reading in pairs of newly saved case and data files.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 237
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
b. Click the play button (the second from the right in the group of buttons in the Playback group box).
Examples of pressure contours at s (the 630th time step) and s (the 670th time
step) are shown in Figure 6.10: Pressure Contours at t=0.017993 s (p. 238) and Figure 6.11: Pressure Contours
at t=0.019135 s (p. 239). These contour plots can be shown by seleting frame 30 and 70 in theFrame
selector in the Playback dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
238 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
6. In a similar manner to steps 4 and 5, select the appropriate active window and animation sequence name
for the Mach number contours.
Examples of Mach number contours at s and s are shown in Figure 6.12: Mach
Number Contours at t=0.017993 s (p. 239) and Figure 6.13: Mach Number Contours at t=0.019135 s (p. 240).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 239
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
Tip
ANSYS Fluent gives you the option of exporting an animation as an MPEG file or as a
series of files in any of the hardcopy formats available in the Save Picture dialog box
(including TIFF and PostScript).
To save an MPEG file, select MPEG from the Write/Record Format drop-down list in the
Playback dialog box and then click the Write button. The MPEG file will be saved in your
working folder. You can view the MPEG movie using an MPEG player (for example, Win-
dows Media Player or another MPEG movie player).
To save a series of TIFF, PostScript, or other hardcopy files, select Picture Frames in the
Write/Record Format drop-down list in the Playback dialog box. Click the Picture Op-
tions... button to open the Save Picture dialog box and set the appropriate parameters
for saving the hardcopy files. Click Apply in the Save Picture dialog box to save your
modified settings. Click Save... to select a directory in which to save the files. In the
Playback dialog box, click the Write button. ANSYS Fluent will replay the animation,
saving each frame to a separate file in your working folder.
If you want to view the solution animation in a later ANSYS Fluent session, you can select
Animation Frames as the Write/Record Format and click Write.
Warning
Because the solution animation was stored in memory, it will be lost if you exit
ANSYS Fluent without saving it in one of the formats described previously. Note
that only the animation-frame format can be read back into the Playback dialog
box for display in a later ANSYS Fluent session.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
240 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
7. Read the case and data files for the 660th time step (noz_anim–1–00660.cas.gz and noz_an-
im–1–00660.dat.gz) into ANSYS Fluent.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 241
vk.com/club152685050 | vk.com/id446425943
Modeling Transient Compressible Flow
The transient flow prediction in Figure 6.14: Velocity Vectors at t=0.018849 s (p. 242) shows the expected
form, with peak velocity of approximately 260 m/s through the nozzle at seconds.
9. In a similar manner to steps 7 and 8, read the case and data files saved for other time steps of interest and
display the vectors.
6.5. Summary
In this tutorial, you modeled the transient flow of air through a nozzle. In doing so, you learned how
to:
• set solution parameters for implicit time-stepping and apply a user-defined transient pressure profile
at the outlet.
• use mesh adaption to refine the mesh in areas with high pressure gradients to better capture the shocks.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
242 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
7.1. Introduction
Many industrial applications such as filters, catalyst beds, and packing, involve modeling the flow through
porous media. This tutorial illustrates how to set up and solve a problem involving gas flow through
porous media.
The industrial problem solved here involves gas flow through a catalytic converter. Catalytic converters
are commonly used to purify emissions from gasoline and diesel engines by converting environmentally
hazardous exhaust emissions to acceptable substances. Examples of such emissions include carbon
monoxide (CO), nitrogen oxides (NOx), and unburned hydrocarbon fuels. These exhaust gas emissions
are forced through a substrate, which is a ceramic structure coated with a metal catalyst such as platinum
or palladium.
The nature of the exhaust gas flow is a very important factor in determining the performance of the
catalytic converter. Of particular importance is the pressure gradient and velocity distribution through
the substrate. Hence, CFD analysis is useful for designing efficient catalytic converters. By modeling the
exhaust gas flow, the pressure drop and the uniformity of flow through the substrate can be determined.
In this tutorial, ANSYS Fluent is used to model the flow of nitrogen gas through a catalytic converter
geometry, so that the flow field structure may be analyzed.
• Calculate a solution for gas flow through the catalytic converter using the pressure-based solver.
• Determine the pressure drop through the substrate and the degree of non-uniformity of flow through cross
sections of the geometry using X-Y plots and numerical reports.
7.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 243
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
While the flow in the inlet and outlet sections is turbulent, the flow through the substrate is laminar
and is characterized by inertial and viscous loss coefficients along the inlet axis. The substrate is imper-
meable in other directions. This characteristic is modeled using loss coefficients that are three orders
of magnitude higher than in the main flow direction.
7.4.1. Preparation
To prepare for running this tutorial:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
244 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
8. Set Processes to 4.
7.4.2. Mesh
1. Read the mesh file (catalytic_converter.msh).
ANSYS Fluent will perform various checks on the mesh and report the progress in the console. Make sure
that the reported minimum volume is a positive number.
b. Click Scale.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 245
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
Click the Fit to Window icon, to center the graphic in the window.
Note
It is a good idea to check the mesh after you manipulate it (that is, scale, convert to
polyhedra, merge, separate, fuse, add zones, or smooth and swap.) This will ensure that
the quality of the mesh has not been compromised.
Rotate the view and zoom in to get the display shown in Figure 7.2: Mesh for the Catalytic Converter
Geometry (p. 247). The hex mesh on the geometry contains a total of 34,580 cells.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
246 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Physics → Solver
7.4.4. Models
1. Select the standard - turbulence model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 247
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
b. Retain the default settings for k-epsilon Model and Near-Wall Treatment and click OK to close the
Viscous Model dialog box.
7.4.5. Materials
1. Add nitrogen to the list of fluid materials by copying it from the Fluent Database of materials.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
248 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Fluent Database... button to open the Fluent Database Materials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 249
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
ii. Click Copy to copy the information for nitrogen to your list of fluid materials.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
250 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 251
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
c. Enable Laminar Zone to solve the flow in the porous zone without turbulence.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
252 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Make sure that the principal direction vectors are set as shown in Table 7.1: Values for the Principle
Direction Vectors (p. 253).
ANSYS Fluent automatically calculates the third (Z direction) vector based on your inputs for the
first two vectors. The direction vectors determine which axis the viscous and inertial resistance
coefficients act upon.
ii. For the viscous and inertial resistance directions, enter the values in Table 7.2: Values for the Viscous
and Inertial Resistance (p. 253) Viscous Resistance and Inertial Resistance.
Direction-2 and Direction-3 are set to arbitrary large numbers. These values are several orders
of magnitude greater than that of the Direction-1 flow and will make any radial flow insignificant.
Scroll down to access the fields that are not initially visible.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 253
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
1. Set the velocity and turbulence boundary conditions at the inlet (inlet).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
254 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 255
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
3. Retain the default boundary conditions for the walls (substrate-wall and wall).
7.4.8. Solution
1. Set the solution parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
256 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 257
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
b. In the Create group box, enable Report File, Report Plot and Print to Console.
d. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
Solution → Initialization
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
258 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Warning
b. Click Options... to open the Solution Initialization task page, which provides access to further settings.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 259
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
i. Select inlet from the Compute from drop-down list in the Solution Initialization task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
260 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The mass flow rate graph flattens out, as seen in Figure 7.3: Mass Flow Rate History (p. 261).
Note
If you choose a filename that already exists in the current folder, ANSYS Fluent will prompt
you for confirmation to overwrite the file.
7.4.9. Postprocessing
1. Create a surface passing through the centerline for postprocessing purposes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 261
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
b. Select Mesh... and Y-Coordinate from the Surface of Constant drop-down lists.
e. Click Create.
Note
To interactively place the surface on your mesh, use the slider bar in the Iso-Surface
dialog box.
2. Create cross-sectional surfaces at locations on either side of the substrate, as well as at its center.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
262 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Mesh... and X-Coordinate from the Surface of Constant drop-down lists.
e. Click Create.
f. In a similar manner, create surfaces named x=130 and x=165 with Iso-Values of 130 and 165, re-
spectively.
g. Close the Iso-Surface dialog box after all the surfaces have been created.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 263
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
b. Enter the coordinates of the end points of the line in the End Points group box as shown.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
264 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Disable Edges and make sure Faces is enabled in the Options group box.
b. Deselect inlet and outlet in the Surfaces selection list, and make sure that only substrate-wall and
wall are selected.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 265
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
6. Set the transparency parameter for the wall zones (substrate-wall and wall).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
266 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click the Display... button in the Geometry Attributes group box to open the Display Properties
dialog box.
i. Make sure that the Red, Green, and Blue sliders are set to the maximum position (that is, 255).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 267
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
iii. Click Apply and close the Display Properties dialog box.
7. Display velocity vectors on the y=0 surface (Figure 7.4: Velocity Vectors on the y=0 Plane (p. 270)).
a. Enable Draw Mesh in the Options group box to open the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
268 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Make sure that substrate-wall and wall are selected in the Surfaces selection list.
ii. Click Display and close the Mesh Display dialog box.
c. Set Skip to 1.
f. Rotate the view and adjust the magnification to get the display shown in Figure 7.4: Velocity Vectors
on the y=0 Plane (p. 270).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 269
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
The flow pattern shows that the flow enters the catalytic converter as a jet, with recirculation on either
side of the jet. As it passes through the porous substrate, it decelerates and straightens out, and exhibits
a more uniform velocity distribution. This allows the metal catalyst present in the substrate to be more
effective.
8. Display filled contours of static pressure on the y=0 plane (Figure 7.5: Contours of Static Pressure on the
y=0 plane (p. 272)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
270 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Make sure that Pressure... and Static Pressure are selected from the Contours of drop-down lists.
The pressure changes rapidly in the middle section, where the fluid velocity changes as it passes through
the porous substrate. The pressure drop can be high, due to the inertial and viscous resistance of the
porous media. Determining this pressure drop is one of the goals of the CFD analysis. In the next step,
you will learn how to plot the pressure drop along the centerline of the substrate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 271
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
9. Plot the static pressure across the line surface porous-cl (Figure 7.6: Plot of Static Pressure on the porous-
cl Line Surface (p. 273)).
a. Make sure that Pressure... and Static Pressure are selected from the Y Axis Function drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
272 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
As seen in Figure 7.6: Plot of Static Pressure on the porous-cl Line Surface (p. 273), the pressure drop
across the porous substrate is approximately 300 Pa.
10. Display filled contours of the velocity in the X direction on the x=95, x=130, and x=165 surfaces (Fig-
ure 7.7: Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces (p. 274)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 273
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
a. Make sure that Filled and Draw Mesh are enabled in the Options group box.
d. Select x=130, x=165, and x=95 in the Surfaces selection list, and deselect y=0.
Figure 7.7: Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces
The velocity profile becomes more uniform as the fluid passes through the porous media. The velocity is
very high at the center (the area in red) just before the nitrogen enters the substrate and then decreases
as it passes through and exits the substrate. The area in green, which corresponds to a moderate velocity,
increases in extent.
11. Use numerical reports to determine the average, minimum, and maximum of the velocity distribution before
and after the porous substrate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
274 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Velocity and X Velocity from the Field Variable drop-down lists.
d. Click Compute.
e. Select Facet Minimum from the Report Type drop-down list and click Compute.
f. Select Facet Maximum from the Report Type drop-down list and click Compute.
The numerical report of average, maximum and minimum velocity can be seen in the main ANSYS
Fluent console.
The spread between the average, maximum, and minimum values for X velocity gives the degree to which
the velocity distribution is non-uniform. You can also use these numbers to calculate the velocity ratio (that
is, the maximum velocity divided by the mean velocity) and the space velocity (that is, the product of the
mean velocity and the substrate length).
Custom field functions and UDFs can be also used to calculate more complex measures of non-uniformity,
such as the standard deviation and the gamma uniformity index.
Mass-Weighted Average
X Velocity (m/s)
-------------------------------- --------------------
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 275
vk.com/club152685050
Modeling Flow Through|Porous
vk.com/id446425943
Media
x=165 4.0395161
x=95 5.2979295
---------------- --------------------
Net 4.6756605
7.5. Summary
In this tutorial, you learned how to set up and solve a problem involving gas flow through porous media
in ANSYS Fluent. You also learned how to perform appropriate postprocessing. Flow non-uniformities
were easily identified through images of velocity vectors and pressure contours. Surface integrals and
X-Y plots provided purely numeric data.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
276 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
8.1. Introduction
In this tutorial, combined radiation and natural convection are solved in a three-dimensional square
box on a mesh consisting of hexahedral elements.
• Set the boundary conditions for a heat transfer problem involving natural convection and radiation.
• Display velocity vectors and contours of wall temperature, surface cluster ID, and radiation heat flux.
8.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
The working fluid has a Prandtl number of approximately 0.71, and the Rayleigh number based on
(0.25) is . This means the flow is most likely laminar. The Planck number is 0.006,
and measures the relative importance of conduction to radiation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 277
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
8.4.1. Preparation
To prepare for running this tutorial:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
278 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
As the mesh is read, messages will appear in the console reporting the progress of the reading and the
mesh statistics. The mesh size will be reported as 64,000 cells. Once reading is complete, the mesh will
be displayed in the graphics window.
ANSYS Fluent will perform various checks on the mesh and report the progress in the console. Make sure
that the reported minimum volume is a positive number.
Setup → General
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 279
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
a. Retain the default settings of pressure-based steady-state solver in the Solver group box.
8.4.4. Models
1. Enable the energy equation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
280 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 281
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
The surface-to-surface (S2S) radiation model can be used to account for the radiation exchange in an
enclosure of gray-diffuse surfaces. The energy exchange between two surfaces depends in part on their
size, separation distance, and orientation. These parameters are accounted for by a geometric function
called a “view factor”.
The S2S model assumes that all surfaces are gray and diffuse. Thus according to the gray-body model,
if a certain amount of radiation is incident on a surface, then a fraction is reflected, a fraction is absorbed,
and a fraction is transmitted. The main assumption of the S2S model is that any absorption, emission,
or scattering of radiation by the medium can be ignored. Therefore only “surface-to-surface” radiation
is considered for analysis.
For most applications the surfaces in question are opaque to thermal radiation (in the infrared spectrum),
so the surfaces can be considered opaque. For gray, diffuse, and opaque surfaces it is valid to assume
that the emissivity is equal to the absorptivity and that reflectivity is equal to 1 minus the emissivity.
When the S2S model is used, you also have the option to define a “partial enclosure”. This option allows
you to disable the view factor calculation for walls with negligible emission/absorption or walls that
have uniform temperature. The main advantage of this option is to speed up the view factor calculation
and the radiosity calculation.
a. Click the Settings... button to open the View Factors and Clustering dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
282 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Enter a value of 100 for Faces per Surface Cluster for Flow Boundary Zones in the Manual group
box.
The S2S radiation model is computationally very expensive when there are a large number of
radiating surfaces. The number of radiating surfaces is reduced by clustering surfaces into surface
“clusters”. The surface clusters are made by starting from a face and adding its neighbors and
their neighbors until a specified number of faces per surface cluster is collected.
For a small problem, the default value of 1 for Faces per Surface Cluster for Flow Boundary
Zones is acceptable. For a large problem you can increase this number to reduce the memory
requirement for the view factor file that is saved in a later step. This may also lead to some reduc-
tion in the computational expense. However, this is at the cost of some accuracy. This tutorial il-
lustrates the influence of clusters.
iii. Ensure Ray Tracing is selected from the Method list in the View Factors group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 283
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
iv. Click OK to close the View Factors and Clustering dialog box.
b. Click the Compute/Write/Read... button in the View Factors and Clustering group box to open the
Select File dialog box and to compute the view factors.
The file created in this step will store the cluster and view factor parameters.
ANSYS Fluent will print an informational message describing the progress of the view factor cal-
culation in the console.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
284 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
f. Click Change/Create.
g. Click No when the Question dialog box appears, asking if you want to overwrite aluminum.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 285
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
1. In the Operating Conditions dialog box, select the Specified Operating Density check box.
2. Enter 0 for Operating Density and click OK to close the Operating Conditions dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
286 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 287
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
a. Click the Thermal tab and select Mixed from the Thermal Conditions list.
2. Copy boundary conditions to define the side walls w-high-z and w-low-z.
b. Select w-high-z and w-low-z from the To Boundary Zones selection list.
c. Click Copy.
d. Click OK when the Question dialog box opens asking whether you want to copy the boundary conditions
of w-high-x to all the selected zones.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
288 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Thermal tab and select Temperature from the Thermal Conditions list.
b. Retain the default selection of aluminum from the Material Name drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 289
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
a. Click the Thermal tab and select Mixed from the Thermal Conditions list.
5. Copy boundary conditions to define the bottom wall (w-low-y) as previously done in this tutorial.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
290 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Click Copy.
d. Click OK when the Question dialog box opens asking whether you want to copy the boundary conditions
of w-high-y to all the selected zones.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 291
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
Select Body Force Weighted from the Pressure drop-down list in the Spatial Discretization group
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
292 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enter 0.0001 for the Absolute Criteria of continuity, x-, y-, and z-velocity.
Decreasing the criteria for these residuals will improve the accuracy of the solution.
d. Click OK
Solution → Initialization
a. Retain the default selection of Hybrid Initialization from the Initialization Methods list.
b. Click Initialize.
It is good practice to use reports of physical solution quantities together with residual monitors when
determining whether a solution is converged. In this step you will create a surface report definition for
the average temperature on the z=0 plane.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 293
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
Note
ii. Select Mesh... and Z-Coordinate from the Surface of Constant drop-down lists.
iii. Click Compute and retain the default value of 0 for Iso-Values.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
294 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. In the Create group box, enable Report Plot and Print to Console.
Note
Unlike residual values, data from other reports is not saved as part of the solution
set when the ANSYS Fluent data file is saved. If you want to access the surface
report data in future ANSYS Fluent sessions, you can enable the Report File option.
The report file will be saved in your working directory.
iii. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 295
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
v. Click OK to save the surface report definition settings and close the Surface Report Definition
dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
296 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Click Calculate.
The surface report history shows that the average temperature on zz_center_z has stabilized, thus con-
firming that the solution has indeed reached convergence. You can view the behavior of the residuals
(Figure 8.4: Scaled Residuals (p. 297)) in the Scaled Residuals graphics window tab.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 297
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
8.4.9. Postprocessing
1. Enable the postprocessing view by clicking in the objects toolbar and selecting Post Processing.
2. Disable lighting.
3. Create a new surface, zz_x_side, which will be used later to plot wall temperature.
Note
If you want to delete or otherwise manipulate any surfaces, click Manage... to open
the Surfaces dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
298 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Temperature... and Static Temperature from the Contours of drop-down lists.
d. Enable the Draw Mesh option in the Options group box to open the Mesh Display dialog box.
g. Click Display, rotate the view as shown in Figure 8.5: Contours of Static Temperature (p. 300), and close
the Contours dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 299
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
A regular check for most buoyant cases is to look for evidence of stratification in the temperature field.
This is observed as nearly horizontal bands of similar temperature. These may be broken or disturbed by
buoyant plumes. For this case you can expect reasonable stratification with some disturbance at the
vertical walls where the air is driven around. Inspection of the temperature contours in Figure 8.5: Contours
of Static Temperature (p. 300) reveals that the solution appears as expected.
5. Create and display a contour definition for wall temperature (surfaces in contact with the fluid).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
300 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Ensure that the Filled option is enabled in the Options group box.
d. Select Temperature... and Wall Temperature from the Contours of drop-down lists.
e. Select all surfaces except default-interior and zz_x_side in the Surfaces selection list.
g. Click Save/Display, and rotate the view as shown in Figure 8.6: Contours of Wall Temperature (p. 302).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 301
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
302 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Ensure that the Filled option is enabled in the Options group box.
c. Select Wall Fluxes... and Radiation Heat Flux from the Contours of drop-down list.
d. Make sure that all surfaces except default-interior and zz_x_side are selected in the Surfaces selection
list.
e. Click Display.
Figure 8.7: Contours of Radiation Heat Flux (p. 304) shows the radiating wall (w-low-x) with positive
heat flux and all other walls with negative heat flux.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 303
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
a. Retain the default selection of Velocity from the Vectors of drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
304 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain the default selection of Velocity... and Velocity Magnitude from the Color by drop-down lists.
e. Click Display and rotate the view as shown in Figure 8.8: Vectors of Velocity Magnitude (p. 305).
8. Compute view factors and radiation emitted from the front wall (w-high-x) to all other walls.
In the Results tab, click S2S Information... (Model Specific group box).
a. Ensure that the View Factors option is enabled in the Report Options group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 305
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
The computed values of the view factors and incident radiation are displayed in the console. A view
factor of approximately 0.2 for each wall is a good value for the square box.
b. Select all boundary zones except default-interior from the Boundaries selection list.
c. Click Compute.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
306 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Retain the selection of Total Heat Transfer Rate from the Options list.
b. Deselect all boundary zones and select w-low-x from the Boundaries selection list.
c. Click Compute.
b. Select all boundary zones except default-interior from the Boundaries selection list.
c. Click Compute.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 307
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
a. Retain the selection of Radiation Heat Transfer Rate from the Options list.
b. Deselect all boundary zones and select w-low-x from the Boundaries selection list.
The net heat load is approximately 51.5 W. After comparing the total heat transfer rate and radiation
heat transfer rate, it can be concluded that radiation is the dominant mode of heat transfer.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
308 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select Temperature... and Wall Temperature from the Y Axis Function drop-down lists.
b. Retain the default selection of Direction Vector from the X Axis Function drop-down list.
d. Click Plot (Figure 8.9: Temperature Profile Along the Outer Surface of the Box (p. 310)).
e. Enable the Write to File option and click the Write... button to open the Select File dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 309
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
Figure 8.9: Temperature Profile Along the Outer Surface of the Box
14. Save the case and data files (rad_b_100.cas.gz and rad_b_100.dat.gz).
a. Click the Settings... button to open the View Factors and Clustering dialog box.
i. Enter 800 for Faces per Surface Cluster for Flow Boundary Zones in the Manual group box.
iii. Click OK to close the View Factors and Clustering dialog box.
b. Click the Compute/Write/Read... button to open the Select File dialog box and to compute the view
factors.
Specify a name for the S2S file that will store the cluster and view factor parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
310 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
5. In a similar manner described in the step 13 of Postprocessing (p. 298), display the temperature profile for
the side wall and write it to a file named tp_800.xy.
6. Repeat the procedure, outlined in steps 1 – 5 of this section, for 1600 faces per surface cluster and save
the respective S2S files (for example, rad_1600.s2s.gz), case and data files (for example,
rad_1600.cas.gz), and temperature profile files (for example, tp_1600.xy).
7. Display contours of wall temperature for all six cases using the wall-temperature definition you created
earlier.
Figure 8.10: Contours of Wall Temperature: 100 Face per Surface Cluster
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 311
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
Figure 8.11: Contours of Wall Temperature: 800 Faces per Surface Cluster
Figure 8.12: Contours of Wall Temperature: 1600 Faces per Surface Cluster
8. Create a plot that compares the temperature profile plots for 100, 800, and 1600 FPSC.
a. Click the Load... button to open the Select File dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
312 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. Enter 100 in the text box to the right of the Change Legend Entry button.
ANSYS Fluent will update the Legend Entry text for the file tp_100.xy.
c. Load the files tp_800.xy, and tp_1600.xy and change their legend entries accordingly, in a manner
similar to the previous two steps (a and b).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 313
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
ii. Enter 3 for Precision in the Number Format group box and click Apply.
e. Click Plot (Figure 8.13: A Comparison of Temperature Profiles along the Outer Surface of the Box (p. 314))
and close the File XY Plot dialog box.
Figure 8.13: A Comparison of Temperature Profiles along the Outer Surface of the Box
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
314 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
In the steps that follow, you will specify the radiating wall (w-low-x) as a boundary zone that is not particip-
ating in the S2S radiation model. Consequently, you will specify the partial enclosure temperature for the
wall. Note that the partial enclosure option may not yield accurate results in cases that have multiple wall
boundaries that are not participating in S2S radiation and that each have different temperatures. This is
because a single partial enclosure temperature is applied to all of the non-participating walls.
1. Read the case file saved previously for the S2S model (rad_b_100.cas.gz).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 315
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
b. Disable the Participates in View Factor Calculation option in the S2S Parameters group box.
Click OK to close the dialog box informing you that you must recompute viewfactors.
a. Click the Settings... button to open the View Factors and Clustering dialog box.
b. Click the Select... button to open the Participating Boundary Zones dialog box.
Click OK to close the dialog box informing you that you must recompute viewfactors.
d. Click the Compute/Write/Read... button to open the Select File dialog box and to compute the view
factors.
The view factor file will store the view factors for the radiating surfaces only. This may help you control
the size of the view factor file as well as the memory required to store view factors in ANSYS Fluent.
Furthermore, the time required to compute the view factors will be reduced, as only the view factors
for radiating surfaces will be calculated.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
316 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Ensure that Radiation Heat Transfer Rate is selected from the Options list.
b. Select all boundary zones except default-interior from the Boundaries selection list.
The Flux Reports dialog box does not report any heat transfer rate for the radiating wall (w-low-x),
because you specified that it not participate in the view factor calculation. The remaining walls report
similar rates to those obtained in step 9 of Postprocessing (p. 298), indicating that in this case the use of
a partial enclosure saved computation time without significantly affecting the results.
8. Compare the temperature profile for the side wall to the profile saved in tp_100.xy.
a. Display the temperature profile for the side wall, zz_x_side, and write it to a file named tp_par-
tial.xy, in a manner similar to the instructions shown in step 13 of Postprocessing (p. 298).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 317
vk.com/club152685050
Modeling Radiation and|Natural
vk.com/id446425943
Convection
i. Select tp_100.xy.
c. Click Plot.
Figure 8.14: Wall Temperature Profile Comparison (p. 318) further confirms that the use of a partial enclosure
did not significantly affect the results.
8.5. Summary
In this tutorial you studied combined natural convection and radiation in a three-dimensional square
box and compared how varying the settings of the surface-to-surface (S2S) radiation model affected
the results. The S2S radiation model is appropriate for modeling the enclosure radiative transfer without
participating media, whereas the methods for participating radiation may not always be efficient.
For more information about the surface-to-surface (S2S) radiation model, see the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
318 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
9.1. Introduction
This tutorial considers the flow within a 2D, axisymmetric, co-rotating disk cavity system. Understanding
the behavior of such flows is important in the design of secondary air passages for turbine disk cooling.
9.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Air enters the cavity between two co-rotating disks. The disks are 88.6 cm in diameter and the air enters
at 1.146 m/s through a circular bore 8.86 cm in diameter. The disks, which are 6.2 cm apart, are spinning
at 71.08 rpm, and the air enters with no swirl. As the flow is diverted radially, the rotation of the disk
has a significant effect on the viscous flow developing along the surface of the disk.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 319
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
As noted by Pincombe [1], there are two nondimensional parameters that characterize this type of disk
cavity flow: the volume flow rate coefficient, , and the rotational Reynolds number, . These
parameters are defined as follows:
(9.1)
(9.2)
where is the volumetric flow rate, is the rotational speed, is the kinematic viscosity, and is
the outer radius of the disks. Here, you will consider a case for which = 1092 and = .
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
320 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
9.4.1. Preparation
To prepare for running this tutorial:
4. Use Fluent Launcher to start the 2D single precision (disable Double Precision) version of ANSYS Fluent.
Fluent Launcher displays your Display Options preferences from the previous session.
9.4.2. Mesh
1. Read the mesh file (disk.msh).
As ANSYS Fluent reads the mesh file, it will report its progress in the console.
Note
The Fluent console will display a warning that the current setup for the boundary condi-
tions is not appropriate for a 2D/3D flow problem.
You will resolve this issue when you modify the solver settings in a subsequent step.
ANSYS Fluent will perform various checks on the mesh and report the progress in the console. Make sure
that the reported minimum volume is a positive number.
2. Examine the mesh (Figure 9.2: Mesh Display for the Disk Cavity (p. 322)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 321
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Extra
You can use the right mouse button to check which zone number corresponds to each
boundary. If you click the right mouse button on one of the boundaries in the graphics
window, information will be displayed in the ANSYS Fluent console about the associated
zone, including the name of the zone. This feature is especially useful when you have
several zones of the same type and you want to distinguish between them quickly.
In the problem description, angular velocity and length are specified in rpm and cm, respectively, which
is more convenient in this case. These are not the default units for these quantities.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
322 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select angular-velocity from the Quantities list, and rpm in the Units list.
b. Select length from the Quantities list, and cm in the Units list.
4. Specify the solver formulation to be used for the model calculation and enable the modeling of axisymmetric
swirl.
Physics → Solver
For a rotating reference frame, the absolute velocity formulation has some numerical advantages.
c. Select Axisymmetric Swirl from the drop-down list in the Solver group box.
9.4.4. Models
1. Enable the standard - turbulence model with the enhanced near-wall treatment.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 323
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
324 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The ability to calculate a swirl velocity permits the use of a 2D mesh, so the calculation is simpler
and more economical to run. This is especially important for problems where the enhanced wall
treatment is used. The near-wall flow field is resolved through the viscous sublayer and buffer zones
(that is, the first mesh point away from the wall is placed at a of the order of 1).
For details, see enhanced wall treatment in the Fluent Theory Guide.
9.4.5. Materials
For the present analysis, you will model air as an incompressible fluid with a density of 1.225 kg/ and a
dynamic viscosity of 1.7894 kg/m-s. Since these are the default values, no change is required in the
Create/Edit Materials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 325
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
1. Define the rotating reference frame for the fluid zone (fluid-7).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
326 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enter 71.08 rpm for Speed in the Rotational Velocity group box.
c. Retain the default selection of Intensity and Viscosity Ratio from the Specification Method drop-
down list in the Turbulence group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 327
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
a. Select From Neighboring Cell from the Backflow Direction Specification Method drop-down list.
Note
ANSYS Fluent will use the backflow conditions only if the fluid is flowing into the
computational domain through the outlet. Since backflow might occur at some point
during the solution procedure, you should set reasonable backflow conditions to
prevent convergence from being adversely affected.
3. Confirm that the wall boundary condition settings for the disk walls (wall-6) are as shown below.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
328 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
A Stationary Wall condition implies that the wall is stationary with respect to the adjacent
cell zone. Hence, in the case of a rotating reference frame a Stationary Wall is actually
rotating with respect to the absolute reference frame. To specify a non-rotating wall in
this case you would select Moving Wall (that is, moving with respect to the rotating ref-
erence frame). Then you would specify an absolute rotational speed of 0 in the Motion
group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 329
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
a. Select PRESTO! from the Pressure drop-down list in the Spatial Discretization group box.
The PRESTO! scheme is well suited for steep pressure gradients involved in rotating flows. It provides
improved pressure interpolation in situations where large body forces or strong pressure variations
are present as in swirling flows.
b. Select Second Order Upwind from the Turbulent Kinetic Energy and Turbulent Dissipation Rate
drop-down lists.
Use the scroll bar to access the discretization schemes that are not initially visible in the task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
330 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Retain the default values in the Pseudo Transient Explicit Relaxation Factors group box.
Note
For this problem, the default explicit relaxation factors are satisfactory. However, if
the solution diverges or the residuals display large oscillations, you may need to reduce
the relaxation factors from their default values.
For tips on how to adjust the explicit relaxation parameters for different situations, see the Fluent
User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 331
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Note
For this calculation, the convergence tolerance on the continuity equation is kept at
0.001. Depending on the behavior of the solution, you can reduce this value if necessary.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
332 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Create group box, enable Report File, Report Plot and Print to Console for surf-mon-1.
Note
When the Report File option is selected in the Surface Report Definition dialog box,
the mass flow rate history will be written to a file. If you do not enable the Report
File option, the history information will be lost when you exit ANSYS Fluent.
d. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 333
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Solution → Initialization
b. Click Initialize.
Note
For flows in complex topologies, hybrid initialization will provide better initial velocity
and pressure fields than standard initialization. This in general will help in improving
the convergence behavior of the solver.
Run Calculation
b. Click Calculate.
Throughout the calculation, ANSYS Fluent will report reversed flow at the exit. This is reasonable for
the current case. The mass flow rate history is shown in Figure 9.3: Mass Flow Rate History (k- ε Tur-
bulence Model) (p. 335).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
334 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Extra
Here we have retained the default Timescale Factor of 1 in the Run Calculation panel.
When performing a Pseudo Transient calculation, larger values of Timescale Factor may
speed up convergence of the solution. However, setting Timescale Factor too large may
cause the solution to diverge and fail to complete. As an optional activity, you can re-
initialize the solution and try running the calculation with Timescale Factor set to 2.
Observe the convergence behavior and the number of iterations before convergence.
Then try the same again with Timescale Factor set to 4. For more information on setting
Timescale Factor and the Pseudo Transient solver settings, refer to the Fluent User's Guide.
Warning
Although the mass flow rate history indicates that the solution is converged, you
should also check the net mass fluxes through the domain to ensure that mass is
being conserved.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 335
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Warning
The net mass imbalance should be a small fraction (for example, 0.5%) of the total
flux through the system. If a significant imbalance occurs, you should decrease the
residual tolerances by at least an order of magnitude and continue iterating.
Note
It is always prudent to save both case and data files in case anything has changed.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
336 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Set Skip to 1.
c. Click the Vector Options... button to open the Vector Options dialog box.
i. Disable Z Component.
ii. Click Apply and close the Vector Options dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 337
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
d. Click Display in the Vectors dialog box to plot the velocity vectors.
A magnified view of the velocity field displaying a counter-clockwise circulation of the flow is shown
in Figure 9.4: Magnified View of Velocity Vectors within the Disk Cavity (p. 338).
Figure 9.4: Magnified View of Velocity Vectors within the Disk Cavity
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
338 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain the selection of Pressure... and Static Pressure from the Contours of drop-down lists.
The pressure contours are displayed in Figure 9.5: Contours of Static Pressure for the Entire Disk Cav-
ity (p. 340). Notice the high pressure that occurs on the right disk near the hub due to the stagnation of
the flow entering from the bore.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 339
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Figure 9.5: Contours of Static Pressure for the Entire Disk Cavity
Using a prefix such as aaa or zzz allows you to keep all postprocessing surfaces together.
b. Select Mesh... and Y-Coordinate from the Surface of Constant drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
340 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
This is the radial position along which you will plot the radial velocity profile.
Using a prefix such as aaa or zzz allows you to keep all postprocessing surfaces together.
Note
The name you use for an isosurface can be any continuous string of characters (without
spaces).
a. Select Velocity... and Radial Velocity from the Y Axis Function drop-down lists.
b. Select the y-coordinate line aaa_y=37cm from the Surfaces selection list.
c. Click Plot.
Figure 9.6: Radial Velocity Distribution—Standard k- ε Solution (p. 342) shows a plot of the radial ve-
locity distribution along .
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 341
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
d. Enable Write to File in the Options group box to save the radial velocity profile.
e. Click the Write... button to open the Select File dialog box.
i. Enter ke-data.xy in the XY File text entry box and click OK.
Be sure to double check the location where the files are being saved to ensure they will be saved
where you intend.
5. Plot the wall y+ distribution on the rotating disk wall along the radial direction (Figure 9.7: Wall Yplus Dis-
tribution on wall-6— Standard k- ε Solution (p. 344)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
342 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Turbulence... and Wall Yplus from the Y Axis Function drop-down lists.
c. Deselect aaa_y=37cm and select wall-6 from the Surfaces selection list.
d. Enter 0 and 1 for X and Y respectively in the Plot Direction group box.
Note
The change in Plot Direction is required because we are plotting y+ along the radial
dimension of the disk, which is oriented with Y axis.
e. Click the Axes... button to open the Axes - Solution XY Plot dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 343
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
iii. Retain the default value of 0 for Minimum and enter 43 for Maximum in the Range group box.
iv. Click Apply and close the Axes - Solution XY Plot dialog box.
Figure 9.7: Wall Yplus Distribution on wall-6— Standard k- ε Solution (p. 344) shows a plot of wall y+
distribution along wall-6.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
344 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
g. Enable Write to File in the Options group box to save the wall y+ profile.
h. Click the Write... button to open the Select File dialog box.
i. Enter ke-yplus.xy in the XY File text entry box and click OK.
Note
Ideally, while using enhanced wall treatment, the wall y+ should be in the order of 1
(at least less than 5) to resolve the viscous sublayer. The plot justifies the applicability
of enhanced wall treatment to the given mesh.
1. Enable the RNG - turbulence model with the enhanced near-wall treatment.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 345
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
b. Enable Differential Viscosity Model and Swirl Dominated Flow in the RNG Options group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
346 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The differential viscosity model and swirl modification can provide better accuracy for swirling flows
such as the disk cavity.
For more information, see RNG swirl modification in the Fluent Theory Guide.
a. Enter 1 and 0 for X and Y respectively in the Plot Direction group box.
b. Select Velocity... and Radial Velocity from the Y Axis Function drop-down lists.
c. Select aaa_y=37cm and deselect wall-6 from the Surfaces selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 347
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
f. Click the Axes... button to open the Axes - Solution XY Plot dialog box.
ii. Click Apply and close the Axes - Solution XY Plot dialog box.
g. Click the Curves... button to open the Curves - Solution XY Plot dialog box, where you will define a
different curve symbol for the RNG - data.
iii. Click Apply and close the Curves - Solution XY Plot dialog box.
h. Click Plot in the Solution XY Plot dialog box (Figure 9.8: Radial Velocity Distribution — RNG k- ε and
Standard k- ε Solutions (p. 349)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
348 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The peak velocity predicted by the RNG - solution is higher than that predicted by the standard
- solution. This is due to the less diffusive character of the RNG - model. Adjust the range of
the axis to magnify the region of the peaks.
i. Click the Axes... button to open the Axes - Solution XY Plot dialog box, where you will specify the
-axis range.
ii. Retain the value of 0 for Minimum and enter 1 for Maximum in the Range dialog box.
iii. Click Apply and close the Axes - Solution XY Plot dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 349
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
j. Click Plot.
The difference between the peak values calculated by the two models is now more apparent.
2. Plot the wall y+ distribution on the rotating disk wall along the radial direction Figure 9.10: wall-6 — RNG
k- ε and Standard k- ε Solutions (x=0 cm to x=43 cm) (p. 352).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
350 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select Turbulence... and Wall Yplus from the Y Axis Function drop-down lists.
b. Deselect aaa_y=37cm and select wall-6 from the Surfaces selection list.
c. Enter 0 and 1 for X and Y respectively in the Plot Direction group box.
d. Select any existing files that appear in the File Data selection list and click the Free Data button to
remove the file.
f. Click the Axes... button to open the Axes - Solution XY Plot dialog box.
ii. Retain the default value of 0 for Minimum and enter 43 for Maximum in the Range group box.
iii. Click Apply and close the Axes - Solution XY Plot dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 351
vk.com/club152685050 | vk.com/id446425943
Using a Single Rotating Reference Frame
Figure 9.10: wall-6 — RNG k- ε and Standard k- ε Solutions (x=0 cm to x=43 cm)
9.5. Summary
This tutorial illustrated the setup and solution of a 2D, axisymmetric disk cavity problem in ANSYS Fluent.
The ability to calculate a swirl velocity permits the use of a 2D mesh, thereby making the calculation
simpler and more economical to run than a 3D model. This can be important for problems where the
enhanced wall treatment is used, and the near-wall flow field is resolved using a fine mesh (the first
mesh point away from the wall being placed at a y+ on the order of 1).
For more information about mesh considerations for turbulence modeling, see the Fluent User's Guide.
• Use adaption to see if resolving the high velocity and pressure-gradient region of the flow has a significant
effect on the solution.
• Introduce a nonzero swirl at the inlet or use a velocity profile for fully-developed pipe flow. This is probably
more realistic than the constant axial velocity used here, since the flow at the inlet is typically being supplied
by a pipe.
• Model compressible flow (using the ideal gas law for density) rather than assuming incompressible flow
text.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
352 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 References
This tutorial guides you through the steps to reach an initial solution. You may be able to obtain a more
accurate solution by using an appropriate higher-order discretization scheme and by adapting the mesh.
Mesh adaption can also ensure that the solution is independent of the mesh. These steps are demon-
strated in Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35).
9.7. References
1. Pincombe, J.R.,“Velocity Measurements in the Mk II - Rotating Cavity Rig with a Radial Outflow”, Thermo-
Fluid Mechanics Research Centre, University of Sussex, Brighton, UK, 1981.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 353
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
354 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
10.1. Introduction
In this tutorial, you will setup a general fluid flow simulation to evaluate the performance of a centrifugal
pump with a volute.
10.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorials (Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35)) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 355
vk.com/club152685050 | vk.com/id446425943
Using Multiple Reference Frames
1450 RPM
10.4.1. Preparation
To prepare for running this tutorial:
4. Use the Fluent Launcher to enable Double Precision and the 3D version of Fluent.
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the Fluent Launcher, see Starting Fluent using the Fluent Launcher in
the Fluent Getting Started Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
356 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
6. Run in parallel by selecting Parallel Solver (Local Machine) under Processing Options. Set the number
of Processes depending on the number available to you. 4 is recommended although fewer can be used,
with the solve time increasing proportionately.
10.4.2. Mesh
1. Read the mesh file pump_volute.msh.
As Fluent reads the mesh file, it will report the progress in the console.
b. Select Manual Create... to open the Create/Edit Mesh Interfaces dialog box.
d. For Interface Zones Side 1, select interface-impeller-outlet from the list of available zones.
e. For Interface Zones Side 2, select interface-volute-inlet from the list of available zones.
f. Select Create/Edit....
g. Close the Create/Edit Mesh Interfaces and the Mesh Interfaces dialog box.
This meshing interface allows ANSYS Fluent to solve the flow equations across the interface between the
adjacent fluid zones.
Fluent will perform various checks on the mesh and will report the progress in the console. Make sure
that the reported minimum volume is a positive number.
Note that if this step is performed before creating the mesh interface, the check will fail because Fluent
will detect that the interface is missing.
10.4.3. Models
1. Enable the - SST turbulence model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 357
vk.com/club152685050 | vk.com/id446425943
Using Multiple Reference Frames
c. Click OK.
Compared to other two-equation models, the - SST turbulence model effectively predicts flow separ-
ation in turbomachinery, allowing for accurate evaluation of pump performance.
10.4.4. Materials
1. Add water to the list of materials.
a. Click Fluent Database... to open the Fluent Database Materials dialog box.
b. Scroll down and select water-liquid (h2o <l>) from the list of materials.
c. Select Copy.
d. Close the Fluent Database Materials dialog box and the Create/Edit Materials dialog box.
The impeller will rotate relative to the absolute frame. By default, the correct rotation is set (about
the z-axis).
d. Click OK.
b. Click OK.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
358 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
By default, the rotating wall is specified with a velocity of 0 relative to the impeller fluid zone.
Identical to the hub, the shroud is specified with a velocity of 0 relative to the impeller fluid zone.
The inblock shroud wall is stationary (velocity equal to 0) relative to the absolute reference frame.
The outlet has been automatically set as an inlet by Fluent. You must first change this boundary
condition to a mass flow outlet.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 359
vk.com/club152685050 | vk.com/id446425943
Using Multiple Reference Frames
10.4.7. Solution
1. Specify the solution methods.
a. Select Green-Gauss Node Based from the Gradient drop-down list in the Spatial Discretization group
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
360 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Pressure... and Total Pressure from the Field Variable drop-down lists.
This automatically selects all the outlet boundary conditions that have been specified.
d. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
b. Select Pressure... and Total Pressure from the Field Variable drop-down lists.
d. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
You can insert the report definitions you previously created using the Report Definitions drop-down
list under Select Operand Field Functions from and clicking Select.
The expression uses 998.2 as the density of water [kg/m^3] and 9.81 as the acceleration of the fluid
due to gravity [m/s^2].
e. Click Define to save the expression and close the Expression Report Definition dialog box.
5. Specify the pump head percentage change to be the convergence condition to be used for solution
monitoring.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 361
vk.com/club152685050 | vk.com/id446425943
Using Multiple Reference Frames
c. Click Calculate.
You can monitor the progression of the residuals and the pump head during the run.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
362 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
10.4.8. Postprocessing
1. Determine the head generated from the pump
b. Click Compute.
The head generated by the pump is prointed to the console and is approximately, 21.5 [m].
c. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
f. On the Mesh Display dialog box that opens, select volute-wall from the Surfaces selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 363
vk.com/club152685050 | vk.com/id446425943
Using Multiple Reference Frames
This gives and idea of how the fluid is exciting the volute.
b. Ensure Pressure... and Static Pressure are selected from the Contours of drop-down lists.
c. Select blade, impeller-hub and impeller-shroud from the Surfaces selection list.
10.5. Summary
In this tutorial you completed a fluid flow simulation to evaluate the performance of a pump and volute.
You created a custom expression to determine the head generated by the pump.
You can watch a video of this case being set up, solved, and postprocessed at:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
364 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Further Improvements
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 365
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
366 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
11.1. Introduction
The analysis of turbomachinery often involves the examination of the transient effects due to flow in-
teraction between the stationary components and the rotating blades. In this tutorial, the sliding mesh
capability of ANSYS Fluent is used to analyze the transient flow in an axial compressor stage. The rotor-
stator interaction is modeled by allowing the mesh associated with the rotor blade row to rotate relative
to the stationary mesh associated with the stator blade row.
• Set up the transient solver and cell zone and boundary conditions for a sliding mesh simulation.
11.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 367
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
11.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher
in the Fluent Getting Started Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
368 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
11.4.2. Mesh
1. Read in the mesh file axial_comp.msh.
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Ensure
that the reported minimum volume is a positive number.
Warnings will be displayed regarding unassigned interface zones, resulting in the failure of the mesh
check. You do not need to take any action at this point, as this issue will be rectified when you define
the mesh interfaces in a later step.
Orient the view to display the mesh as shown in Figure 11.2: Rotor-Stator Display (p. 370). The inlet of the
rotor mesh is colored blue, the interface between the rotor and stator meshes is colored yellow, and the
outlet of the stator mesh is colored red.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 369
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
370 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Use the text user interface to change zones rotor-per-1 and rotor-per-3 from wall zones to peri-
odic zones.
/mesh/modify-zones>
/mesh/modify-zones> make-periodic
Periodic zone [()] 10
Shadow zone [()] 9
Rotational periodic? (if no, translational) [yes] yes
Create periodic zones? [yes] yes
zone 9 deleted
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 371
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
11.4.4. Models
1. Enable the inviscid model.
11.4.5. Materials
1. Specify air (the default material) as the fluid material, using the ideal gas law to compute density.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
372 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Retain the default entry of air in the Name text entry field.
b. Select ideal-gas from the Density drop-down list in the Properties group box.
As reported in the console, ANSYS Fluent will automatically enable the energy equation, since this is re-
quired when using the ideal gas law to compute the density of the fluid.
Physics → Solver
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 373
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
1. Set the cell zone conditions for the fluid in the rotor (fluid-rotor).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
374 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Retain the default values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
d. Enter 37500 rpm for Speed in the Rotational Velocity group box.
2. Set the cell zone conditions for the fluid in the stator (fluid-stator).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 375
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
a. Retain the default values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
376 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1. Enter rotor-inlet into the Zone field to filter the zone list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 377
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
For information about the Supersonic/Initial Gauge Pressure, see the Fluent User's Guide.
c. Click the Thermal tab and enter 288 K for Total Temperature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
378 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. Enter stator-outlet into the Zone field to filter the zone list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 379
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
c. Click the Thermal tab and enter 288 K for Backflow Total Temperature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
380 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
The momentum settings and temperature you input at the pressure outlet will be used
only if flow enters the domain through this boundary. It is important to set reasonable
values for these downstream scalar values, in case flow reversal occurs at some point
during the calculation.
Note
For wall zones, ANSYS Fluent always imposes zero velocity for the normal velocity com-
ponent, which is required whether or not the fluid zone is moving. This condition is all
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 381
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
that is required for an inviscid flow, as the tangential velocity is computed as part of the
solution.
Since you have specified the boundary condition inputs for pressure in terms of absolute pressures, you
have to set the operating pressure to zero. Boundary condition inputs for pressure should always be rel-
ative to the value used for operating pressure.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
382 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Enabling this option, allows ANSYS Fluent to treat the interface between the sliding and non-sliding
zones as periodic where the two zones do not overlap.
Note
In general, when one interface zone is smaller than the other, it is recommended that
you choose the smaller zone as Interface Zone 1. In this case, since both zones are
approximately the same size, the order is not significant.
e. Click Create/Edit... and close the Create/Edit Mesh Interfaces dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 383
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
2. Check the mesh again to verify that the warnings displayed earlier have been resolved.
11.4.10. Solution
1. Set the solution parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
384 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Enter 0.5 for Momentum and Pressure in the Explicit Relaxation Factors group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 385
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
c. Enter 0.01 for Relative Criteria for each Residual (continuity, x-velocity, y-velocity, z-velocity, and
energy).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
386 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Create group box, enable Report File, Report Plot and Print to Console.
e. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 387
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
b. In the Create group box, enable Report File, Report Plot and Print to Console.
e. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
388 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
6. Enable the plotting of the area-weighted average of the static pressure at the interface (stator-interface).
b. In the Create group box, enable Report File, Report Plot and Print to Console.
c. Retain the default selection of Pressure... and Static Pressure from the Field Variable drop-down
lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 389
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
f. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
c. Click Initialize.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
390 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The time step is set such that the passing of a single rotor blade is divided into 15 time steps. There
are 16 blades on the rotor. Therefore, in each time step the rotor rotates 360/16/15=1.5 degrees. With
a rotational speed of 37,500 rpm (225,000 deg/sec), 1.5 degrees of rotation takes 1.5 / 2.25e5 =
6.6667e-6 sec.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 391
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
There are 16 blades on the rotor, and each rotor blade period corresponds to 15 time steps (see
above). Therefore, a complete revolution of the rotor will take 16*15=240 time steps.
d. Click Calculate.
The residuals jump at the beginning of each time step and then fall at least two to three orders of mag-
nitude. Also, the relative convergence criteria is achieved before reaching the maximum iteration limit
(20) for each time step, indicating the limit does not need to be increased.
Figure 11.3: Residual History for the First Revolution of the Rotor
10. Examine the flow variable histories for the first revolution of the rotor (Figure 11.4: Mass Flow Rate at the
Inlet During the First Revolution (p. 393), Figure 11.5: Mass Flow Rate at the Outlet During the First Revolu-
tion (p. 393), and Figure 11.6: Static Pressure at the Interface During the First Revolution (p. 394)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
392 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 11.4: Mass Flow Rate at the Inlet During the First Revolution
Figure 11.5: Mass Flow Rate at the Outlet During the First Revolution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 393
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
Figure 11.6: Static Pressure at the Interface During the First Revolution
The flow variable histories show that the large variations in flow rate and interface pressure that occur
early in the calculation are greatly reduced as time-periodicity is approached.
11. Save the case and data files (axial_comp-0240.cas.gz and axial_comp-0240.dat.gz).
Note
It is a good practice to save the case file whenever you are saving the data file espe-
cially for sliding mesh model. This is because the case file contains the mesh inform-
ation, which is changing with time.
Note
For transient-state calculations, you can add the character string %t to the file name so
that the iteration number is automatically appended to the name (for example, by entering
axial_comp-%t for the File Name in the Select File dialog box, ANSYS Fluent will save
files with the names axial_comp-0240.cas and axial_comp-0240.dat).
12. Rename the report output file in preparation for further iterations.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
394 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
13. Similarly, change the output file names for the surf-mon-2-rfile and surf-mon-3-rfile report file definitions
to surf-mon-2b.out and surf-mon-3b.out, respectively.
14. Continue the calculation for 720 more time steps to simulate three more revolutions of the rotor.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 395
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
15. Examine the flow variable histories for the next three revolutions of the rotor to verify that the solution is
time-periodic (Figure 11.7: Mass Flow Rate at the Inlet During the Next 3 Revolutions (p. 397) Figure 11.8: Mass
Flow Rate at the Outlet During the Next 3 Revolutions (p. 397), and Figure 11.9: Static Pressure at the Interface
During the Next 3 Revolutions (p. 398)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
396 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 11.7: Mass Flow Rate at the Inlet During the Next 3 Revolutions
Figure 11.8: Mass Flow Rate at the Outlet During the Next 3 Revolutions
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 397
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
Figure 11.9: Static Pressure at the Interface During the Next 3 Revolutions
16. Save the case and data files (axial_comp-960.cas.gz and axial_comp-960.dat.gz).
17. Change the file names for surf-mon-1b.out, surf-mon-2b.out, and surf-mon-3b.out to surf-mon-
1c.out, surf-mon-2c.out, and surf-mon-3c.out, respectively (as described in a previous step),
in preparation for further iterations.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
398 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Enter -0.02 for x0, -0.08 for y0, and -0.036 for z0 in the Point Surface dialog box.
19. Enable plotting of the static pressure at a point on the stator interface (point-1).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 399
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
b. In the Create group box, enable Report File, Report Plot and Print to Console.
c. Retain the defaults of Pressure and Static Pressure for Field Variable.
f. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
20. Continue the calculation for one final revolution of the rotor, while saving data samples for the postpro-
cessing of the time statistics.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
400 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enable Data Sampling for Time Statistics in the Options group box.
Enabling Data Sampling for Time Statistics causes ANSYS Fluent to calculate and store mean and
root-mean-square (RMS) values of various quantities and field functions over the calculation interval.
c. Click Calculate.
21. Save the case and data files (axial_comp-1200.cas.gz and axial_comp-1200.dat.gz).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 401
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
Figure 11.10: Static Pressure at a Point on The Stator Interface During the Final Revolution
11.4.11. Postprocessing
1. Examine the vertex-averaged static pressure at the stator during the final revolution of the rotor (as calculated
from surf-mon-4.out), and plot the data.
a. Click the Load Input File... button to open the Select File dialog box.
b. Click the Plot/Modify Input Signal... button to open the Plot/Modify Input Signal dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
402 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 403
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
e. Select exponential from the Type drop-down list, and set Precision to 1 in the Number Format group
box.
f. Click Apply and close the Axes - Fourier Transform dialog box.
g. Click Plot FFT and close the Fourier Transform dialog box.
The FFT plot clearly shows that the pressure fluctuations due to interaction at the interface are
dominated by the rotor and stator blade passing frequencies (which are 10 kHz and 20 kHz, respect-
ively) and their higher harmonics.
2. Display contours of the mean static pressure on the walls of the axial compressor.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
404 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Unsteady Statistics... and Mean Static Pressure from the Contours of drop-down lists.
f. Rotate the view to get the display as shown in Figure 11.12: Mean Static Pressure on the Outer Shroud
of the Axial Compressor (p. 406).
Shock waves are clearly visible in the flow near the outlets of the rotor and stator, as seen in the areas
of rapid pressure change on the outer shroud of the axial compressor.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 405
vk.com/club152685050
Using Sliding Meshes | vk.com/id446425943
Figure 11.12: Mean Static Pressure on the Outer Shroud of the Axial Compressor
11.5. Summary
This tutorial has demonstrated the use of the sliding mesh model for analyzing transient rotor-stator
interaction in an axial compressor stage. The model utilized the coupled pressure-based solver in con-
junction with the transient algorithm to compute the inviscid flow through the compressor stage. The
solution was calculated over time until the reported variables displayed time-periodicity (which required
several revolutions of the rotor), after which time-averaged data was collected while running the case
for the equivalent of one additional rotor revolution (240 time steps).
The Fast Fourier Transform (FFT) utility in ANSYS Fluent was employed to determine the time averages
from stored flow variable report data. You also used the FFT utility to examine the frequency content
of the transient report data. The observed peak corresponds to the passing frequency and the higher
harmonics of the passing frequency, which occurred at approximately 10,000 Hz.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
406 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
The purpose of this tutorial is to provide guidelines and recommendations for setting up and solving
a dynamic overset mesh case. Overset mesh allows you to build up your case using multiple overlapping
meshes that automatically get connected by interpolating cell data in the overlapping regions. The
overset meshing technique is used in conjunction with the Six Degree of Freedom (6DOF) solver, allowing
bodies to move as a result of fluid and/or external forces.
• Reading and appending mesh files into the Fluent solver and establishing a flow domain with the
overset approach from overlapping meshes.
• Best practices for overset mesh settings when two walls are close to each other or there is a very tight
gap.
• Running a steady-state calculation and continuing an unsteady calculation for the problem.
• Best practices for monitoring and diagnosing an overset case and postprocessing the results.
Note
Overset meshing has many applications beyond store separation. Refer to Overset Meshes
in the Fluent User's Guide for additional information on overset meshing capabilities.
• ANSYS Fluent: Using the Six Degrees of Freedom (Six DOF) Solver
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 407
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
• ANSYS Fluent: Setting up a Dynamic Mesh Problem for a Piston and Reed Valve - Part 1
12.1. Prerequisites
This tutorial is focused on overset meshing and it assumes that you are familiar with the ANSYS Fluent
interface and that you have a good understanding of the basic setup and solution procedures. Some
of the basic steps in the setup and solution procedure will not be shown explicitly. In this tutorial, you
will use the dynamic mesh model and the Six Degree of Freedom model. If you have not used these
models before, refer to Section 10.6: Dynamic Meshes in the ANSYS Fluent User’s Guide. You will use a
UDF to specify the properties of the pod. If you have not used UDFs before, refer to the Fluent Custom-
ization Manual.
The representation of the problem is shown in Figure 12.1: Schematic of Problem (p. 408) A close view
of the bay area and different walls with their interior zones are shown in Figure 12.2: Close View of Bay
Area (p. 409).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
408 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Mesh
12.3. Preparation
1. Download the overset_dynamic_mesh.zip file here.
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher
in the Fluent Getting Started Guide.
12.4. Mesh
1. Read the mesh file Overset-background-mesh.msh.
As ANSYS Fluent reads the mesh file, it will report the progress in the console. This mesh has three dif-
ferent zones that allow for a greater level of refinement where the pod will be falling and less refinement
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 409
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
at the far field. Dividing the background mesh into multiple zones allows for non-conformal interfaces
between the other zones that will not be in the overset interface.
Note
Fluent uses the terminology of a component mesh and a background mesh. The mesh
containing the moving object is called component mesh and stationary mesh is called
the background mesh. The outer boundary of component mesh is referred as component
boundary.
2. In this step you will create mesh interfaces between multiple zones in the stationary mesh. This mesh has
three cell zones- upstream, downstream, and fluid-background.
f. Click Auto Create and close the Mesh Interfaces dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
410 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Mesh
b. Click OK in the Warning dialog box that appears stating that some zone IDs have changed.
c. If you have the Display Mesh After Reading option enabled in the Fluent Launcher, then you must
refresh the graphics window by right-clicking in the graphics window and selecting Refresh Display.
Note
Fluent will append the component mesh and two meshes will overlap each other.
If background and component meshes are present in the same mesh file, then you
can start directly from the mesh file without appending.
Note
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 411
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
The mesh check fails with a warning. The warning states that there is an overset zone that is not a part
of any overset interface. If any zone already has overset type, we need to define overset-interface with
available overset zone. If mesh does not have any overset type predefined, then this warning will not
come.
Note
Fluent performs various checks on the mesh and reports the progress in the console
window. Pay attention to the reported minimum volume and make sure this is a positive
number.
2. In this step you will ensure that the component boundary is properly defined as the overset boundary
type.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
412 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Overset Interface Creation
You can also use following TUI command to change overset_boundary to the overset type:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 413
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
Note
b. Select fluid-background from the Background group box and component from the Component
group box.
/define/overset-interfaces/options/donor-priority-method 1
While establishing overset interface, Fluent does an optimization to get best location of the interface
while reducing the number of cells in the overlapping region that will participate in the calculation.
There are options to define the priority of the cell zones that will take part in the overset interface creation.
Zones defined as higher priority will be given more weightage. When cell zones have the same priority,
there are two methods that govern overlap minimization (see Overlap Minimization in the Fluent User's
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
414 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady-State Case Setup
Guide ): one method is cell volume based (proportional to the inverse of the cell volume) and other
method is boundary distance based (proportional to the inverse of the distance to the closest boundary).
Cell volume based works best if the component mesh resolution is fine near walls and increases
gradually away from walls and becomes similar in size to or larger than the background mesh.
Boundary distance based method works best where overlapping meshes have uniform and nearly
identical resolutions and therefore it is most suitable when two walls have small distance in between
them. In this example, the store wall is very near to the bay wall and the boundary distance based
method allows Fluent to create an overset interface somewhere middle of the gap. It is important to
have sufficient cells overlapping each other between the gap region of two walls (at least 4 cells from
both walls), so it is better to create inflation layers on walls to resolve this requirement.
6. In this step you will create the overset intersection, also referred to as hole cutting. When the case is ini-
tialized, ANSYS Fluent automatically creates the overset intersection. Experts have the option to investigate
how the intersection is created by enabling expert options in the TUI:
/define/overset-interfaces/options/expert yes
With expert options enabled, you can create the intersection using the following command:
/define/overset-interfaces/intersect-all
You can increase the overset verbosity to have Fluent print more information to the console for
any overset process. Verbosity settings range from 0 to 3 depending on the information required.
To increase verbosity, enter:
/define/overset-interfaces/options/verbosity 2
/define/overset-interfaces/list
Physics → Solver
12.6.2. Models
1. Enable the energy equation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 415
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
416 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady-State Case Setup
12.6.3. Materials
Specify the properties for air.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 417
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
c. Retain Intensity and Viscosity Ratio as the Specification Method in the Turbulence group box.
d. Retain the default values of 5% and 10 for Turbulent Intensity and Turbulent Viscosity Ratio re-
spectively.
b. Retain Intensity and Viscosity Ratio as the Specification Method in the Turbulence group box.
c. Retain the default values of 5% and 10 for Backflow Turbulent Intensity and Backflow Turbulent
Viscosity Ratio respectively.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
418 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady-State Case Setup
12.6.7. Solution
In this section you will specify solution methods and controls that are appropriate for this overset
meshing case.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 419
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
In the Solution Methods task page, retain the default selections for the Scheme and Spatial Dis-
cretization.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
420 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady-State Case Setup
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 421
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
a. Enable Report File and Report Plot in the Create group box.
For additional information on writing report files, refer to "Creating Report Files" in the Fluent User's
Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
422 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady-State Case Setup
Enter 1e-06 as the Absolute Criterion for all of the Equations and then close the Residual
Monitors dialog box.
5. Ensure Hybrid is selected as the initialization method in the Solution ribbon tab.
Click Initialize.
Note
If you are running in serial, then you must reorder the mesh prior to beginning the
calculation, using the mesh/reorder/reorder-domain text command. This
reordering is done automatically for parallel processes > 1.
b. Click Calculate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 423
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
7. Check the mass imbalance for the inlet and outlet to confirm there is not a large difference.
b. Click Compute.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
424 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
a. Enable Gravity.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 425
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
Note
This UDF contains the mass of the pod and its and moments of inertia.
ANSYS Fluent sets up the directory structure and compiles the code. You can see the compilation in the
console window.
2. Disable Smoothing.
i. Click Create/Edit… in the Dynamic Mesh task page to open the Dynamic Mesh Zones dialog
box.
vi. Enter 7.6 for X and 18.5 for Y in the Center of Gravity Location group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
426 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
vii. Click Create to create the dynamic zone for the component.
Note
The UDF is automatically selected in the Six DOF UDF/Properties drop-down list.
If there were additional UDFs loaded, then you would have to select the correct
one.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 427
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
iii. Retain the selection of On and disable Passive in the Six DOF group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
428 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
2. Enable Report File and Report Plot in the Create group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 429
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
430 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
e. Click Calculate.
ii. Save the case and data files ( overset-pod-transient.cas.gz and overset-pod-
transient.dat.gz.
Open the transcript file and look for the warning of:
dead->solve cells
Ideally, no cells should go directly from being dead cells to being solve cells. A large number of cells
directly converting from dead to solve can affect the accuracy of the solution or cause divergence. If
you find that there is a large number of cells that went directly from dead to solve, then you can reduce
the time step size to decrease the likelihood of this issue occurring. If there are any dead to solve cells
present for this calculation run, the warning is printed as shown below:
WARNING: 1 overset dead->solve cells in interface o-i
Note
Objects move their position with time in transient overset moving mesh cases, requiring
dead cells to convert into solve cells. Dead cells do not have proper solution data, so they
need to convert to receptor cells to get the required solution information before converting
to solve cells. If a dead cell converts directly into a solve cell, it may lack required information
and cause an improper result. Refer to "Diagnosing Overset Interface Issues" in the Fluent
User's Guide for additional information.
12.7.7. Postprocessing
1. Create contours of static pressure.
b. Ensure Pressure… and Static Pressure are selected from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 431
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
d. Click Display.
Note
a. Read the pod-motion file into Microsoft Excel and plot flow time vs CG-orientation of the pod.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
432 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 433
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
In overset meshing all meshes are categorized into five cell types:
• Solve – (yellow in figures Figure 12.3: Cell Marking on component (p. 438) & Figure 12.4: Cell Marking
on fluid-background (p. 438)) cells that take part in the solution.
• Donor – (marked red in figures Figure 12.3: Cell Marking on component (p. 438) & Figure 12.4: Cell
Marking on fluid-background (p. 438)) provide information to corresponding cell zones.
• Receptor – (marked blue in figures Figure 12.3: Cell Marking on component (p. 438) & Figure 12.4: Cell
Marking on fluid-background (p. 438)) receive information from donor cells in the corresponding cell
zones.
• Dead – (marked in red in figures Figure 12.5: Dead Cells in the Component (p. 440)) deactivated cells
located in regions of overlap between the background and component meshes, where multiple cells
are present in the same exact location. Only one set of cells in a region is allowed to take part in the
solution. Additionally, cells outside of the flow regime are marked as dead.
• Orphan – receptor cells that cannot find a corresponding donor cell. Although Fluent has intelligence
to deal with orphan cells, their presence should be avoided to reduce the risk of solution inaccuracies
and divergence.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
434 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
define/overset-interfaces/mark-cells orphan no
This will show all of the orphan cells present in the case, unless you specify a particular zone. Marking
orphan cells creates a register that you can display via the define/overset-interfaces/display-
cells text command. The marked cells are in the overset-orphan-cells-r0 register.
In this case there are not any orphan cells, so nothing is displayed in the graphics window. If you mark
solve cells or other cells types and display those registers, then it will appear in the graphics window.
If large number of orphan cells are generated in a case, then it is advisable to modify the mesh accord-
ingly.
Different type of cells can also be displayed creating contours of Cell Info and displaying the Overset
Cell Type for given surfaces.
Enable the following TUI command to include receptor cells in the contours display:
/define/overset-interfaces/options/render-receptor-cells? yes
The overset interface for this tutorial is created properly, but issues could arise during overset interface
creation for geometries with complex topology. ANSYS Fluent provides options to diagnose issues and
fix them. You can use the ‘debug hole cut’ option to understand more about flood filling of seed cells
or leakage between overlapping boundaries. For detailed information on overset mesh diagnosis, refer
to "Diagnosing Overset Interface Issues" in the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 435
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
4. Display contours of the overset cell type on the surface you just created.
a. Enable Filled and disable Autorange (which enables Clip to Range) in the Options group box.
b. Disable Node Values and Global Range in the Options group box.
c. Select Cell Info... and Overset Cell Type from the Contours of drop-down lists.
Note
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
436 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
g. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 437
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
438 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Unsteady Setup
b. Mark dead cells in component with the following TUI command: define/overset-inter-
faces/mark-cells dead yes 29
c. Mark dead cells in fluid-background with the following TUI command: /define/overset-in-
terfaces/mark-cells dead yes 7
i. Enter 0 for the text command prompt to display the overset-dead-cells-component-r0 register
(you can enter 0 instead of typing the full name of the register).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 439
vk.com/club152685050 | vk.com/id446425943
Using Overset and Dynamic Meshes
ii. Enter 1 for the text command prompt to display only the overset-dead-cells-fluid-background-
r1 register.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
440 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
12.8. Summary
In this tutorial, you have learned about overset meshing in ANSYS Fluent and its setup along with best
practices, by solving a store separation problem. You have also learned a few diagnostic techniques for
overset meshing and the postprocessing of results for a store separation case.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 441
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
442 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
13.1. Introduction
This tutorial examines the mixing of chemical species and the combustion of a gaseous fuel.
A cylindrical combustor burning methane ( ) in air is studied using the eddy-dissipation model in
ANSYS Fluent.
• Enable physical models, select material properties, and define boundary conditions for a turbulent flow with
chemical species mixing and reaction.
• Initiate and solve the combustion simulation using the pressure-based solver.
13.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
To learn more about chemical reaction modeling, see the Fluent User's Guide and the Fluent Theory
Guide. Otherwise, no previous experience with chemical reaction or combustion modeling is assumed.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 443
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
excess air). The high-speed methane jet initially expands with little interference from the outer wall,
and entrains and mixes with the low-speed air. The Reynolds number based on the methane jet diameter
is approximately .
13.4. Background
In this tutorial, you will use the generalized eddy-dissipation model to analyze the methane-air combus-
tion system. The combustion will be modeled using a global one-step reaction mechanism, assuming
complete conversion of the fuel to and . The reaction equation is
(13.1)
This reaction will be defined in terms of stoichiometric coefficients, formation enthalpies, and parameters
that control the reaction rate. The reaction rate will be determined assuming that turbulent mixing is
the rate-limiting process, with the turbulence-chemistry interaction modeled using the eddy-dissipation
model.
13.5.1. Preparation
To prepare for running this tutorial:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
444 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher in
the Fluent Getting Started Guide.
6. Enable Double-Precision.
13.5.2. Mesh
1. Read the mesh file gascomb.msh.
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Ensure
that the reported minimum volume reported is a positive number.
Since this mesh was created in units of millimeters, you will need to scale the mesh into meters.
a. Select mm from the Mesh Was Created In drop-down list in the Scaling group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 445
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
b. Click Scale.
c. Ensure that m is selected from the View Length Unit In drop-down list.
d. Ensure that Xmax and Ymax are reset to 1.8 m and 0.225 m respectively.
The default SI units will be used in this tutorial, hence there is no need to change any units in this
problem.
g. Clicking the Fit to Window icon, , will cause the object to fit exactly and be centered in the window.
Note
You should check the mesh after you manipulate it (scale, convert to polyhedra, merge,
separate, fuse, add zones, or smooth and swap). This will ensure that the quality of the
mesh has not been compromised.
Extra
You can use the right mouse button to probe for mesh information in the graphics win-
dow. If you click the right mouse button on any node in the mesh, information will be
displayed in the ANSYS Fluent console about the associated zone, including the name of
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
446 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
the zone. This feature is especially useful when you have several zones of the same type
and you want to distinguish between them quickly.
Setup → General
13.5.4. Models
1. Enable heat transfer by enabling the energy equation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 447
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
The Viscous Model dialog box will expand to provide further options for the k-epsilon model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
448 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Species Model dialog box will expand to provide further options for the Species Transport
model.
Note
The Mixture Material list contains the set of chemical mixtures that exist in the ANSYS
Fluent database. You can select one of the predefined mixtures to access a complete
description of the reacting system. The chemical species in the system and their
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 449
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
physical and thermodynamic properties are defined by your selection of the mixture
material. You can alter the mixture material selection or modify the mixture material
properties using the Create/Edit Materials dialog box (see Materials (p. 450)).
The eddy-dissipation model computes the rate of reaction under the assumption that chemical kinetics
are fast compared to the rate at which reactants are mixed by turbulent fluctuations (eddies).
f. Click OK to close the Information dialog box that describes solver relaxation setting chnages.
Prior to listing the properties that are required for the models you have enabled, ANSYS Fluent will display
a warning about the symmetry zone in the console. You may have to scroll up to see this warning.
Warning: It appears that symmetry zone 5 should actually be an axis
(it has faces with zero area projections).
Unless you change the zone type from symmetry to axis,
you may not be able to continue the solution without
encountering floating point errors.
In the axisymmetric model, the boundary conditions should be such that the centerline is an axis type
instead of a symmetry type. You will change the symmetry zone to an axis boundary in Boundary Condi-
tions (p. 453).
13.5.5. Materials
In this step, you will examine the default settings for the mixture material. This tutorial uses mixture properties
copied from the Fluent Database. In general, you can modify these or create your own mixture properties
for your specific problem as necessary.
The Create/Edit Materials dialog box will display the mixture material (methane-air) that was selected
in the Species Model dialog box. The properties for this mixture material have been copied from the
Fluent Database... and will be modified in the following steps.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
450 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Edit... button to the right of the Mixture Species drop-down list to open the Species dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 451
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
You can add or remove species from the mixture material as necessary using the Species dialog box.
i. Retain the default selections from the Selected Species selection list.
The species that make up the methane-air mixture are predefined and require no modification.
b. Click the Edit... button to the right of the Reaction drop-down list to open the Reactions dialog box.
The eddy-dissipation reaction model ignores chemical kinetics (the Arrhenius rate) and uses only the
parameters in the Mixing Rate group box in the Reactions dialog box. The Arrhenius Rate group
box will therefore be inactive. The values for Rate Exponent and Arrhenius Rate parameters are
included in the database and are employed when the alternate finite-rate/eddy-dissipation model is
used.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
452 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Retain the selection of mixing-law from the Cp (Specific Heat) drop-down list.
e. Retain the default values for Thermal Conductivity, Viscosity, and Mass Diffusivity.
The calculation will be performed assuming that all properties except density and specific heat are con-
stant. The use of constant transport properties (viscosity, thermal conductivity, and mass diffusivity
coefficients) is acceptable because the flow is fully turbulent. The molecular transport properties will play
a minor role compared to turbulent transport.
The symmetry zone must be converted to an axis to prevent numerical difficulties where the radius reduces
to zero.
To determine the zone for the air inlet, display the mesh without the fluid zone to see the boundaries.
Use the right mouse button to probe the air inlet. ANSYS Fluent will report the zone name (velocity-inlet-
8) in the console.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 453
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
c. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in the Tur-
bulence group box.
f. Click the Thermal tab and retain the default value of 300 for Temperature.
g. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
454 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 455
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
c. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in the Tur-
bulence group box.
f. Click the Thermal tab and retain the default value of 300 for Temperature.
g. Click the Species tab and enter 1 for ch4 in the Species Mass Fractions group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
456 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in the Tur-
bulence group box.
e. Click the Thermal tab and retain the default value of 300 for Backflow Total Temperature.
f. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
The Backflow values in the Pressure Outlet dialog box are utilized only when backflow occurs at the
pressure outlet. Always assign reasonable values because backflow may occur during intermediate itera-
tions and could affect the solution stability.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 457
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
Use the mouse-probe method described for the air inlet to determine the zone corresponding to the
outer wall.
6. Set the boundary conditions for the fuel inlet nozzle (wall-2).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
458 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Retain the default selection of Heat Flux in the Thermal Conditions list.
ii. Retain the default value of 0 for Heat Flux, so that the wall is adiabatic.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 459
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
460 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Solution → Initialization
a. Retain the default Hybrid initialization method and click Initialize to initialize the variables.
b. Ensure that Write Binary Files is enabled to produce a smaller, unformatted binary file.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 461
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
The Timescale Factor allows you to further manipulate the computed Time Step calculated by ANSYS
Fluent. Larger time steps can lead to faster convergence. However, if the time step is too large it can
lead to solution instability.
c. Click Calculate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
462 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
If you choose a file name that already exists in the current folder, ANSYS Fluent will ask
you to confirm that the previous file is to be overwritten.
13.5.8. Postprocessing
Review the solution by examining graphical displays of the results and performing surface integrations at
the combustor exit.
b. Select all the boundaries from the Boundaries selection list (you can click the select-all button ( ).
Note
The energy balance is good because the net result is small compared to the heat of
reaction.
2. Display filled contours of temperature (Figure 13.3: Contours of Temperature (p. 464)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 463
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
c. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
464 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click the Vector Options... button to open the Vector Options dialog box.
The fixed length option is useful when the vector magnitude varies dramatically. With fixed length
vectors, the velocity magnitude is described only by color instead of by both vector length and
color.
ii. Click Apply and close the Vector Options dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 465
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
The entrainment of air into the high-velocity methane jet is clearly visible.
4. Display filled contours of mass fraction for (Figure 13.5: Contours of CH4 Mass Fraction (p. 466)).
a. Select Species... and Mass fraction of ch4 from the Contours of drop-down lists.
b. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
466 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
5. In a similar manner, display the contours of mass fraction for the remaining species , , and (Fig-
ure 13.6: Contours of O2 Mass Fraction (p. 467), Figure 13.7: Contours of CO2 Mass Fraction (p. 467), and
Figure 13.8: Contours of H2O Mass Fraction (p. 468)) Close the Contours dialog box when all of the species
have been displayed.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 467
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
468 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
(13.2)
c. Select pressure-outlet-9 from the Surfaces selection list, so that the integration is performed over this
surface.
d. Click Compute.
The Mass-Weighted Average field will show that the exit temperature is approximately 1840 .
b. Select Velocity... and Velocity Magnitude from the Field Variable drop-down lists.
c. Click Compute.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 469
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
The Area-Weighted Average field will show that the exit velocity is approximately 3.30 .
a. Enable Thermal NOx and Prompt NOx in the Pathways group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
470 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
This will enable the turbulence-chemistry interaction. If turbulence interaction is not enabled, you
will be computing NOx formation without considering the important influence of turbulent fluc-
tuations on the time-averaged reaction rates.
ii. Retain the default selection of beta from the PDF Type drop-down list and enter 20 for PDF Points.
The value for PDF Points is increased from 10 to 20 to obtain a more accurate NOx prediction.
d. Select partial-equilibrium from the [O] Model drop-down list in the Formation Model Parameters
group box in the Thermal tab.
The partial-equilibrium model is used to predict the O radical concentration required for thermal
NOx prediction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 471
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
All of the parameters in the Prompt tab are used in the calculation of prompt NOx formation.
The Fuel Carbon Number is the number of carbon atoms per molecule of fuel. The Equivalence
Ratio defines the fuel-air ratio (relative to stoichiometric conditions).
f. Click Apply to accept these changes and close the NOx Model dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
472 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Deselect all variables except Pollutant no and Temperature Variance from the Equations selection
list.
You will predict NOx formation in a “postprocessing” mode, with the flow field, temperature, and
hydrocarbon combustion species concentrations fixed. Hence, only the NO equation will be computed.
Prediction of NO in this mode is justified on the grounds that the NO concentrations are very low
and have negligible impact on the hydrocarbon combustion prediction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 473
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
5. Save the new case and data files (gascomb2.cas.gz and gascomb2.dat.gz).
6. Review the solution by creating and displaying a contour definition for NO mass fraction (Figure 13.9: Con-
tours of NO Mass Fraction — Prompt and Thermal NOx Formation (p. 474)).
c. Select NOx... and Mass fraction of Pollutant no from the Contours of drop-down lists.
Figure 13.9: Contours of NO Mass Fraction — Prompt and Thermal NOx Formation
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
474 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select NOx... and Mass fraction of Pollutant no from the Field Variable drop-down lists.
d. Click Compute.
The Mass-Weighted Average field will show that the exit NO mass fraction is approximately 0.00421.
8. Disable the prompt NOx mechanism in preparation for solving for thermal NOx only.
9. Request 25 iterations.
10. Review the thermal NOx solution by displaying the contour-no-mass-fraction contour definition for NO
mass fraction (under the Results/Graphics/Contours tree branch) you created earlier (Figure 13.10: Contours
of NO Mass Fraction—Thermal NOx Formation (p. 476)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 475
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
Note that the concentration of NO is slightly lower without the prompt NOx mechanism.
11. Compute the average exit NO mass fraction with only thermal NOx formation.
Tip
Follow the same procedure you used earlier for the calculation with both thermal
and prompt NOx formation.
The Mass-Weighted Average field will show that the exit NO mass fraction with only thermal
NOx formation (without prompt NOx formation) is approximately 0.004176.
14. Review the prompt NOx solution by displaying the contour-no-mass-fraction contour definition for NO
mass fraction (under the Results/Graphics/Contours tree branch) (Figure 13.11: Contours of NO Mass
Fraction—Prompt NOx Formation (p. 477)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
476 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The prompt NOx mechanism is most significant in fuel-rich flames. In this case the flame is lean and
prompt NO production is low.
15. Compute the average exit NO mass fraction only with prompt NOx formation.
Tip
Follow the same procedure you used earlier for the calculation with both thermal
and prompt NOx formation.
The Mass-Weighted Average field will show that the exit NO mass fraction with only prompt
NOx formation is approximately 9.9775e-05.
Note
The individual thermal and prompt NO mass fractions do not add up to the levels predicted
with the two models combined. This is because reversible reactions are involved. NO
produced in one reaction can be destroyed in another reaction.
16. Use a custom field function to compute NO parts per million (ppm).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 477
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
(13.4)
Note
This is the dry ppm. Therefore, the value is normalized by removing the water mole
fraction in the denominator.
a. Select NOx... and Mole fraction of Pollutant no from the Field Functions drop-down lists, and click
the Select button to enter molef-pollut-pollutant-0 in the Definition field.
*10ˆ6/(1-
Tip
If you make a mistake, click the DEL button on the calculator pad to delete the
last item you added to the function definition.
For more explicit instructions on using the Custom Field Function calculator buttons, see Fluid
Flow and Heat Transfer in a Mixing Elbow (p. 35).
c. Select Species... and Mole fraction of h2o from the Field Functions drop-down lists, and click the
Select button to enter molef-h2o in the Definition field.
f. Click Define to add the new field function to the variable list and close the Custom Field Function
Calculator dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
478 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Further Improvements
17. Display contours of NO ppm (Figure 13.12: Contours of NO ppm — Prompt NOx Formation (p. 479)).
b. Select Custom Field Functions... and no-ppm from the Contours of drop-down lists.
The contours closely resemble the mass fraction contours (Figure 13.11: Contours of NO Mass Frac-
tion—Prompt NOx Formation (p. 477)), as expected.
13.6. Summary
In this tutorial you used ANSYS Fluent to model the transport, mixing, and reaction of chemical species.
The reaction system was defined by using a mixture-material entry in the ANSYS Fluent database. The
procedures used here for simulation of hydrocarbon combustion can be applied to other reacting flow
systems.
The NOx production in this case was dominated by the thermal NO mechanism. This mechanism is very
sensitive to temperature. Every effort should be made to ensure that the temperature solution is not
overpredicted, since this will lead to unrealistically high predicted levels of NO.
The single-step reaction process used in this tutorial cannot account for the moderating effects of inter-
mediate reaction products, such as CO and . Multiple-step reactions can be used to address these
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 479
vk.com/club152685050 | vk.com/id446425943
Modeling Species Transport and Gaseous Combustion
species. If a multi-step Magnussen model is used, considerably more computational effort is required
to solve for the additional species. Where applicable, the nonpremixed combustion model can be used
to account for intermediate species at a reduced computational cost.
For more details on the nonpremixed combustion model, see the Fluent User's Guide.
Radiation heat transfer tends to make the temperature distribution more uniform, thereby lowering the
peak temperature. In addition, radiation heat transfer to the wall can be very significant (especially here,
with the wall temperature set at 300 ). The large influence of radiation can be anticipated by computing
the Boltzmann number for the flow:
where is the Boltzmann constant (5.729 ) and is the adiabatic flame temperature.
For a quick estimate, assume , , and (the majority of the
inflow is air). Assume . The resulting Boltzmann number is Bo = 1.09, which shows that
radiation is of approximately equal importance to convection for this problem.
This tutorial guides you through the steps to reach an initial set of solutions. You may be able to obtain
a more accurate solution by using an appropriate higher-order discretization scheme and by adapting
the mesh. Mesh adaption can also ensure that the solution is independent of the mesh. These steps
are demonstrated in Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
480 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
14.1. Introduction
This tutorial examines the reacting flow through a can combustor that burns methane in air in order
to determine the combustor performance. In this tutorial, you will first simulate the combustion process
using the Eddy Dissipation model. You will then repeat the simulation using the steady flamelet model
and compare the results of these two approaches.
14.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorial Fluid
Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are familiar with
the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure will not
be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 481
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
Compressed primary air is forced into the combustion chamber at 10 m/s through the main inlet at the
base of the canister. Six swirl inlet vanes guide the incoming air into the canister and facilitate its mixing
with pure methane for proper combustion. Methane is injected through six fuel inlets with a velocity
of 40 m/s. As the reacting mixture proceeds through the canister, secondary air is fed into the combustion
chamber at a velocity of 6 m/s through six secondary air inlets downstream from the primary combustion
zone. This helps increase the combustion efficiency and also cool the can walls as they are exposed to
the hot reacting flow. The fuel and oxidizer enter the combustion chamber at 300 K.
In this tutorial, the quantitative analysis of the combusting mixture is performed and the following
quantities are determined:
• The temperature distribution inside the combustor that burns methane in air
To watch a video that demonstrates the steps below for setting up, solving, and postprocessing the
solution results for diffusion-controlled combustion, go to:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
482 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
14.4.1. Preparation
To prepare for running this tutorial:
4. Use Fluent Launcher to enable Double Precision and start the 3D version of Fluent.
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the Fluent Launcher, see starting Fluent using the Fluent Launcher in
the Fluent Getting Started Guide.
14.4.2. Mesh
1. Read the mesh file combustor_poly.msh.
As Fluent reads the mesh file, it will report the progress in the console.
Click OK and close the Information dialog box. The use of Warped-Face Gradient Correction will
be selected later in the tutorial.
Fluent will perform various checks on the mesh and will report the progress in the console. Make sure
that the reported minimum volume is a positive number.
a. In the Options group, clear the Faces option and make sure that the Edges option is selected.
b. In the Mesh Display dialog box, select fuelinlet, inletair1, inletair2, outlet, wall-part-fluid, and
wallvanes from the Surfaces selection list.
Tip
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 483
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
4. Examine the mesh Figure 14.2: Mesh Display of the Can Combustor (p. 484).
The mesh consist of a fluid zone, canister wall, main air inlet, six guide vanes, six fuel inlets, six secondary
air inlets, and a single outlet. All inlets of the combustor mesh are colored blue, and the outlet is colored
red.
Physics → Solver
14.4.4. Models
The fuel (methane) and oxidizer (air) undergo fast combustion (that is, the overall combustion rate is
controlled by turbulent mixing). In this first part of the tutorial, the combustion reaction is considered
to be driven by turbulent diffusion, and it is modeled using the Eddy Dissipation model, which is suitable
for modeling fast combustion.
a. In the Viscous Model dialog box, select k-epsilon (2eqn) in the Model list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
484 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Mixture Material list contains the set of chemical mixtures that exist in the ANSYS Fluent database.
When selecting an appropriate mixture for your case, you can review the constituent species and the
reactions of the predefined mixture by clicking View... next to the Mixture Material drop-down list.
The chemical species and their physical and thermodynamic properties are defined by the selection
of the mixture material. After enabling the Species Transport model, you can alter the mixture ma-
terial selection or modify the mixture material properties using the Create/Edit Materials dialog
box.
The Eddy-Dissipation model computes the reaction rate under the assumption that chemical reaction
is fast compared to transport of reactants in the combusting flow. That is, the reaction is controlled
by diffusion.
A Warning message appears in the console notifying you that ANSYS Fluent automatically enabled
the energy equation required for the Species reaction model.
2. Under the Setup/Boundary Conditions tree branch, right-click inlet and select Type>velocity-inlet.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 485
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
b. This setting ensures that if the backflow occurs, only pure nitrogen at 300 K enters the chamber,
which will not affect the combustion reactions.
7. For wall-part-fluid, wallvanes and wallvanes-shadow retain the default stationary no slip adiabatic settings.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
486 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
14.4.6. Solution
1. Specify the discretization schemes.
b. The relaxation of high order terms will help to improve the solution behavior of flow simulations
when higher order spatial discretizations are used (higher than first).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 487
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
6. Start calculation.
The Timescale Factor allows you to further manipulate the computed Time Step calculated by ANSYS
Fluent. Larger time steps can lead to faster convergence. However, if the time step is too large it can
lead to solution instability.
c. Click Calculate.
All scaled residuals have met the criteria for a converged solution (Figure 14.3: Scaled Residuals (p. 488)),
and the relative amount of CO2 exiting the combustor outlet has become stable (Figure 14.4: Convergence
History of Mass-Weighted Average CO2 on the Outlet (p. 489)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
488 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Warning
Although the mass flow rate history indicates that the solution is converged, you
should also check the net mass fluxes through the domain to ensure that mass is
being conserved.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 489
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
a. Select fuelinlet, inletair1, inletair2 and outlet from the Boundaries selection list.
Warning
The net mass imbalance should be a small fraction (for example, 0.5%) of the total
flux through the system. If a significant imbalance occurs, you should decrease the
residual tolerances by at least an order of magnitude and continue iterating.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
490 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select all the boundaries from the Boundaries selection list (you can click the select-all button ( ).
Note
The energy balance is good because the net result is small compared to the heat of
reaction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 491
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
c. In the Points group box, enter 1, 0, 1 for x0, y0, z0, respectively.
d. In the Normal group box, enter 0, 1, 0 for x0, y0, z0, respectively.
4. Display filled contours of CO2 mass fraction in the combustion chamber (Figure 14.5: Contours of CO2 Mass
Fraction (p. 493)).
c. From the Contours of drop-down lists, select Species... and Mass Fraction of co2.
d. From the Surfaces selection list, deselect all surfaces and select plane_xz.
f. Click Save/Display and rotate the view as shown in Figure 14.5: Contours of CO2 Mass Fraction (p. 493).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
492 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You may need to deselectHeadlight and then Lighting in the View ribbon tab (Dis-
play group).
The contour map of the CO2 concentration shows that the flow is mixing and reacting properly in
the combustor.
5. Display filled contours of oxygen mass fraction on the surface plane_xz (Figure 14.6: Contours of O2 Mass
Fraction (p. 494)).
c. From the Contours of drop-down lists, select Species... and Mass Fraction of o2.
d. From the Surfaces selection list, deselect all surfaces and select plane_xz.
f. Click Save/Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 493
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
6. Display filled contours of temperature on the aluminum combustor walls (Figure 14.7: Contours of Static
Temperature on the Combustor Walls (p. 495)).
c. From the Contours of drop-down lists, select Temperature... and Static Temperature.
d. From the Surfaces selection list, deselect all surfaces and select wall-part-fluid and wallvanes.
f. Click Save/Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
494 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady Diffusion Flamelet Model Setup and Solution
g. Rotate the contour plot to examine the temperature field of the combusting flow on the canister walls
from different angles.
In the Steady Diffusion Flamelet model, reactions take place in a thin laminar locally one-dimensional
zone, called 'flamelet'. The turbulent flame is represented by an ensemble of such flamelets. Detailed
chemical kinetics is used to describe the combustion reaction. The chemistry is assumed to respond
rapidly to the turbulent strain, and as the strain relaxes to zero, the chemistry tends to equilibrium.
Despite the tendency toward equilibrium, a flamelet solution can often yield more accurate results than
an Eddy Dissipation or one- or two-step Finite Rate solution. This is because all the chemistry details
are included, making it possible to capture some of the faster intermediate reactions. To model turbulent
mixing, a probability density function (PDF) table is used as a lookup table at run time.
Note
To reduce the solution time for this tutorial, the mesh used is very coarse. This is not a suitable
mesh to obtain accurate results, but it is sufficient for demonstration purposes.
• ANSYS Fluent: Describing Non-premixed Combustion using the Steady Flamelet Model
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 495
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
14.5.1. Models
Specify settings for non-premixed combustion.
If you are generating a flamelet file yourself, you need to read in the chemical kinetics mechanism and
thermodynamic data, which must be in CHEMKIN format.
5. In the CHEMKIN Mechanism Import dialog box, in the Kinetics Input File text entry field, enter the fol-
lowing:
path\KINetics\data\grimech30_50spec_mech.inp
where path is the ANSYS Fluent installation directory (for example, C:\Program Files\ANSYS
Inc\v193\fluent\fluent19.3.0).
6. Click Import.
Once the reacting data file has been imported, the tab for specifying the fuel and oxidizer compositions,
flamelet and PDF table become accessible.
7. In the Boundary tab, specify the fuel (methane) and oxidizer (air) stream compositions in mass fractions.
a. In the Specify Species in group box, make sure that Mass Fraction is selected.
Tip
Note
All boundary species with a mass or mole fraction of zero will be ignored.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
496 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady Diffusion Flamelet Model Setup and Solution
c. In the Temperature group box, retain the default values of 300 K for Fuel and Oxid.
9. In the Flamelet tab, retain the default settings and click Calculate Flamelets.
Once the diffusion flamelets are generated, a Question dialog box opens, asking whether you want to
save flamelets to a file. Click No.
10. In the Table tab, retain the default settings for the table parameters and click Calculate PDF Table to
compute a non-adiabatic probability density function (PDF) table.
12. In the PDF Table dialog box, retain the selection of Mean Temperature from the Plot Variable drop-down
list and all the other default parameters and click Display.
In the graphical display of the 3D look-up table, the Z axis represents the mean temperature of the reacting
fluid, and the X and Y axes represent the mean mixture fraction and the scaled variance, respectively.
The maximum and minimum values for mean temperature and the corresponding mean mixture fraction
and scale variance are also reported in the console.
The 3D look-up tables are reviewed on a slice-by-slice basis. By default, the slice selected corresponds to
the adiabatic enthalpy values. You can also select other slices of constant enthalpy for display.
By default, the file will be saved as formatted (ASCII, or text). To save a binary (unformatted) file, enable
the Write Binary Files option in the Select File dialog box.
1. In the Velocity Inlet dialog box, under the Species tab, enter 1 for Mean Mixture Fraction.
The value of 1 indicates that only pure methane will be entering the fuelinlet boundary.
2. Click OK.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 497
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
14.5.3. Solution
1. Edit the output filename for mass-weighted average of co2 at the outlet.
4. In the Run Calculation task page, retain the settings of 5 for Timescale Factor and 500 for Number of
Iterations and click Calculate.
2. Display filled contours of mean mixture fraction on the surface plane_xz (Figure 14.8: Contours of Mean
Mixture Fraction (p. 499)).
b. From the Contours of drop-down lists, select Pdf... and Mean Mixture Fraction.
c. From the Surfaces selection list, deselect all surfaces and select plane_xz.
h. Click Save/Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
498 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Steady Diffusion Flamelet Model Setup and Solution
3. Display filled contours of CO2 mass fraction in the combustion chamber (Figure 14.9: Contours of CO2 Mass
Fraction (p. 499)).
The steady diffusion flamelet simulation yields a significantly different CO2 mass fraction distribution as
compared to the eddy dissipation model calculation. The lower CO2 concentration at the base of the
flamelet flame is caused by low local temperature in the area, which results in slower combustion. In the
eddy dissipation model, chemical kinetics is ignored, and the reaction is controlled by turbulent mixing
of the materials. In this case, the CO2 concentration is greater near the base of the flame because the
rate of mixing is high in the area (see Figure 14.5: Contours of CO2 Mass Fraction (p. 493)).
4. Display the outlet CO2 concentration profiles for both solutions on a single plot.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 499
vk.com/club152685050 | vk.com/id446425943
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
a. In the File XY Plot dialog box, click the Load... button to open the Select File dialog box.
b. In the Select File dialog box that opens, click once on co2-out-fl-rfile.out and co2-out-rfile.out.
Each of these files will be listed with their folder path in the bottom list to indicate that they have
been selected.
Tip
If you select a file by mistake, simply click the file in the bottom list and then
click Remove.
c. Click OK to save the files and close the Select File dialog box.
e. From the Curve Information selection list, select co2-out-rfile.out | Iteration | co2-out
f. Enter co2-EDM in the lower-right text-entry box under the Legend Names selection list.
The item in the Legend Entries list for co2-out-rfile.out | Iteration | co2-out will be changed to
co2-EDM. This legend entry will be displayed in the upper-left corner of the XY plot generated in a
later step.
h. In a similar manner, change the legend entry for the co2-out-fl-rfile.out | Iteration | co2-out curve to
be co2-Flamelet.
j. Click the Curves... button to open the Curves dialog box, where you will define a different curve
symbol for the CO2 concentration data.
iii. From the Symbol drop-down list, select the "blank" choice, which is the first item in the Symbol
list.
vi. Modify the settings for Pattern and Symbol in a manner similar to that for the previous curve.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
500 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
Despite the model differences, both models predicted similar mass-weighted average mass fractions
of CO2 exiting the combustor during the steady-state. However, the steady diffusion flamelet model
predicts less CO2 exiting the combustor and, due to its more realistic description of combustion kin-
etics, is considered to be more accurate.
You can perform further postprocessing of the solution results as shown in the following video:
14.6. Summary
In this tutorial, you have learned how to model the reacting flow through a can combustor using the
eddy dissipation model and steady diffusion flamelet model in ANSYS Fluent. For more information
about the theory behind these models, see ANSYS Fluent Theory Guide. For details about the usability
of the models, see the ANSYS Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 501
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
502 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
15.1. Introduction
In chemically reacting laminar flows, such as those encountered in chemical vapor deposition (CVD)
applications, accurate modeling of time-dependent hydrodynamics, heat and mass transfer, and
chemical reactions (including wall surface reactions) is important.
In this tutorial, surface reactions are considered. Modeling the reactions taking place at gas-solid interfaces
is complex and involves several elementary physicochemical processes like adsorption of gas-phase
species on the surface, chemical reactions occurring on the surface, and desorption of gases from the
surface back to the gas phase.
• Enable physical models and define boundary conditions for a chemically reacting laminar flow involving
wall surface reactions.
15.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Before beginning with this tutorial, see the Fluent User's Guide for more information about species
transport, chemically reacting flows, wall surface reaction modeling, and chemical vapor deposition. In
particular, you should be familiar with the Arrhenius rate equation, as this equation is used for the
surface reactions modeled in this tutorial.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 503
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
The process gases, Trimethyl Gallium ( ) and Arsine ( ) enter the reactor at 293 K through
the inlet at the top. These gases flow over the hot, spinning disk depositing thin layers of gallium and
arsenide on it in a uniform, repeatable manner. The disk rotation generates a radially pumping effect,
which forces the gases to flow in a laminar manner down to the growth surface, outward across the
disk, and finally to be discharged from the reactor.
The semiconductor materials Ga(s) and As(s) are deposited on the heated surface governed by the fol-
lowing surface reactions.
(15.1)
(15.2)
The inlet gas is a mixture of Trimethyl Gallium, which has a mass fraction of 0.15, and Arsine, which has
a mass fraction of 0.4, the remainder is hydrogen. The mixture velocity at the inlet is 0.02189 m/s. The
disk rotates at 80 rad/sec. The top wall (wall-1) is heated to 473 K and the sidewalls (wall-2) of the reactor
are maintained at 343 K. The susceptor (wall-4) is heated to a uniform temperature of 1023 K and the
bottom wall (wall-6) is at 303 K. These CVD reactors are typically known as cold-wall reactors, where
only the wafer surface is heated to higher temperatures, while the remaining reactor walls are maintained
at low temperatures.
In this tutorial, simultaneous deposition of Ga and As is simulated and examined. The mixture properties
and the mass diffusivity are determined based on kinetic theory. Detailed surface reactions with multiple
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
504 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
sites and site species, and full multi-component/thermal diffusion effects are also included in the simu-
lation.
The purpose of this tutorial is to demonstrate surface reaction capabilities in ANSYS Fluent. Convective
heat transfer is considered to be the dominant mechanism compared to radiative heat transfer, thus
radiation effects are ignored.
15.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the Fluent Launcher, see starting ANSYS Fluent using the Fluent
Launcher in the Fluent Getting Started Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 505
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Ensure
that the reported minimum volume is a positive number.
a. Select cm (centimeters) from the Mesh Was Created In drop-down list in the Scaling group box.
b. Click Scale and verify that the domain extents are as shown in the Scale Mesh dialog box.
The default SI units will be used in this tutorial, hence there is no need to change any units.
Note
It is a good practice to check the mesh after manipulating it (scale, convert to polyhedra,
merge, separate, fuse, add zones, or smooth and swap). This will ensure that the quality
of the mesh has not been compromised.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
506 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Extra
You can use the left mouse button to rotate the image and view it from different angles.
Use the right mouse button to check which zone number corresponds to each boundary.
If you click the right mouse button on one of the boundaries in the graphics window, its
name and type will be printed in the ANSYS Fluent console. This feature is especially
useful when you have several zones of the same type and you want to distinguish between
them quickly. Use the middle mouse button to zoom the image.
Physics → Solver
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 507
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
The Species Model dialog box will expand to show relevant input options.
b. Retain the selection of mixture-template from the Mixture Material drop-down list.
This includes the effect of enthalpy transport due to species diffusion in the energy equation, which
contributes to the energy balance, especially for the case of Lewis numbers far from unity.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
508 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Full Multicomponent Diffusion activates Stefan-Maxwell’s equations and computes the diffusive
fluxes of all species in the mixture to all concentration gradients. The Thermal Diffusion effects cause
heavy molecules to diffuse less rapidly, and light molecules to diffuse more rapidly, toward heated
surfaces.
1. Copy arsenic-trihydride, hydrogen, methyl-radical, and trimethyl-gallium from the ANSYS Fluent material
database to the list of fluid materials and modify their properties.
a. Click Fluent Database... in the Create/Edit Materials dialog box to open the Fluent Database Mater-
ials dialog box.
b. In the Fluent Database Materials dialog box, select fluid from the Material Type drop-down list.
c. From the Fluent Fluid Materials selection list, select arsenic-trihydride (ash3), hydrogen (h2), methyl-
radical (ch3), and trimethyl-gallium (game3) by clicking each species once.
Scroll down the Fluent Fluid Materials list to locate each species.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 509
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
2. Create the site species (Ga_s and As_s) and the solid species (Ga and As).
a. In the Create/Edit Materials dialog box, select air from the Fluent Fluid Materials drop-down list.
e. Click No in the Question dialog box when asked if you want to overwrite air.
The new material ga_s is added to your model and listed under Fluid in the Materials task page
and under the Setup/Materials/Fluid tree branch.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
510 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
f. Create as_s,ga, as following the same procedure as for ga_s and close the Create/Edit Materials
dialog box.
Extra
To enter complex formulae such as Ga(CH3)3 in the text entry box, use ‘<’ and ‘>’ instead
of ‘(’ and ‘ )’, respectively.
b. Click Change/Create.
i. In Properties group box, click the Edit... button to the right of the names drop-down list for Mixture
Species to open the Species dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 511
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
ii. Set the Selected Species from the Available Materials selection list as shown in Table 15.1: Selected
Species (p. 512) .
Selected Species
ash3
game3
ch3
h2
Important
• Ensure that h2 is at the bottom in the Selected Species selection list as shown in
Table 15.1: Selected Species (p. 512). ANSYS Fluent will interpret the last species in the
list as the bulk species.
Note
• To add a particular species to the list, select the required species from the Available
Materials selection list and click Add in the corresponding species selection list (Se-
lected Species, Selected Site Species, or Selected Solid Species). The species will
be added to the end of the relevant list and removed from the Available Materials
list.
• To remove an unwanted species from the selection list, select the species from the
selection list (Selected Species, Selected Site Species, or Selected Solid Species)
and click Remove in the corresponding selection list. The species will be removed
from the list and added to the Available Materials list.
iv. Click Change/Create and close the Creat/Edit Materials dialog box.
Although you enable reactions, you still run a non-reacting flow to produce an initial solution. You will
run a reacting flow in Simulating Reacting Flow (p. 530).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
512 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain the selection of gaas_deposition from the Mixture Material drop-down list.
5. Set the site and solid species and the mixture reactions in a similar manner to the mixture species.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 513
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
a. Click the Edit... button to the right of the names drop-down list for Mixture Species in the Properties
group box.
Specify the Selected Site Species and the Selected Solid Species as shown in Table 15.2: Selected
Site and Solid Species (p. 514).
Once you set the site and solid species, the Species dialog box should look like this:
c. Click the Edit... button to the right of the Reaction drop-down list to open the Reactions dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
514 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Increase the Total Number of Reactions to 2, and define the following reactions using the parameters
in Table 15.3: Reaction Parameters (p. 515) :
(15.3)
(15.4)
Parameter For Equation 15.3 (p. 515) For Equation 15.4 (p. 515)
Reaction ID 1 2 a
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 515
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Parameter For Equation 15.3 (p. 515) For Equation 15.4 (p. 515)
Rate Exponent ash3= 1, ga_s= 1 game3= 1, as_s= 1
Arrhenius Rate PEF= 1e+06, AE= 0, TE= 0.5 b PEF= 1e+12, AE= 0, TE= 0.5
Number of Products 3 3
Species ga, as_s, h2 as, ga_s, ch3
Stoich. Coefficient ga= 1, as_s= 1, h2= 1.5 as= 1, ga_s= 1, ch3= 3
Rate Exponent as_s= 0, h2= 0 ga_s= 0, ch3= 0
a
Set the ID to 2 in order to set the parameters for the second reaction.
b
Here, PEF = Pre-Exponential Factor, AE = Activation Energy, and TE = Temperature Exponent.
e. Click OK to save the data and close the Reactions dialog box.
i. Click the Edit... button to the right of the Mechanism drop-down list to open the Reaction Mech-
anisms dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
516 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
viii.Click the Define... button to the right of site-1 to open the Site Parameters dialog box.
B. Select ga_s as the first site species and enter 0.7 for Initial Site Coverage.
C. Select as_s as the second site species and enter 0.3 for Initial Site Coverage.
g. Retain the default selection of incompressible-ideal-gas from the Density drop-down list.
h. Retain the default selection of mixing-law from the Cp (Specific Heat) drop-down list.
k. Retain the default selection of kinetic-theory from the Mass Diffusivity drop-down list.
l. Retain the default selection of kinetic-theory from the Thermal Diffusion Coefficient drop-down list.
6. Specify the material properties for arsenic-trihydride, hydrogen, methyl-radical, trimethyl-gallium, site
species (Ga_s and As_s), and solid species (Ga and As).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 517
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
a. In the Properties group box, modify the arsenic-trihydride properties as shown in Table 15.4: Properties
of Species (p. 518).
Important
Tip
Scroll down in the Properties group box to see all the parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
518 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. When finished, click Change/Create to update your local copy of the species material.
Note
When you modify the properties of the material local copy, the original copy in Fluent
material database stays intact.
c. In a similar way, modify the properties of trimethyl-gallium (game3), methyl-radical (ch3), and hy-
drogen (h2).
Note
Make sure to click Change/Create each time you modify the properties for the mater-
ial to apply the changes to the local copy.
e. Enter the parameter values for the ga_s species as shown in Table 15.5: Properties of Species (p. 519).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 519
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
f. Modify the material properties for As_s, Ga, and As as shown in Table 15.5: Properties of Species (p. 519).
a. Retain the default selection of Magnitude, Normal to Boundary from the Velocity Specification
Method drop-down list.
b. Retain the default selection of Absolute from the Reference Frame drop-down list.
e. Under the Species tab, set the Species Mass Fractions for ash3 to 0.4, game3 to 0.15, and ch3 to
0.
The mass fraction of hydrogen is 0.45, but there is no need to specify this since it is the last species
in the mixture.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
520 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 521
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
c. Under the Species tab, set the Backflow Species Mass Fractions for ash3 to 0.32, game3 to 0.018,
and ch3 to 0.06.
Since a certain amount of backflow is expected in the flow regions around the rotating shaft,
you should set the realistic backflow species mass fractions to minimize convergence difficulties.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
522 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 523
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
524 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Wall dialog box will expand to wall motion inputs and options.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 525
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
i. Enable Reaction.
ii. Retain the selection of gaas-ald from the Reaction Mechanisms drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
526 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enable Gravity.
The Operating Conditions dialog box can be accessed from the Cell Zone Conditions task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 527
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
528 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Retain the default settings and close the Residual Monitors dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 529
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
a. Retain the default selection of Hybrid Initialization from the Initialization Methods group box.
b. Click Initialize.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
530 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Ensure that Mass Deposition Source is enabled in the Wall Surface Reaction Options group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 531
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
a. Retain the default selection of Mass Flow Rate in the Options group box.
b. Select outlet, velocity-inlet, and wall-4 from the Boundaries selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
532 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
In order to properly assess the mass balance, you must account for the mass deposition on the spinning
disk. Hence you select wall-4 in addition to the inlet and outlet boundaries.
c. Click Compute, examine the values displayed in the Results and Net Results boxes, and close the Flux
Reports dialog box.
The net mass imbalance should be a small fraction (for example, 0.5% or less) of the total flux
through the system. If a significant imbalance occurs, you should decrease your residual tolerances
by at least an order of magnitude and continue iterating.
5. Display contours of surface deposition rate of ga (Figure 15.3: Contours of Surface Deposition Rate of
Ga (p. 534)).
b. Select Species... and Surface Deposition Rate of ga from the Contours of drop-down lists.
Rotate the display with the mouse to obtain the view as shown in (Figure 15.3: Contours of Surface De-
position Rate of Ga (p. 534)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 533
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
534 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Retain the default selection of Mass Flow Rate in the Options group box.
b. Retain the selection of outlet and velocity-inlet and, wall-4 from the Boundaries selection list.
c. Click Compute, examine the values displayed in the Results and Net Results boxes, and close the Flux
Reports dialog box.
Again, the net mass imbalance should be a small fraction (for example, 0.5% or less) of the total
flux through the system.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 535
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Note
If you want to delete or otherwise manipulate any surfaces, click Manage... to open
the Surfaces dialog box.
b. Select Mesh... and Z-Coordinate from the Surface of Constant drop-down lists.
c. Click Compute.
The Min and Max fields display the z-extent of the domain.
2. Display contours of temperature on the plane surface created. (Figure 15.5: Temperature Contours Near
wall-4 (p. 538)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
536 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Temperature... and Static Temperature from the Contours of drop-down lists.
e. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 537
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Figure 15.5: Temperature Contours Near wall-4 (p. 538) shows the temperature distribution across a plane
just above the rotating disk. You can see that the disk has a temperature of 1023 K.
3. Display contours of surface deposition rates of ga (Figure 15.6: Contours of Surface Deposition Rate of
ga (p. 539)).
a. Select Species... and Surface Deposition Rate of ga from the Contours of drop-down lists.
d. Click Display.
You may need to use the left mouse button to rotate the image so that you can see the contours on the
top side of wall-4 where the deposition takes place.
Figure 15.6: Contours of Surface Deposition Rate of ga (p. 539) shows the gradient of surface deposition
rate of ga. The maximum deposition is seen at the center of the disk.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
538 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Display contours of surface coverage of ga_s (Figure 15.7: Contours of Surface Coverage of ga_s (p. 539)).
a. Select Species... and Surface Coverage of ga_s from the Contours of drop-down lists.
Figure 15.7: Contours of Surface Coverage of ga_s (p. 539) shows the rate of surface coverage of the site
species ga_s.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 539
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
a. Enter the values for x0, x1, y0, y1, z0, and z1 as follows:
You can also select the points by clicking Select Points with Mouse. Then, in the graphic display,
click at the center of wall-4 and at the edge using the right mouse button.
b. Click Create to accept the default name of line-9 for the New Surface Name.
Note
If you want to delete or otherwise manipulate any surfaces, click Manage... to open
the Surfaces dialog box
6. Plot the surface deposition rate of Ga versus radial distance (Figure 15.8: Plot of Surface Deposition Rate
of Ga (p. 542)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
540 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Species... and Surface Deposition Rate of ga from the Y Axis Function drop-down lists.
The source/sink terms due to the surface reaction are deposited in the cell adjacent to the wall cells,
so it is necessary to plot the cell values and not the node values.
c. Select line-9 you just created from the Surfaces selection list.
The peak surface deposition rate occurs at the center of wall-4 (where the concentration of the mixture
is highest).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 541
vk.com/club152685050 | vk.com/id446425943
Modeling Surface Chemistry
Extra
You can also perform all the postprocessing steps to analyze the deposition of As.
15.5. Summary
The main focus of this tutorial is the accurate modeling of macroscopic gas flow, heat and mass transfer,
species diffusion, and chemical reactions (including surface reactions) in a rotating disk CVD reactor. In
this tutorial, you learned how to use the two-step surface reactions involving site species, and computed
simultaneous deposition of gallium and arsenide from a mixture of precursor gases on a rotating sus-
ceptor. Note that the same approach is valid if you are simulating multi-step reactions with multiple
sites/site species.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
542 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
16.1. Introduction
In this tutorial, the air-blast atomizer model in ANSYS Fluent is used to predict the behavior of an
evaporating methanol spray. Initially, the air flow is modeled without droplets. To predict the behavior
of the spray, the discrete phase model is used, including a secondary model for breakup.
16.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 543
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
16.4.1. Preparation
To prepare for running this tutorial:
4. Use the ANSYS Fluent Launcher to start the 3D version of ANSYS Fluent.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
544 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the ANSYS Fluent Launcher, see starting ANSYS Fluent using the Fluent
Launcher in the Fluent Getting Started Guide.
16.4.2. Mesh
1. Read in the mesh file sector.msh.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 545
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
ANSYS Fluent will perform various checks on the mesh and report the progress in the console. Ensure
that the reported minimum volume is a positive number.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
546 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select only atomizer-wall, central_air, and swirling_air from the Surfaces selection list.
Tip
To deselect all surfaces click the far-right button at the top of the Surfaces se-
lection list, and then select the desired surfaces from the Surfaces selection list.
c. Click the Colors... button to open the Mesh Colors dialog box.
The graphics display will be updated to show the mesh. Zoom in with the mouse to obtain the view
shown in Figure 16.2: Air-Blast Atomizer Mesh Display (p. 548).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 547
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
16.4.3. Solver
Retain the default solver settings of pressure-based steady-state solver in the Solver group of the
Physics tab.
Physics → Solver
16.4.4. Models
1. Enable heat transfer by enabling the energy equation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
548 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Realizable - model gives a more accurate prediction of the spreading rate of both planar and
round jets than the standard - model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 549
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
c. Retain the default selection of Standard Wall Functions in the Near-Wall Treatment list.
The Mixture Material list contains the set of chemical mixtures that exist in the ANSYS Fluent database.
When selecting an appropriate mixture for your case, you can review the constituent species and the
reactions of the predefined mixture by clicking View... next to the Mixture Material drop-down list.
The chemical species and their physical and thermodynamic properties are defined by the selection
of the mixture material. After enabling the Species Transport model, you can alter the mixture ma-
terial selection or modify the mixture material properties using the Create/Edit Materials dialog
box. You will modify your local copy of the mixture material later in this tutorial.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
550 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
16.4.5. Materials
Define materials using the Materials task page.
Setup → Materials
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 551
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
1. Remove water vapor and carbon dioxide from the Mixture Species list.
a. Click the Edit button next to the Mixture Species drop-down list to open the Species dialog box.
i. Select carbon dioxide (co2) from the Selected Species selection list.
ii. Click Remove to remove carbon dioxide from the Selected Species list.
iii. In a similar manner, remove water vapor (h2o) from the Selected Species list.
Note
It is good practice to click the Change/Create button whenever changes are made
to material properties even though it is not necessary in this case.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
552 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1. Set the boundary conditions for the inner air stream (central_air).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 553
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
e. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
h. Click the Thermal tab and enter 293 K for Total Temperature.
i. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
2. Set the boundary conditions for the air stream surrounding the atomizer (co-flow-air).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
554 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
f. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 555
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
a. Select From Neighboring Cell from the Backflow Direction Specification Method drop-down list.
b. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list.
e. Click the Thermal tab and enter 293 K for Backflow Total Temperature.
f. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
4. Set the boundary conditions for the swirling annular stream (swirling_air).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
556 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select Magnitude and Direction from the Velocity Specification Method drop-down list.
c. Select Cylindrical (Radial, Tangential, Axial) from the Coordinate System drop-down list.
g. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
k. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 557
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
5. Set the boundary conditions for the outer wall of the atomizer (outer-wall).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
558 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 559
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
560 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Solution → Initialization
Note
For flows in complex topologies, hybrid initialization will provide better initial velocity
and pressure fields than standard initialization. This will help to improve the convergence
behavior of the solver.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 561
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
a. Select User Specified from the Time Step Method group box.
d. Click Calculate.
Note
ANSYS Fluent will ask you to confirm that the previous case file is to be overwritten.
8. Create a clip plane to examine the flow field at the midpoint of the atomizer section.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
562 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select Mesh... and Angular Coordinate from the Surface of Constant drop-down lists.
c. Click Compute to obtain the minimum and maximum values of the angular coordinate.
9. Review the current state of the solution by examining contours of velocity magnitude (Figure 16.4: Velocity
Magnitude at Mid-Point of Atomizer Section (p. 565)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 563
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
b. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
f. Use the mouse to obtain the view shown in Figure 16.4: Velocity Magnitude at Mid-Point of Atomizer
Section (p. 565).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
564 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Periodic Repeats Define... button to open the Graphics Periodicity dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 565
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
iv. Click Set and close the Graphics Periodicity dialog box.
11. Display pathlines of the air in the swirling annular stream (Figure 16.5: Pathlines of Air in the Swirling An-
nular Stream (p. 568)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
566 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Release from Surfaces filter, type s to display the surface names that begin with s and select
swirling_air from the selection list.
e. Use the mouse to obtain the view shown in Figure 16.5: Pathlines of Air in the Swirling Annular
Stream (p. 568).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 567
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
568 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
This will include the effects of the discrete phase trajectories on the continuous phase.
c. Select Mean Values in the Contour Plots for DPM Variables group box.
This will make the cell-averaged variables available for postprocessing activities.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 569
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
d. Select the Unsteady Particle Tracking option in the Particle Treatment group box.
g. Under the Physical Models tab, select the Temperature Dependent Latent Heat and Breakup (Options
group).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
570 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
h. Under the Numerics tab, select Linearize Source Terms (Source Terms group).
Enabling this option will allow you to run the simulation with more aggressive setting for the
Discrete Phase Sources under-relaxation factor to speed up the solution convergence.
An Information dialog box appears indicating that the Max. Number of Steps has been changed
from 50000 to 500. Click OK in the Information dialog box to continue.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 571
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
k. In the Set Injection Properties dialog box, select air-blast-atomizer from the Injection Type drop-
down list.
This option controls the number of droplet parcels that are introduced into the domain at every time
step.
o. In the Point Properties tab, specify point properties for particle injections.
iii. Retain the default values of 0, 0, and 1 for X-Axis, Y-Axis, and Z-Axis, respectively.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
572 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
This is the methanol flow rate for a 30-degree section of the atomizer. The actual atomizer flow
rate is 12 times this value.
vi. Retain the default Start Time of 0 s and enter 100 s for the Stop Time.
For this problem, the injection should begin at and not stop until long after the time period
of interest. A large value for the stop time (for example, 100 s) will ensure that the injection will
essentially never stop.
vii. Enter 0.0035 m for the Injector Inner Diameter and 0.0045 m for the Injector Outer Diameter.
The spray angle is the angle between the liquid sheet trajectory and the injector centerline.
The relative velocity is the expected relative velocity between the atomizing air and the liquid
sheet.
x. Retain the default Azimuthal Start Angle of 0 degrees and enter 30 degrees for the Azimuthal
Stop Angle.
This will restrict the injection to the 30-degree section of the atomizer that is being modeled.
p. In the Physical Models tab, specify the breakup model and drag parameters.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 573
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
i. In the Breakup group, ensure that Enable Breakup is selected and TAB is selected from the
Breakup Model drop-down list.
ii. Retain the default values of 0 for y0 and 2 for Breakup Parcels.
iii. In the Drag Parameters group box, select dynamic-drag from the Drag Law drop-down list.
The dynamic-drag law is available only when the Breakup model is used.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
574 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Enable Discrete Random Walk Model and Random Eddy Lifetime in the Stochastic Tracking
group box.
These models will account for the turbulent dispersion of the droplets.
Note
To modify the existing injection, select its name in the Injections list and click
Set..., or simply double-click the injection of interest.
Note
In the case that the spray injection would be striking a wall, you should specify the
wall boundary conditions for the droplets. Though this tutorial does have wall zones,
they are a part of the atomizer apparatus. You need not change the wall boundary
conditions any further because these walls are not in the path of the spray droplets.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 575
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
When secondary atomization models (such as Breakup) are used, several droplet properties need to be
specified.
c. Ensure that piecewise-linear is selected from the Saturation Vapor Pressure drop-down list.
d. Click the Edit... button next to Saturation Vapor Pressure to open the Piecewise-Linear Profile dialog
box.
e. Retain the default values and click OK to close the Piecewise-Linear Profile dialog box.
h. Click Change/Create to accept the change in properties for the methanol droplet material and close
the Create/Edit Materials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
576 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
16.4.9. Solution
1. Increase the under-relaxation factor for Discrete Phase Sources.
In the Pseudo Transient Explicit Relaxation Factors group box, change the under-relaxation factor
for Discrete Phase Sources to 0.9.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 577
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
578 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. In the Create group box, enable Report Plot and Print to Console.
c. Select Species... and Mass fraction of ch3oh from the Field Variable drop-down lists.
e. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
Fluent automatically generates the ch3oh_outlet-rplot report plot under the Solution/Monit-
ors/Report Plots tree branch.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 579
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
b. In the Create group box, enable Report Plot and Print to Console.
c. Select Discrete Phase Sources... and DPM Mass Source from the Field Variable drop-down lists.
e. Click OK to save the volume report definition settings and close the Volume Report Definition dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
580 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. In the Plot Window group box, click the Axes... button to open the Axes dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 581
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
5. Create a DPM report definition for tracking the total mass present in the domain.
b. In the Create group box, enable Report Plot and Print to Console.
e. Click OK to save the volume report definition settings and close the DPM Report Definition dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
582 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
f. Modify the attributes of the dpm-mass-in-domain-rplot report plot axes (in a manner similar to that
for the dpm-mass-source-rplot plot).
i. In the Plot Window group box, click the Axes... button to open the Axes dialog box.
6. Create a DPM report definition for tracking the mass of the evaporated particles.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 583
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
b. In the Create group box, enable Report Plot and Print to Console.
d. Ensure that the Show Mass Flow / Change Rate option is selected.
e. Click OK to save the volume report definition settings and close the DPM Report Definition dialog
box.
f. Modify the attributes of the dpm-evaporated-mass-rplot report plot axes in a manner similar to that
for the dpm-mass-source-rplot plot.
7. Request 300 more iterations (Figure 16.6: Convergence History of Mass Fraction of ch3oh on Fluid (p. 585),
Figure 16.7: Convergence History of DPM Mass Source on Fluid (p. 585), Figure 16.8: Convergence History
of Total Mass in Domain (p. 586), and Figure 16.9: Convergence History of Evaporated Particle Mass (p. 586)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
584 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
It can be concluded that the solution is converged because the number of particle tracks are constant
and the flow variable plots are flat.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 585
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
16.4.10. Postprocessing
1. Display the trajectories of the droplets in the spray injection (Figure 16.10: Particle Tracks for the Spray In-
jection (p. 588)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
586 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain the default selection of point from the Track Style drop-down list.
c. Select Particle Variables... and Particle Diameter from the Color by drop-down lists.
This will display the location of the droplets colored by their diameters.
e. Click Display. As an optional exercise, you can increase the particle size by clicking the Attributes... button
in the Particle Tracks dialog box and adjusting the Marker Size value in the Track Style Attributes dialog
box.
g. Restore the 30–degree section to obtain the view as shown in Figure 16.10: Particle Tracks for the Spray
Injection (p. 588).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 587
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
i. Click the Define... button to open the Graphics Periodicity dialog box.
ii. Click Reset and close the Graphics Periodicity dialog box.
h. Use the mouse to obtain the view shown in Figure 16.10: Particle Tracks for the Spray Injection (p. 588).
The air-blast atomizer model assumes that a cylindrical liquid sheet exits the atomizer, which then disin-
tegrates into ligaments and droplets. Appropriately, the model determines that the droplets should be
input into the domain in a ring. The radius of this disk is determined from the inner and outer radii of
the injector.
Note
The maximum diameter of the droplets is about 4.9x10–5 m or 0.49 mm, which is simililar
to the film height. The inner diameter and outer diameter of the injector are 3.5 mm and
4.5 mm, respectively. Hence the film height is 0.5 mm. The range in the droplet sizes is
due to the fact that the air-blast atomizer automatically uses a distribution of droplet
sizes.
Also note that the droplets are placed a slight distance away from the injector. Once the
droplets are injected into the domain, their behavior will be determined by secondary
models. For instance, they may collide/coalesce with other droplets depending on the
secondary models employed. However, once a droplet has been introduced into the do-
main, the air-blast atomizer model no longer affects the droplet.
2. Display the mean particle temperature field (Figure 16.11: Contours of DPM Temperature (p. 590)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
588 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Select Discrete Phase Variables... and DPM Temperature from the Contours of drop-down lists.
i. Use the mouse to obtain the view shown in Figure 16.11: Contours of DPM Temperature (p. 590).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 589
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
3. Display the mean Sauter diameter (Figure 16.12: Contours of DPM Sauter Diameter (p. 590)).
b. Select Discrete Phase Variables... and DPM D32 from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
590 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Display vectors of DPM mean velocity colored by DPM velocity magnitude (Figure 16.13: Vectors of DPM
Mean Velocity Colored by DPM Velocity Magnitude (p. 592)).
b. Select Discrete Phase Variables... and DPM Velocity Magnitude from the Color by drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 591
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
Figure 16.13: Vectors of DPM Mean Velocity Colored by DPM Velocity Magnitude
b. Select Species... and Mass fraction of ch3oh from the Surface of Constant drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
592 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click the Colors... button to open the Mesh Colors dialog box.
i. Select surface in the Types list and green in the Colors list.
Scroll down the Types list to locate surface. The isosurface will now be displayed in green, which
contrasts better with the rest of the mesh.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 593
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
ii. Ensure that Rotational is selected from the Periodic Type list and the Number of Repeats is set
to 12.
iii. Click Set and close the Graphics Periodicity dialog box.
d. Use the mouse to obtain the view shown in Figure 16.14: Full Atomizer Display with Surface of Constant
Methanol Mass Fraction (p. 595).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
594 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 16.14: Full Atomizer Display with Surface of Constant Methanol Mass Fraction
e. This view can be improved to resemble Figure 16.15: Atomizer Display with Surface of Constant Meth-
anol Mass Fraction Enhanced (p. 596) by changing some of the following variables:
• Select only atomizer-wall and methanol-mf=0.002 in the Surfaces list of the Mesh Display
dialog box
• Enable Lighting and change it to Flat in the View tab (Display group)
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 595
vk.com/club152685050 | vk.com/id446425943
Modeling Evaporating Liquid Spray
Figure 16.15: Atomizer Display with Surface of Constant Methanol Mass Fraction Enhanced
16.5. Summary
In this tutorial, a spray injection was defined for an air-blast atomizer and the solution was calculated
using the discrete phase model in ANSYS Fluent. The location of methanol droplet particles after exiting
the atomizer and an isosurface of the methanol mass fraction were examined.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
596 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
17.1. Introduction
This tutorial examines the flow of ink as it is ejected from the nozzle of a printhead in an inkjet printer.
Using ANSYS Fluent’s volume of fluid (VOF) multiphase modeling capability, you will be able to predict
the shape and motion of the resulting droplets in an air chamber.
• Set up and solve a transient problem using the pressure-based solver and VOF model.
• Examine the flow and interface of the two fluids using volume fraction contours.
17.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 597
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
• At time zero, the nozzle is filled with ink, while the rest of the domain is filled with air. Both fluids are assumed
to be at rest. To initiate the ejection, the ink velocity at the inlet boundary (which is modeled in this simulation
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
598 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
by a user-defined function) suddenly increases from 0 to 3.58 m/s and then decreases according to a cosine
law.
The calculation is run for 30 microseconds overall, that is, three times longer than the duration of the
initial impulse.
Because the dimensions are small, the double-precision version of ANSYS Fluent will be used. Air will
be designated as the primary phase, and ink (which will be modeled with the properties of liquid water)
will be designated as the secondary phase. Patching will be required to fill the ink chamber with the
secondary phase. Gravity will not be included in the simulation. To capture the capillary effect of the
ejected ink, the surface tension and prescription of the wetting angle will be specified. The surface inside
the nozzle will be modeled as neutrally wettable, while the surface surrounding the nozzle orifice will
be non-wettable.
17.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
6. Enable Double-Precision.
Note
The double precision solver is recommended for modeling multiphase flows simulation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 599
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
A warning message will be displayed twice in the console. You need not take any action at this point,
as the issue will be resolved when you define the solver settings in General Settings (p. 604).
2. Examine the mesh (Figure 17.2: Default Display of the Nozzle Mesh (p. 600)).
Tip
By zooming in with the middle mouse button, you can see that the interior of the model
is composed of a fine mesh of quadrilateral cells (see Figure 17.3: The Quadrilateral
Mesh (p. 601)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
600 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 601
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
a. Ensure that All is selected from the Animation Option drop-down list.
Selecting All will allow you to see the movement of the entire mesh as you manipulate the Camera
view in the next step.
c. Click Apply.
d. Click the Camera... button to open the Camera Parameters dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
602 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You may notice that the scale of the dimensions in the Camera Parameters dialog
box appear very large given the problem dimensions. This is because you have not
yet scaled the mesh to the correct units. You will do this in a later step.
i. Drag the indicator of the dial with the left mouse button in the clockwise direction until the upright
view is displayed (Figure 17.4: Mesh Display of the Nozzle Mirrored and Upright (p. 604)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 603
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
ANSYS Fluent will perform various checks on the mesh and report the progress in the console. Make sure
that the reported minimum volume is a positive number.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
604 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click the Fit to Window icon, , to center the graphic in the window.
Note
It is a good idea to check the mesh after you manipulate it (that is, scale, convert to
polyhedra, merge, separate, fuse, add zones, or smooth and swap.) This will ensure that
the quality of the mesh has not been compromised.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 605
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
6. Retain the default setting of Pressure-Based in the Solver group box of the Physics ribbon tab.
Physics → Solver
8. Select Axisymmetric from the drop-down list in the Solver group box.
17.4.4. Models
1. Enable the Volume of Fluid multiphase model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
606 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain the default settings and click OK to close the Multiphase Model dialog box.
17.4.5. Materials
The default properties of air and water defined in ANSYS Fluent are suitable for this problem. In this step,
you will make sure that both materials are available for selection in later steps.
1. Add water to the list of fluid materials by copying it from the ANSYS Fluent materials database.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 607
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
a. Click Fluent Database... in the Create/Edit Materials dialog box to open the Fluent Database Mater-
ials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
608 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Select water-liquid (h2o < l >) from the Fluent Fluid Materials selection list.
Scroll down the Fluent Fluid Materials list to locate water-liquid (h2o < l >).
ii. Click Copy to copy the information for water to your list of fluid materials.
17.4.6. Phases
In the following steps, you will define water as the secondary phase. When you define the initial solution,
you will patch water in the nozzle region. In general, you can specify the primary and secondary phases
whichever way you prefer. It is a good idea to consider how your choice will affect the ease of problem setup,
especially with more complicated problems.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 609
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
In the Phases dialog box, select phase 1 – Primary Phase and click Edit... to open the Primary
Phase dialog box.
b. Retain the default selection of air in the Phase Material drop-down list.
In the Phases dialog box, select phase 2 – Secondary Phase and click Edit... to open the Secondary
Phase dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
610 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
In the Phases dialog box, click Interaction... to open the Phase Interaction dialog box.
The surface tension inputs is displayed and the Continuum Surface Force model is set as the default.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 611
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
You will set the Reference Pressure Location to be a point where the fluid will always be 100 air.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
612 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
If the UDF source file is not in your working directory, then you must enter the entire directory path
for Source File Name instead of just entering the file name. Alternatively, click the Browse... button
and select inlet1.c in the vof directory that was created after you unzipped the original file.
b. Click Interpret.
The UDF defined in inlet1.c is now visible and available for selection as udf membrane_speed in the
drop-down lists of relevant graphical user interface dialog boxes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 613
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
2. Set the boundary conditions at the inlet (inlet) for the secondary phase by selecting water-liquid from
the Phase drop-down list in the Boundary Conditions task page.
a. Click the Multiphase tab and enter 1 for the Volume Fraction.
3. Set the boundary conditions at the outlet (outlet) for the secondary phase by selecting water-liquid from
the Phase drop-down list in the Boundary Conditions task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
614 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Multiphase tab and retain the default setting of 0 for the Backflow Volume Fraction.
4. Set the conditions at the top wall of the air chamber (wall_no_wet) for the mixture by selecting mixture
from the Phase drop-down list in the Boundary Conditions task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 615
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
Note
This angle affects the dynamics of droplet formation. You can repeat this simulation
to find out how the result changes when the wall is hydrophilic (that is, using a small
contact angle, say 10 degrees).
5. Set the conditions at the side wall of the ink chamber (wall_wet) for the mixture.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
616 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
17.4.10. Solution
1. Set the solution methods.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 617
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
The non-iterative time advancement (NITA) scheme is often advantageous compared to the iterative
schemes as it is less CPU intensive. Although smaller time steps must be used with NITA compared
to the iterative schemes, the total CPU expense is often smaller. If the NITA scheme leads to convergence
difficulties, then the iterative schemes (for example, PISO, SIMPLE) should be used instead.
b. Select Fractional Step from the Scheme drop-down list in the Pressure-Velocity Coupling group
box.
c. Retain the default selection of Least Squares Cell Based from the Gradient drop-down list in the
Spatial Discretization group box.
d. Retain the default selection of PRESTO! from the Pressure drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
618 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 619
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
a. Retain the default settings for all the parameters and click Initialize (either in the ribbon or in the
Solution Initialization task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
620 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 621
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
a. Enter a setting of 0 mm for X Min and Y Min in the Input Coordinates group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
622 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Ensure that time-step is selected from the Append File Name with drop-down list.
ANSYS Fluent will append the time step value to the file name prefix (inkjet). The standard .dat
extension will also be appended. This will yield file names of the form inkjet-1-00200.dat,
where 200 is the time step number.
Optionally, you can add the extension .gz to the end of the file name (for example, inkjet.gz),
which instructs ANSYS Fluent to save the data files in a compressed format, yielding file names of the
form inkjet-1-00200.dat.gz.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 623
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
Note
Small time steps are required to capture the oscillation of the droplet interface and
the associated high velocities. Failure to use sufficiently small time steps may cause
differences in the results between platforms.
c. Click Calculate.
17.4.11. Postprocessing
1. Read the data file for the solution after 6 microseconds (inkjet-1-00600.dat.gz).
2. Create and display a filled contour of water volume fraction after 6 microseconds (Figure 17.5: Contours
of Water Volume Fraction After 6 μs (p. 626)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
624 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Select Phases... and Volume fraction from the Contours of drop-down lists.
e. Click Save/Display.
Tip
In order to display the contour plot in the graphics window, you may need to click the
3. Display contours of water volume fraction after 6, 12, 18, 24, and 30 microseconds (Figure 17.6: Contours
of Water Volume Fraction After 12 μs (p. 626) — Figure 17.9: Contours of Water Volume Fraction After 30
μs (p. 628)).
a. Read the data file for the solution after 6 microseconds (inkjet-1-0600.dat.gz).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 625
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
c. Repeat these steps for the 12, 18, 24, and 30 microseconds files.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
626 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 627
vk.com/club152685050
Using the VOF Model | vk.com/id446425943
17.5. Summary
This tutorial demonstrated the application of the volume of fluid method with surface tension effects.
The problem involved the 2D axisymmetric modeling of a transient liquid-gas interface, and postpro-
cessing showed how the position and shape of the surface between the two immiscible fluids changed
over time.
For additional details about VOF multiphase flow modeling, see the Fluent Theory Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
628 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
18.1. Introduction
This tutorial examines the pressure-driven cavitating flow of water through a sharp-edged orifice. This
is a typical configuration in fuel injectors, and brings a challenge to the physics and numerics of cavit-
ation models because of the high pressure differentials involved and the high ratio of liquid to vapor
density. Using the multiphase modeling capability of ANSYS Fluent, you will be able to predict the
strong cavitation near the orifice after flow separation at a sharp edge.
18.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 629
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
18.4.1. Preparation
To prepare for running this tutorial:
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher
in the Fluent Getting Started Guide.
Note
The double precision solver is recommended for modeling multiphase flows simulation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
630 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Examine the mesh (Figure 18.2: The Mesh in the Orifice (p. 632)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 631
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
As seen in Figure 18.2: The Mesh in the Orifice (p. 632), half of the problem geometry is modeled, with an
axis boundary (consisting of two separate lines) at the centerline. The quadrilateral mesh is slightly graded
in the plenum to be finer toward the orifice. In the orifice, the mesh is uniform with aspect ratios close
to , as the flow is expected to exhibit two-dimensional gradients.
When you display data graphically in a later step, you will mirror the view across the centerline to obtain
a more realistic view of the model.
Since the bubbles are small and the flow is high speed, gravity effects can be neglected and the problem
can be reduced to axisymmetrical. If gravity could not be neglected and the direction of gravity were not
coincident with the geometrical axis of symmetry, you would have to solve a 3D problem.
Setup → General
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
632 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
18.4.4. Models
1. Enable the multiphase mixture model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 633
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
In this flow, the high level of turbulence does not allow large bubble growth, so gravity is not important.
It is also assumed that the bubbles have same velocity as the liquid. Therefore, there is no need to
solve for the slip velocity.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
634 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Retain the default of Standard Wall Functions in the Near-Wall Treatment list.
18.4.5. Materials
For the purposes of this tutorial, you will be modeling the liquid and vapor phases as incompressible.
Note that more comprehensive models are available for the densities of these phases, and could be
used to more fully capture the affects of the pressure changes in this problem.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 635
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
d. Click Change/Create.
A Question dialog box will open, asking if you want to overwrite air. Click Yes.
2. Copy water vapor from the materials database and modify the properties of your local copy.
a. In the Create/Edit Materials dialog box, click the Fluent Database... button to open the Fluent
Database Materials dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
636 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Select water-vapor (h2o) from the Fluent Fluid Materials selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 637
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
18.4.6. Phases
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
638 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Phases dialog box, select phase 1 – Primary Phase and click Edit... to open the Primary Phase
dialog box.
c. Retain the default selection of water from the Phase Material drop-down list.
a. In the Phases dialog box, select phase 2 – Secondary Phase and click Edit... to open the Secondary
Phase dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 639
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
a. In the Phases dialog box, click Interaction... to open the Phase Interaction dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
640 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Ensure that liquid is selected from the From Phase drop-down list in the Mass Transfer group box.
The Cavitation Model dialog box will open to show the cavitation inputs.
The vaporization pressure is a property of the working liquid, which depends mainly on the tem-
perature and pressure. The default value is the vaporization pressure of water at 1 atmosphere
and a temperature of 300 K.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 641
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
1. Set the boundary conditions at inlet_1 for the mixture. Ensure that mixture is selected from the Phase
drop-down list in the Boundary Conditions task page.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
642 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
If you choose to initialize the solution based on the pressure-inlet conditions, the Supersonic/Initial
Gauge Pressure will be used in conjunction with the specified stagnation pressure (the Gauge Total
Pressure) to compute initial values according to the isentropic relations (for compressible flow) or
Bernoulli’s equation (for incompressible flow). Otherwise, in an incompressible flow calculation, ANSYS
Fluent will ignore the Supersonic/Initial Gauge Pressure input.
c. Retain the default selection of Normal to Boundary from the Direction Specification Method drop-
down list.
d. Select K and Epsilon from the Specification Method drop-down list in the Turbulence group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 643
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
i. In the Multiphase tab, retain the default value of 0 for Volume Fraction.
3. Copy the boundary conditions defined for the first pressure inlet zone (inlet_1) to the second pressure
inlet zone (inlet_2).
A Question dialog box will open, asking if you want to copy inlet_1 boundary conditions to in-
let_2. Click OK.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
644 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Select K and Epsilon from the Specification Method drop-down list in the Turbulence group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 645
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
i. In the Multiphase tab, retain the default value of 0 for Backflow Volume Fraction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
646 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
18.4.9. Solution
1. Set the solution parameters.
a. Select Coupled from the Scheme drop-down list in the Pressure-Velocity Coupling group box.
b. Retain the selection of PRESTO! from the Pressure drop-down list in the Spatial Discretization group
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 647
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
d. Retain First Order Upwind for Turbulent Kinetic Energy and Turbulent Dissipation Rate.
The relaxation of high order terms will help to improve the solution behavior of flow simulations
when higher order spatial discretizations are used (higher than first).
a. Set the pseudo transient explicit relaxation factor for Volume Fraction to 0.3.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
648 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enter 1e-05 for the Absolute Criteria of continuity, x-velocity, y-velocity, k, and epsilon.
Decreasing the criteria for these residuals will improve the accuracy of the solution.
Solution → Initialization
a. Retain the default selection of Hybrid from the Initialization group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 649
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
c. Enable Use Specified Initial Pressure on Inlets in the Initialization Options group box. The velocity
will now be initialized to the Initial Gauge Pressure value that you set in the Pressure Inlet boundary
condition dialog box. For more information on initialization options, see hybrid initialization in the
Fluent User's Guide.
Note
For flows in complex topologies, hybrid initialization will provide better initial velocity
and pressure fields than standard initialization. This will help to improve the conver-
gence behavior of the solver.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
650 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click Calculate.
18.4.10. Postprocessing
1. Create and plot a definition of pressure contours in the orifice (Figure 18.3: Contours of Static Pres-
sure (p. 653)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 651
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
d. Retain the default selection of Pressure... and Static Pressure from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
652 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note the dramatic pressure drop at the flow restriction in Figure 18.3: Contours of Static Pressure (p. 653).
Low static pressure is the major factor causing cavitation. Additionally, turbulence contributes to cavitation
due to the effect of pressure fluctuation (Figure 18.4: Mirrored View of Contours of Static Pressure (p. 654))
and turbulent diffusion (Figure 18.5: Contours of Turbulent Kinetic Energy (p. 654)).
2. Mirror the display across the centerline (Figure 18.4: Mirrored View of Contours of Static Pressure (p. 654)).
Mirroring the display across the centerline gives a more realistic view.
a. Select symm_2 and symm_1 from the Mirror Planes selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 653
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
3. Create and plot a contour definition of the turbulent kinetic energy (Figure 18.5: Contours of Turbulent
Kinetic Energy (p. 654)).
d. Select Turbulence... and Turbulent Kinetic Energy(k) from the Contours of drop-down lists.
e. Click Save/Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
654 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
In this example, the mesh used is fairly coarse. However, in cavitating flows the pressure distribution is
the dominant factor, and is not very sensitive to mesh size.
4. Create and plot a contour definition of the volume fraction of water vapor (Figure 18.6: Contours of Vapor
Volume Fraction (p. 655)).
d. Select Phases... and Volume fraction from the Contours of drop-down lists.
The high turbulent kinetic energy region near the neck of the orifice in Figure 18.5: Contours of Turbulent
Kinetic Energy (p. 654) coincides with the highest volume fraction of vapor in Figure 18.6: Contours of
Vapor Volume Fraction (p. 655). This indicates the correct prediction of a localized high phase change
rate. The vapor then gets convected downstream by the main flow.
18.5. Summary
This tutorial demonstrated how to set up and resolve a strongly cavitating pressure-driven flow through
an orifice, using multiphase mixture model of ANSYS Fluent with cavitation effects. You learned how
to set the boundary conditions for an internal flow. A steady-state solution was calculated to simulate
the formation of vapor in the neck of the flow after the section restriction at the orifice. A more compu-
tationally intensive transient calculation is necessary to accurately simulate the irregular cyclic process
of bubble formation, growth, filling by water jet re-entry, and break-off.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 655
vk.com/club152685050
Modeling Cavitation | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
656 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
19.1. Introduction
This tutorial examines a turbulent two-phase flow consisting of air sparged into a water-filled mixing
lab reactor. You will use the Eulerian multiphase model to simulate the mixing tank processes since the
air and water phases are not in equilibrium throughout the simulation.
• Use a degassing outlet boundary condition to enable only air, but not water, to escape from the boundary.
• Calculate a solution using the multiphase coupled solver with the Eulerian model.
19.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorial Fluid
Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are familiar with
the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure will not
be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 657
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
The geometry consists of a mixing vessel, four baffles along the vessel wall, a ring sparger, a pitch blade
turbine, a Rushton blade turbine, and a rotating vertical shaft. There is no water flow into or out of the
vessel. Air is injected into the tank at the bottom through the ring sparger at a speed of 0.05 m/s. Small
inlet holes in the sparger ring are ignored, and the air inlet is modeled as a uniform circular strip. The
air mixes with water, producing small bubbles. The Rushton blade turbine agitates the air-water mixture,
evenly distributing the air bubbles. The pitch blade turbine performs dispersion and pumping operations.
Both impellers rotate at 450 rpm in the counterclockwise direction about the Z axis (as viewed from
the top). Dispersed gas bubbles can escape through the top water surface, which is open to the ambient
air. This model can be used as a reasonable representation of the initial conditions in a real mixing tank.
19.4.1. Preparation
To prepare for running this tutorial:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
658 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Use Fluent Launcher to enable Double Precision and start the 3D version of Fluent.
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the Fluent Launcher, see starting Fluent using the Fluent Launcher in
the Fluent Getting Started Guide.
19.4.2. Mesh
1. Read the mesh file mixing_tank.msh.
As Fluent reads the mesh file, it will report the progress in the console.
A warning message will be displayed that the degassing boundary condition type is not compatible with
currently enabled models. You will resolve this issue when you enable the Eulerian multiphase model in
a subsequent step.
Fluent will perform various checks on the mesh and will report the progress in the console. Make sure
that the reported minimum volume is a positive number.
a. In the Options group, clear the Faces option and select the Edges option.
b. In the Mesh Display dialog box, select wall_liquid_level, gas-inlet, and Wall (to select all walls) in the
Surfaces selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 659
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
4. Examine the mesh (Figure 19.2: Mesh Display of the Mixing Tank (p. 660)).
Extra
You can use the right mouse button to check which zone number corresponds to each
boundary. If you click the right mouse button on one of the boundaries in the graphics
window, its zone number, name, and type will be printed in the ANSYS Fluent console.
This feature is especially useful when you have several zones of the same type and you
want to distinguish between them quickly.
Physics → Solver
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
660 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Operating Conditions dialog box, enable Gravity to account for gravitational forces.
b. In the Gravitational Acceleration group box, enter -9.81 m/s2 for the Gravitational Acceleration
in the Z direction.
For this simulation, you will model air as an incompressible fluid with a density of 1.225 kg/m3, which
is a default value.
Note
For multiphase flows, the operating density should be set to the density of the least
dense phase.
19.4.4. Models
1. Enable the Eulerian mulptiphase model.
Since you will use the default settings for the Eulerian model, you can enable it directly from the tree by
right-clicking the Multiphase node and choosing Eulerian from the context menu.
This problem does not use a particularly fine mesh, and standard wall functions will be used.
The dispersed turbulence model is suitable for cases when the dispersed phase is dilute. The model
assumes that turbulence in the primary phase is dominant, while the turbulent quantities of the
secondary phase can be obtained from the mean characteristics of the primary phase.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 661
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
19.4.5. Materials
The default properties for water defined in ANSYS Fluent are suitable for this problem. In this step, you will
make sure that this material is available for selecting in future steps.
1. Add water to the list of fluid materials by copying it from the ANSYS Fluent materials database.
a. Click Fluent Database... in the Create/Edit Materials dialog box to open the Fluent Database Mater-
ials dialog box.
Scroll down the list to find water-liquid (h2o<l>). Selecting this item will display the default
properties in the dialog box.
ii. Click Copy and close the Fluent Database Materials dialog box.
The Create/Edit Materials dialog box will now display the copied properties for water-liquid.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
662 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
19.4.6. Phases
In the following steps you will define the liquid water and air phases that flow in the mixing tank.
b. Retain the default selection of air from the Phase Material drop-down list.
The diameter of the air bubbles that are formed when the air is injected into the tank depends on
the diameter of the inlet holes in the real reactor, which is 1 mm in this example.
a. In the Drag tab, select grace from the Drag Coefficient drop-down list.
The Grace model is suitable for liquid-gas mixtures with low gas density and bubble sizes of 1-2 mm.
b. In the Surface Tension tab, select constant from the Surface Tension Coefficients drop-down list
and enter 0.073.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 663
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
Tip
To visually confirm the location of a cell or boundary zone, you can display it by right-clicking
it in the tree and selecting either Display or Add to Graphics. Conversely, if you click a cell
or boundary mesh in the graphics window, the selected item will be highlighted in the tree.
You can use Ctrl or Shift to select multiple zones.
1. Set up the cell zone conditions for the fluid zone associated with the Rushton blade turbine (fluid_mrf_1-
1).
c. Retain the default values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
d. Enter 450 rpm for Speed in the Rotational Velocity group box.
2. In a similar manner, set up the cell zone conditions for the fluid zone associated with the pitch blade turbine
(fluid_mrf_2-0).
c. Retain the default values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
d. Enter 450 rpm for Speed in the Rotational Velocity group box.
3. Retain the default settings for fluid_tank-2, which is stationary in the absolute reference frame.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
664 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The degassing boundary condition at the top of the fluid was created in a meshing application. At the de-
gassing outlet, only gas phase can leave the domain. The degassing boundary condition became active after
you enabled the Eulerian multiphase model in Fluent. No input is required for this type of boundary condition.
For this problem, you only need to set the boundary conditions for the velocity inlet. Since this is a multiphase
model, you will set the conditions that are specific to the primary and secondary phases.
1. Set the boundary conditions at the inlet (gas-inlet) for the primary phase (water).
Since this is a dispersed turbulent flow, only turbulence must be defined for the water phase.
a. In the Turbulence group box, select Intensity and Hydraulic Diameter as the turbulence Specification
Method.
2. Set the boundary conditions at the inlet (gas-inlet) for the secondary phase (air).
19.4.9. Solution
1. Specify the discretization schemes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 665
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
5. Start calculation.
b. Retain the default selection of Automatic for the Time Step Method.
Note
It may take significant time and computer resources to complete the problem calculation.
6. After the solution has converged, save the case and data files (mixing_tank.cas.gz and mix-
ing_tank.dat.gz).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
666 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
19.4.10. Postprocessing
1. Display the distribution of air on the XZ plane (Figure 19.4: Contours of Air Volume Fraction on the XZ
plane (p. 668)).
a. From the Contours of drop-down lists, select Phases... and Volume Fraction.
c. In the Surfaces selection list, deselect all surfaces by clicking and then select y=0, wall_impeller_1,
and wall_impeller_2.
The specified range will allow you to better view the volume fraction variation.
g. Clear Draw Mesh and then select this option again to open the Mesh Display dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 667
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
i. In the Mesh Display dialog box, click next to the Surfaces filter to deselect all surfaces and
then select wall_baffle_1, wall_sparger, and all walls whose names begin with 'wall_shaft'.
i. Click Display and use the interactive triad to orient the view as shown in Figure 19.4: Contours of Air
Volume Fraction on the XZ plane (p. 668).
Note
You may need to deselect Lighting in the View ribbon tab (Display group).
The contour map of the air volume fraction on the XZ plane shows how the air is agitated by impellers
as it moves upward in the mixing tank. The shape of the Rushton blade turbine is forming cavities
below the turbine.
2. Display the distribution of air on the plane z=0.08 (Figure 19.5: Contours of Air Volume Fraction on the
z=0.08 plane (p. 669)).
b. Click Display.
c. In the View Tools toolbar, from the Set View drop-down list ( ), select the view from the negative
Z axis ( ) to obtain the view shown in Figure 19.5: Contours of Air Volume Fraction on the z=0.08
plane (p. 669).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
668 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note that the air is collecting on the bottom surface of the Rushton blade turbine disk before its dis-
persed by the impeller’s blades.
3. Display vectors of velocity magnitude for water on the XZ plane (Figure 19.6: Vectors of Water Velocity
Magnitude on the XZ plane (p. 670)).
Since the Eulerian model solves individual momentum equations for each phase, you can choose the
phase for which solution data is plotted.
c. From the Color by drop-down lists, select Velocity... and Velocity Magnitude.
e. In the Surfaces selection list, deselect all surfaces by clicking and then select y=0, wall_impeller_1,
and wall_impeller_2.
f. Click Display and use the interactive triad to orient the view as shown in Figure 19.6: Vectors of Water
Velocity Magnitude on the XZ plane (p. 670).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 669
vk.com/club152685050 | vk.com/id446425943
Using the Multiphase Models
The vector plot of the water velocity shows that the water moves in a circular motion, creating a
closed loop since it cannot escape the reactor.
4. Display vectors of velocity magnitude for air on the XZ plane (Figure 19.7: Vectors of Air Velocity Magnitude
on the XZ plane (p. 670)).
a. Under Vectors of, select air from the Phase drop-down list.
b. Under Color by, select air from the Phase drop-down list.
c. In the Surfaces selection list, make sure that y=0, wall_impeller_1, and wall_impeller_2 are selected.
d. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
670 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
The vector plot of the air velocity shows that the air moves upward all the way to the water surface,
where it escapes. The baffle walls located on the sides of the tank prevent the undesirable vortex
formation.
5. Calculate the torque about the shaft for the Rushton blade turbine.
d. From the Wall Zones selection list, deselect all zones by clicking and then select wall_impeller_1.
e. Click Print.
Fluent reports the individual and net values of the pressure moment, viscous moment, total
moment, pressure coefficient, viscous coefficient, and total coefficient about the specified center
in the console.
The power requirement is simply the required torque (0.03767 N m) multiplied by the rotational
speed (450 rpm = 47.12 rad/s): 0.03767 N m * 47.1 rad/s = 1.77 W.
Note that this value does not account for any mechanical losses, motor efficiencies, and so on.
19.5. Summary
This tutorial demonstrated how to set up and solve a turbulent multiphase flow in the mixing tank using
the Eulerian multiphase model. You learned how to set degassing boundary conditions and boundary
conditions for primary and secondary phases. After completing the simulation, you displayed the results
of your calculation and calculated the torque and power requirements. For more information about the
Eulerian multiphase model, see the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 671
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
672 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
20.1. Introduction
This tutorial illustrates how to set up and solve a problem involving solidification and will demonstrate
how to do the following:
20.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Starting with an existing 2D mesh, the details regarding the setup and solution procedure for the solid-
ification problem are presented. The steady conduction solution for this problem is computed as an
initial condition. Then, the fluid flow is enabled to investigate the effect of natural and Marangoni
convection in a transient fashion.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 673
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
In the above figure, is the mushy zone constant. For details on modeling the solidification/melting
process, refer to momentum equations in the Fluent Theory Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
674 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
20.4.1. Preparation
To prepare for running this tutorial:
4. Use Fluent Launcher to start the 2D single precision (disable Double Precision) version of ANSYS Fluent.
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the Fluent Launcher, see starting ANSYS Fluent using the Fluent Launcher
in the Fluent Getting Started Guide.
As the mesh is read by ANSYS Fluent, messages will appear in the console reporting the progress of the
reading.
A warning about the use of axis boundary conditions is displayed in the console. You are asked to consider
making changes to the zone type or change the problem definition to axisymmetric. You will change the
problem to axisymmetric swirl later in this tutorial.
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Make
sure that the minimum volume is a positive number.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 675
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Setup → General
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
676 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The geometry comprises an axisymmetric bowl. Furthermore, swirling flows are considered in this problem,
so the selection of Axisymmetric Swirl best defines this geometry.
Also, note that the rotation axis is the X axis. Hence, the X direction is the axial direction and the Y direction
is the radial direction. When modeling axisymmetric swirl, the swirl direction is the tangential direction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 677
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
a. Enable Gravity.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
678 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Enable the Solidification/Melting option in the Solidification and Melting dialog box.
The Solidification and Melting dialog box will expand to show the related parameters.
b. Retain the default value of 100000 for the Mushy Zone Constant.
By including the pull velocities, you will account for the movement of the solidified material as it is
continuously withdrawn from the domain in the continuous casting process.
When you enable this option, the Solidification and Melting dialog box will expand to show the
Compute Pull Velocities option. If you were to enable this additional option, ANSYS Fluent would
compute the pull velocities during the calculation. This approach is computationally expensive and
is recommended only if the pull velocities are strongly dependent on the location of the liquid-solid
interface. In this tutorial, you will patch values for the pull velocities instead of having ANSYS Flu-
ent compute them.
For more information about computing the pull velocities, see the Fluent User's Guide.
An Information dialog box opens, telling you that available material properties have changed for
the solidification model. You will set the material properties later, so you can click OK in the dialog
box to acknowledge this information.
Note
ANSYS Fluent will automatically enable the energy calculation when you enable the so-
lidification model, so you need not visit the Energy dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 679
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
b. Select polynomial from the Density drop-down list in the Properties group box.
i. Set Coefficients to 2.
ii. In the Coefficients group box, enter 8000 for 1 and -0.1 for 2.
As shown in Figure 20.1: Solidification in Czochralski Model (p. 674), the density of the material is
defined by a polynomial function: .
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
680 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. In the Question dialog box, click Yes to overwrite air and add the new material (liquid-metal) to the
Fluent Fluid Materials drop-down list.
Scroll down the group box to find Pure Solvent Melting Heat and the properties that follow.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 681
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
682 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 683
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Here, the solid is pulled out with a specified velocity, so a velocity inlet boundary condition is used with
a positive axial velocity component.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
684 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Velocity Inlet dialog box will change to show related inputs.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 685
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
The specified shear and Marangoni stress boundary conditions are useful in modeling situations in which
the shear stress (rather than the motion of the fluid) is known. A free surface condition is an example of
such a situation. In this case, the convection is driven by the Marangoni stress and the shear stress is
dependent on the surface tension, which is a function of temperature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
686 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The Marangoni Stress condition allows you to specify the gradient of the surface tension with respect
to temperature at a wall boundary.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 687
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
688 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 689
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
690 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 691
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
a. Select Coupled from the Scheme drop-down list in the Pressure-Velocity Coupling group box.
b. Select PRESTO! from the Pressure drop-down list in the Spatial Discretization group box.
The PRESTO! scheme is well suited for rotating flows with steep pressure gradients.
c. Retain the default selection of Second Order Upwind from the Momentum, Swirl Velocity, and Energy
drop-down lists.
The Pseudo Transient option enables the pseudo transient algorithm in the coupled pressure-based
solver. This algorithm effectively adds an unsteady term to the solution equations in order to improve
stability and convergence behavior. Use of this option is recommended for general fluid flow problems.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
692 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Deselect Flow and Swirl Velocity from the Equations selection list to disable the calculation of flow
and swirl velocity equations.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 693
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
694 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click OK to accept the remaining default settings and close the Residual Monitors dialog box.
Solution → Initialization
For flows in complex topologies, hybrid initialization will provide better initial velocity and pressure
field than standard initialization. This in general will help in improving the convergence behavior of
the solver.
b. Click Initialize.
In this step, you will define a field function to be used to patch a variable value for the swirl pull velocity
in the next step. The swirl pull velocity is equal to , where is the angular velocity, and is the radial
coordinate. Since = 1 rad/s, you can simplify the equation to simply . In this example, the value of
is included for demonstration purposes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 695
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
a. From the Field Functions drop-down lists, select Mesh... and Radial Coordinate.
If you make a mistake, click the DEL button on the calculator pad to delete the last item you added
to the function definition.
f. Click Define.
The omegar item appears under the Parameters & Customisation/Parameters tree branch.
Note
To check the function definition or delete the custom field function, click Manage....
Then in the Field Function Definitions dialog box, from the Field Functions selection
list, select omegar to view the function definition.
As noted earlier, you will patch values for the pull velocities, rather than having ANSYS Fluent compute
them. Since the radial pull velocity is zero, you will patch just the axial and swirl pull velocities.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
696 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Click Patch.
You have just patched the axial pull velocity. Next you will patch the swirl pull velocity.
h. Ensure that fluid is selected from the Zones to Patch selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 697
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
8. Save the initial case and data files (solid0.cas.gz and solid0.dat.gz).
a. In the Run Calculation task page, select User Specified for the Time Step Method in both the Fluid
Time Scale and the Solid Time Scale group boxes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
698 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Retain the default values of 1 and 1000 for the Pseudo Time Step (s) in the Fluid Time Scale and the
Solid Time Scale group boxes, respectively.
d. Click Calculate.
10. Create and display the definition of filled temperature contours (Figure 20.3: Contours of Temperature for
the Steady Conduction Solution (p. 700)).
d. Select Temperature... and Static Temperature from the Contours of drop-down lists.
e. Click Save/Display (Figure 20.3: Contours of Temperature for the Steady Conduction Solution (p. 700)).
The temperature contour definition appear under the Results/Graphics/Contours tree branch.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 699
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
11. Display filled contours of temperature to determine the thickness of mushy zone.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
700 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Click Display (See Figure 20.4: Contours of Temperature (Mushy Zone) for the Steady Conduction
Solution (p. 702)) and close the Contours dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 701
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
Figure 20.4: Contours of Temperature (Mushy Zone) for the Steady Conduction Solution
12. Save the case and data files for the steady conduction solution (solid.cas.gz and solid.dat.gz).
Setup → General
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
702 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 703
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
a. Retain the default selection of First Order Implicit from the Transient Formulation drop-down list.
b. Ensure that PRESTO! is selected from the Pressure drop-down list in the Spatial Discretization group
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
704 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select Flow and Swirl Velocity and ensure that Energy is selected from the Equations selection list.
Now all three items in the Equations selection list will be selected.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 705
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
5. Save the initial case and data files (solid01.cas.gz and solid01.dat.gz).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
706 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Click Calculate.
7. Display filled contours of the temperature after 0.2 seconds using the temperature contours definition
that you created earlier.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 707
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
8. Create and display the definition of stream function contours (Figure 20.6: Contours of Stream Function at
t=0.2 s (p. 709)).
e. Select Velocity... and Stream Function from the Contours of drop-down lists.
f. Click Save/Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
708 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
As shown in Figure 20.6: Contours of Stream Function at t=0.2 s (p. 709), the liquid is beginning to circulate
in a large eddy, driven by natural convection and Marangoni convection on the free surface.
9. Create and display the definition of liquid fraction contours by modifying the stream-function contour
definition (Figure 20.7: Contours of Liquid Fraction at t=0.2 s (p. 710)).
d. Select Solidification/Melting... and Liquid Fraction from the Contours of drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 709
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
The liquid fraction contours show the current position of the melt front. Note that in Figure 20.7: Contours
of Liquid Fraction at t=0.2 s (p. 710), the mushy zone divides the liquid and solid regions roughly in half.
b. Click Calculate.
After a total of 50 time steps have been completed, the elapsed time will be 5 seconds.
11. Display filled contours of the temperature after 5 seconds using the contour definition created earlier
(Figure 20.8: Contours of Temperature at t=5 s (p. 711)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
710 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
As shown in Figure 20.8: Contours of Temperature at t=5 s (p. 711), the temperature contours are fairly
uniform through the melt front and solid material. The distortion of the temperature field due to the re-
circulating liquid is also clearly evident.
In a continuous casting process, it is important to pull out the solidified material at the proper time. If
the material is pulled out too soon, it will not have solidified (that is, it will still be in a mushy state). If
it is pulled out too late, it solidifies in the casting pool and cannot be pulled out in the required shape.
The optimal rate of pull can be determined from the contours of liquidus temperature and solidus tem-
perature.
12. Display contours of stream function (Figure 20.9: Contours of Stream Function at t=5 s (p. 712)).
As shown in Figure 20.9: Contours of Stream Function at t=5 s (p. 712), the flow has developed more fully
by 5 seconds, as compared with Figure 20.6: Contours of Stream Function at t=0.2 s (p. 709) after 0.2
seconds. The main eddy, driven by natural convection and Marangoni stress, dominates the flow.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 711
vk.com/club152685050
Modeling Solidification | vk.com/id446425943
To examine the position of the melt front and the extent of the mushy zone, you will plot the contours
of liquid fraction.
13. Display filled contours of liquid fraction (Figure 20.10: Contours of Liquid Fraction at t=5 s (p. 713)).
The introduction of liquid material at the left of the domain is balanced by the pulling of the solidified
material from the right. After 5 seconds, the equilibrium position of the melt front is beginning to be es-
tablished (Figure 20.10: Contours of Liquid Fraction at t=5 s (p. 713)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
712 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Further Improvements
14. Save the case and data files for the solution at 5 seconds (solid5.cas.gz and solid5.dat.gz).
20.5. Summary
In this tutorial, you studied the setup and solution for a fluid flow problem involving solidification for
the Czochralski growth process.
The solidification model in ANSYS Fluent can be used to model the continuous casting process where
a solid material is continuously pulled out from the casting domain. In this tutorial, you patched a
constant value and a custom field function for the pull velocities instead of computing them. This ap-
proach is used for cases where the pull velocity is not changing over the domain, as it is computationally
less expensive than having ANSYS Fluent compute the pull velocities during the calculation.
For more information about the solidification/melting model, see the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 713
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
714 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
21.1. Introduction
This tutorial examines the flow of air and a granular solid phase consisting of glass beads in a hot gas
fluidized bed, under uniform minimum fluidization conditions. The results obtained for the local wall-
to-bed heat transfer coefficient in ANSYS Fluent can be compared with analytical results [1].
• Compile a User-Defined Function (UDF) for the gas and solid phase thermal conductivities.
21.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
In order to complete the steps to compile the UDF, you will need to have a working C compiler installed
on your machine.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 715
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
21.4.1. Preparation
To prepare for running this tutorial:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
716 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Use Fluent Launcher to enable Double Precision and start the 2D version of ANSYS Fluent.
Fluent Launcher displays your Display Options preferences from the previous session.
For more information about the Fluent Launcher, see starting ANSYS Fluent using the Fluent
Launcher in the Fluent Getting Started Guide.
7. Ensure that Set up Compilation Environment for UDF is enabled in the Environment tab of the Fluent
Launcher window. This will allow you to compile the UDF.
Note
The double precision solver is recommended for modeling multiphase flow simulations.
21.4.2. Mesh
1. Read the mesh file fluid-bed.msh.
As ANSYS Fluent reads the mesh file, it will report the progress in the console.
ANSYS Fluent will perform various checks on the mesh and will report the progress in the console. Make
sure that the reported minimum volume is a positive number.
3. Examine the mesh (Figure 21.2: Mesh Display of the Fluidized Bed (p. 718)).
Extra
You can use the right mouse button to check which zone number corresponds to each
boundary. If you click the right mouse button on one of the boundaries in the graphics
window, its zone number, name, and type will be printed in the ANSYS Fluent console.
This feature is especially useful when you have several zones of the same type and you
want to distinguish between them quickly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 717
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
Setup → General
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
718 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
21.4.4. Models
1. Enable the Eulerian multiphase model for two phases.
You will use the default settings for the Eulerian model, so you can enable it directly from the tree by
right-clicking the Multiphase node and choosing Eulerian from the context menu.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 719
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
An Information dialog box appears reminding you to confirm the property values. Click OK in the
Information dialog box to continue.
The decision to use the laminar model should be based on the Stokes number for the particles suspended
in the fluid flow.
21.4.5. UDF
1. Compile the user-defined function, conduct.c, that will be used to define the thermal conductivity for
the gas and solid phases.
a. Click the Add... button below the Source Files option to open the Select File dialog box.
i. Select the file conduct.c and click OK in the Select File dialog box.
b. Click Build.
ANSYS Fluent will create a libudf folder and compile the UDF. Also, a Warning dialog box will
open asking you to make sure that UDF source file and case/data files are in the same folder.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
720 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
21.4.6. Materials
1. Modify the properties for air, which will be used for the primary phase.
The properties used for air are modified to match data used by Kuipers et al. [1]
c. Select user-defined from the Thermal Conductivity drop-down list to open the User Defined Functions
dialog box.
d. Click Change/Create.
2. Define a new fluid material for the granular phase (the glass beads).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 721
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
e. Retain the selection of user-defined from the Thermal Conductivity drop-down list.
f. Click the Edit... button to open the User Defined Functions dialog box.
i. Select conduct_solid::libudf in the User Defined Functions dialog box and click OK.
A Question dialog box will open asking if you want to overwrite air.
21.4.7. Phases
You will now configure the phases.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
722 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Ensure that air is selected from the Phase Material drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 723
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
724 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
c. Enable Granular.
d. Retain the default selection of Phase Property in the Granular Temperature Model group box.
h. Select constant from the Granular Temperature drop-down list and enter 1e-05.
a. In the Drag tab, select syamlal-obrien from the Drag Coefficient drop-down list.
b. In the Heat tab, select gunn from the Heat Transfer Coefficient drop-down list.
The interphase heat exchange is simulated, using a drag coefficient, the default restitution coefficient
for granular collisions of 0.9, and a heat transfer coefficient. Granular phase lift is not very relevant
in this problem, and in fact is rarely used.
c. In the Interfacial Area tab, select ia-symmetric from the Interfacial Area drop-down list.
The default ia-particle method is best suited for typical dispersed flow applications with a volume
fraction lower than 30%. In this analysis, the volume fraction of the secondary phase is relatively high
(close to 60%). The ia-symmetric correlation is more accurate for such cases because it considers
the volume fraction of both the primary and secondary phases in the interfacial area calculation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 725
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
726 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1. Set the boundary conditions for the lower velocity inlet (v_uniform) for the primary phase.
For the Eulerian multiphase model, you will specify conditions at a velocity inlet that are specific to the
primary and secondary phases.
b. Click the Edit... button to open the Velocity Inlet dialog box.
i. Retain the default selection of Magnitude, Normal to Boundary from the Velocity Specification
Method drop-down list.
iii. Click the Thermal tab and enter 293 K for Temperature.
2. Set the boundary conditions for the lower velocity inlet (v_uniform) for the secondary phase.
b. Click the Edit... button to open the Velocity Inlet dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 727
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
ii. Retain the default value of 0 m/s for the Velocity Magnitude.
iii. Click the Thermal tab and enter 293 K for Temperature.
iv. Click the Multiphase tab and retain the default value of 0 for Volume Fraction.
3. Set the boundary conditions for the orifice velocity inlet (v_jet) for the primary phase.
b. Click the Edit... button to open the Velocity Inlet dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
728 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
In order for a comparison with analytical results [1] to be meaningful, in this simulation you will
use a uniform value for the air velocity equal to the minimum fluidization velocity at both inlets
on the bottom of the bed.
iii. Click the Thermal tab and enter 293 K for Temperature.
4. Set the boundary conditions for the orifice velocity inlet (v_jet) for the secondary phase.
b. Click the Edit... button to open the Velocity Inlet dialog box.
ii. Retain the default value of 0 m/s for the Velocity Magnitude.
iii. Click the Thermal tab and enter 293 K for Temperature.
iv. Click the Multiphase tab and retain the default value of 0 for the Volume Fraction.
5. Set the boundary conditions for the pressure outlet (poutlet) for the mixture phase.
For the Eulerian granular model, you will specify conditions at a pressure outlet for the mixture and for
both phases.
The thermal conditions at the pressure outlet will be used only if flow enters the domain through this
boundary. You can set them equal to the inlet values, as no flow reversal is expected at the pressure
outlet. In general, however, it is important to set reasonable values for these downstream scalar values,
in case flow reversal occurs at some point during the calculation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 729
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
b. Click the Edit... button to open the Pressure Outlet dialog box.
6. Set the boundary conditions for the pressure outlet (poutlet) for the primary phase.
b. Click the Edit... button to open the Pressure Outlet dialog box.
7. Set the boundary conditions for the pressure outlet (poutlet) for the secondary phase.
b. Click the Edit... button to open the Pressure Outlet dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
730 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. In the Thermal tab, enter 293 K for the Backflow Total Temperature.
8. Set the boundary conditions for the heated wall (wall_hot) for the mixture.
For the heated wall, you will set thermal conditions for the mixture, and momentum conditions (zero
shear) for both phases.
i. In the Thermal tab, select Temperature from the Thermal Conditions list.
9. Set the boundary conditions for the heated wall (wall_hot) for the primary phase.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 731
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
c. Retain the default No Slip condition and click OK to close the Wall dialog box.
10. Set the boundary conditions for the heated wall (wall_hot) for the secondary phase (solids) same as that
of the primary phase.
For the secondary phase, you will retain the default no slip condition as for the primary phase.
11. Set the boundary conditions for the adiabatic wall (wall_ins).
For the adiabatic wall, retain the default thermal conditions for the mixture (zero heat flux), and the
default momentum conditions (no slip) for both phases.
21.4.9. Solution
1. Select the second order implicit transient formulation and higher-order spatial discretization schemes.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
732 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select Second Order Implicit from the Transient Formulation drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 733
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
Initially, you will define functions for the mixture temperature, and thermal conductivity, then you will
use these to define a function for the heat transfer coefficient.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
734 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. Select Temperature... and Static Temperature from the Field Functions drop-down lists.
ii. Ensure that air is selected from the Phase drop-down list and click Select.
iv. Select Phases... and Volume fraction from the Field Functions drop-down list.
v. Ensure that air is selected from the Phase drop-down list and click Select.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 735
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
i. Select Properties... and Thermal Conductivity from the Field Functions drop-down lists.
ii. Select air from the Phase drop-down list and click Select.
iv. Select Phases... and Volume fraction from the Field Functions drop-down lists.
v. Ensure that air is selected from the Phase drop-down list and click Select.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
736 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. From the Field Functions drop-down lists, select Custom Field Functions... and k_mix and click
Select.
iii. Use the calculator pad and the Field Functions lists to complete the definition of the function.
v. Click Define and close the Custom Field Function Calculator dialog box.
5. Define the point surface in the cell next to the wall on the plane .
b. Enter 0.28494 m for x0 and 0.24 m for y0 in the Coordinates group box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 737
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
b. In the Create group box, enable Report File, Report Plot and Print to Console.
c. Select Custom Field Functions... and ave_htc from the Field Variable drop-down lists.
e. Click OK to save the surface report definition settings and close the Surface Report Definition dialog
box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
738 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
7. Define a cell register for the lower half of the fluidized bed.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 739
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
a. Enter 0.3 m for Xmax and 0.5 m for Ymax in the Input Coordinates group box.
This register is used to patch the initial volume fraction of solids in the next step.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
740 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
9. Patch the initial volume fraction of solids in the lower half of the fluidized bed.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 741
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
At this point, it is a good practice to display contours of the variable you just patched, to ensure that the
desired field was obtained.
10. Display contours of Volume Fraction of solids (Figure 21.3: Initial Volume Fraction of Granular Phase
(solids) (p. 743)).
d. Ensure that Volume fraction is selected from the lower Contours of drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
742 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 743
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
d. Click Calculate.
The plot of the value of the mixture-averaged heat transfer coefficient in the cell next to the heated wall
versus time is in excellent agreement with results published for the same case [1].
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
744 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 21.4: Plot of Mixture-Averaged Heat Transfer Coefficient in the Cell Next to the Heated
Wall Versus Time
13. Save the case and data files (fluid-bed.cas.gz and fluid-bed.dat.gz).
21.4.10. Postprocessing
1. Display the pressure field in the fluidized bed (Figure 21.5: Contours of Static Pressure (p. 746)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 745
vk.com/club152685050 | vk.com/id446425943
Using the Eulerian Granular Multiphase Model with Heat Transfer
b. Select Pressure... and Static Pressure from the Contours of drop-down lists.
c. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
746 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 References
2. Display the volume fraction of solids (Figure 21.6: Contours of Volume Fraction of Solids (p. 747)).
b. Select Phases... and Volume fraction from the Contours of drop-down lists.
d. Zoom in to show the contours close to the region where the change in volume fraction is the greatest.
Note that the region occupied by the granular phase has expanded slightly, as a result of fluidization.
21.5. Summary
This tutorial demonstrated how to set up and solve a granular multiphase problem with heat transfer,
using the Eulerian model. You learned how to set boundary conditions for the mixture and both phases.
The solution obtained is in excellent agreement with analytical results from Kuipers et al. [1].
21.7. References
1. J. A. M. Kuipers, W. Prins, and W. P. M. Van Swaaij “Numerical Calculation of Wall-to-Bed Heat Transfer
Coefficients in Gas-Fluidized Beds", Department of Chemical Engineering, Twente University of Technology,
in AIChE Journal, July 1992, Vol. 38, No. 7.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 747
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
748 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
22.1. Introduction
This tutorial examines turbulent air flow through a cylindrical test chamber that includes a steel probe.
You will enable a structural model in order to simulate the deformation of the probe as a result of the
fluid flow. It is assumed that the deformation will be small enough that this problem can be modeled
as a one-way fluid-structure interaction (FSI) simulation; that is, the fluid flow will affect the deformation
of the structure, but not vice versa. Because Fluent performs all of the structural calculations (as opposed
to using a separate structural program), it is referred to as "intrinsic FSI".
• Run a journal file to complete an initial fluid flow simulation without structural calculations.
• Define structural material properties, a solid cell zone, and related boundary conditions.
22.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorial Fluid
Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are familiar with
the ANSYS Fluent Outline View window and ribbon structure. Some steps in the setup and solution
procedure will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 749
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
Taking advantage of the symmetry of the problem, only half of the geometry is modeled. The cylindrical
test chamber is 20 cm long, with a diameter of 10 cm. Turbulent air enters the chamber at 100 m/s,
flows around and through the steel probe, and exits through a pressure outlet.
22.4.1. Preparation
To prepare for running this tutorial:
The files probe.msh and fluid_flow.jou can be found in the folder. Note that the solid cell zone
in the mesh file is appropriate for an intrinsic FSI simulation, which requires that only hexahedral and/or
tetrahedral cell types are used and that a conformal mesh exists between the solid and fluid zones.
3. Use Fluent Launcher to start the 3D version of Fluent, with the Double Precision and Display Mesh After
Reading options enabled. You must make sure that the Working Directory (in the General Options tab)
is set to the one created when you unzipped fsi_1way.zip.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
750 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
This journal file will read the mesh file probe.msh and set up and solve a fluid flow simulation that
will serve as the starting point for the structural calculations. It is not necessary to separate these calcu-
lations, but it is a advantage of one-way FSI simulation that structural calculations can be simply added
to an existing fluid flow case and data file. Separating the calculations allows you to easily discern and
resolve any convergence issues that are solely related to the fluid simulation.
As Fluent reads the journal file, it will report the text commands and solution progress in the console.
You can also view the journal file in a text editor to see the settings used in this simulation. The final
text command in the journal file will display contours of the velocity magnitude (Figure 22.2: Velocity
Magnitude on the Symmetry Plane (p. 751)).
5. Save the initial case and data files as probe_fluid.cas.gz and probe_fluid.dat.gz.
Having completed the initial fluid flow simulation, the remaining steps are all concerned with setting up the
structural calculations and obtaining the deformation results for the solid cell zone as a result of the flow
pressure.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 751
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
This model enables structural calculations for the solid cell zone such that the internal load is linearly
proportional to the nodal displacement, and the structural stiffness matrix remains constant.
22.4.3. Materials
1. Add steel to the list of solid materials by copying it from the ANSYS Fluent materials database.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
752 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Fluent Database... button in the Create/Edit Materials dialog box to open the Fluent
Database Materials dialog box.
Scroll down the list to find steel. Selecting this item will display the default properties in the dialog
box.
iii. Click Copy and close the Fluent Database Materials dialog box.
The Create/Edit Materials dialog box will now display the copied properties for steel.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 753
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
754 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1. Set the boundary conditions for solid-top, which is located where the probe attaches to the top of the
test chamber. You will define it as being fixed (that is, undergoing no displacement).
b. Retain the default settings for the displacement boundary conditions (that is, Node X-Displacement
from the X-Displacement Boundary Condition drop-down list with 0 for the X-Displacement, and
so on).
2. Set the boundary conditions for all of the wall zones of the solid cell zone that lie on the plane of symmetry
and represent the center of the probe. In this case there are two: they should be free to move with no
stress in the X- and Y-directions, but fixed in the Z-direction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 755
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
ii. Select Stress Free from the X- and Y-Displacement Boundary Condition drop-down lists.
iii. Retain the default settings for the Z-Displacement Boundary Condition drop-down list and the
Z-Displacement field (that is, Node Z-Displacement and 0, respectively).
This ensures that the zone does not move out of the plane of symmetry.
i. Make sure that solid-symmetry is selected in the From Boundary Zone list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
756 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
A Question dialog box will open, asking if you want to copy the boundary conditions to all of
the selected zones. Click OK.
3. Set the boundary conditions for all of the two-sided walls (that is, the wall / wall-shadow pairs) between
the solid and fluid cell zones. In this case there is one pair of walls, which represent the outer surface of
the probe.
Note that the Adjacent Cell Zone for this wall is flow, which is the fluid zone. The side of the wall
/ wall-shadow pair that is immediately adjacent to the fluid does not require any settings in the
Structure tab, and so this tab is not available.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 757
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
Note that the Adjacent Cell Zone for this wall is solid, which is the solid zone. The side of the wall
/ wall-shadow pair that is immediately adjacent to the solid does require structural settings (that is,
displacement boundary conditions).
ii. Select Intrinsic FSI from the X-, Y-, and Z-Displacement Boundary Condition drop-down lists.
This specifies that the displacement results from pressure loads exerted by the fluid flow on the
faces. This setting is only available for two-sided walls.
22.4.6. Solution
1. Enable the inclusion of operating pressure into the fluid-structure interaction force by entering the following
text command:
> define/models/structure/expert/include-pop-in-fsi-force?
Include operating p into fsi force [no] yes
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
758 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Retain the default settings for the x-, y-, and z-displacement equations.
3. Disable the flow and turbulence equations, since in a one-way FSI simulation they will not change from
their converged state.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 759
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
In order to ensure quality for structural model files, only the Hierarchical Data Format (HDF) is supported.
5. Start the calculation by requesting 2 iterations in the Solution ribbon tab (Run Calculation group box)..
Since only structural calculations will be performed, you do not need a large number of iterations to
reach convergence.
b. Click Calculate.
6. After the solution has been calculated, save the case and data files (probe_fsi_1way.cas.h5 and
probe_fsi_1way.dat.h5).
22.4.7. Postprocessing
1. Create a field function that can calculate the total displacement of the structure using the displacement
components along each axis.
This function will be based on the Pythagorean theorem for three dimensions.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
760 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the SQRT button on the calculator pad to add sqrt to the Definition field.
c. Select Structure... and X Displacement from the Field Functions drop-down lists and click the Select
button.
e. Continue in this manner to complete the Definition shown in the previous figure: sqrt (x-dis-
placement * x-displacement + y-displacement * y-displacement + z-dis-
placement * z-displacement).
Tip
If you make a mistake, click the DEL button on the calculator pad to delete the last
item you added to the function definition.
g. Click Define and close the Custom Field Function Calculator dialog box.
The total-displacement item appears under the Parameters & Customization / Custom Field
Functions branch in the Outline View.
2. Display the total displacement of the probe (Figure 22.3: Contours of Total Displacement (p. 763)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 761
vk.com/club152685050 | vk.com/id446425943
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
b. Select Custom Field Functions... and total-displacement from the Contours of drop-down lists.
c. Deselect all surfaces in the Surfaces selection list by clicking , and then select solid.
d. Click Display and rotate and magnify the view as shown in Figure 22.3: Contours of Total Displace-
ment (p. 763).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
762 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
22.5. Summary
This tutorial demonstrated how to set up and solve a one-way intrinsic FSI simulation. You learned how
to enable a structural model and define the solid material and boundary conditions. After completing
the simulation, you displayed the resulting displacement of the structure. For more information about
intrinsic FSI simulations, see the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 763
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
764 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
23.1. Introduction
This tutorial examines turbulent air flow through a duct that includes vertical flaps. You will enable a
structural model in order to simulate the deformation of the flaps as a result of the fluid flow. It is as-
sumed that the deformation will be large enough that this problem must be modeled as a two-way
fluid-structure interaction (FSI) simulation; that is, the fluid flow will affect the deformation of the
structures, and vice versa. Because Fluent performs all of the structural calculations (as opposed to using
a separate structural program), it is referred to as "intrinsic FSI".
• Run a journal file to complete an initial steady-state fluid flow simulation without structural calculations.
• Define structural material properties, a solid cell zone, and related boundary conditions.
• Postprocess the fluid flow and the deformation of a solid cell zone.
23.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorial Fluid
Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are familiar with
the ANSYS Fluent Outline View window and ribbon structure. Some steps in the setup and solution
procedure will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 765
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
Flow through a simple duct with vertical flaps is simulated as a 2D planar model. The duct is 10 cm
long and 4 cm high, and the flaps are 1 cm tall and 0.3 cm thick. Turbulent air enters the duct at 30
m/s, flows around the flaps, and exits through a pressure outlet. Symmetry allows only half of the duct
to be modeled.
23.4.1. Preparation
To prepare for running this tutorial:
The files flap.msh and steady_fluid_flow.jou can be found in the folder. Note that the cell
zone in the mesh file that will represent the solid zone is appropriate for an intrinsic FSI simulation,
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
766 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
which requires that only quadrilateral and/or triangular cell types are used and that a conformal mesh
exists between the zones that will represent the solid and the fluid.
3. Use Fluent Launcher to start the 2D version of Fluent, with the Double Precision and Display Mesh After
Reading options enabled. You must make sure that the Working Directory (in the General Options tab)
is set to the one created when you unzipped fsi_2way.zip.
This journal file will read the mesh file flap.msh and set up and solve a steady fluid flow simulation
that will serve as the starting point for the transient FSI simulation. Solving the steady flow problem
first allows you to easily discern and resolve any convergence issues that are not related to the fluid-
structure interaction.
As Fluent reads the journal file, it will report the text commands and solution progress in the console.
You can also view the journal file in a text editor to see the settings used in this simulation. The final
text command in the journal file will display contours of the velocity magnitude (Figure 23.2: Steady-
State Velocity Magnitude (p. 767)).
1. Mirror the display across the centerline (Figure 23.3: Duct with Mirroring (p. 768)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 767
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
c. Close the Views dialog box and reposition the view as shown in Figure 23.3: Duct with Mirroring (p. 768).
• Save the initial case and data files as flap_fluid.cas.gz and flap_fluid.dat.gz.
Having completed an initial steady fluid flow simulation, the remaining steps are all concerned with setting
up the structural calculations and obtaining the transient results for the deformation of the solid flaps.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
768 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Physics → Solver
a. In the Solver group of the Physics tab, select Transient from the Time list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 769
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
This model enables structural calculations for the solid cell zone such that the internal load is linearly
proportional to the nodal displacement, and the structural stiffness matrix remains constant.
23.4.4. Materials
1. Create a new solid material for the flap.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
770 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
1. Set the boundary conditions for flap_attach, which is located where the flap attaches to the duct. You will
define it as being fixed (that is, undergoing no displacement).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 771
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
b. Retain the default settings for the displacement boundary conditions (that is, Node X-Displacement
from the X-Displacement Boundary Condition drop-down list with 0 for the X-Displacement, and
so on).
2. Set the boundary conditions for all of the two-sided walls (that is, the wall / wall-shadow pairs) between
the solid and fluid cell zones. In this case there is one pair of walls, which represent the outer surface of
the flap.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
772 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note that the Adjacent Cell Zone for this wall is fluid.4, which is the fluid zone. The side of the
wall / wall-shadow pair that is immediately adjacent to the fluid does not require any settings in the
Structure tab, and so this tab is not available.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 773
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
Note that the Adjacent Cell Zone for this wall is solid.5, which is the solid zone. The side of the
wall / wall-shadow pair that is immediately adjacent to the solid does require structural settings (that
is, displacement boundary conditions).
ii. Select Intrinsic FSI from the X- and Y-Displacement Boundary Condition drop-down lists.
This specifies that the displacement results from pressure loads exerted by the fluid flow on the
faces. This setting is only available for two-sided walls.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
774 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. Make sure that the Smoothing option is enabled in the Mesh Methods group box, and click the Settings...
button to open the Mesh Method Settings dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 775
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
3. Retain the default settings in the Options group box (that is, with the options disabled). These options are
not supported for FSI simulations, except for Implicit Update. The Implicit Update option may be required
for more complex cases in which the stability of the FSI simulation may be an issue, but for a simple case
such as this one, it is not required.
4. Click the Create/Edit... button to open the Dynamic Mesh Zones dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
776 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Select po.3 (the pressure outlet) from the Zone Names drop-down list, select Stationary from the
Type list, and click Create. This ensures the boundary zone does not deform.
b. In a similar manner, create stationary dynamic zones for the other boundary zones that are not deforming:
symmetry.2, velocity_inlet.1, and wall.
c. Select flap_wall-shadow (the side of the wall / wall-shadow pair that is immediately adjacent to the
fluid) from the Zone Names drop-down list, select Intrinsic FSI from the Type list, and click Create.
This specifies that the wall / wall-shadow pair deforms according to the deformation of the adjacent
solid zone.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 777
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
1. Create a scene that can be used in an animation definition for the fluid flow.
Scenes are used when you want to display multiple graphics objects within a single window. In this case,
the animation will include not only contours of the fluid velocity, but also boundary zones.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
778 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click New Object and select Mesh... from the drop-down list to open the associated dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 779
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
iii. Deselect all surfaces in the Surfaces selection list by clicking , and then select flap_wall, po.3,
velocity_inlet.1, and wall.
iv. Click Save/Display and close the Mesh Display dialog box.
c. Click New Object and select Contours... from the drop-down list to open the associated dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
780 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
ii. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
iii. Disable the Auto Range option and enter 68 and 87 for the Min and Max, respectively.
Disabling the Auto Range ensures that all of the results in the animation have the same scale.
The velocity of the fluid will not change very much in this particular solution, and so using a
narrow range of values will make it easier to identify the small contour changes.
v. Click the Save/Display button and close the Contours dialog box.
d. Click the Save & Display button, and then click Cancel to close the Scene dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 781
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
2. Create an animation definition for the fluid velocity and boundaries scene.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
782 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enter 5 for Record after every and select iteration from the drop-down list.
The In Memory option is acceptable for a small 2D case such as this. For larger 2D or 3D cases,
saving animation files with either the PPM Image or HSF File option is preferable, to avoid using
too much of your machine’s memory.
3. Create a field function that can be used in an animation definition for the total displacement of the flap.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 783
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
This function will calculate the total displacement using the displacement components along each axis,
and is based on the Pythagorean theorem for two dimensions.
a. Click the SQRT button on the calculator pad to add sqrt to the Definition field.
c. Select Structure... and X Displacement from the Field Functions drop-down lists and click the Select
button.
e. Continue in this manner to complete the Definition shown in the previous figure: sqrt (x-dis-
placement * x-displacement + y-displacement * y-displacement).
Tip
If you make a mistake, click the DEL button on the calculator pad to delete the last
item you added to the function definition.
g. Click Define and close the Custom Field Function Calculator dialog box.
The total-displacement item appears under the Parameters & Customization / Custom Field
Functions branch in the Outline View.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
784 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enter 5 for Record after every and select iteration from the drop-down list.
d. Click New Object and select Contours... from the drop-down list to open the associated dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 785
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
ii. Select Custom Field Functions... and total-displacement from the Contours of drop-down lists.
iii. Disable Auto Range and enter 0 and 7.07e-05 for Min and Max, respectively.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
786 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Enter 5 for Record after every and select iteration from the drop-down list.
d. Click New Object and select Mesh... from the drop-down list to open the associated dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 787
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
iii. Deselect all surfaces in the Surfaces selection list by clicking , and then select fluid.4 and solid.5.
iv. Click Save/Display and close the Mesh Display dialog box.
23.4.9. Solution
1. Disable the checking of convergence for the displacement residual equations.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
788 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Disable the Check Convergence options for the x- and y-displacement equations.
In order to ensure quality for structural model files, only the Hierarchical Data Format (HDF) is supported.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 789
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
d. Click Calculate.
4. After the solution has been calculated, save the case and data files (flap_fsi_2way.cas.h5 and
flap_fsi_2way.dat.h5).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
790 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
23.4.10. Postprocessing
1. View the animations of the results.
e. Click the play button (the second from the right in the group of buttons in the Playback group box).
f. Magnify the view as shown in Figure 23.4: Contours of Velocity Magnitude (p. 792).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 791
vk.com/club152685050 | vk.com/id446425943
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
j. Magnify the view as shown in Figure 23.5: Contours of Total Displacement (p. 792).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
792 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
n. Magnify the view as shown in Figure 23.6: The Mesh of the Displaced Flap (p. 793).
23.5. Summary
This tutorial demonstrated how to set up and solve a two-way intrinsic FSI simulation. You learned how
to enable a structural model and define the solid material, boundary conditions, and dynamic mesh
zones. After completing the simulation, you viewed animations of the resulting fluid velocity contours
and displacement of the structure. For more information about intrinsic FSI simulations, see the Fluent
User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 793
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
794 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
24.1. Introduction
ANSYS Fluent’s adjoint solver is used to compute the sensitivity of quantities of interest in a fluid system
with respect to the user-specified inputs, for an existing flow solution. Importantly, this also includes
the sensitivity of the computed results with respect to the geometric shape of the system. The adjoint
design change tool is a powerful component that can use the sensitivity information from one or more
adjoint solutions to guide systematic changes that result in predictable improvements in the system
performance, which can be made subject to various types of design constraints if desired.
This tutorial provides an example of how to generate sensitivity data for flow past a circular cylinder,
how to postprocess the results, and how to use the data to perform a multi-objective design change
that reduces drag and increases lift by morphing the mesh. The tutorial makes use of a previously
computed flow solution, and demonstrates how to do the following:
• Use the design change tool to modify the cylinder shape to simultaneously reduce the drag and increase
the lift.
24.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 795
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
4. Use Fluent Launcher to start the 2D version of ANSYS Fluent, with the Double Precision and Display
Mesh After Reading options enabled.
5. Load the converged case and data file for the cylinder geometry.
When prompted, browse to the location of the case and data files and select cylinder_tutori-
al.cas to load. The corresponding data file will automatically be loaded as well.
Note
After you read in the mesh, it will be displayed in the embedded graphics windows,
since you enabled the appropriate display option in Fluent Launcher.
The data file contains a previously computed flow solution that will serve as the starting point for
the adjoint calculation. Part of the mesh and the velocity field are shown below:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
796 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 797
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
1. Click the Manage... button to open the Manage Adjoint Observables dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
798 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. Click the Create... button in the Manage Adjoint Observables dialog box to open the Create New Ob-
servable dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 799
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
4. In the Manage Adjoint Observables dialog box, the newly created force-drag observable appears and
must now be configured. (Figure 24.6: Manage Observables Dialog Box (p. 800)):
b. Select wall under Wall Zones. This is the cylinder wall on which you want the force to be evaluated.
c. Ensure that the X-Component direction is set to 1 and the Y-Component direction is set to 0.
5. Repeat the process in the Manage Adjoint Observables dialog box to create a lift observable with the
following settings:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
800 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Name force-lift
Wall Zones wall
X-Component 0
Y-Component 1
Tip
If the Name field is not available in the Create New Observable dialog box, select a
different observable type and then select force again to make it available.
When you have configured the force-lift observable, click OK to commit the settings for force-lift and
close the Manage Adjoint Observables dialog box.
The selection in the Adjoint Obervables dialog box determines the observable for which sensitivities
will be computed. You will first compute the drag sensitivities.
b. Select Minimize from the Sensitivity Orientation list, because you are trying to reduce the drag force.
This indicates that postprocessed results for the drag sensitivity will be displayed such that a reduction
in drag is achieved by a design change in the positive sensitivity direction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 801
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
c. Click Evaluate to print the value of the drag force on the wall in the console.
Observable name: force-drag
Observable Value (n) = 1271.7444
The default solution control settings are chosen to provide robust solution advancement for a wide
variety of problems, including those having complex geometry, high local flow rates, and turbulence.
Given sufficient iterations, a converged result can often be obtained without modifying the controls.
For this simple laminar flow case, more aggressive settings will yield faster convergence.
Open the Adjoint Solution Controls dialog box (Figure 24.8: Adjoint Solution Controls Dialog
Box (p. 802)).
This prevents Fluent from automatically choosing and adjusting the solution controls for you.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
802 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Higher Courant Number values correspond to more aggressive settings / faster convergence,
which is appropriate for a simple case such as this.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 803
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
3. Configure the adjoint solution monitors by opening the Adjoint Residual Monitors dialog box (Fig-
ure 24.9: Adjoint Residual Monitors Dialog Box (p. 804)).
In the Adjoint Residual Monitors dialog box, you set the adjoint equations that will be checked
for convergence, as well as set the corresponding convergence criteria.
a. Make sure that the Print to Console and Plot options are enabled.
b. Keep the default values of 1e-05 for Adjoint continuity and Adjoint velocity, and 0.001 for Adjoint
local flow rate. These settings are adequate for most cases. Make sure that the Check Convergence
options are enabled.
4. Run the adjoint solver using the Run Adjoint Calculation dialog box (Figure 24.10: Run Adjoint Calculation
Dialog Box (p. 805)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
804 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. Click the Initialize button. This initializes the adjoint solution everywhere in the problem domain to
zero.
b. Set the Number of Iterations to 200. The adjoint solver is fully configured to start running for this
problem.
d. When the calculation is complete, Close the Run Adjoint Calculation dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 805
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
2. Select inlet under Boundary choice and click the Report button to display a report in the console of the
available scalar sensitivity data on the inlet:
Updating shape sensitivity data.
Done.
2. Select Sensitivities... and Sensitivity to Body Force X-Component (Cell Values) from the Contours of
drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
806 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
4. Click Compute and then Display to view the contours (Figure 24.14: Adjoint Sensitivity to Body Force X-
Component Contours (p. 808)) and then Close the Contours dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 807
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
Figure 24.14: Adjoint Sensitivity to Body Force X-Component Contours (p. 808) shows how sensitive
the drag on the cylinder is to the application of a body force in the -direction in the flow. If a body
force is applied directly upstream of the cylinder, for example, the disturbed flow is incident on the
cylinder and modifies the force that it experiences.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
808 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
3. Select Sensitivities... and Sensitivity to Mass Sources (Cell Values) from the Color by drop-down
lists.
6. Click the Display button to view the vectors (Figure 24.16: Shape Sensitivity Colored by Sensitivity to
Mass Sources (Cell Values) (p. 810)) and then Close the Vectors dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 809
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
Figure 24.16: Shape Sensitivity Colored by Sensitivity to Mass Sources (Cell Values)
This plot shows how sensitive the drag on the cylinder is to changes in the surface shape. The drag is
affected more significantly if the cylinder is deformed on the upstream rather than the downstream
side. Maximum effect is achieved by narrowing the cylinder in the cross-stream direction.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
810 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. In the Region tab, define the region that will be modified for the design change.
a. Ensure that Cartesian is selected from the Region Geometry drop-down list.
This will initialize the morphing region to the bounding box around the cylinder wall.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 811
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
d. Click Update Region to update the view of the bounding box illustration in the graphics window.
You can use the Mesh Display dialog box to also display the mesh, in order to review it prior to
morphing.
e. Click Larger Region several times until the X and Y Limits are ±1.907349 m (Figure 24.18: Morphing
Region Around Cylinder (p. 812)).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
812 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
g. In the Manage Sensitivity Data dialog box, click Export... and save the sensitivity data as force-
drag.s.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 813
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
2. Initialize and Calculate the adjoint solution using the Run Adjoint Calculation dialog box to obtain the
sensitivities for the force-lift observable.
You can export the sensitivity data for the lift observable as you did for the drag, but it is not strictly
necessary if you plan to perform the multi-objective optimization in the current Fluent session.
force-lift is now displayed in the Design Change tab because it is the currently selected observable.
The Design Change tab functions as a dashboard for the design modification, where you can select
which boundaries are subject to modification, enable or disable conditions that you have defined,
specify relative weighting if you have multiple freeform objectives, and view predicted results. You
will return to it to perform the design change after you have configured the objectives and the
morphing region.
2. Retain the default selection of Polynomials from the Morphing Method list.
This morphing method is appropriate when you prefer mesh quality over adherence to the design con-
ditions; otherwise the Direct Interpolation is recommended.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
814 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
The force-lift observable is already listed because Include current data is enabled.
b. Click Manage Data... to open the Manage Sensitivity Data dialog box.
c. Click Import Sensitivities... and select the force-drag.s file you created earlier. Click OK.
For this example, you will seek a design change that increases the lift and results in a 10% reduction
in drag.
a. In the Objectives tab, select the force-lift observable. The current value of the lift is displayed along
with options to specify the objective for the lift.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 815
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
This indicates that you want to increase the lift, but are not prescribing a specific target change.
This setting is used to normalize the scale of the change in value of the observable, which can be
important in cases where multiple observables are considered that may be of different scales.
d. Click Apply.
This indicates that you are prescribing a specific change in the value of the observable, rather than
a freeform increase or decrease.
g. Enter -10 for Target/Reference Change and enable the As Percentage option.
10% is a generally a reasonable maximum target change for a design change. Using a target
change that is too large may result in very large deformations and/or overshooting the local op-
timum.
h. Click Apply.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
816 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
You already specified the dimensions of the region earlier when exporting the force-drag sensitivity.
Now you will also configure the control-point density.
a. Click the Region Conditions tab in the Design Tool dialog box.
c. Click Apply.
You can use the Mesh Display dialog box to display the mesh, in order to see the increase in
control points.
Many other settings are available in the Region Conditions tab, including constraints on control-
point motion, symmetry conditions, and continuity conditions. For additional information, see the
section on defining region conditions in the Fluent User's Guide manual.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 817
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
Only zones that are selected in the Zones To Be Modified list (or that have prescribed motions
applied) will be modified as part of the design change.
c. If multiple freeform objectives were defined (that is, multiple objectives with Increase Value or De-
crease Value selected in the Objectives tab), you would need to specify the Weight for each. In this
case only one objective (force-lift) is freeform, so no input is required for Weight.
d. Retain the default settings of Control-Point Spacing for Freeform Scaling Scheme, and 0.1 for
Freeform Scale Factor.
These settings allow you to adjust the magnitude of the attempted design change (Freeform Scale
Factor) and the basis for the scaling (Freeform Scaling Scheme).
The Results list is updated to reflect the Expected change for each observable.
Note that the drag is predicted to decrease by 10% as you requested, and the lift is predicted
to increase.
f. Click the Preview... button in the Mesh group box to preview the design change in the graphics
window.
g. Select wall on the Preview Morphing dialog box and click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
818 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
h. Click the Modify Mesh button to apply the calculated mesh deformation that will reposition the
boundary and interior nodes of the mesh. Information regarding the mesh modification is printed
in the console:
Updating mesh (steady, mesh iteration = 00001, pseudo time step 1.0000e+00)...
Dynamic Mesh Statistics:
Minimum Volume = 3.46267e-04
Maximum Volume = 6.36270e-01
Maximum Cell Skew = 3.69248e-01 (cell zone 11)
Minimum Orthogonal Quality = 6.30752e-01 (cell zone 11)
The effect on the mesh is shown in Figure 24.21: Mesh After Deformation (p. 820):
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 819
vk.com/club152685050
Using the Adjoint Solver| –vk.com/id446425943
2D Laminar Flow Past a Cylinder
j. Re-converge the conventional flow calculation for this new geometry in the Run Calculation task
page.
The currently loaded case file already has report definitions defined for lift and drag, or you
can Evaluate the new values in the Adjoint Observables dialog box.
The new values for drag and lift are reported to be:
Observable name: force-drag
Observable Value (n): 1151.1881
Note that the drag has changed by -120.4 N or -9.5% compared to the drag on the undeformed
cylinder. This value compares very well with the change of -127.2 N (-10%) that was predicted
from the adjoint solver. The lift has increased by 122.8 N, which again compares very well with
the predicted change of 127.6 N.
24.5. Summary
This tutorial has demonstrated how to use the adjoint solver to compute the sensitivity of the drag and
lift on a circular cylinder to various inputs for a previously computed flow field. The process of setting
up and running the adjoint solver was illustrated. The steps to perform various forms of postprocessing
were also described. The design change tool was used to make a multi-objective change to the design
that reduced the drag and increased the lift in a predictable manner.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
820 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
This example considered multiple objectives at a single flow condition. Another powerful application
of the design tool is to perform multi-objective design changes using sensitivities computed for multiple
flow conditions. This allows you to identify design changes that improve performance across a range
of anticipated operating conditions, potentially of differing importance. The design tool also offers a
rich set of additional capabilities for including prescribed deformations, bounding planes / surfaces,
and fixed-wall constraints in your multi-objective design change. For full details about how to use the
design tool, refer to the Fluent User's Guide.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 821
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
822 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Chapter 25: Simulating a Single Battery Cell Using the MSMD Battery
Model
This tutorial is divided into the following sections:
25.1. Introduction
25.2. Prerequisites
25.3. Problem Description
25.4. Setup and Solution
25.5. Summary
25.6. Appendix
25.7. References
25.1. Introduction
This tutorial is used to show how to set up a battery cell simulation in ANSYS Fluent.
• Perform the calculations for different battery discharge rates and compare the results using the postprocessing
capabilities of ANSYS Fluent
25.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 823
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
For external and internal short-circuit treatment, you will consider an extreme case where external and
internal short-circuits occur at the same time. You will simulate post-short-circuit battery processes. You
can assume that the internal short is caused by a nail penetration occurring near the center of the
battery.
25.4.1. Preparation
1. Download the battery_cell.zip file here.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
824 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
7. Select either Serial or Parallel under Processing Options. In this tutorial, Serial is selected for demon-
stration only.
When prompted, browse to the location of the unit_battery.msh and select the file.
Once you read in the mesh, it is displayed in the embedded graphics windows.
The geometry is already in the correct scale. You don’t need to scale it.
During the loading process, a scheme library containing the graphical and text user interface, and
a library of user-defined functions (UDFs) containing a set of UDFs for the battery module are loaded
into ANSYS Fluent. Fluent reports the progress in the console.
Once the MSMD battery add-on is loaded, MSMD Battery Model appears in the Models task page
and under the Models tree branch. The UDF library also becomes visible as a new entry in the UDF
Library Manager dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 825
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
2. To solve for the temperature field, enable the Energy equation (in the Models group).
a. In the MSMD Battery Model dialog box, select Enable MSMD Battery Model.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
826 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Under the Model Options tab (Figure 25.2: Model Options (p. 827)), configure the following battery
operation conditions:
i. Under E-Chemistry Models, retain the default selection of NTGK Empirical Model.
ii. Ensure that Solving Transport Equation is selected for Solution Method for E-field.
iii. Under Electrical Parameters, retain the default value of 14.6 Ah for Nominal Cell Capacity.
iv. Retain the default selection of Specified C-Rate and the value of 1 for C-Rate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 827
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
c. Under the Model Parameters tab, retain the default settings for Y and U coefficients. For details, see
the Fluent Advanced Add-On Modules documentation.
Note
• If in your case, Y and U functions are not in the same function form as in the Kim’s paper,
you need to modify the cae_user.c source code file. See the Fluent Advanced Add-On
Modules documentation for details.
• For a given battery, you can perform a set of constant current discharging tests, and then
use the battery's parameter estimation tool to obtain the Y and U functions. See the Fluent
Advanced Add-On Modules documentation for details.
d. Under the Conductive Zones tab (Figure 25.3: Conductive Zones (p. 829)), configure the following set-
tings:
For this single cell case, there are no busbar zones. Electro-chemical reactions occur only in the
active zone. Battery tabs are usually modeled as passive zones, in which the potential field is
also solved.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
828 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
e. Under the Electric Contacts tab (Figure 25.4: Electric Contacts (p. 830)), configure the contact surface
and external connector settings as follows:
The corresponding current or voltage boundary condition will be applied to those boundaries
automatically.
Under the Electric Contacts tab, you can also define extra contact resistance for each zone.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 829
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
ANSYS Fluent prints the battery connection information in the console window:
Battery Network Zone Information:
-------------------------------------
Battery Serial 1
Parallel 1
N-Tab zone: tab_nzone
Active zone: e_zone
P-Tab zone: tab_pzone
-----------------------------------
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
830 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Number of battery series stages =1; Number of batteries in parallel per series stage=1
****************END OF BATTERY CONNECTION INFO**************
In the background, Fluent automatically hooks all the necessary UDFs for the problem.
In the battery model, two user defined scalars, uds0 and uds1, are solved for the positive and negative
potentials, respectively. To specify the electric conductivity of the active material you need to define
the UDS diffusivity.
Important
For the battery active material, you must define the electric conductivity via the UDS diffus-
ivity on a per-scalar basis. ANSYS Fluent will use these two UDS scalars to solve the differential
equations; for details, see the Fluent Advanced Add-On Modules documentation.
For the battery passive conductive zones, such as tabs or busbars, you must define the UDS
diffusivity using a user-defined function (UDF) and define the material’s electric conductivity
using the Electrical Conductivity entry field.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 831
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
a. In the Create/Edit Materials dialog box, select solid from the Material Type drop-down list.
f. Ensure that define-per-uds is selected from the UDS Diffusivity drop-down list and click Edit... next
to UDS Diffusivity.
Note
If the UDS Diffusion Coefficients are defined through the defined-per-uds option,
the Fluent solver does not use the value for Electrical Conductivity.
g. In the UDS Diffusion Coefficients dialog box, specify the user-defined scalars.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
832 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
iv. In a similar way, set uds-1 to 9.83e5 [1/ohm-m] and close the UDS Diffusion Coefficients dialog
box.
Note
The units for UDS Diffusivity are 1/ohm-m, and cannot be modified.
v. In the Question dialog box, click No to retain aluminum and add the new material (e_material) to
the materials list.
Note
Refer to Appendix (p. 859) for information on how to calculate the battery cell
property values.
2. Create a new material for the positive tab by modifying copper from the solid material database.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 833
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
The UDS Diffusivity for tab materials must be defined through the UDF as described below.
b. In the Fluent Database Materials dialog box, make sure that solid is selected for Material Type.
c. Select copper from Fluent Solids Materials and click Copy and then Close.
The Create/Edit Materials dialog box now displays the copied properties for copper.
f. Under Properties, select user-defined from the UDS Diffusivity drop-down list.
g. In the User-Defined Functions dialog box that opens, verify that battery_e_cond::msmdbatt is selected
and click OK.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
834 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
3. Create a new material for the negative tab with the same properties as the material for the positive tab.
Note
You do not need to create two different materials for the positive and negative tabs if
the positive and negative tabs are made of the same material. In this tutorial, the two
different tab materials with the same physical properties have been created for demon-
stration purposes only.
c. Click Change/Create.
d. In the Question dialog box, click No to retain p_material and add the new material (n_material) to the
materials list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 835
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
a. In the Solid dialog box, select e_material from the Material Name drop-down list.
b. Click OK.
a. In the Wall dialog box, under the Thermal tab, under Thermal Conditions, enable Convection.
c. Retain the default value of 300 [K] for Free Stream Temperature.
You do not need to change the settings under the UDS tab since the boundary conditions
for the two UDS scalars have been set automatically when you defined the cell zone condi-
tions.
a. In the Equations dialog box, deselect Flow from the Equation selection list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
836 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. Click OK.
2. Remove the convergence criteria to ensure that automatic convergence checking does not occur.
a. In the Residual Monitors dialog box, select none from the Convergence Criterion drop-down list.
b. Click OK.
3. Create a surface report definition for the voltage at the positive tab.
a. In the Surface Report Definition dialog box, enter voltage_vp for Name.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 837
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
b. Select User Defined Scalars... and Potential Phi+ from the Field Variable drop-down lists.
d. In the Create group box, enable Report File, Report Plot and Print to Console.
e. Click OK to save the voltage_vp report definition and close the Surface Report Definition dialog box.
i. In the Edit Report Plot dialog box, under the Plot Window group box, click the Axes... button to
open the Axes dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
838 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You must click Apply to save the modified settings for each axis.
vi. Make sure that time-step is selected from the Get Data Every drop-down list.
4. Create a volume report definition for the maximum temperature in the domain.
a. In the Volume Report Definition dialog box, enter max_temp for Name.
b. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 839
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
d. In the Create group box, enable Report File, Report Plot and Print to Console.
e. Click OK to save the volume report definition settings and close the Volume Report Definition dialog
box.
g. Modify the axis attributes by setting the Precision to 0 for the X axis and to 2 for the Y axes (in a
manner similar to the surface plot definition).
h. Click OK.
Solution → Initialization
b. Click Initialize.
You do not need to modify Initial Values in the Solution Initialization task page, because these
values are not used for initialization. The ANSYS Fluent solver automatically computes the initial
condition for UDS0 and UDS1.
a. Set Time Step Size to 30 seconds and No. of Time Steps to 100.
b. Click Calculate.
The residual plot, the report for voltage at the positive tab and the history of the maximum
temperature in the domain are shown in Figure 25.5: Residual History of the Simulation (p. 841),
Figure 25.6: Report Plot of Discharge Curve at 1 C (p. 841), and Figure 25.7: History of Maximum
Temperature in the Domain (p. 842), respectively.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
840 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 841
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
25.4.5. Postprocessing
In this section, postprocessing capabilities for the MSMD battery model solution are demonstrated.
1. Display the contour plot of the phase potential for the positive electrode.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
842 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Contours dialog box, in the Options group box, enable Filled.
b. From the Contours of drop-down list, select User Defined Scalars... and Potential Phi+.
c. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list, select
Surface Type (under Group by).
d. From the Surfaces selection list, under Wall, select tab_p, wall_active, and wall_p.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 843
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
Figure 25.8: Contour Plot of Phase Potential for the Positive Electrode
2. In a similar manner, display the contour plot of the phase potential for the negative electrode.
a. In the Contours dialog box, in the Options group box, enable Filled.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
844 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
b. From the Contours of drop-down list, select User Defined Scalars... and Potential Phi-.
c. From the Surfaces selection list, select tab_n, wall_active, and wall_n.
Figure 25.9: Contour Plot of Phase Potential for the Negative Electrode
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 845
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
a. In the Contours dialog box, in the Options group box, enable Filled.
b. From the Contours of drop-down list, select Temperature... and Static Temperature.
The surfaces listed under Wall are automatically selected in the Surfaces list.
Note
Use the Axes dialog box to set the precision for the colormap labels.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
846 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Vectors dialog box, select current-density-j from the Vectors of drop-down list.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 847
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
b. Select User Defined Memory... and Magnitude of Current Density from the Color by drop-down
list.
c. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list, select
Surface Type (under Group by).
e. In the Options group, enable Draw Mesh and in the Mesh Display dialog box, set the mesh display
options as desired.
5. Save the case file as ntgk.cas.gz. You will use this saved case later to treat electric short-circuits.
6. Repeat the simulation for the following charge rates and time steps:
a. In the MSMD Battery Model dialog box, under the Model Options tab, specify the value listed in the
above table for the C-Rate.
b. Modify the output filename for the voltage_vp-rfile report file by entering ntgk-C-Rate.out for
Output File Base Name in the corresponding Edit Report File dialog box, where C-Rate is the value
of the battery discharge rate. (For example, for C-Rate = 0.5 C, you will enter ntgk-0.5c.out for the
filename).
c. Similarly, modify the output filename for max_temp-rfile by entering max-temp-C-Rate.out for
Output File Base Name in the corresponding Edit Report File dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
848 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. Initialize and run the solution for the number of the times steps specified in the above table.
Note
The Fluent solver will stop either after completing the specified number of time steps
or when the Min. Stop Voltage condition is reached.
7. Display the discharge curves for the positive tab for the different discharge rates.
b. In the Select File dialog box, change File of Types to All Files (*), click ntgk-0.5c.out and
click OK.
c. Under Legend Entries, in the lowest text-entry box, enter 0.5c and click Change Legend Entry.
d. Do the same for ntgk-1c.out and ntgk-5c.out and change their legend entries accordingly.
Note
Use the Axes dialog box to set the precision for the plot axes.
The Figure 25.12: NTGK Model: Discharge Curves (p. 849) shows the discharge curves for different
discharge rates in the function of time.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 849
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
8. In a manner similar to the previous step, load the files max-temp-0.5c.out, max-temp-1c.out, and
max-temp-5c.out and display the maximum temperature curves in the domain.
Figure 25.13: NTGK Model: Maximum Temperature in the Domain (p. 850) shows the maximum tem-
perature curves in the simulation for different discharge rates.
25.4.6. Simulating the Battery Pulse Discharge Using the ECM Model
1. In the MSMD Battery Model dialog box, under E-Chemistry Models, select Equivalent Circuit Model.
2. Under Electrical Parameters, retain the default value of 14.6 Ah for Nominal Cell Capacity.
3. Retain the default selection of Specified C-Rate and enter 1 for C-Rate.
4. Under the Model Parameters tab, retain the battery specific parameters.
For a given battery, these model parameters can be obtained using the battery's HPPC testing data.
See Using the Dual-Potential MSMD Battery Model Text User Interface in the ANSYS Fluent Advanced
Add-On Modules for details.
5. Click OK to apply the ECM battery model settings and close the MSMD Battery Model dialog box
6. Click OK in the Warning dialog box informing you that the re-initialization of the battery model is required.
7. Disable writing the maximum temperature in the domain over time to a file.
a. In the Volume Report Definition dialog box, under Report Files, deselect max_temp-rfile.
8. In a similar manner, disable writing the time-dependent voltage at the positive tab to a file.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
850 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
9. In the Solution Initialization task page, click Initialize to re-initialize the field variables.
10. Simulate the battery pulse discharge by changing the battery operating conditions each time after running
the calculation for five minutes.
a. In the Run Calculation task page, set Number of Time Steps to 10 and click Calculate.
b. Once the calculation is complete, set C-Rate to 0 and run the calculation for 10 more time steps.
c. Continue the simulation by alternating the value of C-Rate between 1 C and 0 C until, until the battery
is fully discharged.
Note
Instead of doing this manually, you can use the Using Profile option in the MSMD
Battery Model dialog box and load a profile file with specified C-rate fluctuations to
drive the whole process. For more information about the usage of a profile file, refer
to Specifying Battery Model Options in the ANSYS Fluent Advanced Add-On Modules..
The battery pulse discharge is summarized in Figure 25.14: Battery Pulse Discharge (p. 851).
3. In the Run Calculation task page, enter 3 for Number of Time Steps and click Calculate.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 851
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
Click No in the Question dialog box when asked if you would like to append the new data to the
existing file, and then click Yes in the Warning dialog box to overwrite the existing file.
a. In the MSMD Battery Model dialog box, select Reduced Order Method.
The solution of the simulation using the ROM is significantly faster than when using the direct
method without any changes in results.
a. In the MSMD Battery Model dialog box, under the Model Options tab, in the Solution Options group
box, enable Specified Resistance.
3. Set up the internal electric short-circuit in the center of the battery cell.
a. Mark the short-circuit zone shown in Figure 25.15: Internal Short Circuit Region Marked for Patch-
ing (p. 853) using the region adaption feature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
852 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
i. In the Region Register dialog box, enter the following values for Input Coordinates.
Fluent reports in the console that 12 cells were marked for refinement.
5. Patch the internal short circuit zone with the short resistance value.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 853
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
b. In the Patch dialog box, select Short Circuit Resistance under Variable.
b. Click Calculate.
25.4.8.2. Postprocessing
1. Compute the battery tab voltage .
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
854 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Surface Integrals dialog box, from the Report Type drop-down list, select Area-Weighted Av-
erage.
b. From the Field Variable drop-down lists, select User Defined Scalar... and Potential Phi+.
c. In the Surfaces filter, type t to display surface names that begin with "t" and select tab_p from the
selection list.
d. Click Compute.
The battery tab voltage of approximately 4.077 V is printed in the Area-Weighted Average field
and in the Fluent console.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 855
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
b. From the Field Variable drop-down lists, select User Defined Memory... and Volumetric Current
Source.
d. Click Compute.
Fluent reports in the Total Volume Integral field and in the console that the total volume integral
for the volumetric current source is approximately 8.155 A.
The computed values of the battery tab current and voltage satisfy the tab boundary condition
.
3. Display the vector plot of current at the positive and negative current collectors.
a. In the Vectors dialog box, select current-density-jp from the Vectors of drop-down list.
b. Select User Defined Memory... and Magnitude of Current Density from the Color by drop-down
lists.
The surfaces of the "wall" type are automatically selected in the Surfaces list.
d. Click Display.
e. The plot shows the vector plot of electric current flow in the positive current collector of the battery
cell.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
856 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Figure 25.16: The Vector Plots of Current at the Positive Current Collectors
f. In a similar manner, display the current for the negative current collector by selecting current-density-
jn from the Vectors of drop-down list.
The plot shows the vector plots of electric current flow in the negative current collector of the
battery cell. These plots clearly show that besides providing tab current, short current flows from
positive electrode to the negative electrode through the short area.
Figure 25.17: The Vector Plots of Current at the Negative Current Collectors
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 857
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
b. From the Contours of drop-down list, select Temperature... and Static Temperature.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
858 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Appendix
Figure 25.18: Contour Plot of Temperature (p. 858) shows a temperature hotspot in the internal
shorted area of the battery cell.
5. Check for different electric current flow rates in the manner described in step 2.
a. Generate volume integral reports for the field variables listed in the table below.
b. Verify that the total produced electric current equals to the sum of tab and short current, that is
.
a. As you did for the current source reports, generate reports for the field variables listed in the table below.
b. Verify that the total heat generation rate is the sum of different contributions, that is
.
Note that, as battery's temperature increases, thermal runaway may occur. If thermal runaway starts,
some undesirable exothermic decomposition reactions will occur. For thermal runaway simulations, the
default electrochemistry model cannot be used. Short treatment can only capture the thermal ramp-up
process before the onset of thermal runaway.
25.5. Summary
In this tutorial, you studied how to solve a battery cell problem using the NTGK submodel with the
default settings. You then used the ROM to speed up the computation time of the battery model sim-
ulation. In addition, you learned how to use the MSMD model capability to treat external and internal
short-circuits.
For more information about using the Dual-Potential MSMD Battery model, see the Fluent Advanced
Add-On Modules documentation.
25.6. Appendix
The battery cell cross-section is shown in the figure below.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 859
vk.com/club152685050 | vk.com/id446425943
Simulating a Single Battery Cell Using the MSMD Battery Model
You can estimate the material properties for your battery cell using the following correlations:
where is the effective property value of a material property (such as density, heat capacity, or
thermal conductivity), is the thickness. The subscripts , , and refer to current collector, electrode,
and separator, respectively. The superscripts and refer to positive and negative, respectively.
The material properties are taken from Kim’s papers [2] and [1]. The computed material properties for
the battery cell presented in the tutorial are shown in the table below.
Zone Total
[um] 20 150 12 145 10 322
= 9.83e5
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
860 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 References
25.7. References
1. U. S. Kim et al,“Effect of electrode configuration on the thermal behavior of a lithium-polymer battery”,
Journal of Power Sources, Volume 180 (2), pages 909-916, 2008.
2. U. S. Kim, et al.,“Modeling the Dependence of the Discharge Behavior of a Lithium-Ion Battery on the En-
vironmental Temperature”, J. of Electrochemical Soc., Volume 158 (5), pages A611-A618, 2011.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 861
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
862 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Chapter 26: Simulating a 1P3S Battery Pack Using the MSMD Battery
Model
This tutorial is divided into the following sections:
26.1. Introduction
26.2. Prerequisites
26.3. Problem Description
26.4. Setup and Solution
26.5. Summary
26.1. Introduction
This tutorial is used to show how to set up a battery pack (battery system connected in parallel/series
pattern) simulation in ANSYS Fluent. All the three submodels are available for a pack simulation.
• Set up a battery pack simulation using the NTGK battery submodel in ANSYS Fluent
• Define electric contacts for the contact surface and external connectors
• Define electric conductivity for the active material using the user-defined scalars
• Define electric conductivity for the passive material using the user-defined function
• Obtain the battery pack simulation results and perform postprocessing activities
Most problem setup procedures are similar to the single cell simulation. The differences in the problem
setup will be emphasized in this tutorial.
26.2. Prerequisites
This tutorial is written with the assumption that you have completed one or more of the introductory
tutorial Fluid Flow and Heat Transfer in a Mixing Elbow (p. 35) found in this manual and that you are
familiar with the ANSYS Fluent tree and ribbon structure. Some steps in the setup and solution procedure
will not be shown explicitly.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 863
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
The discharging process of the battery pack is occurring under constant power of 200 W. The nominal
cell capacity is 14.6 Ah.
You will create a material for the battery cells (an active material) and define the electric conductivity
for the active material using the user-defined scalars (UDS). You will create a material for busbars and
tabs (a passive material) and define the electric conductivity for the passive material using the provided
user-defined function (UDF). You will use the same material for busbars and tabs.
In this tutorial, you will use the NTGK battery submodel to simulate the discharging process under
constant power conditions.
26.4.1. Preparation
1. Download the battery_pack.zip file here.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
864 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
7. Select either Serial or Parallel under Processing Options. In this tutorial, Serial is selected for demon-
stration only.
When prompted, browse to the location of the 1P3S_battery_pack.msh and select the file.
Once you read in the mesh, it is displayed in the embedded graphics windows.
a. In the Scale Mesh dialog box, select Specify Scaling Factors in the Scaling group.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 865
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
e. Clicking the Fit to Window icon, , to fit and center mesh in the graphics window.
During the loading process, a scheme library containing the graphical and text user interface, and
a library of user-defined functions (UDFs) containing a set of UDFs for the battery module are loaded
into ANSYS Fluent. Fluent reports the progress in the console.
Once the MSMD battery add-on is loaded, MSMD Battery Model appears in the Model task page
and under the Models tree branch. The UDF library also becomes visible as a new entry in the UDF
Library Manager dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
866 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
2. To solve for the temperature field, enable the Energy equation (in the Models group).
a. In the MSMD Battery Model dialog box, select Enable MSMD Battery Model.
b. Under the Model Options tab (Figure 26.2: Model Options (p. 867)), configure the following battery
operation conditions:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 867
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
ii. In the Electrical Parameters group, retain the default value of 14.6 Ah for Nominal Cell Capacity.
iii. Enable Specified System Power in the Solution Options group and set System Power to 200
W.
c. Under the Model Parameters tab, retain the default settings for Y and U coefficients. For details, see
the Fluent Advanced Add-On Modules documentation.
d. Under the Conductive Zones tab (Figure 26.3: Conductive Zones (p. 869)), configure the following set-
tings:
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
868 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
e. Under the Electric Contacts tab (Figure 26.4: Electric Contacts (p. 870)), configure the contact surface
and external connector settings as follows:
The corresponding current or voltage boundary condition will be applied to those boundaries
automatically.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 869
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
ANSYS Fluent prints the battery connection information in the console window:
Battery Network Zone Information:
-------------------------------------
Battery Serial 1
Parallel 1
N-Tab zone: n_tabzone_1
Active zone: cell_1
P-Tab zone: p_tabzone_1
Battery Serial 2
Parallel 1
N-Tab zone: n_tabzone_2
Active zone: cell_2
P-Tab zone: p_tabzone_2
Battery Serial 3
Parallel 1
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
870 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
g. Verify that the connection information is correct. If an error message appears or if the connections are
not what you want, redefine the conductive zones in the Conductive Zones tab (Figure 26.3: Conductive
Zones (p. 869)). Repeat this process until you confirm that the battery connections are set correctly.
Important
To set a valid connection, you must connect the negative tab to the positive tab
through conductive zones.
In the background, Fluent automatically hooks all the necessary UDFs for the problem.
Important
For the battery active material, you must define the electric conductivity via the UDS diffus-
ivity on a per-scalar basis. ANSYS Fluent will use these two UDS scalars to solve the differential
equations; for details, see the Fluent Advanced Add-On Modules documentation.
For the battery passive material(s), you must define the UDS diffusivity using a user-defined
function (UDF).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 871
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
a. In the Create/Edit Materials dialog box, enter e_material for Name and e for Chemical Formula.
c. Under Properties, ensure that define-per-uds is selected from the UDS Diffusivity drop-down list
and click Edit... next to UDS Diffusivity.
d. In the UDS Diffusion Coefficients dialog box, set the constant value of 1.0 e6 for the both user-defined
scalars.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
872 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
iv. In a similar way, set uds-1 to 1.0 e6 and close the UDS Diffusion Coefficients dialog box.
Note
• The units for UDS Diffusivity are s/m, and cannot be modified.
• In this tutorial, the electric conductivities are the same for the two scalars UDS0 and
UDS1, so you will need to define only one material for all cell zones. If the electric
conductivities are different for positive and negative electrodes, you will need to define
two different materials, as described in the Fluent Advanced Add-On Modules docu-
mentation.
v. In the Question dialog box, click No to retain aluminum and add the new material (e_material) to
the materials list.
e. Ensure that e_material (e) is selected from the Fluent Solid Materials drop-down list.
Note
If the UDS Diffusion Coefficients are defined through the defined-per-uds option,
the Fluent solver does not use the value for Electrical Conductivity.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 873
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
2. Create the busbar_material material for busbars and tabs by modifying e-material you have created in the
previous step.
As stated in the problem description, you will use the same material for busbars and tabs.
Note
If the busbar and tab materials are different, you need to define the two different mater-
ials and assign them to the busbars and tabs, respectively.
The UDS Diffusivity for both busbar and tab materials must be defined through the UDF as described
below.
a. In the Create/Edit Materials dialog box, enter busbar_material for Name and bus for Chemical
Formula.
b. Under Properties, select user-defined from the UDS Diffusivity drop-down list.
c. In the User-Defined Functions dialog box that opens, verify that battery_e_cond::msmdbatt is selected
and click OK.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
874 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
d. In the Question dialog box, click No to retain e-material and add the new busbar_material material
to the materials list.
f. Edit the busbar_material material and ensure that busbar_material (bus) is selected from the
Fluent Solid Materials drop-down list.
i. Click Change/Create.
a. In the Solid dialog box, select e_material from the Material Name drop-down list.
b. Click OK.
2. Copy the cell zone condition for the cell_1 zone to the cell_2 and cell_3 cell zones.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 875
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
a. In the Copy Conditions dialog box, select cell_1 in the From Cell Zone list.
c. Click Copy.
d. Click OK in the Question dialog box to copy the cell zone conditions and close the Copy Conditions
dialog box.
3. In a similar manner, assign busbar_material to all the tabs and busbars cell zones.
b. In the Wall dialog box, under the Thermal tab, configure the following settings:
2. Copy the boundary conditions for wall-cell_1 to wall-cell_2, wall-cell_3 and all the tab
and busbar wall zones (a boundary zones that have names starting with the "wall" string and containing
the "bar" or "tabzone" string).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
876 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. In the Equations dialog box, deselect Flow from the Equation selection list.
b. Click OK.
2. Remove the convergence criteria to ensure that automatic convergence checking does not occur.
a. In the Residual Monitors dialog box, select none from the Convergence Criterion drop-down list.
b. Click OK.
3. Create a surface report definition for the voltage at the positive tab.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 877
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
a. In the Surface Report Definition dialog box, enter surf-mon-1 for Name.
b. Select User Defined Scalars... and Potential Phi+ from the Field Variable drop-down lists.
d. In the Create group box, enable Report Plot and Print to Console.
e. Click OK to save the surface report definition and close the Surface Report Definition dialog box.
i. In the Edit Report Plot dialog box, under the Plot Window group box, click the Axes... button to
open the Axes dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
878 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
Note
You must click Apply to save the modified settings for each axis.
vi. Click OK
g. Ensure that time-step is selected from the Get Data Every drop-down list.
h. Click OK.
4. Create a volume report definition to monitor the maximum temperature in the domain.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 879
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
a. In the Volume Report Definition dialog box, enter vol-mon-1 for Name.
b. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
d. In the Create group box, enable Report Plot and Print to Console.
e. Click OK to save the volume report definition settings and close the Volume Report Definition dialog
box.
i. In the Edit Report Plot dialog box, under the Plot Window group box, click the Axes... button to
open the Axes dialog box.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
880 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
vi. Ensure that time-step is selected from the Get Data Every drop-down list.
a. Retain the selection of Standard from the Initialization Methods group box.
b. Click Initialize.
You do not need to modify the Initial Values in the Solution Initialization task page, because
these values are not used for initialization. The ANSYS Fluent solver automatically computes the
initial condition for UDS0 and UDS1.
a. Set Time Step Size to 30 seconds and No. of Time Steps to 50.
The residual plot, the history of the voltage at the positive tab and the history of the maximum
temperature in the domain are shown in Figure 26.5: Residual History of the Simulation (p. 882),
Figure 26.6: Surface Report Plot of Discharge Curve at 200W (p. 882), and Figure 26.7: Volume
Report Plot of Maximum Temperature in the Domain (p. 883), respectively.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 881
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
882 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
26.4.5. Postprocessing
In this section, postprocessing options for the MSMD battery model solution are presented.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 883
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
a. In the Vectors dialog box, select current-density-j from the Vectors of drop-down list.
b. Select User Defined Memory... and Magnitude of Current Density from the Color by drop-down
list.
c. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list, select
Surface Type (under Group By).
The surfaces of the "wall" type are automatically selected in the Surfaces list.
e. In the Options group, enable Draw Mesh and set the mesh display options as desired.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
884 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
All vectors in your plot will be displayed with the same lengths.
ii. Click Apply and close the Vector Options dialog box.
Note
Use the Headlight and Lighting display options under the View ribbon tab to ma-
nipulate the graphics display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 885
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
a. In the Contours dialog box, in the Options group box, enable Filled.
b. From the Contours of drop-down list, select Temperature... and Static Temperature.
c. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list, select
Surface Type (under Group By).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
886 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Setup and Solution
a. From the Contours of drop-down list, select User Defined Memory... and Volumetric Ohmic Source.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 887
vk.com/club152685050 | vk.com/id446425943
Simulating a 1P3S Battery Pack Using the MSMD Battery Model
b. Click Display.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
888 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Summary
a. From the Contours of drop-down list, select User Defined Memory... and Total Heat Generation
Source.
b. Click Display.
26.5. Summary
This tutorial has demonstrated the use of the MSMD battery add-on to perform electrochemical and
heat transfer simulations for battery packs. You have learned how to set up and solve the problem for
the battery pack of the 1P3S configuration using the NTGK Battery submodel. You have also learned
some of the postprocessing capabilities available in the MSMD battery model.
As an exercise, you can obtain solutions using the Equivalent Circuit Model and Newman P2D Model.
For details, see the Fluent Advanced Add-On Modules documentation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 889
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
890 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Note
This tutorial uses the same in-flight conditions as In-Flight Icing using FLUENT within FENSAP-
ICE within the FENSAP-ICE Tutorial Guide.
FENSAP-ICE modules used in Fluent Icing solve 2-D problems using a volume mesh of a
single layer of 3-D elements instead of surfaces, for generalized implementation of the gov-
erning equations. This requires Fluent to be executed in 3-D mode even if the computational
domain is in fact 2-D.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 891
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
For more information on how to set up the input parameters of Fluent for in-flight icing simulations,
you are invited to read Recommendations to Set up a Fluent Calculation within the FENSAP-ICE User
Manual or the Recommended settings section under Fluent Icing within the Fluent User's Guide.
This case contains all the proper airflow settings required to conduct in-flight icing simulations using
the following flight condition. See Flow Solution on the Clean NACA0012 Airfoil within the FENSAP-
ICE Tutorial Guide for more detail.
In this tutorial, only the wall boundaries require set-up as the original .CAS file corresponds to a
clean surface.
5. Go to File → Preferences…. Select Icing on the left hand-side of the Preferences window. Assign a
number of CPUs, 2 to 4 CPUs, next to Default Fluent CPU, check Define working directory and set
Working directory to the location of your working directory. Click Ok. A message box that asks you to
confirm your changes appears. Press Yes.
6. Go to File → Open Case, and browse to and select the file naca0012.clean.cas located in your
working directory.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
892 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Flow Solution on the Rough NACA0012 Airfoil
7. A message window will ask you to import the data file and then to launch Fluent, click Yes in both cases.
In your Fluent Icing window, a new simulation tree appears under naca0012_clean.cas (loaded) in the
Outline View window.
8. Select Set-up under naca0012_clean.cas (loaded) and, in its Properties window, uncheck Particles and
Ice.
9. Inside the Outline View window, right on the Airflow icon located under Set-up and select Update with
Fluent Case settings to make sure that the Fluent simulation settings are properly transferred to Fluent
Icing.
10. Under Set-up → Airflow, check Sync. with Fluent ref. conditions to synchronize the Properties of Airflow
panel with the Reference Values panel of Fluent.
11. Under Set-up → Boundary Conditions, update the following wall surfaces:
• Select the wall-5 boundary. In the Wall roughness section of the Airflow panel, select High roughness
for icing and set its Roughness Height (m) to 0.0005 m.
• Repeat this process for wall boundaries wall-6, wall-7, and wall-8.
12. Under Solve, right-click Airflow from the side menu. Select Initialize. A Hybrid initialization is executed
using the settings of the original case file.
13. Under Solve → Airflow, increase the Number of iterations to 1000. A steady state simulation will be ex-
ecuted since the original case file contains steady state settings.
Note
Transient calculations are not yet supported. Therefore, the original case file must contain
a steady state set-up.
14. Right-click the Airflow icon under Solve and select Calculate to launch this simulation.
15. Once the simulation is complete, go to File → Save Case as… and save this calculation in the project dir-
ectory FLUENT_ICING_NACA0012. Name this simulation naca0012_rough.
16. Take a look at the convergence history of this simulation in the Graphics window located at the right of
your screen. The following two figures show the convergence of residuals and lift and drag coefficients.
You can enlarge and move the legend box in the Graphics windows by dragging one side of or whole the
box.
In the console, the residuals and coefficients are provided at each iteration. As it is not possible to
zoom in on the graphs, the printed values in the log can be referred to if needed. Examine the
convergence of lift and drag coefficients listed as “report-lif” and “report-dra”. Lift and drag coefficients
have converged to 0.40367 and 0.019842 respectively.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 893
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
Figure 27.3: Convergence of Lift and Drag Coefficients of the Rough Airfoil
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
894 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
17. Go to the ribbon bar of your Fluent Icing window and, under View → Quick-view → Contour, choose Heat
flux (walls) to output the convective heat flux over the rough NACA0012. See figure below.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 895
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
In a monodispersed droplet calculation, a single droplet diameter represents the icing cloud the aircraft
is flying in. In reality, icing clouds never contain only one size of droplets; there is always a distribution
of droplet sizes in a cloud. When running a single droplet diameter, the median volumetric diameter
(MVD) of the droplets in the cloud is chosen as the monodispersed value. If a more accurate droplet
solution is needed, then a distribution of droplet sizes can be solved for, where the MVD of this distri-
bution matches that of the cloud.
You are invited to read sections Set-up → Droplets and Set-up → Boundary Conditions → Inlet Types
under Fluent Icing within the Fluent User's Guide for more information on how to set up the input
parameters of droplets and/or crystals.
2. Go to File → Preferences…. Select Icing on the left hand-side of the Preferences window. Assign a
number of CPUs, 2 to 4 CPUs, next to Default Fluent CPU and set Default work folder to the location of
your working directory.
3. Go to File → Open case…. Browse to and select the file naca0012_rough.cas, created in Flow Solution
on the Rough NACA0012 Airfoil (p. 892).
4. A message window will ask you to launch Fluent, click Yes. A new simulation tree appears under
naca0012_rough.cas(loaded) in the Outline View window.
Note
Alternatively, if you did not close your Fluent Icing window of Flow Solution on the Rough
NACA0012 Airfoil (p. 892), you can follow the next steps to set-up this tutorial inside the
Simulation naca0012_clean.cas(loaded) of Flow Solution on the Rough NACA0012 Air-
foil (p. 892).
5. Select Set-up under naca0012_rough.cas(loaded). In its Properties window, make sure that Airflow and
Particles are checked, and uncheck Ice.
Note
Set-up, Solve and Results settings of the airflow around the NACA0012 have been carried
from Flow Solution on the Rough NACA0012 Airfoil (p. 892). Therefore, they do not need
to be updated.
6. Under Set-up → Particles, activate Droplets in Type. Leave the other options unchecked.
• under Droplet conditions, set the LWC [kg/m3] to 0.00055 and the Droplet diameter [microns] to
20.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
896 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
• under Particles distribution, keep Monodispersed since we will conduct a water catch simulation using
a single droplet size.
• under Model, keep Water as the Droplet drag model. This is the default drag law for droplet particles.
8. Under Set-up → Boundary Conditions, go to pressure-far-field and make sure that, under Particles,
Automatic is selected and Droplet custom velocity remains unchecked. The Automatic option will apply
the Droplet conditions at the inlet of the pressure-far-field, in this case, the LWC and the MVD. If Droplet
custom velocity remains unchecked, the airflow velocity is imposed as the droplet velocity at the inlet. In
other words, the relative velocity between air and droplets is considered to be zero at far-field.
Note
When configuring particle flow simulations, boundary conditions are only specified at
inlets.
9. Under Solve → Particles, set 300 as the Number of Iterations in Run settings. Keep the default settings
in Solver and Initialization.
Note
Inside Initialization, From airflow conditions uses the airflow direction specified in Set-
up → Airflow as the initial velocity of droplets.
10. Right-click Particles under Solve and choose Initialize to apply the initialization parameters of step 9.
11. Right-click Particles under Solve and choose Calculate to launch the droplet particle simulation in stan-
dalone mode.
The calculation stops when the convergence level reaches the convergence limits set on the residual
cut-off and on the change in total beta. Otherwise, the simulation continues until it reaches 300 it-
erations. In the Graphics window, you can look at Momentum, LWC, Average residual curves and
the Total Beta and Change in Total Beta convergence curves.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 897
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
Figure 27.6: Convergence of Total Beta and Change in Total Beta Curves
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
898 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
Often the solution in the wake of the droplet flow is still converging while the impingement at the
surfaces is fully converged. If you wish to converge the wake and the shadow zones further, the
Residual cut-off of the Particles panel under Solve should be reduced. The droplet wake usually
is not of interest and it is sufficient to achieve convergence of the total beta alone.
12. When calculations are completed, go to the ribbon bar of your Fluent Icing window and, under View →
Quick-view → Contour, choose Collection Efficiency to output the water catch of the monodispersed
droplets over the NACA0012. See figure below.
13. Repeat these steps to easily output the LWC around the NACA0012. Blue contours define the shadow zone,
absence of water droplets. See figure below.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 899
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
14. Go to File → Save Case as… and save this calculation in the project directory FLUENT_ICING_NACA0012.
Name this simulation nac0012_rough_mvd. Do not close this Fluent Icing session.
The most important reason for considering an analysis using a distribution is that there are droplets
larger than the MVD in the distribution, which can impinge further back on the top and bottom of the
airfoil, creating a thin but rough layer of ice that can have adverse effects on aerodynamics and control.
In this case, solutions for each droplet size of a given distribution are calculated separately. The final
solution is then created as a composite of all solutions using weights on each droplet size.
In this tutorial, you will use the set-up created in Monodispersed Calculation (p. 896) as a starting point.
1. Without closing the previous Fluent Icing session (Monodispersed Calculation (p. 896)), go to Set-up →
Particles → Droplets. In the Properties window, under Particles distribution, choose Langmuir D as
Droplet distribution.
Note
The current version of Fluent Icing only supports pre-defined droplet size distributions
(Langmuir B to E). User defined distributions are not yet supported. Below is a represent-
ation of a Langmuir D distribution and the droplet diameters that are used to represent
this distribution. Please note that this figure is taken from FENSAP-ICE native user interface
and is currently unavailable in the Fluent Icing UI.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
900 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
The droplet diameters are on the horizontal axis, and the weights (the percentage of droplets of a
given diameter contained in the cloud) are on the vertical axis. The individual weights are shown
with the blue curve, and the overall sum, cumulative weight, is shown with the red curve. On the
red curve, the data points are plotted at the mid-range of their cumulative weight intervals. For
example, the 20 microns droplet, which happens to be the MVD, covers the cumulative weight range
of 35% to 65% and it is therefore plotted at 50% cumulative weight on the red curve.
A Particle droplet simulation is ran for each droplet size shown in the above table.
2. Go to Solve → Particles, in its Properties window, check Save distribution solutions under Output. This
will allow you to save a droplet solution for each droplet size simulated. Otherwise, only the combined
solution of the distribution is saved.
4. Go to File → Save Case as… and save this calculation in the project directory FLUENT_ICING_NACA0012.
Name this simulation naca0012_rough_LangD. This will allow you to save the droplet solution for each
droplet size using a different name than naca0012_rough_mvd.
Note
When Save distribution solutions is enabled, Fluent Icing saves the droplet solution for
each droplet size using the most recent case file name saved in memory (current case
file).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 901
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
5. Right-click Particles under Solve, select Initialize and then choose Calculate to run the calculation. Indi-
vidual runs will be executed one after the other, and the results will be combined.
6. When calculations are completed, go to the ribbon bar of your Fluent Icing window and, under View →
Quick-view → Contour, choose Collection Efficiency to output the water catch of the Langmuir D droplet
distribution over the NACA0012. See figure below.
Figure 27.9: Collection Efficiency of Droplets with Langmuir-D Distribution over a NACA0012
7. Repeat these steps to easily output the LWC around the NACA0012. Blue contours define the shadow zone,
absence of water droplets. See figure below.
8. Go to File → Save Case as… and save this calculation in the project directory FLUENT_ICING_NACA0012.
Name this simulation naca0012_rough_LangD. This action will save the combined solution of the dis-
tribution. Do not close this Fluent Icing session if you would like to proceed to the next section.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
902 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
Viewmerical is a light-weight graphical display tool specifically designed for in-flight icing solutions and
applications. Viewmerical can display solution field contours, velocity vectors, planar cuts through the
volumes, 2D graphs of variables, streamlines, etc. This tutorial will demonstrate some basic features of
Viewmerical while comparing the two droplet solutions obtained in the previous sections.
1. While inside your Langmuir D simulation run, go to the ribbon bar of your Fluent Icing window and under
View → Quick-view → Contour, choose View with VIEWMERICAL. The program will launch and show an
isometric display of the entire grid showing the first solution field, Droplet LWC, of the combined Langmuir
D solution.
3. Go to the Data tab and then change the Color range to Spectrum 2 – 16.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 903
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
4. Align the view angle with the Z-symmetry plane by right-clicking on the 3D axes on the lower left, and by
choosing Top (Z). Alternatively, you can left-click the Z axis itself.
5. Zoom in on the airfoil. You can use Ctrl + left-click to draw a zoom box, or scroll the mouse wheel to zoom
in and middle-click to pan.
6. Change the font of your legend to bold. Click on the top left corner of the window and select Command
window; then type BIGFONTS in the command line of the 3dview console and hit Enter. The legend
fonts now become bold.
7. Using the camera icon on the upper left corner, you can take a snapshot of the solution window to capture
the following image.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
904 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
Figure 27.11: LWC of a Langmuir D Droplet Cloud over a NACA0012 at an AoA of 4 Degrees,
Showing the Shadow Zone (Blue Region)
Examine the LWC distribution in the area close to the airfoil. The blue region is called the shadow
zone, where no droplets exist. In between the shadow zone and the free stream, there are bands
of high LWC concentrations which are the enrichment zones forming due to the constriction of
stream tubes in the continuum domain. These features can be of special interest for downstream
aircraft components.
8. Go to the Data tab and choose Collection efficiency-Droplet. Collection efficiency is only displayed on
the walls of your geometry. Go to Objects tab and uncheck BC_1004 and BC_4300 to display the collection
efficiency distribution only on the walls (BC_2005, BC_2006, BC_2007, and BC_2008).
Use the left mouse button to rotate, the middle mouse button to pan, and the right-mouse button
to zoom in the airfoil surface to obtain the following figure.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 905
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
Figure 27.12: Collection Efficiency of a Langmuir D Droplet Cloud on the Surface of the Airfoil
at an AoA of 4 Degrees
9. For a more in-depth quantitative view, it would be possible to create 2D data plots using Viewmerical. Click
the Query tab and enable 2D Plot.
On the lower right corner of Viewmerical, you can directly modify data sets and solution fields. Leave
them as they are now.
10. The color and thickness of the data curve displayed in the graph can be changed by left clicking on the
cube menu located on the top right and by choosing Curve Settings. Set the curve color to red and the
curve widths to 2 and press OK.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
906 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
Figure 27.13: Collection Efficiency of a Langmuir D Droplet Cloud on the Surface of the Airfoil
at an AoA of 4 Degrees
The maximum beta occurs at the stagnation point, just below the leading edge in this case. The
points on the upper and lower surfaces where beta becomes zero are the impingement limits. In
rime icing cases, all the water that impinges is frozen instantly, therefore icing limits are the same
as the impingement limits. In glaze icing, water can runback and freeze past the impingement limits.
Maximum beta is usually no more than 1.0, and reduces as the droplet flow becomes tangent to
the surface.
11. To save data points of this collection efficiency distribution, go to the cube menu on the top right and
choose Save one file. A new window pups up to browse and name the file that should contain these data
points.
12. You can also open and compare several solution files using Viewmerical. Let’s display simultaneously all 7
droplet size solutions obtained in Langmuir-D Distribution (p. 900).
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 907
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
13. Go to the Objects panel, uncheck LangD and click on the button located at the right corner of the
panel. A window appears to load a pair of files, a grid file and its solution file.
14. Click on the folder icon of Grid file and select the naca0012_rough_LangD.grid.tmp file located
inside your working directory.
15. Click on the folder icon of Solution file (optional) and select the
naca0012_rough_LangD.droplet.dist.01 file located inside your working directory.
16. Press the Load button. A new data set is added to the Object panel. Rename this dataset by double-clicking
on its original name and enter LangD-01 in the window Rename dataset.
17. Repeat steps 13 to 16 for the remaining droplet solutions from *.dist.02 to *.dist.07.
18. Go to the Data panel and click Shared located under Color range. Switch the Data field to Collection
efficiency- Droplet.
19. Go to Query tab, enable 2D plot, and switch the Cutting plane to Z. The graph should display 8 individual
beta distributions. Click on LangD, to disable the LangD curve from the 2D plot. You can change the color
and thickness of the data curve displayed in the graph via the cube menu on the top right and by choosing
Curve Settings. You can also draw a zoom box by Shift + left-click.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
908 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
Figure 27.14: Collection Efficiency on the Surface of the Airfoil at an AoA of 4 Degrees, Langmuir
D Droplet Solutions
The curve with the lowest beta corresponds to the smallest droplet size, and the one with the largest
beta corresponds to the largest droplet size. Smallest droplets are less ballistic, tend to follow the
air flow and avoid the aircraft therefore reducing their collection efficiency and impingement limits.
Larger droplets are more ballistic and they do not tend to follow the airflow. Therefore, their collection
efficiency and impingement are usually higher than the smallest droplets. In general, this information
is crucial to properly design the IPS power requirements and coverage.
Note
The difference between beta curves of different droplet sizes become more pronounced
as the aircraft surface size increases. The effect can be dramatic on large blunt surfaces
like fuselage noses or radomes where the contribution from the smaller size droplets can
be negligible if compared to the largest ones. As a result, the composite or combined
solution of a Langmuir simulation can be very different from the solution of the MVD.
20. To compare the LangD result to that of the monodispersed (MVD), go to the Objects panel, check LangD
and uncheck all the other LangD-* objects.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 909
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
21. Click on the button located at the right corner of the Object panel. A window appears to load a pair
of files, a grid file and its solution file.
22. Click on the folder icon of Grid file and select the naca0012_rough_LangD.grid.tmp file located
inside your working directory. Both the LangD and the MVD solutions originate from the same Fluent
.CAS file. Therefore, both solutions share the same grid.
23. Click on the folder icon of Solution file (optional) and select the naca0012_rough_mvd.droplet
file located inside your working directory.
24. Press the Load button. A new data set is added to the Object panel. Rename this dataset by double-clicking
on its original name and enter MVD in the window Rename dataset.
25. Go to Query tab, enable 2D plot, and switch the Cutting plane to Z. The graph should display 9 individual
beta distributions. Click on LangD-01 to LangD-07 to disable these curves from the 2D plot. Change the
color of the MVD to red and of the LangD to blue via the cube menu on the top right and by choosing
Curve Settings. You can also draw a zoom box by Shift + left-click.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
910 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Droplet Impingement on the NACA0012
The LangD solution is fairly close to that of the MVD. The impingement limits of the Langmuir D
solution will always be further back due to the inclusion of larger droplets in the distribution. The
maximum beta of the composite is lower than the MVD here. This is not always the case. Based on
the size and shape of the impingement surface, the Langmuir D solution can have a maximum beta
that is several times higher than the MVD. In this case, however, the results of the MVD and the
distribution are close.
26. You will now compare the LWC of the largest and smallest droplet of a Langmuir D distribution. Go to
Objects panel, uncheck LangD and MVD objects and check LangD-01 (largest droplets) and LangD-07
(smallest droplets).
27. On the lower right corner of Viewmerical, change Collection efficiency-Droplet to Droplet LWC (kg/m^3).
28. Select LangD-01 in the Objects panel and choose Horizontal-Left under Split screen menu.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 911
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
29. Go to the Data tab and change the color range to Spectrum 2 –16.
30. Align the view angle with the Z-symmetry plane and zoom in to capture the following image:
Figure 27.16: Lwc Distribution and Shadow Zones for 44.4 Micron Droplets (Left) and 6.2
Micron Droplets (Right)
Observe the difference in the shadow zones. The smallest droplets follow the airfoil very closely but
avoiding it while the largest droplets barely change their path and hit almost straight on, leaving a
larger shadow zone.
Note
The option to change icing air temperature in icing parameters is provided as a quick
method to obtain different ice shapes with different ambient temperatures. It should be
understood that this method is not identical in terms of accuracy to running air and droplet
flows independently for each of those temperatures. Change in ambient air temperature
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
912 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Fluent Icing Ice Accretion on the NACA0012
would result in a proportional change in air density which would change the momentum
transfer between air and particles. This would ultimately affect particle flow paths and collec-
tion efficiency. For internal flows, where particle thermal equation and/or vapor transport is
enabled, icing air temperature should be kept the same as the reference air temperature.
You are invited to read Set-up → Ice and Set-up → Boundary Conditions → Wall within the Fluent
User's Guide for more information on how to set up the input parameters of the Ice module.
2. Go to File → Preferences…. Select Icing on the left hand-side of the Preferences window. Assign a
number of CPUs, 2 to 4 CPUs, next to Default Fluent CPU and set Default work folder to the location of
your working directory.
3. Go to File → Open case…. Browse to and select the file naca0012_rough_mvd.cas, created in Mon-
odispersed Calculation (p. 896).
4. A message window will ask you to launch Fluent, click Yes. A new simulation tree appears under
naca0012_rough_mvd.cas(loaded) in the Outline View window. All airflow and droplet conditions and
solutions previously configured and computed in the previous simulation are automatically imported under
that .CAS.
5. Select Set-up under naca0012_rough_mvd.cas(loaded). In its Properties window, make sure that Airflow,
Particles and Ice are checked.
– Check Specify Icing air temperature to simulate an icing temperature that is different than the ref-
erence/far-field air temperature.
• In Model,
7. In general, there is nothing to set in the Boundary Conditions of Ice unless icing is to be turned off on
certain surfaces to reduce computational effort or sink boundaries are to be declared. Examine the options
available at each wall without performing any changes.
8. Go to Solve and inside the Properties window, change Log verbosity to Complete to output extra exe-
cution and post-processed data in the Console Window.
9. Right-click Particles under Solve, and select Load. A window appears to specify a *.droplet file to load.
Select naca0012_rough_mvd.droplet since we will use the monodispersed cloud solution computed
in Monodispersed Calculation (p. 896) to accrete ice over the NACA0012.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 913
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
• Under Time, keep the Total time of ice accretion [s] at 420 seconds and the Automatic time step
option checked. The Ice feature in Fluent Icing is an explicit time-accurate code where the stability of
the solution strongly depends on the value of the time step. The automatic time stepping option calculates
the optimal stable time step at every iteration, which can change greatly depending on the size of the
geometry and the mesh density.
• Under Output, keep the option for grid displacement unchecked to skip the morphing of the volume
mesh due to ice displacement.
11. Right-click Ice under Solve and choose Calculate to run the calculation.
12. After the simulation is complete, save the solution by selecting File → Save Case as… and name it
naca0012_rough_mvd_m25C.
Look through the Console window of Fluent Icing. The accumulated time, value of the time step,
total impingement, film, and mass of ice are printed at selected iterations. Heat flux and ice mass
per wall boundary condition are listed in the following two tables. Finally, energy and mass conser-
vation tables are printed. Most of the items in these tables are self-explanatory except perhaps mass
of clipped film and runback flux. Clipped film refers to any film that is removed by sink boundaries
and on certain nodes which collect and shed water (trailing edges, wing and blade tips, etc.) that
are detected automatically. Runback flux is the sum of all edge fluxes in the domain which will be
equal to the film removed by sink boundaries, or close to zero (mass conservation).
Figure 27.17: Mass Conservation Table Printed in the Log File of Fluent Icing
13. Cycle through the Graphs window. You will observe the progress of the total mass of ice in a sub-window
and the change in instantaneous ice growth, water film thickness, and ice surface temperature with time
in the next sub-window. Since the input flow and droplet solutions are steady-state solutions, the icing
solutions will eventually reach a steady-state where instantaneous ice growth, water film thickness, and
ice surface temperature do not change after a while.
14. Go to Ribbon menu and select View. In Quick-view, click Ice cover → Ice over - Viewmerical to see the
ice shape and the original surface in Viewmerical. You can change the Metallic + Smooth option to other
choices in the Object box to see the wireframe profiles and the surface meshes. In the Data panel, you
can adjust the Ice thickness threshold based on ice growth to reduce display interlacing due to the over-
lapping of iced and clean surfaces.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
914 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Fluent Icing Ice Accretion on the NACA0012
15. Do not close the Fluent Icing session and run two more calculations at warmer temperatures.
16. Right-click Ice under Solve and select Reset to delete the previous ice solution.
17. Select Set-up → Ice and set the Icing air temperature value to 263.15 K (-10 °C) in Ice accretion condi-
tions.
18. Right-click Ice under Solve and click Calculate to run the calculation.
19. After the simulation is complete, save the ice solution by selecting File → Save Case as… and name it
naca0012_rough_mvd_m10C.
20. Repeat steps 16 to 19. This time with an Icing air temperature value of 265.67 K (-7.48 °C), same as the
airflow Temperature [K] in Set-up → Airflow → Conditions. After the simulation is complete, save the
ice solution and name it naca0012_rough_mvd_m7p5C.
21. Now that there are 3 different ice shapes computed, we will analyze them using Quick-View.
22. Go to Ribbon menu and select View. In Quick-view, click Ice cover → Ice cover – Viewmerical. This opens
the ice solution calculated in the previous simulation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 915
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
23. Rename this object by double-clicking on its original name in the Object window and enter Ice -7.5C
in the window Rename dataset.
24. To load the -10 °C and -25 °C solutions, click on the button located at the right corner of the Object
panel. A window appears to load a pair of files, a grid file and its solution file.
25. Click on the folder icon of Grid file and select the naca0012_rough_mvd_m10C.ice.grid file
located inside your working directory.
26. Do not specify a solution file as you will only compare ice shapes.
27. Press the Load button. A new data set is added to the Object panel.
28. Rename this new object by double-clicking on its original name in the Object window and enter Ice -
10C in the window Rename dataset.
29. Repeat steps 23 to 27 for the remaining ice shape, file naca0012_rough_mvd_m25C.ice.grid.
30. Click the lock button at the bottom right of the data set list window located in the Objects panel to enable
all the grids in the 2D plot.
31. Go to Query panel and enable the 2D plot. Change the Cutting plane to Z and the horizontal axis to X.
All four data sets should be plotted in Geometry mode. Change the color and thickness of the curves by
right-clicking on the cube menu on the top right and then by choosing the Curve Settings menu.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
916 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943 Fluent Icing Ice Accretion on the NACA0012
At -25 °C (248.15 K), the cooling effects are large and all droplets freeze almost instantly producing
a rime ice shape. This shape generally resembles the original airfoil profile and can be considered
somewhat aerodynamic. As the icing temperature increases, more water can run back away from
the stagnation zone and freeze where cooling effects become more predominant. This mechanism
initiates the growth of ice horns on the upper and lower sides of the airfoil. These geometric features
are common in glaze icing conditions and induce flow separation therefore they dramatically change
the aerodynamic performance of the airfoil.
To properly capture the shape of the horns, a multishot computation is recommended where the
grid, air and droplet solutions are updated at certain time intervals.
32. Finally, we will compare the film height of the three solutions. Uncheck all Ice* objects.
33. Click on button located at the right corner of the Object panel. A window appears to load a pair of
files, a grid file and its solution file.
34. Click on the folder icon of Grid file and select the naca0012_rough_mvd_m7p5C.map.grid file
located inside your working directory.
35. Click on the folder icon of Solution file (optional) and select the
naca0012_rough_mvd_m7p5C.swimsol file located inside your working directory.
36. Press the Load button. A new data set is added to the Object panel. Rename this dataset by double-clicking
on its original name and enter -7.5C in the window Rename dataset.
37. Repeat steps 32 to 35 for the remaining pairs of *.map.grid and *.swimsol files of -10 °C and -25 °C
cases.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 917
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
38. In the Data panel, inside Files, choose Film Thickness as the Data field. Click Shared inside Color range.
39. Go to the Query panel and activate the 2D plot. Set the Mode to Data and Cutting plane to Z. Set the
horizontal axis to Y. The three curves showing the film height for the 3 different temperatures should be
visible. Change the curve colors and thickness using the Curve Settings in the cube menu located at the
top right.
Figure 27.21: Film Height Variation over the Ice at -25, -10, and -7.5 C
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
918 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Postprocessing an Ice Accretion Solution Using CFD-Post Macros
The film height and extent grow with increasing icing temperatures. At -25 °C, all droplets freeze
upon impact and there is no water film and runback on the surface, producing a rime ice shape. In
the contrary, the amount of film and water runback of the other two cases clearly produce ice horns
and form glaze ice shapes.
40. Do not close this Fluent Icing session if you would like to proceed to the next section.
For more information regarding these macros, consult CFD-Post Macros within the FENSAP-ICE User
Manual.
1. Inside your Fluent Icing window, go to Ribbon menu and select View. In Quick-view, click Ice cover → Ice
cover – CFD-Post.
2. After opening CFD-Post, a Domain Selector window will request confirmation to load the following domains:
ice swimsol, map grid, and map swimsol. Click OK to proceed.
3. Go to the Calculators tab and double-click on Macro Calculator. The Macro Calculator’s interface panel
will be activated and displayed.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 919
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
Note
The Macro Calculator can also be accessed by selecting Tools → Macro Calculator from
the CFD-Post’s main menu.
4. Select the Ice Cover – 3D-View macro script from the Macro drop-down list. This will bring up the user
interface which contains all input parameters required to view ICE3D output solutions in the CFD-Post 3D
Viewer.
5. The default settings inside the Macro Calculator panel will allow you to automatically output the ice shape
of a one-shot icing simulation by pressing Calculate. The figure below shows the output of the default
settings of the macro.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
920 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Postprocessing an Ice Accretion Solution Using CFD-Post Macros
Note
To change the style of the ice shape display, go to Display Mode and select one of fol-
lowing options: Ice Cover, Ice Cover – Shaded, Ice Cover (only) or Ice Cover (only) -
shaded. To output the surface mesh of the ice shape, go to Display Mesh and select
Yes. The figure below shows the output of activating Ice Cover under Display Mode
and of selecting Yes under Display Mesh.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 921
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
Figure 27.23: Ice View in CFD-Post, Ice Cover with Display Mesh
6. To display the solution fields of your icing simulation, you can either select Ice Solution – Overlay, Ice
Solution or Surface Solution under Display Mode. In this case, you will output the ice accretion rate over
the ice layer. To do this, select Ice Solution – Overlay in Display Mode, Instant. Ice Growth (kg s^-1 m^-
2) in Display Variable and No in Display Mesh to turn off the displaying surface mesh.
7. Click Calculate to view the instantaneous ice growth over the ice shape. The figure below shows the output
of the macro.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
922 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Postprocessing an Ice Accretion Solution Using CFD-Post Macros
Figure 27.24: Ice View in CFD-Post, Instantaneous Ice Growth over Ice Cover Surface
Note
Users are invited to modify the input parameter of Display Variable to view different
fields of the ICE3D solution.
8. You will now explore some quick post-processing capabilities of the Ice Cover – 2D-Plot macro. In the
Macro drop-down list of the Macro Calculator panel, change the macro to Ice Cover – 2D-Plot.
Note
This switches the macro from Ice Cover – 3D-View to Ice over – 2D-Plot. Switch back
to Ice Cover – 3D-View in the same way if needed.
9. Change Plot’s Title from default, ICE SHAPE PLOT, to Ice Shape at -7.5 C, since you will be first
creating a 2D-plot of the ice shape.
• Set Mode to Geometry to output an ice shape. The other options output the ice solution fields.
• Set Cutting Plane to Z plane. Specify a Z=0 plane by setting X/Y/Z Plane to 0.
11. To center the 2D-Plot around the leading edge of the NACA0012, in 2D-Plot (with),
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 923
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
• Change the (x)Range of the X-Axis from Global to User Specified. Specify values of 0.075 and -0.01
in the input boxes of (Usr.Specif.x)Max and (Usr.Specif.x)Min, respectively.
• Change the (y)Range of the Y-Axis from Global to User Specified. Specify values of 0.03 and -0.03
in the input boxes of (Usr.Specif.y)Max and (Usr.Specif.y)Min, respectively.
12. Leave the other default settings unchanged and click Calculate to create a 2D-Plot of the ice shape in a
floating ChartViewer of CFD-Post. Adjust the output window’s size. The figure below shows the output
of the macro.
Figure 27.25: 2D-Plot in CFD-Post, Clean Wall Surface and Ice Cover Surface
13. To create a 2D-plot of an ice solution field, first change the name of the plot. In this case, enter Water
Film at -7.5 C in the Plot’s Title field since you will create a water film 2D plot along the thickness
of the airfoil.
• Set Mode to Solution (on Map Surfaces) to output the water film over the NACA0012. Selecting Solution
(on Ice Surfaces) will output the ice field over the ice shape.
• Set Cutting Plane to Z plane. Specify a Z=0 plane by setting X/Y/Z Plane to 0.
15. To center the 2D-Plot around a meaningful scale to clearly see the water film distribution, in 2D-Plot (with),
• Make sure that (x)Range of the X-Axis is set to User Specified. Enter values of 0.01 and -0.03 for
(Usr.Specif.x)Max and (Usr.Specif.x)Min, respectively.
• Set (y)Range of the Y-Axis to Global. The macro will use the max./min. values of the water film thickness
to define the range of the Y-axis.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
924 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Multi-Shot Ice Accretion with Automatic Mesh Displacement
16. Leave the other default settings unchanged and click Calculate to update the 2D plot in the ChartViewer.
The figure below shows the output of the macro.
Note
Users are invited to modify the input parameter of 2D-Plot (with) → Y-Axis to view dif-
ferent fields of the ICE3D solution.
In the current version of Fluent Icing, multishot runs are done using automatic mesh displacement,
where the ice surface is used to displace the contaminated walls and consequently the volume mesh
around these walls. This process keeps the number of nodes and elements constant. As the ice shape
grows, the total area covered by the boundary wall mesh increases which changes the size and the
aspect ratio of the elements near the ice. This may result in a less than optimal grid spacing if the initial
(undeformed) mesh is not fine enough. For complex ice shapes, manual remeshing maybe required in
order to continue the multishot process when using automatic mesh displacement.
Note
FENSAP-ICE is able to utilize automatic remeshing in addition to the classic mesh de-
formation when simulating multi-shot icing. Remeshing of the iced surface refines and
reorganizes the mesh topology on and around the ice, leading to more stable and ac-
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 925
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
curate air and droplet solutions for the next shot. Negative volume elements that often
form with large mesh deformations are also avoided with remeshing. These options are
not yet supported by Fluent Icing. For more information regarding automatic remeshing,
consult Automated Sequences and Multishot Icing Calculations within the FENSAP-ICE
User Manual
2. Go to File → Preferences…. Select Icing on the left hand-side of the Preferences window. Assign a
number of CPUs, 2 to 4 CPUs, next to Default Fluent CPU and set Default work folder to the location of
your working directory.
3. Go to File → Open case…. Browse to and select the file naca0012_rough_mvd_m7p5C.cas, created
in Fluent Icing Ice Accretion on the NACA0012 (p. 912). In this tutorial, you will simulate 3 quasi-steady shots
using the same in-flight icing conditions of the naca0012_rough_mvd_m7p5C.cas.
4. A message window will ask you to launch Fluent, click Yes. A new simulation tree appears under
naca0012_rough_mvd_m7p5C.cas(loaded) in the Outline View window. All airflow, droplet and ice
conditions and solutions previously configured and computed in the previous simulation are automatically
imported under that .CAS.
5. Go to Set-up → Ice and its Properties window and check Beading under Model. Beading is the roughness
model of the Ice component. At the end of each shot, Beading will produce a roughness distribution that
is used by the airflow solver (Fluent or FENSAP (beta)) during the next shot. This approach removes any
arbitrary specification of roughness value and removes empiricism in the specification of roughness. The
first shot always needs some initial roughness, 0.5 mm in Flow Solution on the Rough NACA0012 Air-
foil (p. 892), since Ice is not run a priori. However, the remaining shots will use the distribution obtained
from the beading model.
Note
Alternatively, the initial shots could be conducted over small time intervals where the
surface roughness can be allowed to grow from 0 to a reasonable level, removing the
need to specify an initial roughness value. For internal flows, it is not recommended to
start with a non-zero initial roughness instead. Roughness should be allowed to build
progressively using shorter icing shots.
• Check Save files at each shot to examine the steady-state solutions at the end of each shot.
• In Time, change the Total time of ice accretion [s] from 420 to 140 which corresponds to 1/3rd of the
total time.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
926 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Multi-Shot Ice Accretion with Automatic Mesh Displacement
• In Output, check Run grid displacement to update the grid at the end of each shot.
Note
As the grid quality may deteriorate after each shot, it might be necessary to change
several settings in Solve to improve the robustness and convergence of these simulations.
In this manner, the number of iterations can be increased for Airflow and Particles and
the CFL number can be lowered in the case of Particles.
8. Right-click Ice under Solve and choose Reset to erase the solution of the previous one shot simulation.
10. Launch the multishot calculation by right-clicking Solve and then by selecting Run multishot.
11. Once all the computations are complete, go to Ribbon menu and select View. In Quick-view, click Ice
cover → Multishot ice cover - Viewmerical to see the final ice shape of the multishot calculation.
12. Compare the ice shape of the multishot run to that of the single shot run while the Viewmerical window
that displays the multi-shot ice shape is up.
13. In the Objects panel, rename this object by double-clicking on its original name in the Object window
and enter -7.5C, 3 shots in the window Rename dataset.
14. Click on the button located at the right corner of the Object panel. A window appears to load a pair
of files, a grid file and its solution file.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 927
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
15. Click on the folder icon of Grid file and select the naca0012_rough_mvd_m7p5C.ice.grid file
located inside your working directory.
16. Press the Load button. A new data set is added to the Object panel. Rename this dataset by double-clicking
on its original name and enter -7.5C, 1 shot in the window Rename dataset.
17. Click the lock icon at the lower right of the data set list in the Objects window.
18. Go to the Query panel and activate the 2D plot. Set the Mode to Geometry and Cutting plane to Z. Set
the horizontal axis to X. The three curves showing NACA0012 and the ice shapes should be visible. Change
the curve colors and thickness using the Curve Settings in the cube menu located at the top right. You
can also draw a zoom box by Shift + left-click.
Note
The multishot simulation produces an upper horn that is more pronounced due to
higher water droplet catch area and higher heat fluxes with increase in curvature. The
lower part of the ice is also thicker where the roughness has grown beyond the initial
0.5mm to about 1mm (average), which causes the water film to freeze sooner and show
less runback compared to the single shot solution.
Note
The curves that have the -map suffix refer to the original surface and the curves that
have the -ice suffix refer to the final iced surface (at 420 s).
Figure 27.28: Ice Shapes at -7.5 C, Obtained Using One Shot and Three Shots Computations
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
928 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Multi-Shot Ice Accretion with Automatic Mesh Displacement – Postprocessing Using
CFD-Post
27.7. Multi-Shot Ice Accretion with Automatic Mesh Displacement –
Postprocessing Using CFD-Post
In this tutorial, you will learn how to quickly post-process and generate figures and animations of a
multishot ice accretion simulation (ice shape and ice solution fields) using two dedicated CFD-Post
macros: Ice Cover – 3D-View and Ice Cover – 2D-Plot. For this purpose, the multishot icing solution of
Multi-Shot Ice Accretion with Automatic Mesh Displacement (p. 925) is used and, therefore, completion
of Multi-Shot Ice Accretion with Automatic Mesh Displacement (p. 925) is required.
For more information regarding these macros, consult CFD-Post Macros within the FENSAP-ICE User
Manual.
1. Inside your Fluent Icing window, go to Ribbon menu and select View. In Quick-view, click Ice cover →
Multishot -ice cover – CFD-Post.
2. After opening CFD-Post, a Domain Selector window will request confirmation to load the following domains:
ice swimsol, map grid, and map swimsol. Click OK to proceed.
3. Go to the Calculators tab and double-click on Macro Calculator. The Macro Calculator’s interface panel
will be activated and displayed.
Note
The Macro Calculator can also be accessed by selecting Tools → Macro Calculator from
the CFD-Post’s main menu.
4. Select the Ice Cover – 3D-View macro script from the Macro drop-down list. This will bring up the user
interface which contains all input parameters required to view ICE3D output solutions in the CFD-Post 3D
Viewer.
5. The default settings inside the Macro Calculator panel will allow you to automatically output the ice shape
of the first shot of the multishot simulation. Output the ice shape at the end of the multishot simulation
of Multi-Shot Ice Accretion with Automatic Mesh Displacement (p. 925), this corresponds to the ice shape
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 929
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
of shot 3, by specifying 3 besides the MultiShot Num and then by clicking Calculate. The figure below
shows the output the final ice shape.
Note
To change the style of the ice shape display, go to Display Mode and select one of fol-
lowing options: Ice Cover, Ice Cover – Shaded, Ice Cover (only) or Ice Cover (only) -
shaded. To output the surface mesh of the ice shape, go to Display Mesh and select
Yes.
6. To display the solution fields of your icing simulation, you can either select Ice Solution – Overlay, Ice
Solution or Surface Solution under Display Mode. In this case, you will output the ice accretion rate over
the ice layer of the 3rd shot. To do this, select Ice Solution – Overlay in Display Mode, Instant. Ice Growth
(kg s^-1 m^-2) in Display Variable and No in Display Mesh to turn off the displaying surface mesh.
7. Click Calculate to view the instantaneous ice growth over the ice shape. The figure below shows the output
of the macro.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
930 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Multi-Shot Ice Accretion with Automatic Mesh Displacement – Postprocessing Using
CFD-Post
Figure 27.30: Ice View in CFD-Post, Instantaneous Ice Growth over Ice Cover Surface, Final Ice
Shape
8. You can also generate and save animations that highlight the ice shape evolution of your multishot simu-
lation. Follow these steps to create and save a custom animation.
• Set MultiShot Num. to 1. The animation starts at the assigned shot number in MultiShot Num. to the
last shot of the simulation.
• Set (Multishot) Movie to On and click Calculate to see the animation on the 3D Viewer window.
– Select an export Format. Two formats are supported, WMV and MPEG4. The default is WMV.
– Specify a Filename.
• Click Calculate to generate and save the animation. A message will appear to notify the user of the
location where the animation is saved and of the first shot used to generate the animation.
Note
If CFD-Post was opened using Fluent Icing, the animation will be saved in your working
directory. If CFD-Post was opened in standalone mode, the animation will be saved in
the Window’s system default folder.
9. Select Ice Cover – 2D-Plot from the Macro drop-down list to create 2D-plots of the multishot simulation.
You will create a 2D-Plot that contains all the ice shapes generated by the multishot simulation.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 931
vk.com/club152685050 | vk.com/id446425943
In-Flight Icing Tutorial Using Fluent Icing
11. Change Plot’s Title from default, ICE SHAPE PLOT, to Multishot Ice Shape at -7.5 C (3
shots).
12. Select Multi-Shots in 2D-Plot (with). The macro will generate a series of 2D plot curves, starting from the
assigned shot number in MultiShot Num. to the last shot of the simulation.
• Set Mode to Geometry to output an ice shape. The other options output the ice solution fields.
• Set Cutting Plane to Z plane. Specify a Z=0 plane by setting X/Y/Z Plane to 0.
14. To center the 2D-Plot around the leading edge of the NACA0012, in 2D-Plot (with),
• Change the (x)Range of the X-Axis from Global to User Specified. Specify values of 0.06 and -0.025
in the input boxes of (Usr.Specif.x)Max and (Usr.Specif.x)Min, respectively.
• Change the (y)Range of the Y-Axis from Global to User Specified. Specify values of 0.025 and -0.035
in the input boxes of (Usr.Specif.y)Max and (Usr.Specif.y)Min, respectively.
15. Leave the other default settings unchanged and click Calculate to create a 2D-Plot of the multiple ice
shapes in a floating ChartViewer of CFD-Post. Adjust the output window’s size. The figure below shows
the output of the macro.
Note
To create 2D plots of the ice solution fields, go to 2D-Plot (with) → Mode and select
either Solution (on Ice Surfaces) or Solution (on Map Surfaces). Then go to 2D-Plot
(with) → Y-Axis and select the ice solution field of interest. Specify a (x)Range and a
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
932 of ANSYS, Inc. and its subsidiaries and affiliates.
vk.com/club152685050 | vk.com/id446425943
Multi-Shot Ice Accretion with Automatic Mesh Displacement – Postprocessing Using
CFD-Post
(y)Range that are suitable. Click Calculate to output the 2D-Plot of the ice solution field
in a floating ChartViewer.
16. The 2D-Plot macro can also export all plotted curves to a CSV format file and simultaneously save the plot
as a figure. Keep all input parameters above unchanged and follow these steps.
• To export all plotted curves to a .CSV file, set Export (to csv) to Yes and specify a file name under File-
name (csv).
• To save a figure of the 2D-Plot, set Save Figure to Yes, select a Format for the figure (PNG or BMP) and
specify a Filename to save the figure.
• Click Calculate to generate the 2D plot, export all data points to a .CSV file and save the plot into a
figure file. A message will appear to notify the user of the location where the .CSV and figure file are
saved.
Note
If CFD-Post was opened using Fluent Icing, both the CSV and figure files will be saved
in the working directory. If CFD-Post was opened in standalone mode, both files will
be saved in the Windows’ system default folder.
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 933
vk.com/club152685050 | vk.com/id446425943
Release 2019 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
934 of ANSYS, Inc. and its subsidiaries and affiliates.