Ansys Fluent Tutorial Guide 2022 R1
Ansys Fluent Tutorial Guide 2022 R1
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. vii
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
viii of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. ix
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
x of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xi
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xii of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
31.1. Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles of Attack ...... 1165
31.2. Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry Capsule at
Different Altitudes Using Custom Exploration .................................................................................... 1191
31.3. Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients on an Aircraft
at Different Flight Altitudes and Engine Regimes ............................................................................... 1210
31.4. Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Windtunnel Domain
at Different Mass Flow Rates .............................................................................................................. 1237
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xiii
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xiv of ANSYS, Inc. and its subsidiaries and affiliates.
List of Figures
1.1. Manifold Geometry for Flow Modeling .................................................................................................... 2
1.2. Mass Flow Rate History ......................................................................................................................... 33
1.3. Residuals .............................................................................................................................................. 33
1.4. Pathlines Through the Manifold ............................................................................................................. 35
1.5. Scene Containing the Mesh and Pathlines Throughout the Manifold ...................................................... 39
1.6. Contours of Velocity Magnitude at the Outlet ........................................................................................ 42
1.7. Contours of Temperature at the mid-plane ............................................................................................ 45
1.8. Contours of Temperature on the Exhaust Manifold ................................................................................. 47
2.1. Manifold Geometry for Flow Modeling .................................................................................................. 50
2.2. Mesh Display of the Exhaust Manifold ................................................................................................... 53
2.3. Graphics Window with Default Lighting ................................................................................................ 55
2.4. Display with Additional Lighting: - Headlight Off .................................................................................... 56
2.5. Display with Additional Lighting ........................................................................................................... 57
2.6. Filled Contours of Temperature on the Mid-Plane-x and the Outlet ......................................................... 63
2.7. Filled Contours of Temperature for the Surface of the Manifold .............................................................. 64
2.8. Velocity Vectors in the Mid-Plane of the Manifold ................................................................................... 66
2.9. Velocity Vectors mid-plane in the z-direction ......................................................................................... 69
2.10. Filled Temperature Contours on the mid-plane-x, clip-z-inner and outlet-plane Surfaces ....................... 71
2.11. Filled Temperature Contours on the Mid-Plane, Inner-Clip, and Outlet-Plane Surfaces ........................... 73
2.12. Temperature Contours and Velocity Vectors Scene ............................................................................... 76
2.13. Exploded Scene Display of Temperature, Velocity, and Pathlines ........................................................... 79
2.14. Temperature Along a Solid Portion of the Manifold .............................................................................. 85
2.15. A Display with Annotation ................................................................................................................... 86
3.1. Catalytic Converter Geometry for Flow Modeling ................................................................................... 90
3.2. The Imported CAD Geometry for the Catalytic Converter ....................................................................... 94
3.3. Mesh for the Catalytic Converter Geometry in Fluent (Solver Mode) ..................................................... 109
3.4. Mass Flow Rate History ........................................................................................................................ 123
3.5. Velocity Vectors Through the Interior ................................................................................................... 131
3.6. Contours of Static Pressure Through the Interior .................................................................................. 133
3.7. Contours of Velocity Magnitude on the z=185, z=230, z=280, z=330, and z=375 Surfaces ...................... 135
4.1. Problem Specification ......................................................................................................................... 139
4.2. The Imported CAD Geometry for the Wing .......................................................................................... 143
4.3. The Entire Mesh .................................................................................................................................. 154
4.4. Magnified View of the Mesh Around the Wing ..................................................................................... 155
4.5. Contour Plot of y+ Distribution ............................................................................................................ 169
4.6. Contour Plot of Pressure ...................................................................................................................... 171
4.7. Improved Contour Plot of Pressure ...................................................................................................... 173
4.8. Contour Plot of Mach Number ............................................................................................................. 175
4.9. Contour Plot of x Component of Velocity ............................................................................................. 177
4.10. Plot of Velocity Vectors Downstream of the Shock .............................................................................. 179
4.11. XY Plot of x Wall Shear Stress ............................................................................................................. 181
5.1. Problem Specification ......................................................................................................................... 185
5.2. Convergence History of the Mass-Weighted Average Temperature ....................................................... 217
5.3. Residuals ............................................................................................................................................ 218
5.4. Predicted Velocity Distribution after the Initial Calculation ................................................................... 222
5.5. Predicted Temperature Distribution after the Initial Calculation ............................................................ 224
5.6. Velocity Vectors Colored by Velocity Magnitude ................................................................................... 226
5.7. Resized Velocity Vectors ...................................................................................................................... 227
5.8. Magnified View of Resized Velocity Vectors .......................................................................................... 227
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xv
Tutorial Guide
5.9. Outlet Temperature Profile for the Initial Solution ................................................................................ 230
5.10. Contours of the Dynamic Head Custom Field Function ....................................................................... 233
5.11. Cells Marked for Adaption ................................................................................................................. 236
5.12. Alternative Display of Cells Marked for Adaption ................................................................................ 238
5.13. The Adapted Mesh ............................................................................................................................ 240
5.14. The Complete Residual History .......................................................................................................... 241
5.15. Convergence History of Mass-Weighted Average Temperature ........................................................... 241
5.16. Filled Contours of Temperature Using the Adapted Mesh ................................................................... 242
5.17. Outlet Temperature Profile for the Adapted Coupled Solver Solution .................................................. 243
5.18. Outlet Temperature Profiles for the Two Solutions .............................................................................. 245
6.1. Exhaust System Geometry for Flow Modeling ...................................................................................... 248
6.2. Manifold CAD Geometry for Flow Modeling ......................................................................................... 252
6.3. Residuals ............................................................................................................................................ 281
6.4. Mass Balance History ........................................................................................................................... 281
6.5. Pathlines Through the Manifold ........................................................................................................... 283
6.6. Contours of Velocity Magnitude Through the Manifold ........................................................................ 285
6.7. Scene Containing the Mesh and Contours Throughout the Manifold .................................................... 288
7.1. Problem Specification ......................................................................................................................... 290
7.2. The Imported CAD Geometry for the Capsule ...................................................................................... 293
7.3. View of the Mesh Around the Capsule ................................................................................................. 305
8.1. Problem Specification ......................................................................................................................... 334
8.2. The Imported CAD Geometry for the Nozzle ........................................................................................ 337
8.3. Mass Flow Rate History ........................................................................................................................ 360
8.4. 2D Nozzle Mesh after Adaption ........................................................................................................... 363
8.5. Mass Flow Rate History (Transient Flow) .............................................................................................. 372
9.1. Case Geometry ................................................................................................................................... 374
9.2. Convergence History of the Pump Head ............................................................................................. 384
9.3. Contours of Velocity Magnitude at the Outlet ...................................................................................... 385
9.4. Contours of Static Pressure on the Walls ............................................................................................... 386
9.5. Contours of Static Pressure .................................................................................................................. 387
10.1. Case Geometry ................................................................................................................................. 390
10.2. Pressure Ratio ................................................................................................................................... 413
10.3. Outlet Mass Flow Rate ....................................................................................................................... 413
10.4. Efficiency .......................................................................................................................................... 414
10.5. Contours of Velocity Magnitude ........................................................................................................ 415
10.6. Contours of Static Pressure ................................................................................................................ 416
10.7. Contours of Static Temperature ......................................................................................................... 417
10.8. Pressure Ratio ................................................................................................................................... 426
10.9. Outlet Mass Flow Rate ....................................................................................................................... 426
10.10. Efficiency ........................................................................................................................................ 427
10.11. Contours of Entropy ........................................................................................................................ 428
10.12. Contours of Velocity Magnitude ....................................................................................................... 430
10.13. Contours of Static Pressure .............................................................................................................. 430
10.14. Contours of Static Temperature ....................................................................................................... 431
11.1. Rotor-Stator Problem Description ...................................................................................................... 434
11.2. Rotor-Stator Display .......................................................................................................................... 436
11.3. Residual History for the First Revolution of the Rotor .......................................................................... 461
11.4. Mass Flow Rate at the Inlet During the First Revolution ...................................................................... 462
11.5. Mass Flow Rate at the Outlet During the First Revolution .................................................................... 462
11.6. Static Pressure at the Interface During the First Revolution ................................................................. 463
11.7. Mass Flow Rate at the Inlet During the Next 3 Revolutions ................................................................. 466
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xvi of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
11.8. Mass Flow Rate at the Outlet During the Next 3 Revolutions ............................................................... 466
11.9. Static Pressure at the Interface During the Next 3 Revolutions ............................................................ 467
11.10. Static Pressure at a Point on The Stator Interface During the Final Revolution .................................... 471
11.11. FFT of Static Pressure at the Stator ................................................................................................... 473
11.12. Mean Static Pressure on the Outer Shroud of the Axial Compressor .................................................. 475
12.1. Schematic of Problem ....................................................................................................................... 478
12.2. Close View of Bay Area ...................................................................................................................... 479
12.3. Cell Marking on component .............................................................................................................. 509
12.4. Cell Marking on fluid-background ..................................................................................................... 509
12.5. Dead Cells in the Component ............................................................................................................ 510
12.6. Dead Cells in the Background ............................................................................................................ 511
13.1. Combustion of Methane Gas in a Turbulent Diffusion Flame Furnace .................................................. 514
13.2. The Quadrilateral Mesh for the Combustor Model .............................................................................. 517
13.3. Contours of Temperature ................................................................................................................... 534
13.4. Velocity Vectors ................................................................................................................................. 537
13.5. Contours of CH4 Mass Fraction .......................................................................................................... 538
13.6. Contours of O2 Mass Fraction ............................................................................................................ 538
13.7. Contours of CO2 Mass Fraction .......................................................................................................... 539
13.8. Contours of H2O Mass Fraction .......................................................................................................... 539
13.9. Contours of NO Mass Fraction — Prompt and Thermal NOx Formation ............................................... 547
13.10. Contours of NO Mass Fraction—Thermal NOx Formation ................................................................. 548
13.11. Contours of NO Mass Fraction—Prompt NOx Formation .................................................................. 550
13.12. Contours of NO ppm — Prompt NOx Formation ............................................................................... 552
14.1. Case Geometry ................................................................................................................................. 556
14.2. The Imported CAD Geometry for the Headlamp ................................................................................. 559
14.3. Graphics Display of Headlamp Mesh .................................................................................................. 572
14.4. Contour of Temperature on Inner Bezel .............................................................................................. 583
14.5. Contour of Radiation Intensity Normalized Standard Deviation on Inner Bezel .................................... 585
15.1. Can Combustor Geometry ................................................................................................................. 588
15.2. Scaled Residuals ................................................................................................................................ 601
15.3. Convergence History of Mass-Weighted Average CO2 on the Outlet ................................................... 602
15.4. Contours of CO2 Mass Fraction .......................................................................................................... 606
15.5. Contours of O2 Mass Fraction ............................................................................................................ 607
15.6. Contours of Static Temperature on the Combustor Walls .................................................................... 608
15.7. Contours of Mean Mixture Fraction .................................................................................................... 612
15.8. Contours of CO2 Mass Fraction .......................................................................................................... 613
15.9. Convergence History of Mass-Weighted Average CO2 on the Outlet ................................................... 615
16.1. 3D model gas turbine combustor with liquid fuel Combustion of Methane ......................................... 618
16.2. The Imported CAD Geometry for the Combustor ............................................................................... 622
17.1. Schematic of the Reactor Configuration ............................................................................................. 662
17.2. Mesh Display .................................................................................................................................... 665
17.3. Contours of Surface Deposition Rate of Ga ......................................................................................... 694
17.4. Scaled Residuals ................................................................................................................................ 696
17.5. Temperature Contours Near wall-4 .................................................................................................... 699
17.6. Contours of Surface Deposition Rate of ga ......................................................................................... 700
17.7. Contours of Surface Coverage of ga_s ................................................................................................ 702
17.8. Plot of Surface Deposition Rate of Ga ................................................................................................. 705
18.1. Problem Specification ....................................................................................................................... 708
18.2. Air-Blast Atomizer Mesh Display ........................................................................................................ 712
18.3. Scaled Residuals ................................................................................................................................ 726
18.4. Velocity Magnitude at Mid-Point of Atomizer Section ......................................................................... 729
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xvii
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xviii of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xix
Tutorial Guide
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xx of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial Guide
29.41. Convective Heat Flux Over the Clean NACA0012 Airfoil .................................................................. 1130
29.42. Scaled Residuals ............................................................................................................................ 1132
29.43. Convergence of Lift and Drag Coefficients of the Rough Airfoil ....................................................... 1133
29.44. The Residual Values ....................................................................................................................... 1134
29.45. Convective Heat Flux Over the NACA0012 ...................................................................................... 1134
30.1. Multishot Automatic Remeshing Ice Shape ...................................................................................... 1149
30.2. Residuals of 1st Shot’s Air Flow Simulation (Left: Script Run; Right: Simulation from the Multishot Icing
with Automatic Remeshing on the Onera M6 Wing Tutorial) ..................................................................... 1153
30.3. Instant. Ice Growth of 1st Shot Surface Icing Solution (Red: Script Run; Black: Simulation from the
Multishot Icing with Automatic Remeshing on the Onera M6 Wing Tutorial) ............................................. 1154
30.4.Water Film of 1st Shot Surface Icing Solution (Red: Script Run; Black: Simulation from the Multishot Icing
with Automatic Remeshing on the Onera M6 Wing Tutorial) ..................................................................... 1154
30.5.Wall Temperature of 1st Shot Surface Icing Solution (Red: Script Run; Black: Simulation from the Multishot
Icing with Automatic Remeshing on the Onera M6 Wing Tutorial) ............................................................ 1154
30.6. Computed Ice Shape at the End of the 6th Shot (Left: Script Run; Right: Simulation from the Multishot
Icing with Automatic Remeshing on the Onera M6 Wing Tutorial) ............................................................ 1155
30.7. Ice View in CFD-Post, Transparent Ice Cover of the Final Ice Shape ..................................................... 1157
30.8. Ice View in CFD-Post, Instantaneous Ice Growth over the Final Ice ..................................................... 1158
30.9. 2D-Plot in CFD-Post, 3rd Shot Ice Shape at Z=0.5 .............................................................................. 1160
30.10. 2D-Plot in CFD-Post, Multishot Ice Shapes at a User-Defined Cutting Plane ...................................... 1162
31.1. View of the Surface Mesh around the ONERA M6 Wing ..................................................................... 1166
31.2. Boundary Surface Mesh of the ONERA M6 Domain .......................................................................... 1166
31.3. Initial Input: Design Points Table ...................................................................................................... 1172
31.4. Convergence of Residuals for Design Point 1 .................................................................................... 1174
31.5. Convergence History of the Lift Coefficient for Design Point 1 .......................................................... 1175
31.6. Input: Design Points Table after Calculation ...................................................................................... 1175
31.7. Summary Table of the Flight Conditions and Convergence Information ............................................ 1176
31.8. Results Table of Aerodynamic Coefficients ....................................................................................... 1177
31.9. Results Table of Aerodynamic Forces ................................................................................................ 1177
31.10. Results Table of Final Residuals ...................................................................................................... 1177
31.11. Set a Design Point to Continue to Update ...................................................................................... 1177
31.12. Convergence of the Residuals for Design Point 5 After a Continue to Update .................................. 1179
31.13. Summary Table After a Continue to Update of DP-4 and DP-5 ......................................................... 1179
31.14. Lift Coefficient vs. Design Point ...................................................................................................... 1180
31.15. Drag Coefficient vs. Design Point .................................................................................................... 1180
31.16. Moment Coefficient vs. Design Point .............................................................................................. 1181
31.17. Lift Coefficient vs. Drag Coefficient ................................................................................................. 1181
31.18. Option to Modify Plot Settings ....................................................................................................... 1182
31.19. Lift Coefficient vs Angle of Attack ................................................................................................... 1182
31.20. Comparing a Reference Dataset to the Lift Coefficient Curve .......................................................... 1183
31.21. Distribution of the Wall Pressure Coefficient at Z=0.25m for DP-2 ................................................... 1184
31.22. Load a Reference Data to the Pressure Coefficient Plot of DP-2 at Z=0.25m ..................................... 1185
31.23. Wall Static Pressure Contour of Design Point 2 ................................................................................ 1186
31.24. Mach Number Cutting Plane Contour of Design Point 2 .................................................................. 1188
31.25. Project View Panel After Calculation and Post-Processing ............................................................... 1189
31.26. Solution of Design Point 2 in CFD-Post ........................................................................................... 1190
31.27. Re-entry Capsule Problem Specification ......................................................................................... 1191
31.28. View of the Mesh around the Capsule ............................................................................................ 1192
31.29. Input:Design Points Table of a Custom Exploration with 3 Design Points ......................................... 1196
31.30. Select Custom Outputs .................................................................................................................. 1197
31.31. Convergence of the Residuals for Design Point 1 ............................................................................ 1198
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxi
Tutorial Guide
31.32. Convergence History of the Drag Coefficient for Design Point 1 ...................................................... 1199
31.33. Input: Design Points Table after Calculation .................................................................................... 1199
31.34. Summary Table of the Flight Conditions and Convergence Information .......................................... 1200
31.35. Results Table of the Aerodynamic Coefficients ................................................................................ 1201
31.36. Results Table of the Aerodynamic Forces ........................................................................................ 1201
31.37. Results Table of Final Residuals ...................................................................................................... 1201
31.38. Results Table of Custom Outputs .................................................................................................... 1201
31.39. Lift Coefficient vs. Design Point ...................................................................................................... 1202
31.40. Distribution of the Wall Pressure Coefficient at Z = 0.1m for DP-2 .................................................... 1203
31.41. Distribution of the Wall Static Temperature at Z = 0.1m for DP-2 ..................................................... 1203
31.42. Wall Static Temperature Contour of DP-03 ...................................................................................... 1205
31.43. Wall Static Pressure Contour of DP-03 ............................................................................................ 1206
31.44. Mach Number Cutting Plane Contour Plot ...................................................................................... 1206
31.45. Enable Solution Workspace from the Project Ribbon ...................................................................... 1207
31.46. Fluent Solution Workspace Window ............................................................................................... 1208
31.47. Applying the TUI Command to the Solution Workspace Console ..................................................... 1208
31.48. Convergence of Residuals for Design Point 1 Using Continue to Update ......................................... 1209
31.49. View of the Mesh Around the Aircraft ............................................................................................. 1211
31.50. Input:Design Points Table With 2 Design Points .............................................................................. 1222
31.51. Convergence of Residuals for Design Point 1 .................................................................................. 1225
31.52. Convergence History of the Lift Force from the Wing_01 for Design Point 1 .................................... 1225
31.53. Summary Table of the Flight Conditions and Convergence Information .......................................... 1226
31.54. Results Table of Final Residuals ...................................................................................................... 1227
31.55. Results Table of the Aerodynamic Coefficients ................................................................................ 1227
31.56. Results Table of the Aerodynamic Forces ........................................................................................ 1227
31.57. Lift to Drag Ratio vs. Design Point .................................................................................................. 1228
31.58. Lift Coefficient vs. Drag Coefficient ................................................................................................. 1229
31.59. Distribution of the Wall Pressure Coefficient at Z=4m for DP-1 ........................................................ 1231
31.60. Wall Static Pressure Contour of the Wing_01 and Engine_01 Components of Design Point 2 ........... 1233
31.61. Wall Static Pressure Contour of the Wing_01 and Engine_01 Components of Design Point 1 ........... 1234
31.62. Mach Number Cutting Plane Contour of Design Point 1 .................................................................. 1236
31.63. View of the Surface Mesh Around the Horizontal Stabilizer ............................................................. 1237
31.64. Setup of the Boundary Surface Mesh ............................................................................................. 1238
31.65. Initial Input: Design Points Table .................................................................................................... 1242
31.66. Convergence of Residuals for Design Point 1 .................................................................................. 1245
31.67. Convergence History of the Drag Coefficient for Design Point 1 ...................................................... 1246
31.68. Input: Design Points Table After Calculation ................................................................................... 1246
31.69. Summary Table of the Flight Conditions and Convergence Information .......................................... 1247
31.70. Results Table of Aerodynamic Coefficients ...................................................................................... 1247
31.71. Results Table of Aerodynamic Forces .............................................................................................. 1248
31.72. Results Table of Component Outputs ............................................................................................. 1248
31.73. Results Table of Final Residuals ...................................................................................................... 1248
31.74. Drag Coefficient vs. Design Point .................................................................................................... 1249
31.75. Wing Drag vs Wind Tunnel Inlet Mass Flow Rate ............................................................................. 1250
31.76. Distribution of the Wall Pressure Coefficient at Z=-0.6m for DP-1 .................................................... 1251
31.77. Load a Reference Data to the Pressure Coefficient Plot of DP-1 at Z=-0.6m ...................................... 1252
31.78. Wall Static Pressure Contour of Design Point 1 ................................................................................ 1253
31.79. Mach Number Cutting Plane Contour of Design Point 1 .................................................................. 1254
31.80. Project View Panel After Calculation and Post-Processing ............................................................... 1255
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxii of ANSYS, Inc. and its subsidiaries and affiliates.
List of Tables
1. Mini Flow Chart Symbol Descriptions ..................................................................................................... xxvi
3.1. Values for the Principle Direction Vectors ............................................................................................. 115
3.2. Values for the Viscous and Inertial Resistance ....................................................................................... 116
12.1. Meaning of Values ............................................................................................................................. 507
17.1. Selected Species ............................................................................................................................... 670
17.2. Selected Site and Solid Species .......................................................................................................... 673
17.3. Reaction Parameters ......................................................................................................................... 674
17.4. Properties of Species ......................................................................................................................... 677
17.5. Properties of Species ......................................................................................................................... 678
19.1. Ink Chamber Dimensions .................................................................................................................. 762
29.1. Simulation Flight Conditions ........................................................................................................... 1071
30.1. Flight Conditions ............................................................................................................................. 1138
30.2. Simulation In-Flight Icing Conditions ............................................................................................... 1143
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxiii
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxiv of ANSYS, Inc. and its subsidiaries and affiliates.
Using This Manual
This preface is divided into the following sections:
1. What’s In This Manual
2. How To Use This Manual
3.Typographical Conventions Used In This Manual
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.
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.
• Different type styles are used to indicate graphical user interface items and text interface items. For
example:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxv
Using This Manual
• 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxvi of ANSYS, Inc. and its subsidiaries and affiliates.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxvii
Using This Manual
• 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxviii of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Fluid Flow in an Exhaust Manifold
This tutorial is divided into the following sections:
1.1. Introduction
1.2. Prerequisites
1.3. Problem Description
1.4. Setup and Solution
1.5. Postprocessing
1.6. Summary
1.1. Introduction
Licensing Capability:
This tutorial illustrates the setup and solution of a three-dimensional turbulent fluid flow and heat
transfer problem 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.
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Fluid Flow in an Exhaust Manifold
1.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
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 mani-
fold.pmdb file is available for use on the Linux platform.
Fluent Launcher allows you to decide which version of Ansys Fluent you will use, based on your
geometry and on your processing capabilities.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Fluid Flow in an Exhaust Manifold
Note:
3. Set the working folder to the one created when you unzipped manifold.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Fluid Flow in an Exhaust Manifold
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, etc. All tasks are initially incomplete and you proceed through the workflow com-
pleting all tasks. Additional tasks are also available for the workflow.
d. For File Name, enter the path and file name for the CAD geometry that you want to import
(manifold.scdoc).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
The workflow only supports *.scdoc (SpaceClaim), Workbench (.agdb), 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 geo-
metry 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Fluid Flow in an Exhaust Manifold
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.
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 Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
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 Generate the 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Fluid Flow in an Exhaust Manifold
a. Since a fluid region is extracted from the solid model and capping surfaces are added,
the default settings are appropriate.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
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 list of labels, select in1, in2, and in3 for the openings that you want to cover.
For occasions when the list of items is long, you can use the Filter Text option and use
an expression such as in* to show only items starting with "in". Alternatively, you can
use the Use Wildcard option to list and pres-select matching items. See Filtering Lists and
Using Wildcards for more information.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Fluid Flow in an Exhaust Manifold
v. Click Create Cap(s) to complete this task and proceed to the next task in the workflow.
i. In the Name field, assign a name for the capping surface (for example, outlet) to
be assigned to the manifold's outlet.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iii. For the Select By field, keep the default setting of label.
iv. In the list of labels, 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Fluid Flow in an Exhaust Manifold
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 that correspond to the
four bolt holes near the outlet, 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Fluid Flow in an Exhaust Manifold
a. Select the Generate the Volume Mesh task, where you can set properties of the volume mesh.
b. Keep the default settings, and click Generate the Volume Mesh.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Fluid Flow in an Exhaust Manifold
Physics → Solver
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
1.4.6. 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 ex-
panding Setup and double-clicking the Models tree item.
You will use the default settings for the k-ω SST turbulence model, so you can enable it directly from
the tree by right-clicking the Viscous node and choosing SST k-omega from the context menu.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Fluid Flow in an Exhaust Manifold
1.4.7. Materials
Change the default material of Aluminum to cast iron.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The properties of air for the fluid zone and cast-iron for the solid zone will be used.
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Fluid Flow in an Exhaust Manifold
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Click Copy, click OK in the confirmation prompt, and close the Copy Conditions dialog box.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Fluid Flow in an Exhaust Manifold
5. Apply the same conditions to the other walls (in1, in2, in3, and out1).
a. Select solid_up:1 from the Boundary Conditions node of the Outline View, right-click and
select Copy from the context menu.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select in1, in2, in3, and out1 from the To Boundary Zones list.
c. Click Copy, click OK in the confirmation prompt, and close the Copy Conditions dialog box.
1.4.10. Solution
1. Specify the discretization schemes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Fluid Flow in an Exhaust Manifold
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
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
Maximum... 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.
c. Select Velocity... and Velocity Magnitude from the Field Variable drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Fluid Flow in an Exhaust Manifold
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Fluid Flow in an Exhaust Manifold
e. Click OK to save the surface report definition and close the Flux Report Definition dialog
box.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select mass-tot from the Report Definitions drop-down list on the right.
d. Select mass-in from the Report Definitions drop-down list on the right.
e. Enable Report File, Report Plot, and Print to Console in the Create group box.
6. Initialize the flow field using the Initialization group box of the Solution ribbon tab.
Solution → Initialization
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Fluid Flow in an Exhaust Manifold
b. Click Initialize.
8. Start the calculation by adjusting the time scale factor to 5 and 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. 33).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Similarly, the residuals history will be plotted in the Scaled Residuals tab in the graphics
window (Figure 1.3: Residuals (p. 33)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Fluid Flow in an Exhaust Manifold
1.5. Postprocessing
1. Display path lines highlighting the flow field (Figure 1.4: Pathlines Through the Manifold (p. 35)).
b. Select Particle Variables... and Time from the Color by drop-down lists.
e. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing
a. Create Surface 1
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Fluid Flow in an Exhaust Manifold
ii. Select Mesh... and X-Coordinate from the Clip to Values of drop-down lists.
v. Keep the Min value at its minimum setting, and adjust the Max value to be at its halfway
point.
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.
b. Create Surface 2
ii. Select Mesh... and Z-Coordinate from the Clip to Values of drop-down lists.
v. Keep the Min value at its minimum setting, and adjust the Max value to be at -44.0 .
The new clip-z-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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing
i. Click New Object and select Mesh to open the Mesh Display dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Fluid Flow in an Exhaust Manifold
iv. 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.
e. Click Save & Display and close the Scene dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Fluid Flow in an Exhaust Manifold
b. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing
In the Mesh Display dialog box, deselect all surfaces, select the out1 surface, click Display and
close the dialog.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Fluid Flow in an Exhaust Manifold
b. Select Mesh... and Z-Coordinate from the Surface of Constant drop-down lists.
d. Click Compute.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing
The Min and Max fields display the Z extents of the domain.
b. Select Temperature... and Static Temperature from the Contours of drop-down lists.
c. Select inlet, inlet1, inlet2, mid-plane-z, outlet, and out1 from the Surfaces list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Fluid Flow in an Exhaust Manifold
In the Mesh Display dialog box, deselect all surfaces, select the clip-z-coordinate surface, click
Display and close the dialog.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Fluid Flow in an Exhaust Manifold
b. Select Temperature... and Static Temperature from the Contours of drop-down lists.
Click to deselect all surfaces. Click and select Surface Type under Group By to list the
surfaces by type, as shown above.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
You will use these case and data files in Fluent Postprocessing : Exhaust Manifold (p. 49).
1.6. 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 and heat transfer 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Fluent Postprocessing : Exhaust Manifold
This tutorial is divided into the following sections:
2.1. Introduction
2.2. Prerequisites
2.3. Problem Description
2.4. Setup and Solution
2.5. Summary
2.1. Introduction
Licensing Capability:
This tutorial demonstrates the postprocessing capabilities of Fluent using a 3D model of an exhaust
manifold with high temperature flows passing through. The flow through the manifold is turbulent and
involves conjugate heat transfer.
The heat transfer involves conduction in the manifold and conduction and convection in the exhaust
fluid. The physics of conjugate heat transfer such as this are common in many engineering applications,
including the design of vehicle engines.
In this tutorial, you will read the case and data files that you created in performing the "Fluid Flow in
an Exhaust Manifold" tutorial and perform a number of postprocessing exercises.
• Create animations.
• Create a scene.
• Display pathlines.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Fluent Postprocessing : Exhaust Manifold
2.2. Prerequisites
This tutorial is written with the assumption that you have completed the Fluid Flow in an Exhaust
Manifold (p. 1) tutorial 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, air at 10 m/s is pushed through each inlet at a gas temperature of 900 K. The
outlet has a static pressure of 0 Pa.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
2.4.1. Preparation
To prepare for running this tutorial:
1. Navigate to the working directory where you completed the "Fluid Flow in an Exhaust Manifold"
tutorial.
3. Select Solution in the top-left selection list to start Fluent in Solution Mode.
When you select the case file, Fluent will read the data file automatically.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Fluent Postprocessing : Exhaust Manifold
a. Select the Edges option and retain the default Faces option in the Options group box.
b. Deselect all surfaces an then select all the wall surfaces by selecting the Wall surface type.
Click to deselect all surfaces. Click and select Surface Type under Group By to list the
surfaces by type, as shown above.
c. 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 exhaust manifold, as shown in Figure 2.2: Mesh Display of
the Exhaust Manifold (p. 53).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Fluent Postprocessing : Exhaust Manifold
a. Make sure that the Light On option is enabled in the Lighting Attributes group box.
b. Retain the selection of Automatic from the Lighting Method drop-down list.
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 2.3: Graphics Window with Default
Lighting (p. 55)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Fluent Postprocessing : Exhaust Manifold
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.
c. Enter -1, 1, and 1 for X, Y, and Z respectively in the Direction group box.
d. Retain the selections of Automatic in the Lighting Method and Headlight On drop-down
lists.
e. Click Apply.
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 selecting Off in the
Headlight On drop-down list (the results of this action are shown in Figure 2.4: Display with Addi-
tional Lighting: - Headlight Off (p. 56)).
f. Similarly, add a second light (Light ID= 2 with Light On enabled) with a Direction of (-1, 1,
-1). Click Apply.
The result will be more softly shaded display (Figure 2.5: Display with Additional Lighting (p. 57)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
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 plane cutting through the middle of the manifold, and at the outlet. You can use these
surfaces to display the temperature and velocity fields.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
Fluent Postprocessing : Exhaust Manifold
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.
e. Click Create.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select Mesh... and X-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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
Fluent Postprocessing : Exhaust Manifold
b. Select Mesh... and Z-Coordinate from the Clip to Values of drop-down lists.
c. Select solid_up:1:447 from the Clip Surface list. Note the number may be different due to
mesh generation
d. Click Compute.
e. Enter -44 for the Min value and leave the Max value at its maximum.
The new clip-z-inner definition appears under the Results/Surfaces tree branch. To edit your
surface definition, right-click it and select Edit... from the menu that opens.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Click and select Surface Type under Group By (if surfaces are not already grouped by
type).
c. Select mid-plane-x and outlet-plane (under Iso-Surface in the Surfaces selection list.)
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Fluent Postprocessing : Exhaust Manifold
In the Mesh Display dialog box, deselect all surfaces and select the clip-x-coordinate surface.
h. Rotate and adjust the magnification of the view using the left and middle mouse buttons, re-
spectively, to obtain the view as shown in Figure 2.6: Filled Contours of Temperature on the
Mid-Plane-x and the Outlet (p. 63).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
• 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 geometry.
The inlet streams don't mix in the manifold as shown by the inlet streams not mixing together.
Figure 2.6: Filled Contours of Temperature on the Mid-Plane-x and the Outlet
In Figure 2.6: Filled Contours of Temperature on the Mid-Plane-x and the Outlet (p. 63), the high tem-
peratures in the exhaust stream drastically increase the temperature of the cast iron manifold. You
can also display other quantities such as velocity magnitude or pressure using the Contours dialog
box.
2. Display filled contours of temperature for the surface of the manifold(Figure 2.7: Filled Contours
of Temperature for the Surface of the Manifold (p. 64)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
Fluent Postprocessing : Exhaust Manifold
d. The surface of the manifold heats up to over 700 K from from an initial temperature of 300 K (Fig-
ure 2.7: Filled Contours of Temperature for the Surface of the Manifold (p. 64)).
Figure 2.7: Filled Contours of Temperature for the Surface of the Manifold
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.
1. Display velocity vectors on the mid-plane through the manifold (Figure 2.8: Velocity Vectors in the
Mid-Plane of the Manifold (p. 66)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
e. Click to deselect all surfaces from the Surfaces selection list and then select mid-plane-
x.
2. Rotate and adjust the magnification of the view to match (Figure 2.8: Velocity Vectors in the Mid-
Plane of the Manifold (p. 66)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
Fluent Postprocessing : Exhaust Manifold
3. Plot velocity vectors along the mid z-direction plane manifold coloured by temperature (Fig-
ure 2.9: Velocity Vectors mid-plane in the z-direction (p. 69)).
b. Enable Draw Mesh in the Options group box to open the Mesh Display dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Ensure that Faces is enabled and that Edges is disabled in the Options group box.
ii. Deselect all surfaces and select clip-z-coordinate from the Surfaces selection list.
iii. Click the Colors... button to open the Mesh Colors dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
Fluent Postprocessing : Exhaust Manifold
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.
h. Rotate the view and increase the magnification to obtain the view as shown in Figure 2.9: Ve-
locity Vectors mid-plane in the z-direction (p. 69).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You will display the surface temperature distribution on the inner part of the manifold along with the
temperatures of the outlet flow and mid-plane flow. 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 mid-plane, inner-clip, and outlet-plane.
(Figure 2.10: Filled Temperature Contours on the mid-plane-x, clip-z-inner and outlet-plane Sur-
faces (p. 71)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
Fluent Postprocessing : Exhaust Manifold
b. Retain the selection of Temperature... and Static Temperature from the Contours of drop-
down lists.
d. Select clip-z-inner, mid-plane-x, and outlet-plane from the Surfaces selection list.
f. Reorient the display as needed to obtain the view shown in Figure 2.10: Filled Temperature
Contours on the mid-plane-x, clip-z-inner and outlet-plane Surfaces (p. 71).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 2.10: Filled Temperature Contours on the mid-plane-x, clip-z-inner and outlet-plane Sur-
faces (p. 71) shows the high temperature exhaust heating the walls of the manifold.
Figure 2.10: Filled Temperature Contours on the mid-plane-x, clip-z-inner and outlet-plane
Surfaces
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
Fluent Postprocessing : Exhaust Manifold
You will use the current display (Figure 2.10: Filled Temperature Contours on the mid-plane-x, clip-z-
inner and outlet-plane Surfaces (p. 71)) 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.
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 backside of the manifold is visible
from an angle (Figure 2.11: Filled Temperature Contours on the Mid-Plane, Inner-Clip, and
Outlet-Plane Surfaces (p. 73)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 2.11: Filled Temperature Contours on the Mid-Plane, Inner-Clip, and Outlet-Plane
Surfaces
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 animation by enabling the Double Buffering option in the Display Options dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
Fluent Postprocessing : Exhaust Manifold
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.
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.
a. Edit contour-temperature to use the clip-z-inner and outlet-plane as the display surface.
Click Save/Display.
b. Edit velocity-vector to use the mid-plane-z as the display surface and reduce the Scale to 1.
Click Save & Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. In the Scene dialog box, set the Transparency for contour-temperature to 30.
g. Click Save & Display to create the scene and display it in the graphics window, and close the
Scene dialog box.
h. Drag the velocity vector colormap to the left of the graphics window and drag the temperature
colormap to the bottom of the graphics window and modify the orientation and zoom of the
scene to match Figure 2.12: Temperature Contours and Velocity Vectors Scene (p. 76).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
Fluent Postprocessing : Exhaust Manifold
a. Edit velocity-vector to use the clip-z-inner as the display surface and reduce the Scale to 1.
Click Save & Display.
d. Click Save & Display and close the Scene dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Click Display... in the Geometry Attributes group box and disable the Nodes option.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Fluent Postprocessing : Exhaust Manifold
g. In the Scene Description dialog box, deselect all names and select velocity_vector.
h. Click Transform..., and in the Transformations dialog box, enter 100 for Z under the Translate
heading.
i. Click Apply and close both the Transformations dialog box and the Scene Description dialog
box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Click the Close Tab button ( ) to clear the graphics window (located on the upper right-hand
side of the graphics window tab).
2. Generate contours of temperature and sweep them through the domain along the X axis.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Fluent Postprocessing : Exhaust Manifold
a. Change X to be 0 and Z to be 1.
b. Click Compute.
c. Retain the default value of -0.1018232 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 do-
main.
f. Select Contours from the Display Type selection list and click Properties to open the Contours
dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select Temperature... and Static Temperature from the Contours of drop-down lists.
iii. Deselect all surfaces and select clip-x-coordinate from the Surfaces drop-down list.
You will see the temperature contour plot displayed at 200 successive streamwise planes. Fluent will
automatically 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Fluent Postprocessing : Exhaust Manifold
d. Enter the coordinates of the rake using a starting coordinate of (-145, -105, -44) and an
ending coordinate of (-120, -105, -44) in the End Points group box.
These coordinates define a line through a solid portion of the manifold located slightly above the
outlet.
2. Plot the temperature distribution along the rake through a solid region. (Figure 2.14: Temperature
Along a Solid Portion of the Manifold (p. 85)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Temperature... and Static Temperature from the Y Axis Function drop-down lists.
This will plot temperature vs. the X coordinate along the selected rake (rake-solid).
e. Click the Axes... button to open the Axes - Solution XY Plot dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
Fluent Postprocessing : Exhaust Manifold
v. Click Apply and close the Axes - Solution XY Plot dialog box.
The temperature distribution (Figure 2.14: Temperature Along a Solid Portion of the Manifold (p. 85))
shows that the solid portion of the manifold saw similar temperatures through the thickness.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
1. Enter the text describing the plot (for example, Temperature in a Solid Portion of
the Manifold) in the Annotation Text field.
2. Select 20 from the Size drop-down list in the Font Specification group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
Fluent Postprocessing : Exhaust Manifold
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 2.15: A Display with Annotation (p. 86)).
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 pos-
ition 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 ab-
solute, while the rest of the items in the graphics window are scaled to the proportions
of the picture file.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Click the Save Picture icon- in the toolbar to open the Save Picture dialog box.
3. Click the Save... button to open the Select File dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
Fluent Postprocessing : Exhaust Manifold
3. Click Compute to calculate the total mass of the air in the manifold.
5. Select Temperature... and Static Temperature from the Field Variable drop-down lists.
7. Repeat the previous operation to determine the minimum temperature in the solid_up cell zone.
The maximum and minimum temperatures are an important characteristic of exhaust manifold design.
2.5. Summary
This tutorial demonstrated the use of many of the extensive postprocessing features available in Fluent.
For more information on these and related features, see reporting alphanumeric data and displaying
graphics in the Fluent User's Guide.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Modeling Flow Through Porous Media
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
Licensing Capability:
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
Modeling Flow Through Porous Media
• Calculate a solution for gas flow through the catalytic converter using the pressure-based solver.
For more information about using the guided workflows, see Working With Fluent Guided Workflows
in the Fluent User's Guide.
3.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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.
While the flow in the inlet and outlet sections is turbulent, the flow through the substrates is laminar
and is characterized by inertial and viscous loss coefficients along the inlet axis. The substrates are im-
permeable in other directions. This characteristic is modeled using loss coefficients that are three orders
of magnitude higher than in the main flow direction.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
3.4.1. Preparation
To prepare for running this tutorial:
The SpaceClaim CAD file catalytic_converter.scdoc can be found in the folder. In addition,
the catalytic_converter.pmdb file is available for use on the Linux platform.
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
6. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
Modeling Flow Through Porous Media
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, 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.
d. For File Name, enter the path and file name for the CAD geometry that you want to import
(catalytic_converter.scdoc).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
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 (Figure 3.2: The Imported
CAD Geometry for the Catalytic Converter (p. 94)), and allow you to proceed onto the next task in
the workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
Modeling Flow Through Porous Media
Figure 3.2: The Imported CAD Geometry for the Catalytic Converter
Note:
Alternatively, you can use the ... button next to File Name to locate the CAD geo-
metry 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
In this tutorial, we will add local sizing in and around the sensor, since that is an area where we
require a more refined mesh. Later, we will apply settings for a coarser surface mesh elsewhere.
g. Select the faces in and around the sensor in the list, specifically, sensing_element-65-
solid, sensor_innertube-67-solid, and sensor_protectiontube-66-solid1.
For occasions when the list of items is long, you can use the Filter Text option and use an expression
such as in* to show only items starting with "in". Alternatively, you can use the Use Wildcard
option to list and pres-select matching items. See Filtering Lists and Using Wildcards for more in-
formation.
Select the Use Wildcard option and enter sens* in the text field to filter out the other labels
and automatically select the desired labels.
h. Click Add Local Sizing to complete this task and proceed to the next task in the workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
Modeling Flow Through Porous Media
a. In the Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. Click Generate the 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.
a. Select The geometry consists of both fluid and solid regions and/or voids option under
Geometry Type, since this model contains both fluid and solids, and potential voids.
b. Select Yes for the Will you cap openings and extract fluid regions? prompt, since we
plan on adding capping surfaces and extracting a fluid.
c. Select Yes for the Change all fluid-fluid boundary types from 'wall' to 'internal'?
prompt, since we are modeling flow through the entire geometry, and any interior wall
boundaries between potential fluid regions should be interior boundaries to allow the
flow to pass.
Remember that there are two regions within the catalytic converter that will ultimately represent
porous regions.- surrounded by other non-porous fluid regions For now, we will consider all
of these internal regions as fluid regions and change them accordingly in the Ansys Fluent
solver.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
Modeling Flow Through Porous Media
e. 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.
i. Enter inlet for the Name of the capping surface to be assigned to the manifold's
inlet.
ii. For the Zone Type, keep the default setting of velocity-inlet.
iii. In the list of labels, select in1 for the opening that you want to cover (or right-click
the surface of the inlet in the graphics window).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iv. Click Create Cap(s) 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 re-
maining opening and assign it to be an outlet.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 99
Modeling Flow Through Porous Media
i. Enter outlet for the Name of the capping surface to be assigned to the manifold's
outlet.
iii. In the list of labels, select out1 for the outlet that you want to cover (or right-click the
surface of the inlet in the graphics window).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
100 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 101
Modeling Flow Through Porous Media
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
b. All the proposed boundaries are correct, so click Update Boundaries. and proceed to the next
task.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
102 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
We anticipate that there will be fluid regions located at the inlet, the outlet, and the fluid region
between the substrates.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 103
Modeling Flow Through Porous Media
a. Select the Update Regions task, where you can review and change the tabulated names and
types of the various regions that have been generated from your imported geometry, and
change them as needed.
We can see that the three fluid regions are defined, however, the two regions of the individual
substrates are identified as solid regions. We can change their designations here in this task, and
provide them with useful names.
b. Change the two substrate solid regions to be fluid regions, and rename them, in the table.
i. Under Region Name, locate the honeycomb.solid1 region, double-click and rename
the region to fluid:substrate:1.
ii. For that specific region, under Region Type, select fluid from the drop-down menu.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
104 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 105
Modeling Flow Through Porous Media
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
For the Add Boundary Layers task, ensure yes is selected at the prompt as to whether or not
you want to define boundary layer settings. In this task, you can define specific details for
capturing the boundary layer in and around your geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
106 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Generate the Volume Mesh task, where you can set properties of the volume mesh
itself.
b. Keep the default settings, and click Generate the Volume Mesh.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 107
Modeling Flow Through Porous Media
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
108 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Rotate the view and zoom in to get the display shown in Figure 3.3: Mesh for the Catalytic Converter
Geometry in Fluent (Solver Mode) (p. 109).
Figure 3.3: Mesh for the Catalytic Converter Geometry in Fluent (Solver Mode)
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 109
Modeling Flow Through Porous Media
Physics → Solver
3.4.5. Models
1. Allow temperatures to be considered in the calculations by enabling the energy model.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
110 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You can enable the calculation of temperatures directly from the tree by right-clicking the Energy
node and choosing On from the context menu.
You will use the default settings for the k-ω SST turbulence model, so you can enable it directly from
the tree by right-clicking the Viscous node and choosing SST k-omega from the context menu.
3.4.6. Materials
Add nitrogen to the list of fluid materials by copying it from the Fluent Database of materials.
a. Click the Fluent Database... button to open the Fluent Database Materials dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 111
Modeling Flow Through Porous Media
ii. Click Copy to copy the information for nitrogen to your list of fluid materials.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
112 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 113
Modeling Flow Through Porous Media
2. Perform the same operation for the other fluid zones (fluid:1 and fluid:3).
3. Set the cell zone conditions for the first substrate (fluid:substrate:1).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
114 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Enable Laminar Zone to solve the flow in the porous zone without turbulence.
i. Make sure that the principal direction vectors are set as shown in Table 3.1: Values for the
Principle Direction Vectors (p. 115).
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 115
Modeling Flow Through Porous Media
ii. For the viscous and inertial resistance directions, enter the values in Table 3.2: Values for
the Viscous and Inertial Resistance (p. 116) Viscous Resistance and Inertial Resistance.
Direction-1 and Direction-2 are set to arbitrary large numbers. These values are several orders
of magnitude greater than that of the Direction-3 flow and will make any radial flow insignific-
ant.
Scroll down to access the fields that are not initially visible.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
116 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
e. Click the Thermal tab and enter 800 K for the Temperature of the incoming fluid.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 117
Modeling Flow Through Porous Media
b. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specification
Method drop-down list.
e. Click the Thermal tab and enter 800 K for the Backflow Total Temperature of the outgoing
fluid.
3.4.9. Solution
1. Specify the discretization schemes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
118 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 119
Modeling Flow Through Porous 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
120 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Warning:
b. Click Options... to open the Solution Initialization task page, which provides access to further
settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 121
Modeling Flow Through Porous Media
a. Select inlet from the Compute from drop-down list in the Solution Initialization task
page.
c. Click Initialize.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
122 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The mass flow rate graph flattens out, as seen in Figure 3.4: Mass Flow Rate History (p. 123). Since
the mass flow rate has stabilized after 150 iterations, the solution can be said to have reached
convergence.
3.4.10. Postprocessing
1. Display the wall surfaces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 123
Modeling Flow Through Porous Media
a. Deselect all items in the Surfaces selection list, and make sure that only Wall category of
surfaces is selected.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
124 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 125
Modeling Flow Through Porous Media
b. Click the Display... button in the Geometry Attributes group box to open the Display
Properties dialog box.
i. Disable Edges, Perimeter Edges, and Nodes in the Visibility group box.
ii. Make sure that the Red, Green, and Blue sliders are set to the maximum position (that is,
255).
iv. Click Apply and close the Display Properties dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
126 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Click Create.
5. Create cross-sectional planes at locations throughout the domain: in the inlet prior to the first
substrate, within the first substrate, in the fluid zone between the substrates, within the second
substrate, and just after the second substrate in the outlet.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 127
Modeling Flow Through Porous Media
d. Click Create.
e. Repeat these steps for the remaining surfaces at z=230, z=280, z=330, and z=375, and close
the Plane Surface dialog box.
6. Display velocity vectors on the y=-425 surface (Figure 3.5: Velocity Vectors Through the Interi-
or (p. 131)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
128 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Enable Draw Mesh in the Options group box to open the Mesh Display dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 129
Modeling Flow Through Porous Media
ii. Click Display and close the Mesh Display dialog box.
g. Repeat the procedure in step 3 to set the transparency for the wall surfaces.
h. Rotate the view and adjust the magnification to get the display shown in Figure 3.5: Velocity
Vectors Through the Interior (p. 131).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
130 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 substrates, it decelerates and straightens out,
and exhibits a more uniform velocity distribution. This allows the metal catalyst present in the
substrates to be more effective.
7. Display filled contours of static pressure on the interior plane (Figure 3.6: Contours of Static Pressure
Through the Interior (p. 133)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 131
Modeling Flow Through Porous Media
b. Make sure that Filled, Node Values, and Boundary Values are enabled in the Options group
box.
d. 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 substrates. The pressure drop can be high, due to the inertial and viscous resistance of the
porous media.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
132 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
8. Display filled contours of the velocity magnitude on the z=185, z=230, z=280, z=330, and z=375
surfaces (Figure 3.7: Contours of Velocity Magnitude on the z=185, z=230, z=280, z=330, and z=375
Surfaces (p. 135)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 133
Modeling Flow Through Porous Media
b. Make sure that Filled, Node Values, and Boundary Values are enabled in the Options group
box.
e. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
f. Select z=185, z=230, z=280, z=330, and z=375 in the Surfaces selection list, and deselect all
others.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
134 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
Figure 3.7: Contours of Velocity Magnitude on the z=185, z=230, z=280, z=330, and z=375
Surfaces
The velocity profile becomes more uniform as the fluid passes through the porous media. The velocity
is higher at the center (the area in red) just before the nitrogen enters the substrates and then decreases
as it passes through and exits the second substrate. The area in green, which corresponds to a moderate
velocity, increases in extent.
3.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 135
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
136 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Modeling External Compressible Flow
This tutorial is divided into the following sections:
4.1. Introduction
4.2. Prerequisites
4.3. Problem Description
4.4. Setup and Solution
4.5. Summary
4.1. Introduction
Licensing Capability:
The purpose of this tutorial is to compute the turbulent flow past a transonic wing at a nonzero angle
of attack. You will use the k-ω SST turbulence model.
• Model compressible flow (using the ideal gas law for density).
• Calculate a solution using the pressure-based coupled solver with the global time step method of
the pseudo time method option.
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
4.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 137
Modeling External Compressible Flow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
138 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 139
Modeling External Compressible Flow
4.4.1. Preparation
4.4.2. Meshing Workflow
4.4.3. Mesh
4.4.4. Solver
4.4.5. Models
4.4.6. Materials
4.4.7. Boundary Conditions
4.4.8. Operating Conditions
4.4.9. Reference Values
4.4.10. Solution
4.4.11. Postprocessing
4.4.1. Preparation
To prepare for running this tutorial:
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
6. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
140 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, 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. For File Name, enter the path and file name for the CAD geometry that you want to import
(wing.scdoc).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 141
Modeling External Compressible Flow
Note:
The workflow only supports *.scdoc (SpaceClaim), Workbench (.agdb), and the
intermediary *.pmdb file formats.
This will update the task, display the geometry in the graphics window (Figure 3.2: The Imported
CAD Geometry for the Catalytic Converter (p. 94)), and allow you to proceed onto the next task in
the workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
142 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The wing geometry has been encased in a half-spherical, half-cylindrical volume with 25m of space
in all directions.
Note:
Alternatively, you can use the ... button next to File Name to locate the CAD geo-
metry 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.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 143
Modeling External Compressible Flow
In this tutorial, we will add local sizing around the wing and a region past the trailing edge, since
they are areas where we require a more refined mesh. Later, we will apply settings for a coarser
surface mesh elsewhere.
b. Click 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
144 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You can now see the wing task in the workflow, which can be selected to change its settings. The
Add Local Sizing task can still be used to add more local sizing controls to the geometry.
You can now see the wing task in the workflow, which can be selected to change its settings. The
Add Local Sizing task can still be used to add more local sizing controls to the geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 145
Modeling External Compressible Flow
v. Click Add Local Sizing to complete this task and proceed to the next task in the workflow.
a. In the Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
146 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
d. Click Generate the 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 147
Modeling External Compressible Flow
a. Select The geometry consists of only fluid regions with no voids option under Geo-
metry Type, since this model contains only the fluid region.
c. Click Describe Geometry to complete this task and proceed to the next task in the
workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
148 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
b. All the proposed boundaries are correct, so click Update Boundaries. and proceed to the next
task.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 149
Modeling External Compressible Flow
a. Select the Update Regions task, where you can review and change the tabulated names and
types of the various regions that have been generated from your imported geometry, and
change them as needed.
We can see that the only defined region is the fluid region.
b. The proposed region type is correct, so click Update Regions to update your settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
150 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
For the Add Boundary Layers task, ensure yes is selected at the prompt as to whether or not
you want to define boundary layer settings. In this task, you can define specific details for
capturing the boundary layer in and around your geometry.
Many boundary layers are desired to model a well resolved flow near the wall.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 151
Modeling External Compressible Flow
a. Select the Generate the Volume Mesh task, where you can set properties of the volume mesh
itself.
d. Enable Advanced Options to expose additional options that are required for this task.
Ansys Fluent will apply your settings and proceed to generate a volume mesh for the wing geometry..
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
152 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Mesh → Check
Now that a 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. Note that to obtain more accurate
solutions a higher quality mesh should be used.
We have just checked the mesh, so select Yes when prompted to switch to solution mode.
4.4.3. Mesh
1. Examine the mesh (Figure 4.3: The Entire Mesh (p. 154) and Figure 4.4: Magnified View of the Mesh
Around the Wing (p. 155)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 153
Modeling External Compressible Flow
To examine the cells of the mesh around the wing, display the mesh with edges enabled and the
far-field boundary disabled.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
154 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
e. Zoom in on the region around the wing, as shown in Figure 4.4: Magnified View of the Mesh
Around the Wing (p. 155).
The cells near the surface have a relativlely higher resolution and high aspect ratios, to account for
the flow around the wing.
Extra:
You can use the right mouse button to probe for mesh information in the graphics
window. 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.
4.4.4. Solver
1. Set the solver settings.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 155
Modeling External Compressible Flow
The pressure-based solver with the Coupled option for the pressure-velocity coupling is a good
alternative 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.
4.4.5. Models
1. Select the k-ω SST turbulence model.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
156 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4.4.6. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 157
Modeling External Compressible Flow
b. Select sutherland from the Viscosity drop-down list to open the Sutherland Law dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
158 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Retain the default selection of Three Coefficient Method in the Methods list.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 159
Modeling External Compressible Flow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
160 of ANSYS, Inc. and its subsidiaries and affiliates.
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.998574 and 0.053382 for the X-Component of Flow Direction and Z-Component
of Flow Direction, respectively.
These values are determined by the 3.06° angle of attack: cos 3.06° 0.998574 and sin 3.06° 0.053382
d. Retain Turbulent Viscosity Ratio from the Specification Method drop-down list in the Tur-
bulence group box.
e. Retain the default value of 5% for Turbulent Intensity and 10 for Turbulent Viscosity Ratio.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 161
Modeling External Compressible Flow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
162 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Operating Conditions dialog box can also be accessed from the Cell Zone Conditions task page.
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.
The reference values are used to non-dimensionalize physical quantities used for postprocessing. The
dimensionless pressure coefficient will be used in future steps.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 163
Modeling External Compressible Flow
Ansys Fluent will update the Reference Values based on the boundary conditions at the far-field
boundary.
4.4.10. Solution
1. Set the solution parameters.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
164 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 165
Modeling External Compressible Flow
a. Ensure that Plot is enabled in the Options group box and click OK to close the Residual
Monitors dialog box.
Solution → Initialization
a. Retain the default selection of Hybrid Initialization from the Initialization Methods group
box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
166 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Time Scale Factor allows you to further manipulate the computed time step size 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 167
Modeling External Compressible Flow
c. Click Calculate.
4.4.11. Postprocessing
1. Plot the distribution on the wing (Figure 4.5: Contour Plot of y+ Distribution (p. 169)).
c. Select Turbulence... and Wall Yplus from the Contours of drop-down lists.
d. Select wing_bottom, wing_edge, and wing_top from the Surfaces selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
168 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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-ad-
jacent cells dictates how wall shear stress is calculated.
For this tutorial, the relatively coarse mesh was prepared with a target max value of
~100, as indicated in Figure 4.5: Contour Plot of y+ Distribution (p. 169).
2. Plot the pressure distribution on the wing (Figure 4.6: Contour Plot of Pressure (p. 171) and Fig-
ure 4.7: Improved Contour Plot of Pressure (p. 173)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 169
Modeling External Compressible Flow
c. Select Pressure... and Static Pressure from the Contours of drop-down lists.
e. Click Save/Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
170 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. To improve the visibility of the contour, click Colormap Options... to open the Colormap
dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 171
Modeling External Compressible Flow
i. Select bgr-pink from the Currently Defined drop-down list in the Colormap
group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
172 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 173
Modeling External Compressible Flow
This value corresponds to the y-coordinate at around the shock region near the tip of the wing.
Alternatively, you can click Select with Mouse to select a point from the graphics window.
4. Plot the Mach number distribution on the wing near the shock region (Figure 4.8: Contour Plot of
Mach Number (p. 175)).
c. Select Velocity... and Mach Number from the Contours of drop-down list.
f. Zoom in on the region around the wing, as shown in Figure 4.8: Contour Plot of Mach Num-
ber (p. 175).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
174 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note the discontinuity, in this case a shock, on the upper surface of the wing in Figure 4.8: Contour
Plot of Mach Number (p. 175) at about x/c 0.20.
5. Display filled contours of the component of velocity (Figure 4.9: Contour Plot of x Component
of Velocity (p. 177)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 175
Modeling External Compressible Flow
Note the flow reversal downstream of the shock in Figure 4.9: Contour Plot of x Component of Velo-
city (p. 177).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
176 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. Plot velocity vectors (Figure 4.10: Plot of Velocity Vectors Downstream of the Shock (p. 179)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 177
Modeling External Compressible Flow
f. Zoom in on the flow above the upper surface at a point downstream of the shock, as shown
in Figure 4.10: Plot of Velocity Vectors Downstream of the Shock (p. 179).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
178 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Flow reversal is clearly visible in Figure 4.10: Plot of Velocity Vectors Downstream of the Shock (p. 179).
b. Select Mesh... and Y-Coordinate from the Surface of Constant drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 179
Modeling External Compressible Flow
This value corresponds to the y-coordinate at the shock region near the tip of the wing.
e. Click Create.
8. Plot the component of wall shear stress on the wing near the shock region (Figure 4.11: XY Plot
of x Wall Shear Stress (p. 181)).
b. Select Wall Fluxes... and X-Wall Shear Stress from the Y Axis Function drop-down lists.
As shown in Figure 4.11: XY Plot of x Wall Shear Stress (p. 181), the large, adverse pressure gradient in-
duced by the shock causes the boundary layer to separate. The point of separation is where the wall
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
180 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
shear stress vanishes. Flow reversal is indicated here by negative values of the x component of the wall
shear stress.
4.5. Summary
This tutorial demonstrated how to set up and solve an external aerodynamics problem using poly-
hexcore meshing, the pressure-based coupled solver with under-relaxation from the pseudo time
method option and the k-ω SST turbulence model.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 181
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
182 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 5: Fluid Flow and Heat Transfer in a Mixing
Elbow
This tutorial is divided into the following sections:
5.1. Introduction
5.2. Prerequisites
5.3. Problem Description
5.4. Setup and Solution
5.5. Summary
5.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 183
Fluid Flow and Heat Transfer in a Mixing Elbow
• 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 temper-
ature field.
5.2. Prerequisites
This tutorial assumes that you have little or no experience with Ansys Fluent, and so each step will be
explicitly described.
Note:
Since the geometry of the mixing elbow is symmetric, only half of the elbow must be modeled
in Ansys Fluent.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
184 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The following sections describe the setup and solution steps for running this tutorial in serial:
5.4.1. Preparation
5.4.2. Meshing Workflow
5.4.3. Setting Up Domain
5.4.4. Setting Up Physics
5.4.5. Solving
5.4.6. Displaying the Preliminary Solution
5.4.7. Adapting the Mesh
5.4.1. Preparation
1. Download the introduction.zip file here.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 185
Fluid Flow and Heat Transfer in a Mixing Elbow
3. The SpaceClaim CAD file elbow.scdoc can be found in the folder. In addition, the elbow.pmdb
file is available for use on the Linux platform.
5. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
7. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
186 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, etc. All tasks are initially incomplete and you proceed through the workflow com-
pleting all tasks. Additional tasks are also available for the workflow.
c. For File Name, enter the path and file name for the CAD geometry that you want to import
(elbow.scdoc).
Note:
The workflow only supports *.scdoc (SpaceClaim), Workbench (.agdb), and the
intermediary *.pmdb file formats.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 187
Fluid Flow and Heat Transfer in a Mixing Elbow
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 geo-
metry 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.
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.
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 Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
188 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 Generate the 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 189
Fluid Flow and Heat Transfer in a Mixing Elbow
a. Since the geometry defined the fluid region. Select The geometry consists of only fluid
regions with no voids for Geometry Type.
b. Click Describe Geometry to complete this task and proceed to the next task in the
workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
190 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. For the wall-inlet boundary, change the Boundary Type field to wall.
c. Click Update Boundaries to complete this task and proceed to the next task in the workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 191
Fluid Flow and Heat Transfer in a Mixing Elbow
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.
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
192 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Generate the Volume Mesh task, where you can set properties of the volume mesh.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 193
Fluid Flow and Heat Transfer in a Mixing Elbow
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
194 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Ansys Fluent will report the results of the mesh check in the console.
Domain Extents:
x-coordinate: min (m) = -2.000000e-01, max (m) = 2.000000e-01
y-coordinate: min (m) = -2.250000e-01, max (m) = 2.000000e-01
z-coordinate: min (m) = 0.000000e+00, max (m) = 4.992264e-02
Volume statistics:
minimum volume (m3): 1.485445e-10
maximum volume (m3): 5.943614e-07
total volume (m3): 2.500656e-03
Face area statistics:
minimum face area (m2): 1.707786e-08
maximum face area (m2): 7.873458e-05
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 plat-
forms.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 195
Fluid Flow and Heat Transfer in a Mixing Elbow
a. Select in from the View Length Unit In drop-down list to set inches as the working unit for
length.
b. Confirm that the domain extents are as shown in the previous dialog box.
The working unit for length has now 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.
1. In the Solver group box of the Physics ribbon tab, retain the default selection of the steady
pressure-based solver.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
196 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
2. Set up your models for the CFD simulation using the Models group box of the Physics ribbon
tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 197
Fluid Flow and Heat Transfer in a Mixing Elbow
Note:
You can also use the Models task page, which can be accessed from the tree by ex-
panding 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
198 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Retain the default selection of SST in the k-omega Model group box.
iii. Click OK to accept all the other default settings and close the Viscous Model dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 199
Fluid Flow and Heat Transfer in a Mixing Elbow
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, condi-
tions, 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
200 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select water-liquid (h2o < l >) from the Fluent Fluid Materials selection list and click Copy,
then close the Fluent Database Materials dialog box.
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 Mater-
ials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 201
Fluid Flow and Heat Transfer in a Mixing Elbow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
202 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Double-click fluid in the Zone list to open the Fluid dialog box.
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 simula-
tion are displayed in the Zone selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 203
Fluid Flow and Heat Transfer in a Mixing Elbow
Note:
To display boundary zones grouped by zone type (as shown previously), click the
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
204 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Toggle Tree View button ( ) in the upper right corner of the Boundary Condi-
tions task page and select Zone Type under Group By.
Here the zones have names that were previously given during the meshing process. 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
ii. Retain the default selection of Magnitude, Normal to Boundary from the Velocity Spe-
cification Method drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 205
Fluid Flow and Heat Transfer in a Mixing Elbow
iv. In the Turbulence group box, select Intensity and Hydraulic Diameter from the Specific-
ation Method drop-down list.
ix. Click Apply and close the Velocity Inlet dialog box.
Note:
You can also access the Velocity Inlet dialog box by double-clicking the
Setup/Boundary Conditions/cold-inlet tree item.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
206 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. In a similar manner, set the boundary conditions at the hot inlet (hot-inlet), using the values
in the following table:
Setting Value
Velocity Specification Method Magnitude, Normal to Boundary
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 outlet in the Zone selection list and set the boundary conditions at the outlet,
as shown in the following figure.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 207
Fluid Flow and Heat Transfer in a Mixing Elbow
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
computational domain through the outlet. Since backflow might occur at some
point during the solution procedure, you should set reasonable backflow condi-
tions to prevent convergence from being adversely affected.
e. For the wall of the elbow (wall-elbow) and the wall of the hot inlet (wall-inlet), retain the
default value of 0 W/m2 for Heat Flux in the Thermal tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
208 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
5.4.5. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 209
Fluid Flow and Heat Transfer in a Mixing Elbow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
210 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
You can also access the Residual Monitors dialog box by double-clicking the
Solution/Monitors/Residual tree item.
c. Retain the default value of 0.001 for the Absolute Criteria of continuity.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 211
Fluid Flow and Heat Transfer in a Mixing Elbow
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
212 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 213
Fluid Flow and Heat Transfer in a Mixing Elbow
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. Examine the report file settings of the created report definition (outlet-temp-avg-rfile).
The Edit Report File 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.
b. (optional) Edit the name and location of the resulting file as necessary using the File Name
field or Browse... button.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
214 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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
solution dynamics to settle out. Note that the value printed to the console is the deviation between
the current and previous iteration values only.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 215
Fluid Flow and Heat Transfer in a Mixing Elbow
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 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 5.2: Convergence History of the Mass-Weighted
Average Temperature (p. 217)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
216 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Similarly, the residuals history will be plotted in the Scaled Residuals tab in the graphics
window (Figure 5.3: Residuals (p. 218)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 217
Fluid Flow and Heat Transfer in a Mixing Elbow
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 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 Conver-
gence 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
218 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
9. Examine the plots for convergence (Figure 5.2: Convergence History of the Mass-Weighted Average
Temperature (p. 217) and Figure 5.3: Residuals (p. 218)).
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.
10. Examine the mass flux report for convergence using the Results ribbon tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 219
Fluid Flow and Heat Transfer in a Mixing Elbow
a. Ensure that Mass Flow Rate is selected from the Options list.
b. Select cold-inlet, hot-inlet, and outlet 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 5.4: Predicted Velocity
Distribution after the Initial Calculation (p. 222)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
220 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Ensure that Node Values and Boundary Values are enabled in the Options group box.
e. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
g. Click Save/Display to display the contours in the active graphics window. Clicking the blue
z-axis arrow in the axis triad will orient the view with the z-axis, and 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 221
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 5.5: Pre-
dicted Temperature Distribution after the Initial Calculation (p. 224)).
You can create contour definitions and save them for later use.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
222 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 223
Fluid Flow and Heat Transfer in a Mixing Elbow
3. Display velocity vectors on the symmetry plane (Figure 5.8: Magnified View of Resized Velocity
Vectors (p. 227)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
224 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 225
Fluid Flow and Heat Transfer in a Mixing Elbow
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.
f. Set Skip to 2.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
226 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 227
Fluid Flow and Heat Transfer in a Mixing Elbow
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
228 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The new line surface representing the intersection of the plane z=0 and the surface outlet
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 sur-
face.
5. Display and save an XY plot of the temperature profile across the centerline of the outlet for the
initial solution (Figure 5.9: Outlet Temperature Profile for the Initial Solution (p. 230)).
b. Select Temperature... and Static Temperature from the Y Axis Function drop-down lists.
c. Select the z=0_outlet surface you just created from the Surfaces selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 229
Fluid Flow and Heat Transfer in a Mixing Elbow
d. Click Save/Plot.
The button that was originally labeled Save/Plot will change to Write....
f. Click Write....
ii. Click OK to save the temperature data and close the Select File dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
230 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select Density... and Density from the Field Functions drop-down lists, and click the Select
button to add density to the Definition field.
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 5.10: Contours of the Dynamic Head
Custom Field Function (p. 233)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 231
Fluid Flow and Heat Transfer in a Mixing Elbow
c. Select Custom Field Functions... and dynamic-head from the Contours of drop-down lists.
Tip:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
232 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.h5
and elbow1.dat.h5).
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.
b. Click OK to save the files and close the Select File dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 233
Fluid Flow and Heat Transfer in a Mixing Elbow
gradients. In the following steps you will adapt the mesh based on the temperature gradients in the
current solution and compare the results with the previous results.
1. Define Cell Registers to Adapt the mesh in the regions of high temperature gradient.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
234 of ANSYS, Inc. and its subsidiaries and affiliates.
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.0015 for the Cells having value more than.
A general rule is to use about 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 235
Fluid Flow and Heat Transfer in a Mixing Elbow
a. Select the previously defined curvature_0 cell register from the Refinement 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 5.11: Cells
Marked for Adaption (p. 236)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
236 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Extra
You can change the way Ansys Fluent displays cells marked for adaption (Figure 5.12: Al-
ternative Display of Cells Marked for Adaption (p. 238)) by performing the following steps:
i. Click Display Options... in the Manual Mesh Adaption dialog box to open the
Display Options - Adaption dialog box.
iii. Ensure that only the Edges option is enabled in the Options group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 237
Fluid Flow and Heat Transfer in a Mixing Elbow
v. Select all of the items except z=0_outlet from the Surfaces selection list.
vi. Click Display and close the Mesh Display dialog box.
ix. Rotate the view and zoom in to get the display shown in Figure 5.12: Alternative
Display of Cells Marked for Adaption (p. 238).
x. After viewing the marked cells, rotate the view back and zoom out again.
xi. Click Close to close the Manual Mesh Adaption dialog box.
3. Display the adapted mesh (Figure 5.13: The Adapted Mesh (p. 240)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
238 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Deselect all of the highlighted items from the Surfaces selection list except for symmetry-
xyplane.
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 selec-
tion list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 239
Fluid Flow and Heat Transfer in a Mixing Elbow
The solution will converge as shown in Figure 5.14: The Complete Residual History (p. 241) and Fig-
ure 5.15: Convergence History of Mass-Weighted Average Temperature (p. 241).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
240 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
5. Save the case and data files for the solution with an adapted mesh (elbow2.cas.h5 and el-
bow2.dat.h5).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 241
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Click OK to save the files and close the Select File dialog box.
The files elbow2.cas.h5 and elbow2.dat.h5 will be saved in your default folder.
6. Display the temperature distribution (using node values) on the revised mesh using the temper-
ature contours definition that you created earlier (Figure 5.16: Filled Contours of Temperature Using
the Adapted Mesh (p. 242)).
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 5.17: Outlet Temperature Profile for the Adapted Coupled Solver Solu-
tion (p. 243)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
242 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 5.17: Outlet Temperature Profile for the Adapted Coupled Solver Solution
The button that was originally labeled Save/Plot will change to Write....
c. Click Write....
8. Display the outlet temperature profiles for both solutions on a single plot (Figure 5.18: Outlet
Temperature Profiles for the Two Solutions (p. 245)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 243
Fluid Flow and Heat Transfer in a Mixing Elbow
b. Click the Load File... button to open the Select File dialog box.
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.
c. Select the folder path ending in outlet_temp1.xy from the Curve Information selection list
(Curves group box).
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.
f. In a similar manner, change the legend entry for the folder path ending in outlet_temp2.xy
to be Adapted Mesh.
g. Click Plot and close the Plot Data Sources dialog box.
Figure 5.18: Outlet Temperature Profiles for the Two Solutions (p. 245) shows the two temperature profiles
at the centerline of the outlet. It is apparent by comparing both the shape of the profiles and the pre-
dicted outer wall temperature that the solution is highly dependent on the mesh and solution options.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
244 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
Specifically, further mesh adaption should be used in order to obtain a solution that is independent
of the mesh.
5.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 245
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
246 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 6: Exhaust System: Fault-tolerant Meshing
This tutorial is divided into the following sections:
6.1. Introduction
6.2. Prerequisites
6.3. Problem Description
6.4. Setup and Solution
6.5. Summary
6.1. Introduction
This tutorial illustrates the setup and solution of a three-dimensional turbulent fluid flow in a manifold
exhaust system. The manifold configuration is encountered in the automotive industry. It is often im-
portant to predict the flow field in the area of the mixing region in order to properly design the junction.
You will use the Fault-tolerant Meshing guided workflow, which unlike the watertight workflow used
in Fluid Flow in an Exhaust Manifold (p. 1), is appropriate for geometries with imperfections, such as
gaps and leakages.
– Define leakages
• Calculate a solution.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 247
Exhaust System: Fault-tolerant Meshing
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
6.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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.
A small pipe is placed in the main portion of the manifold where edge extraction will be considered.
There is also a known small leakage included that will be addressed in the meshing portion of the tu-
torial to demonstrate the automatic leakage detection aspects of the meshing workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
248 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6.4.1. Preparation
To prepare for running this tutorial:
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
6. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 249
Exhaust System: Fault-tolerant Meshing
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, etc. All tasks are initially incomplete and you proceed through the workflow com-
pleting all tasks. Additional tasks are also available for the workflow.
b. For CAD File, enter the path and file name for the CAD geometry that you want to import
(exhaust_system.fmd).
Using the Custom option allows you load the CAD objects, and selectively pick and choose
which parts you want to include in your CFD simulation as meshing objects. Selecting the One
per part option would load the CAD geometry and automatically create meshing objects for
every part.
This will load the CAD file's content into the CAD Model tree below.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
250 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
Items in the model trees that are checked indicate an object that is displayed
in the graphics window. Using the check boxes is not the same as selecting a
object in the tree to perform a particular operation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 251
Exhaust System: Fault-tolerant Meshing
iv. In the CAD Model tree, select the first part (main), hold the Shift button and select the
last part (object1), thereby selecting all of the parts.
You can also select the parts you require in the graphics window.
v. Holding down the left mouse button, drag the collection of parts and drop them onto the
Meshing Model tree.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
252 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The parts in the CAD Model tree will become grayed out and will appear in the Meshing
Model tree. If you make a mistake, you can right-click the appropriate node in the Meshing
Model tree, and select the Restore to Cad Model option from the context menu, and the parts
will be restored to the CAD Model tree.
Note:
You can also select objects in the graphics window and add them to the tree.
Make sure that you select the check box for the top-level node in the Meshing Model tree to
view all of the parts of the meshing model in the graphics window.
This will update the task, create meshing objects with the designated properties based on the se-
lected portions of the CAD model. This will also display the geometry in the graphics window, and
allow you to proceed onto the next task in the workflow.
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.
a. In the Describe Geometry and Flow task, you are prompted for more information about the
geometry and flow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 253
Exhaust System: Fault-tolerant Meshing
b. Select Internal flow through the object for the Flow Type.
c. Enable Advanced Options to expose additional options that are required for this task.
Many workflow tasks have advanced options that you may want to inspect before updating a task.
This particular geometry has a few areas that will require special feature extraction treatment.
e. Click Describe Geometry and Flow 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
254 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Name field, enter inlet_1 for the name of the capping surface to be applied
to one of the manifold's inlets.
iv. In the list of zones, select inlet.1 as the opening that you want to cover.
For occasions when the list of items is long, you can use the Filter Text option and use
an expression such as in* to show only items starting with "in". Alternatively, you can
use the Use Wildcard option to list and pres-select matching items. See Filtering Lists and
Using Wildcards for more information.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 255
Exhaust System: Fault-tolerant Meshing
v. Click Create Cap(s) 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 re-
maining openings.
b. Repeat the previous steps, creating a cap called inlet_2 for the inlet.2 zone, and another
cap called inlet_3 for the inlet zone.
Alternatively, you could also have selected all three inlet zones and created a single cap for all
three inlets.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
256 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Name field, enter outlet_1 for the name of the capping surface to be applied
to the manifold's outlet.
iv. In the list of zones, select outlet for the outlet that you want to cover.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 257
Exhaust System: Fault-tolerant Meshing
In the Extract Edge Features task, you can set various properties for the extraction of features
in your geometry.
In this tutorial, we will create a single extraction object to capture the features between the smaller
pipe and the main manifold.
Create a feature extraction object based on intersection loops between the smaller pipe and the
main manifold.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
258 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select Intersection Loops for the Extraction Method Using field.
This will localize the feature extraction to the intersection of the small pipe (flow_pipe)
with the main manifold (main).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 259
Exhaust System: Fault-tolerant Meshing
v. Click Extract Edge Features to complete this task and proceed to the next task in the
workflow.
6. Identify regions.
In the Identify Regions task, you can choose the various regions that you want to use in your
simulation.
In this tutorial, we will identify the internal fluid region as well as the external (void) region outside of
the geometry. The external void region will be useful in identifying any potential leakages from within
the fluid region to the outer domain.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
260 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. For the Would you like to identify any fluid or void region(s)? prompt, keep the
default setting of yes.
iii. Keep the default Define Location Using setting as Centroid of Objects.
Once completed, this particular task will return you to a fresh task in order to identify ad-
ditional regions, if necessary. We will proceed to identify a void region.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 261
Exhaust System: Fault-tolerant Meshing
iii. Keep the default Define Location Using setting as Centroid of Objects.
This will ensure that the void region is located properly based on the centroid of the selected
objects.
vi. Click Identify Region to complete this task and proceed to the next task in the
workflow.
In the Define Leakage Threshold task, you can choose to define a threshold for when leakages
within your geometry can be identified and automatically patched.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
262 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
In the case of this tutorial, we know there is a potential leakage (a small opening in the main
manifold in the neck of the outlet) that we want to define a threshold.
e. Keep the default value of 6.4 mm for the Maximum Leakage Size.
This will display a cut plane through the domain that you can adjust using the Leakage Plane
controls. Use the Location slider and the Orientation fields to identify any potential leakages with
the current settings.
Rotate the display and examine the mesh. Note that there are no leakages present.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 263
Exhaust System: Fault-tolerant Meshing
i. Click Define Leakage Threshold to complete this task and proceed to the next task in the
workflow.
a. In the Update Region Settings task, you can review and revise a table of settings for the
defined regions.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
264 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. For the Displayed Regions field, select Identified Regions, as a means of simplifying the
listing to only show previously identified regions.
c. For fluid-region-1, change the Volume Fill setting from hexcore to tet, since, for internal
flow, we are interested only in using tetrahedral cells.
To change the setting in the table, double-click the cell to expose the drop-down menu options.
This is done since we do not want to consider the void region, however, we want to use the Leakage
Size threshold of 6.4 mm to detect any leakages from the fluid region into the void region when
that threshold is exceeded.
e. Click Update Regions to complete this task and proceed to the next task in the workflow.
In the Choose Mesh Control Options task, you can determine how much control you want when
generating the mesh: either through size controls; and/or through boundary layer settings.
For the purposes of this tutorial, you can keep the default settings in this task.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 265
Exhaust System: Fault-tolerant Meshing
a. For the Add Local Sizing task, keep the default size controls (default-curvature
and default-proximity) already populated with useful default settings.
a. In the Generate the Surface Mesh task, you can customize how the surface mesh is created.
b. Click Generate the Surface Mesh to complete this task and proceed to the next task in the
workflow.
Ansys Fluent will apply your settings (calculate size fields, closing leakages, remeshing surfaces,
calculating regions, etc.) and proceed to generate a surface mesh for the manifold geometry. You
can visualize the surface mesh by selecting the Draw Mesh button at the bottom of the task, and
adjusting the clipping plane controls accordingly.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
266 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 267
Exhaust System: Fault-tolerant Meshing
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
b. All the proposed boundaries are correct, so click Update Boundaries. and proceed to the next
task.
For the Add Boundary Layers task, select yes at the prompt as to whether or not you want to
define boundary layer settings. In this task, you can define specific details for capturing the
boundary layer in and around your geometry.
These default settings create a continuous boundary layer along the walls of the fluid region.
ii. Click Add Boundary Layers to complete this task and proceed to the next task in the workflow.
a. In the Generate the Volume Mesh task, you can customize how the volume mesh is created,
primarily defining the final skewness for the volume mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
268 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select the Enable Region Settings to view and edit volume fill settings, prior to actually
generating the fluid volume mesh.
c. Click Generate the Volume Mesh to complete this task and proceed to the next task in the
workflow.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 269
Exhaust System: Fault-tolerant Meshing
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
270 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Physics → Solver
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 271
Exhaust System: Fault-tolerant Meshing
6.4.5. Models
1. Set up your models for the CFD simulation using the Models group box of the Physics ribbon
tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
272 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
You can also use the Models task page, which can be accessed from the tree by ex-
panding Setup and double-clicking the Models tree item.
You will use the default settings for the k-ω SST turbulence model, so you can enable it directly from
the tree by right-clicking the Viscous node and choosing SST k-omega from the context menu.
6.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 assignment of air for the fluid zone.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 273
Exhaust System: Fault-tolerant Meshing
2. Apply the same conditions for the other velocity inlet boundaries (inlet-2, and inlet-3).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
274 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6.4.9. Solution
1. Specify the discretization schemes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 275
Exhaust System: Fault-tolerant Meshing
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
276 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 277
Exhaust System: Fault-tolerant Meshing
c. Select inlet-1, inlet-2, and inlet-3, from the Boundaries selection list.
d. Enable Report Plot and Print to Console in the Create group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
278 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
e. Click OK to save the surface report definition and close the Flux Report Definition dialog
box.
3. Monitor the total mass flow rate through the entire domain.
Perform the same procedure as described above, naming the report mass-tot, and selecting the
boundaries inlet-1, inlet-2, inlet-3, and outlet-1.
b. Select mass-tot from the Report Definitions drop-down list on the right.
d. Select mass-in from the Report Definitions drop-down list on the right.
e. Enable Report Plot and Print to Console in the Create group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 279
Exhaust System: Fault-tolerant Meshing
5. Initialize the flow field using the Initialization group box of the Solution ribbon tab.
Solution → Initialization
b. Click Initialize.
7. Start the calculation by requesting 100 iterations in the Solution ribbon tab (Run Calculation
group box).
As the solution progresses, the residuals history will be plotted in the Scaled Residuals tab
in the graphics window (Figure 6.3: Residuals (p. 281)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
280 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Similarly, the monitors will be plotted in their respective tabs in the graphics window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 281
Exhaust System: Fault-tolerant Meshing
The net mass imbalance is a small fraction (less than 0.5%) of the total mass flow rate through
the system, which indicates that the solution has converged.
6.4.10. Postprocessing
1. Display path lines highlighting the flow field (Figure 6.5: Pathlines Through the Manifold (p. 283)).
b. Select Particle Variables... and Time from the Color by drop-down lists.
e. Select inlet-1, inlet-2, and inlet-3 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
282 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select Mesh... and X-Coordinate from the Surface of Constant drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 283
Exhaust System: Fault-tolerant Meshing
d. Click Compute.
e. Use the slider to locate the iso-surface in the middle of the geometry (approximately 380
mm).
The new surf-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.
3. Create and define contours of velocity magnitude throughout the manifold along with the mesh.
b. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
284 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 285
Exhaust System: Fault-tolerant Meshing
i. Click New Object and select Mesh to open the Mesh Display dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
286 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select all of the surfaces under the Surfaces list, except the newly created surface.
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. In the Scene dialog box, set the Transparency to 90 for the mesh-1 graphical object.
e. Click Save & Display and close the Scene dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 287
Exhaust System: Fault-tolerant Meshing
Figure 6.7: Scene Containing the Mesh and Contours Throughout the Manifold
6.5. Summary
In this tutorial, you learned how to import a faulty CAD geometry, add modifications and enhancements,
generate a volume mesh, and set up, solve, and postprocess a CFD problem involving air flow through
a exhaust system.
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
288 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 7: Modeling Hypersonic Flow
This tutorial is divided into the following sections:
7.1. Introduction
7.2. Prerequisites
7.3. Problem Description
7.4. Setup and Solution
7.5. Summary
7.1. Introduction
The purpose of this tutorial is to compute the flow around a re-entry capsule at hypersonic speed. The
simulated speed, trajectory, and ambient conditions are representative of such a vehicle as it passes
through the earth’s atmosphere at an altitude of approximately 50 [km].
• Model hypersonic flow, using high speed numerics, the two-temperature model for energy, and ap-
propriate models for the properties of air.
7.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 289
Modeling Hypersonic Flow
7.4.1. Preparation
To prepare for running this tutorial:
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
290 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 291
Modeling Hypersonic Flow
c. For File Name, enter the path and file name for the CAD geometry that you want to import
(CapsuleFlow.scdoc).
Note:
The workflow only supports *.scdoc (SpaceClaim), Workbench (.agdb), 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
292 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The capsule geometry has been enclosed in a suitable flow domain, which should provide distinct
regions of inflow and outflow for a range of angles of attack, and avoids having the bow shock
that forms in such flows from contacting the inflow surfaces..
Note:
Alternatively, the ... button next to File Name can be used to locate the CAD geo-
metry 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.
Local mesh sizing controls are added on the wall surfaces using face sizing, and in the flow volume
around the capsule using Bodies Of Influence (BOIs), in regions of flow of interest. Note that all
the mesh sizes, local and global, are coarser than would be typical for industrial use, in order to
ensure the mesh is not too large for tutorial purposes.
a. In the Add Local Sizing task, add local sizing controls to the faceted geometry by selecting
yes:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 293
Modeling Hypersonic Flow
In this tutorial, we will add local sizing around the surfaces of the capsule, since they are areas
where we require a more refined mesh.
In the Add Local Sizing task, you can add more local sizing controls to the faceted geometry.
Two bodies included in the geometry model are used for this purpose: one frustum-shaped
body to refine the flow region around and just downstream in the wake of the capsule, and
a second, toroidal body running along the sharp corner at the outer radius of the capsule.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
294 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Retain the default boi_1 for the Name of the size control.
The Add Local Sizing task can still be used to add more local sizing controls to the geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 295
Modeling Hypersonic Flow
i. Retain the default boi_2 for the Name of the size control.
v. Click Add Local Sizing to complete this task and proceed to the next task in the workflow.
With the local sizing set as described above, the global surface mesh sizing only defines the largest
elements on other surfaces, farther away from the capsule, on the inflow, outflow, and symmetry
surfaces.
a. In the Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
296 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
e. Click Generate the 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 297
Modeling Hypersonic Flow
a. Select The geometry consists of only fluid regions with no voids option under Geo-
metry Type, since this model contains only the fluid region.
c. Click Describe Geometry to complete this task and proceed to the next task in the
workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
298 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
e. All the proposed boundaries are correct, click Update Boundaries and proceed to the next
task.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 299
Modeling Hypersonic Flow
a. Select the Update Regions task, where you can review and change the tabulated names and
types of the various regions that have been generated from your imported geometry and
change them as needed.
We can see that the only defined region is the fluid region.
b. The proposed region type is correct, so click Update Regions to update your settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
300 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
For the Add Boundary Layers task, ensure yes is selected at the prompt as to define boundary
layer settings. In this task, you can define specific details for capturing the boundary layer in
and around your geometry.
c. Retain the default last_ratio_1 for the Name of the size control.
Many boundary layers are desired to model a well resolved flow near the wall.
With the local sizing set as described above, including bodies of influence, the global volume
mesh sizing only defines the largest elements in the flow domain. In this case, the maximum is
set to be consistent with the specified global surface mesh sizing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 301
Modeling Hypersonic Flow
a. Select the Generate the Volume Mesh task, to set properties of the volume mesh.
Ansys Fluent will apply your settings and proceed to generate a volume mesh for the geometry..
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
302 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Mesh → Check
Now that a 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. Note that to obtain more accurate
solutions a higher quality mesh should be used.
We have just checked the mesh, so select Yes when prompted to switch to solution mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 303
Modeling Hypersonic Flow
7.4.3. Mesh
1. To examine the cells of the mesh around the capsule display the mesh with edges and faces en-
abled and the far-field boundary disabled.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
304 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The cells near the surface have a relativlely higher resolution and high aspect ratios, to account for
the flow around the capsule.
7.4.4. Solver
1. Set the solver settings.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 305
Modeling Hypersonic Flow
7.4.5. Models
1. Select to solve the Energy Equation and with it the Two-Temperature Model option. In the two-
temperature model, one temperature is representative of the translational and rotational energy
of the air molecules, and the other of their vibrational and electronic energy. Accounting for this
thermal non-equilibrium is important for accurate simulations of hypersonic flows, most importantly
in the predictions of surface heat transfer and temperatures.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
306 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You will use the default settings for the k-ω SST turbulence model, so you can enable it directly from
the tree by right-clicking the Viscous node and choosing SST k-omega from the context menu.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 307
Modeling Hypersonic Flow
7.4.6. Materials
The default Fluid Material is air, which is the working fluid in this problem. For hypersonic flows it is im-
portant to account for compressibility and variations of the thermophysical properties with temperature.
This is done automatically when selecting to use the two-temperature model, to ensure that appropriate
properties are used.
Retain the default properties for air that are set automatically in conjunction with the selection
of the Two-temperature Model:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
308 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Operating Conditions dialog box can also be accessed from the Cell Zone Conditions task page.
For information about setting the operating pressure, see the Fluent User's Guide.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 309
Modeling Hypersonic Flow
c. Enter 0.90630778 and -0.42261826 for the X-Component of Flow Direction and Y-
Component of Flow Direction, respectively.
These values are determined by the -25° angle of attack: cos -25°= 0.90630778 and sin -25° = -
0.42261826.
d. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list in the
Turbulence group box.
e. Enter a value of 1% for Turbulent Intensity and 1 for Turbulent Viscosity Ratio.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
310 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 311
Modeling Hypersonic Flow
d. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list in the
Turbulence group box.
e. Retain the default value of 1% for Turbulent Intensity and 1 for Turbulent Viscosity Ratio.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
312 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 313
Modeling Hypersonic Flow
7.4.9. Solution
1. Turn on high speed numerics in the TUI.
/solve/set/high-speed-numerics enable y
Enabling adaptive high-speed numerics for all Mach.
Reducing AMG termination criterion for flow (<0.01)
Activating divergence prevention
Activating limiter filter
Activating high-speed numerics
/solve/set/cafsm y 100
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
314 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select AUSM (Advection Upstream Splitting Method) from the Flux Type drop-down list.
c. Select Green-Gauss Node Based from the Gradient drop-down list in the Spatial Discretiza-
tion group box.
d. Select Second Order Upwind for Flow and Two-Temperature Model in the Spatial Discret-
ization group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 315
Modeling Hypersonic Flow
e. Select First Order Upwind for Turbulent Kinetic Energy and Specific Dissipation Rate in
the Spatial Discretization group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
316 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Create a force report definition to plot and write the drag force on the capsule
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 317
Modeling Hypersonic Flow
c. Enter 0.9063078 for X and -0.4226183 for Y in the Force Vector group box.
e. In the Create group box, enable Report Plot and Print to Console.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
318 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
5. Similarly, create a force report definition for the lift force on the capsule.
c. Enter 0.4226183 for X and 0.9063078 for Y in the Force Vector group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 319
Modeling Hypersonic Flow
e. In the Create group box, enable Report Plot and Print to Console.
6. Create a flux report definition for the total heat transfer on the capsule
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
320 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. In the Create group box, enable Report Plot and Print to Console.
b. Select Scale and Compute Local Scale in the Residual Values group box.
c. Select local scaling from the Reporting Option drop down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 321
Modeling Hypersonic Flow
e. Ensure that Plot is enabled in the Options group box and click OK to close the Residual
Monitors dialog box.
Solution → Initialization
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
322 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
FMG initialization often facilitates an easier start-up of a calculation, especially for hypersonic flows
in which extremely strong variations and gradients are present, and the initialized solution must
adapt to reflect the given boundary conditions. Use of FMG initialization usually minimizes the
need for users to take other measures at start-up, such as gradually ramping up the CFL (Courant
Friedrichs Lewy) number, thereby reducing the number of iterations for convergence.
ii. Enter the text commands and input responses as shown in the boxes. Accept the default
values by pressing Enter when no input response is given:
solve/initialize/set-fmg-initialization
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 323
Modeling Hypersonic Flow
solve/initialize/fmg-initialization
Enable FMG initialization? [no] yes
Note:
b. Click Calculate.
11. Save the case and data files (CapsuleFlow.cas.h5 and CapsuleFlow.dat.h5).
7.4.10. Postprocessing
1. Plot the Mach number distribution on the symmetry plane. This is one way to get an overall picture
of the flow field and important flow features, such as the detached bow shock ahead of the capsule,
flow expansion around its outer edge, and the wake behind the capsule.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
324 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Velocity... and Mach Number from the Contours of drop-down lists.
f. On the Mesh Display dialog box that opens, select capsule from the Surfaces selection
list.
2. Plot the total surface heat flux distribution on the capsule surface. The heat flux distribution on
the surfaces shows which parts of the capsule are predicted to experience the greatest thermal
load and hence would need to be correspondingly protected thermally. Keep in mind that, by
convention, the heat flux out of the flow solution domain is negative, so the largest thermal loads
have a negative sign.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 325
Modeling Hypersonic Flow
c. Select Wall Fluxes... and Total Surface Heat Flux from the Contours of drop-down lists.
e. Click Save/Display.
f. Change the light orientation to better visulaize the capsule surface. View →
Graphics → Lights...
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
326 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
j.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 327
Modeling Hypersonic Flow
e. Click Define and close the Custom Field Function Calculator dialog box.
c. Select Custom Field Functions... and ttr-over-tve from the Contours of drop-down lists.
f.
4. Another way to examine the thermal non-equilibrium is to define a line through the shock to the
surface of the capsule, along which to plot the two temperatures. We will define the line to be
approximately along a line representing the stagnation line, parallel to the trajectory of the capsule.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
328 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Enter the values for x0, x1, y0, y1, z0, and z1 as follows:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 329
Modeling Hypersonic Flow
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 trt-stag-line.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.
f. Similarly write an xy plot file for the Vibrational-Electronic Temperature along the stagnation-
line named tve-stag-line.xy.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
330 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Click the Load File... button to open the Select File dialog box.
ii. Click OK to save the files and close the Select File dialog box.
c. Select the folder path ending in trt-stag-line.xy from the Curve Information selection list
(Curves group box).
The item in the Legend Entries list for trt-stag-line.xy will be changed to Translational-Rotational.
This legend entry will be displayed in the upper-left corner of the XY plot generated in a later step.
f. In a similar manner, change the legend entry for the folder path ending in tve-stag-line.xy
to be Vibrational-Electronic.
g. Enter Trt & Tve Temperature for the Title and Legend Label.
h. Click Axes... and set the Precision to 2 and close the Axes - Plot Data Sources dialogue box.
i. Click Plot and close the Plot Data Sources dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 331
Modeling Hypersonic Flow
7.5. Summary
This tutorial demonstrated how to set up and solve the hypersonic flow around a re-entry capsule as
it passes through the upper atmosphere.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
332 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 8: Modeling Transient Compressible Flow
This tutorial is divided into the following sections:
8.1. Introduction
8.2. Prerequisites
8.3. Problem Description
8.4. Setup and Solution
8.5. Summary
8.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 automatic 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.
8.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 333
Modeling Transient Compressible Flow
8.4.1. Preparation
To prepare for running this tutorial:
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
7. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
334 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, 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. For File Name, enter the path and file name for the CAD geometry that you want to import
(nozzle.scdoc).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 335
Modeling Transient Compressible Flow
Note:
The workflow only supports *.scdoc (SpaceClaim), Workbench (.agdb), 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
336 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
Alternatively, the ... button next to File Name can be used to locate the CAD geo-
metry 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.
3. In the Add Local Sizing task, retain the default no and click Update to complete this task and
proceed to the next task in the workflow.
With the local sizing set as described above, the global surface mesh sizing only defines the largest
elements on other surfaces.
a. In the Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 337
Modeling Transient Compressible Flow
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.
g. Click Generate the 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
338 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select The geometry consists of only fluid regions with no voids option under Geo-
metry Type, since this model contains only the fluid region.
c. Click Describe Geometry to complete this task and proceed to the next task in the
workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 339
Modeling Transient Compressible Flow
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
340 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Update Regions task, where you can review and change the tabulated names and
types of the various regions that have been generated from your imported geometry and
change them as needed.
b. The proposed region type is correct, so click Update Regions to update your settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 341
Modeling Transient Compressible Flow
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
For the Add Boundary Layers task, ensure yes is selected at the prompt as to define boundary
layer settings. In this task, you can define specific details for capturing the boundary layer in
and around your geometry.
With the local sizing set as described above, including bodies of influence, the global volume
mesh sizing only defines the largest elements in the flow domain. In this case, the maximum is
set to be consistent with the specified global surface mesh sizing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
342 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Generate the Volume Mesh task, to set properties of the volume mesh.
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.
g. Expand the Advanced Options task, to set properties of the volume mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 343
Modeling Transient Compressible Flow
Ansys Fluent will apply your settings and proceed to generate a volume mesh for the geometry..
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.
Mesh → Check
Now that a 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. Note that to obtain more accurate
solutions a higher quality mesh should be used.
We have just checked the mesh, so select Yes when prompted to switch to solution mode.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
344 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
8.4.4. Solution
1. Select the solver settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 345
Modeling Transient Compressible Flow
a. Select Density-Based in the General task page (Solver group box, under Type).
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.
8.4.5. Models
1. Enable the energy equation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
346 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 347
Modeling Transient Compressible Flow
8.4.6. Materials
1. Define the settings for air, the default fluid material.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
348 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 349
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
350 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 351
Modeling Transient Compressible Flow
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
352 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Retain the default selection of Least Squares Cell Based from the Gradient drop-down list
in the Spatial Discretization group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 353
Modeling Transient Compressible Flow
Note:
The default Courant number for the density-based implicit formulation is 5. For re-
latively 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
encounter 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
354 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Create the surface report definition for mass flow rate at the flow exit.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 355
Modeling Transient Compressible Flow
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
356 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Solution → Initialization
b. Click Initialize.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 357
Modeling Transient Compressible Flow
You will enable automatic 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
358 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 359
Modeling Transient Compressible Flow
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.h5 or .dat.h5 extension, as both will be
saved.
10. Click OK in the Question dialog box to overwrite the existing file.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
360 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 iterat-
ing.
12. Review a mesh that resulted from the automatic adaption performed during the computation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 361
Modeling Transient Compressible Flow
b. Ensure that only the Edges option is enabled in the Options group box.
The mesh after adaption is displayed in the graphics window (Figure 8.4: 2D Nozzle Mesh after
Adaption (p. 363)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
362 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 363
Modeling Transient Compressible Flow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
364 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The steady flow prediction shows the expected pressure distribution, with low pressure near the nozzle
throat.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 365
Modeling Transient Compressible Flow
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
366 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Setup → General
Select Transient in the General task page (Solver group box, under Time).
2. The pressure at the outlet is defined as a wave-shaped profile, and is described by the following
equation:
(8.1)
where
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 367
Modeling Transient Compressible Flow
Enter the following expression for the outlet pressure as a function of time.
(0.12*sin(2200[Hz]*t)+0.737)*101325.0[Pa]
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
368 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 369
Modeling Transient Compressible Flow
a. For Get Data Every, retain the value of 1 and select time-step from the drop-down list.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
370 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
By requesting 100 time steps, you are asking Ansys Fluent to compute one pressure cycle. The mass
flow rate history is shown in Figure 8.5: Mass Flow Rate History (Transient Flow) (p. 372).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 371
Modeling Transient Compressible Flow
5. Optionally, you can review the effect of automatic mesh adaption performed during transient
flow computation as you did in steady-state flow case.
6. Save the transient case and data files (nozzle_uns.cas.h5 and nozzle_uns.dat.h5).
8.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
372 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 9: Using the Frozen Rotor Method
This tutorial is divided into the following sections:
9.1. Introduction
9.2. Prerequisites
9.3. Problem Description
9.4. Setup and Solution
9.5. Summary
9.6. Further Improvements
9.1. Introduction
In this tutorial, you will setup a general fluid flow simulation to evaluate the performance of a centrifugal
pump with a vaneless volute using the Frozen Rotor method.
9.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 373
Using the Frozen Rotor Method
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
374 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
9.4.2. Mesh
9.4.3. Models
9.4.4. Materials
9.4.5. Cell Zone Conditions
9.4.6. Boundary Conditions
9.4.7.Turbomachinery Models
9.4.8. Solution
9.4.9. Postprocessing
9.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
9.4.2. Mesh
1. Read the mesh file pump_volute.msh.h5.
As Fluent reads the mesh file, it will report the progress in the console.
9.4.3. Models
1. Enable the - SST turbulence model.
b. Click OK.
Compared to other two-equation models, the - SST turbulence model effectively predicts flow sep-
aration in turbomachinery, allowing for accurate evaluation of pump performance.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 375
Using the Frozen Rotor Method
9.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
376 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Ensure values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
The impeller will rotate relative to the absolute frame. By default, the correct rotation is set (about
the z-axis).
b. Ensure values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 377
Using the Frozen Rotor Method
By default, the rotating wall 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
378 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Frozen Rotor method will be modeled using the No Pitch-Scale (NPS) interface which allows
for connecting a 360-degree interface to another 360-degree interface.
d. Enable the General Turbo Interface option in the Interface Options group box.
e. Select No Pitch-Scale in the Pitch-Change Types group box under General Turbo Interface.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 379
Using the Frozen Rotor Method
f. Click Create/Edit and close the Create/Edit Turbo Interfaces dialog box.
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.
9.4.8. Solution
1. Specify the solution methods.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
380 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select Green-Gauss Node Based from the Gradient drop-down list in the Spatial Discretiza-
tion group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 381
Using the Frozen Rotor Method
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.
b. Select Pressure... and Static 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].
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
382 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
e. Click OK to save the expression and close the Expression Report Definition dialog box.
Solution → Initialization
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 383
Using the Frozen Rotor Method
c. Click Calculate.
You can monitor the progression of the residuals and the pump head during the run.
9.4.9. Postprocessing
1. Determine the head generated from the pump
a. Select head and p-blade from the Report Definitions selection list.
b. Click Compute.
The head generated by the pump and pressure integral on the blade are printed to the console
and are approximately 20 [m] and 5550 [pascal m^2], respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
384 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Ensure that the Filled option is enabled in the Options group box.
d. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
e. Deselect all surfaces and select Outlet from the Surfaces selection list.
g. On the Mesh Display dialog box that opens, deselect all surfaces and select the Wall surface
type from the Surfaces selection list.
i. Click Save/Display and close the Contours dialog box. Orient the view as shown in Fig-
ure 9.3: Contours of Velocity Magnitude at the Outlet (p. 385).
b. Ensure that the Filled option is enabled in the Options group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 385
Using the Frozen Rotor Method
e. Ensure Pressure... and Static Pressure are selected from the Contours of drop-down lists.
The increasing pressure in the flow domain can be seen in the contour plot.
b. Ensure that the Filled option is enabled in the Options group box.
d. Ensure Pressure... and Static Pressure are selected from the Contours of drop-down lists.
e. Select blade, impeller-hub and inblock-hub from the Surfaces selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
386 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
9.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. While a steady-state
simulation was used to model the pump performance using the frozen rotor method, this simulation
can be converted to a transient rotor stator simulation by following these steps:
• In the impeller cell zone, change the motion from Frame Motion to Mesh Motion by clicking
on Copy to Mesh Motion
You can watch a video of this case being set up, solved, and postprocessed at:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 387
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
388 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 10: Modeling Blade Row Interaction using
Steady-State and Transient Simulations
This tutorial is divided into the following sections:
10.1. Introduction
10.2. Prerequisites
10.3. Problem Description
10.4. Setup and Solution
10.5. Summary
10.1. Introduction
In this tutorial, you will setup a fluid flow simulation to evaluate the performance of a 1.5 stage com-
pressor using a steady-state mixing plane simulation and then a transient pitch-scale simulation.
• Set up a mixing plane and pitch scale turbo interface models to simulate flow in a compressor.
10.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 389
Modeling Blade Row Interaction using Steady-State and Transient Simulations
mixing plane and a transient rotor/stator pitch-scale simulations will be performed to determine the
efficiency of the compressor.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
390 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
10.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
10.4.2. Mesh
1. Read the mesh file hannover_1.5Stage.msh.h5.
As Fluent reads the mesh file, it will report the progress in the console.
Physics → Solver
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 391
Modeling Blade Row Interaction using Steady-State and Transient Simulations
10.4.4. Models
1. Set up your models for the CFD simulation using the Models group box of the Physics ribbon
tab.
b. Click OK.
Compared to other two-equation models, the - SST turbulence model effectively predicts flow sep-
aration in turbomachinery, allowing for accurate evaluation of pump performance.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
392 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
10.4.5. Materials
1. Set the properties for air, the default fluid material.
10.4.6. Cell Zone Conditions for the Steady-State Mixing Plane Model
All fluid zones must be reviewed to ensure that the Rotation-Axisis specified correctly, as well as,
the Rotational Velocity for rotating zones.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 393
Modeling Blade Row Interaction using Steady-State and Transient Simulations
2. Ensure that the correct Rotation-Axis is specified for the a-igv and c-stator1 zones.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
394 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Operating Conditions dialog box can also be accessed from the Cell Zone Conditions task page.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 395
Modeling Blade Row Interaction using Steady-State and Transient Simulations
a.
iv. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list in
the Turbulence group box.
v. Retain the default value of 5% for Turbulent Intensity and 10 for Turbulent Viscosity
Ratio.
vi. Click the Thermal tab and enter 288.15 K for Temperature.
vii. Click Apply and close the Pressure Inlet dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
396 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a.
ii. Select From Neighbouring Cell for the Backflow Direction Specification Method.
iii. Enable Radial Equilibrium Pressure Distribution and Average Pressure Specification.
iv. Retain Intensity and Viscosity Ratio from the Specification Method drop-down list in
the Turbulence group box.
v. Retain the default value of 5% for Turbulent Intensity and 10 for Turbulent Viscosity
Ratio.
vi. Click the Thermal tab and enter 300 K for Temperature.
vii. Click Apply and close the Pressure Outlet dialog box.
3. By default, when the fluid zone is rotating, all the walls attached to the fluid zone will be rotating.
Since the rotor has a tip gap and the shroud is stationary in the absolute frame, we need to
modify the wall boundary condition for the rotor shroud. Set the wall boundary condition for rotor.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 397
Modeling Blade Row Interaction using Steady-State and Transient Simulations
a.
4. Set the rotational periodic boundary conditions for the inlet guide vane, rotor and stator
symmetry-15 Periodic...
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
398 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 399
Modeling Blade Row Interaction using Steady-State and Transient Simulations
a.
iii. Select Rotational as the Type for the Periodic Boundary Condition.
v. Click Create.
Similarly, create the periodic conditions for the rotor and stator.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
400 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
5. Create a mixing plane interfaces between the inlet guide vane and rotor and between the rotor
and stator.
a. Enable the Turbo Models and define the topology of the flow domain.
ii. Select tip-r1-side1 for Interface Zone Side 1 and tip-r1-side2 for Interface Zone
Side 2.
d. Create a mesh interface between the inlet guide vane and the rotor.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 401
Modeling Blade Row Interaction using Steady-State and Transient Simulations
ii. Select igv-r1-upstream for Interface Zone Side 1 and igv-r1-downstream for
Interface Zone Side 2.
iii. Select General Turbo Interface from the Interface Options group box.
v. Click Create/Edit.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
402 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select r1-s1-upstream for Interface Zone Side 1 and r1-s1-downstream for Inter-
face Zone Side 2.
iii. Select General Turbo Interface from the Interface Options group box.
v. Click Create/Edit.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 403
Modeling Blade Row Interaction using Steady-State and Transient Simulations
c. Select Casing in the Boundaries group box and then select igv-shroud, rotor1-shroud
and stator1-shroud for the Surfaces.
d. Select Theta Periodic in the Boundaries group box and then select periodic_igv, peri-
odic_rotor and periodic_stator for the Surfaces.
e. Select Inlet in the Boundaries group box and then select inlet for the Surfaces.
f. Select Outlet in the Boundaries group box and then select outlet for the Surfaces.
g. Select Blade in the Boundaries group box and then select igv-vane, rotor1-blade and
stator1-vane for the Surfaces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
404 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 405
Modeling Blade Row Interaction using Steady-State and Transient Simulations
Retain the default selection of Coupled from the Scheme drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
406 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
2. Create a surface report definition for quantities needed to calculate the compressor efficiency.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 407
Modeling Blade Row Interaction using Steady-State and Transient Simulations
b. 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.
e. Click OK to save the surface report definition settings and close the Expression Report
Definition dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
408 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Click OK to save the expression and close the Expression Report Definition dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 409
Modeling Blade Row Interaction using Steady-State and Transient Simulations
d. Click OK to save the expression and close the Expression Report Definition dialog box.
6. Specify the pump head percentage change to be the convergence condition to be used for solution
monitoring.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
410 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select Scale and Compute Local Scale in the Residual Values group box.
7. Initialize the flow field using the Initialization group box of the Solution ribbon tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 411
Modeling Blade Row Interaction using Steady-State and Transient Simulations
b. Select Use Specified Initial Pressure on Inlets and click OK to close the Hybrid Initialization
dialog box.
c. Click Initialize.
c. Click Calculate.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
412 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. As the solution progresses, the plots of pressure ratio, outlet mass flow rate and the efficiency
all flatten out indicating the solution has converged.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 413
Modeling Blade Row Interaction using Steady-State and Transient Simulations
1. Create spanwise surfaces for the inlet guide vane, rotor and stator.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
414 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select Mesh... and Spanwise Coordinate from the drop-down lists.
vii. In a similar manner, create spanwise surfaces for the rotor-span=0.5 and stator-
span=0.5 and close the Iso-Surface dialog box.
d. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
e. Select igv-span=0.5, rotor-span=0.5 and stator-span=0.5 from the Surfaces selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 415
Modeling Blade Row Interaction using Steady-State and Transient Simulations
g. On the Mesh Display dialog box that opens, select igv-hub, igv-vane, rotor1-blade,
rotor1-hub, stator1-hub and stator1-vane from the Surfaces selection list.
d. Ensure Pressure... and Static Pressure are selected from the Contours of drop-down lists.
e. Select igv-span=0.5, rotor-span=0.5 and stator-span=0.5 from the Surfaces selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
416 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Ensure Temperature... and Static Temperature are selected from the Contours of drop-down
lists.
e. Select igv-span=0.5, rotor-span=0.5 and stator-span=0.5 from the Surfaces selection list.
Physics → Solver
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 417
Modeling Blade Row Interaction using Steady-State and Transient Simulations
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
418 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Create a mesh interface between the inlet guide vane and the rotor.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 419
Modeling Blade Row Interaction using Steady-State and Transient Simulations
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
420 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
10.4.14. Cell Zone Conditions for the Transient Pitch Scale Model
The rotor zone needs to modified to use mesh motion.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 421
Modeling Blade Row Interaction using Steady-State and Transient Simulations
a.
ii. Click Apply and close the Pressure Outlet dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
422 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Ensure Coupled from the Scheme drop-down list in the Pressure-Velocity Coupling group
box.
b. Select Second Order Implicit from the Transient Formulation drop-down list.
2. Modify the report plots to use an exponential axis for the flow time.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 423
Modeling Blade Row Interaction using Steady-State and Transient Simulations
d. Click Apply and close the Axes - Report Plots dialog box.
Similarly, update the report plots for the mfr_out_360-rplot and p-ratio-rplot report plots.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
424 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select Period-Based from the drop-down list for Method in the Time Advancement group
box.
b. The rotor is running at 17100 rpm and has 23 passages. Therefore the period of the rotor is
0.000152555 seconds. Enter 0.000152555 for Period (s) in the Parameters group box.
f. Click Calculate.
g. The plots of pressure ratio, outlet mass flow rate and the efficiency display the transient nature
of the solution. The fluctuation in the efficiency, mass flow rate and pressure-ratio is expected,
and is due to the blade passing interaction.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 425
Modeling Blade Row Interaction using Steady-State and Transient Simulations
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
426 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 427
Modeling Blade Row Interaction using Steady-State and Transient Simulations
b. Disable the Global Range, Auto Range and Clip to Range option in the Options group box.
d. Select igv-span=0.5, rotor-span=0.5 and stator-span=0.5 from the Surfaces selection list.
e. Click Compute.
g. Click Save/Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
428 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Select a-igv.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 429
Modeling Blade Row Interaction using Steady-State and Transient Simulations
b. Click Save/Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
430 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
b. Click Save/Display.
10.5. Summary
In this tutorial you completed a fluid flow simulation to evaluate the performance of a compressor.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 431
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
432 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 11: Using Sliding Meshes
This tutorial is divided into the following sections:
11.1. Introduction
11.2. Prerequisites
11.3. Problem Description
11.4. Setup and Solution
11.5. Summary
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.
For turbomachinery applications, it is recommended that connecting rotating and stationary zones
utilizes General Turbo Interfaces (GTI) which can handle any pitch-change model. To know more about
GTI interfaces see tutorial Modeling Blade Row Interaction using Steady-State and Transient Simulations
in the Fluent Tutorials (p. 389). This tutorial will show an alternative way of connecting rotating and sta-
tionary zones (using periodic repeat interface). While this tutorial is using a turbomachinery application
the outlined procedure can be used for other flow applications that require the connection of similar-
pitch rotating and stationary zones.
• 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 the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 433
Using Sliding Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
434 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
11.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
11.4.2. Mesh
1. Read in the mesh file axial_comp.msh.h5.
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. 436). 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 435
Using Sliding Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
436 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Change zones rotor-per-1 and rotor-per-3 from wall zones to periodic zones.
b. While holding down the Ctrl key, click rotor-per-3 to add the tree item to the selection.
Note:
The first zone that is selected will be used as the periodic zone, while the second
zone will be used as the shadow zone. Although it is not significant in this case,
the order in which the two zone pairs are selected may affect simulation results.
c. Right-click the selected tree items and select Periodic... to open the Create Periodic dialog
box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 437
Using Sliding Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
438 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
11.4.4. Models
1. Enable the inviscid model.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 439
Using Sliding Meshes
11.4.5. Materials
1. Specify air (the default material) as the fluid material, using the ideal gas law to compute density.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
440 of ANSYS, Inc. and its subsidiaries and affiliates.
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
required when using the ideal gas law to compute the density of the fluid.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 441
Using Sliding Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
442 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
1. Set the cell zone conditions for the fluid in the rotor (fluid-rotor).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 443
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
444 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Retain the default values of (0, 0, 1) for X, Y, and Z in the Rotation-Axis Direction group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 445
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
446 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
2. Enter stator-outlet into the Zone field to filter the zone list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 447
Using Sliding Meshes
c. Click the Thermal tab and enter 288 K for Backflow Total Temperature.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
448 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 449
Using Sliding Meshes
Note:
For wall zones, Ansys Fluent always imposes zero velocity for the normal velocity
component, which is required whether or not the fluid zone is moving. This condition
is all 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 relative to the value used for operating pressure.
2. Create a periodic mesh interface between the rotor and stator mesh regions.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
450 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Click Manual Create... to open the Create/Edit Mesh Interfaces dialog box.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 451
Using Sliding Meshes
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.
g. Click Create/Edit... and close the Create/Edit Mesh Interfaces dialog box.
3. Check the mesh again to verify that the warnings displayed earlier have been resolved.
11.4.10. Solution
1. Set the solution parameters.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
452 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 453
Using Sliding Meshes
a. Enter 0.5 for Momentum and Pressure in the Explicit Relaxation Factors group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
454 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Enable Show Advanced Options and select relative from the Convergence Criterion drop-
down list.
c. Enter 0.01 for Relative Criteria for each Residual (continuity, x-velocity, y-velocity, z-velo-
city, and energy).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 455
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
456 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
6. Enable the plotting of the area-weighted average of the static pressure at the interface (stator-
interface).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 457
Using Sliding Meshes
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.
f. Click OK to save the surface report definition settings and close the Surface Report Definition
dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
458 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Click Initialize.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 459
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
460 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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
magnitude. 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. 462), Figure 11.5: Mass Flow Rate at the Outlet During
the First Revolution (p. 462), and Figure 11.6: Static Pressure at the Interface During the First Revolu-
tion (p. 463)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 461
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
462 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.h5 and axial_comp-0240.dat.h5).
Note:
It is a good practice to save the case file whenever you are saving the data file
especially for sliding mesh model. This is because the case file contains the mesh
information, 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.h5 and axial_comp-
0240.dat.h5).
12. Rename the report output file in preparation for further iterations.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 463
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
464 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 Revolu-
tions (p. 466) Figure 11.8: Mass Flow Rate at the Outlet During the Next 3 Revolutions (p. 466), and
Figure 11.9: Static Pressure at the Interface During the Next 3 Revolutions (p. 467)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 465
Using Sliding Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
466 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 11.9: Static Pressure at the Interface During the Next 3 Revolutions
16. Save the case and data files (axial_comp-960.cas.h5 and axial_comp-960.dat.h5).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 467
Using Sliding Meshes
a. Enter -0.02 for x, -0.08 for y, and -0.036 for z in the Point Surface dialog box.
19. Enable plotting of the static pressure at a point on the stator interface (point-1).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
468 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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
postprocessing of the time statistics.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 469
Using Sliding Meshes
b. Enable Data Sampling for Time Statistics in the Options group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
470 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.h5 and axial_comp-1200.dat.h5).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 471
Using Sliding Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
472 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 473
Using Sliding Meshes
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, re-
spectively) and their higher harmonics.
2. Display contours of the mean static pressure on the walls of the axial compressor.
d. Select Unsteady Statistics... and Mean Static Pressure from the Contours of drop-down
lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
474 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
h. 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. 475).
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.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 475
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
476 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 12: Using Overset and Dynamic Meshes
This tutorial is divided into the following sections:
12.1. Prerequisites
12.2. Problem Description
12.3. Preparation
12.4. Mesh
12.5. Overset Interface Creation
12.6. Steady-State Case Setup
12.7. Unsteady Setup
12.8. Summary
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.
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 477
Using Overset and Dynamic Meshes
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 the Section on 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 Cus-
tomization Manual.
The representation of the problem is shown in Figure 12.1: Schematic of Problem (p. 478) 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. 479).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
478 of ANSYS, Inc. and its subsidiaries and affiliates.
Mesh
12.3. Preparation
1. Download the overset_dynamic_mesh.zip file here.
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
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 different
zones that allow for a greater level of refinement where the pod will be falling and less refinement at
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 479
Using Overset and Dynamic Meshes
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.
• Select All Mesh Files (*.msh* *.MSH*) from the Files of type: drop down list. Then
select Overset-background-mesh.msh
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.
c. Click Create.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
480 of ANSYS, Inc. and its subsidiaries and affiliates.
Mesh
b. Click OK in the Warning dialog box that appears stating that some zone IDs have changed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 481
Using Overset and Dynamic Meshes
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:
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
482 of ANSYS, Inc. and its subsidiaries and affiliates.
Overset Interface Creation
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 483
Using Overset and Dynamic Meshes
Note:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
484 of ANSYS, Inc. and its subsidiaries and affiliates.
Overset Interface Creation
b. Select fluid-background from the Background group box and component from the Com-
ponent 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
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 485
Using Overset and Dynamic Meshes
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.
5. In this step you will create the overset intersection, also referred to as hole cutting. When the case
is initialized, 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
When prompted to keep bounding cells, press the Enter key to accept the default option of no.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
486 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady-State Case Setup
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 487
Using Overset and Dynamic Meshes
12.6.3. Materials
Specify the properties for air.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
488 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady-State Case Setup
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 respectively.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 489
Using Overset and Dynamic Meshes
12.6.7. Solution
In this section you will specify solution methods and controls that are appropriate for this overset
meshing case.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
490 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady-State Case Setup
1. In the Solution Methods task page, retain the default selections for the Spatial Discretization.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 491
Using Overset and Dynamic Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
492 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady-State Case Setup
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 493
Using Overset and Dynamic Meshes
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
494 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady-State Case Setup
7. Check the mass imbalance for the inlet and outlet to confirm there is not a large difference.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 495
Using Overset and Dynamic Meshes
a. Enable Gravity.
A warning message will be displayed that for compressible (ideal and real) gas models with
buoyancy, it is recommended to use a specified operating density value of zero.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
496 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
Note:
This UDF contains the mass of the pod and its 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 497
Using Overset and Dynamic Meshes
vi. Enter 7.6 for X and 18.5 for Y in the Center of Gravity Location group box.
vii. Click Create to create the dynamic zone for the component.
Note:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
498 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
iii. Retain the selection of On and disable Passive in the Six DOF group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 499
Using Overset and Dynamic Meshes
2. Enable Report File and Report Plot in the Create group box.
Note that the drag report definition created previously, report-def-0 for the steady state simulaiton
should be deleted. If not a Warning Message appears in the console notifying you that Data for the
following Report File can be wriiten to its file..
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
500 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
You can click Yes in the Warning Message to create a new report file.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 501
Using Overset and Dynamic Meshes
e. Click Calculate.
the simulation can take several hours depending on the compute capacity being utilized.
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 overset-interface
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 informa-
tion 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
502 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
c. Ensure Pressure... and Static Pressure are selected from the Contours of drop-down lists.
e. Click Save/Display.
Note:
a. Read the pod-motion file into Microsoft Excel and plot flow time vs CG-orientation of
the pod.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 503
Using Overset and Dynamic Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
504 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
In overset meshing all meshes are categorized into five cell types:
• Solve – (yellow in figures Figure 12.3: Cell Marking on component (p. 509) & Figure 12.4: Cell
Marking on fluid-background (p. 509)) cells that take part in the solution.
• Donor – (marked red in figures Figure 12.3: Cell Marking on component (p. 509) & Figure 12.4: Cell
Marking on fluid-background (p. 509)) provide information to corresponding cell zones.
• Receptor – (marked blue in figures Figure 12.3: Cell Marking on component (p. 509) & Fig-
ure 12.4: Cell Marking on fluid-background (p. 509)) 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. 510)) 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 505
Using Overset and Dynamic Meshes
• Orphan – receptor cells that cannot find a corresponding donor cell. Although Fluent has in-
telligence to deal with orphan cells, their presence should be avoided to reduce the risk of
solution inaccuracies and divergence.
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/dis-
play-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 ac-
cordingly.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
506 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
4. Display contours of the overset cell type on the surface you just created.
b. Disable Auto Range (which enables Clip to Range) in the Options group box.
c. Disable Node Values and Global Range in the Options group box.
d. Select Cell Info... and Overset Cell Type from the Contours of drop-down lists.
Note:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 507
Using Overset and Dynamic Meshes
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
508 of ANSYS, Inc. and its subsidiaries and affiliates.
Unsteady Setup
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 509
Using Overset and Dynamic Meshes
b. Mark dead cells in component with the following TUI command: define/overset-in-
terfaces/mark-cells dead yes 29
c. Mark dead cells in fluid-background with the following TUI command: /define/overset-
interfaces/mark-cells dead yes 7
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
510 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
ii. Enter 1 for the text command prompt to display only the overset-dead-cells-fluid-
background-r1 register.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 511
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
512 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 13: Modeling Species Transport and Gaseous
Combustion
This tutorial is divided into the following sections:
13.1. Introduction
13.2. Prerequisites
13.3. Problem Description
13.4. Background
13.5. Setup and Solution
13.6. Summary
13.7. Further Improvements
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 the introductory tutorials 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.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 513
Modeling Species Transport and Gaseous Combustion
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
514 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
13.5.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
13.5.2. Mesh
1. Read the mesh file gascomb.msh.
Select All Mesh Files (*.msh* *.MSH*) from the Files of type: drop down list and then
select 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 515
Modeling Species Transport and Gaseous Combustion
a. Select mm from the Mesh Was Created In drop-down list in the Scaling group box.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
516 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Extra:
You can use the right mouse button to probe for mesh information in the graphics
window. 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.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 517
Modeling Species Transport and Gaseous Combustion
13.5.4. Models
1. Enable heat transfer by enabling the energy equation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
518 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 519
Modeling Species Transport and Gaseous Combustion
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 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 Mater-
ials (p. 521)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
520 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 changes.
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
Conditions (p. 524).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 521
Modeling Species Transport and Gaseous Combustion
a. Click the Edit... button to the right of the Mixture Species drop-down list to open the Species
dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
522 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 523
Modeling Species Transport and Gaseous Combustion
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
constant. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
524 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in
the Turbulence 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 525
Modeling Species Transport and Gaseous Combustion
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
526 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in
the Turbulence 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 527
Modeling Species Transport and Gaseous Combustion
b. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in
the Turbulence 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 Backflow 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 it-
erations and could affect the solution stability.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
528 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 529
Modeling Species Transport and Gaseous Combustion
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
530 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Solution → Initialization
a. Retain the default Hybrid initialization method and click Initialize to initialize the variables.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 531
Modeling Species Transport and Gaseous Combustion
b. Ensure that Write Binary Files is enabled to produce a smaller, unformatted binary file.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
532 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Time Scale Factor allows you to further manipulate the computed time step size 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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 533
Modeling Species Transport and Gaseous Combustion
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. 534)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
534 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Click the Vector Options... button to open the Vector Options dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 535
Modeling Species Transport and Gaseous Combustion
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.
iii. Click Apply and close the Vector Options dialog box.
The entrainment of air into the high-velocity methane jet is clearly visible.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
536 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Display filled contours of mass fraction for (Figure 13.5: Contours of CH4 Mass Fraction (p. 538)).
c. Select Species... and Mass fraction of ch4 from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 537
Modeling Species Transport and Gaseous Combustion
5. In a similar manner, display the contours of mass fraction for the remaining species , , and
(Figure 13.6: Contours of O2 Mass Fraction (p. 538), Figure 13.7: Contours of CO2 Mass Frac-
tion (p. 539), and Figure 13.8: Contours of H2O Mass Fraction (p. 539)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
538 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 539
Modeling Species Transport and Gaseous Combustion
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 1841 .
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
540 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select Velocity... and Velocity Magnitude from the Field Variable drop-down lists.
c. Click Compute.
The Area-Weighted Average field will show that the exit velocity is approximately 3.31 .
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 541
Modeling Species Transport and Gaseous Combustion
a. Enable Thermal NOx and Prompt NOx in the Pathways group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
542 of ANSYS, Inc. and its subsidiaries and affiliates.
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
fluctuations 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 543
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
544 of ANSYS, Inc. and its subsidiaries and affiliates.
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 com-
puted. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 545
Modeling Species Transport and Gaseous Combustion
5. Save the new case and data files (gascomb2.cas.h5 and gascomb2.dat.h5).
6. Review the solution by creating and displaying a contour definition for NO mass fraction (Fig-
ure 13.9: Contours of NO Mass Fraction — Prompt and Thermal NOx Formation (p. 547)).
c. Select NOx... and Mass fraction of Pollutant no from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
546 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 13.9: Contours of NO Mass Fraction — Prompt and Thermal NOx Formation
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 547
Modeling Species Transport and Gaseous Combustion
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.00445.
9. Disable the prompt NOx mechanism in preparation for solving for thermal NOx only.
11. 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. 548)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
548 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note that the concentration of NO is slightly lower without the prompt NOx mechanism.
12. 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.00441.
13. Save the new case and data files (gascomb2-thermal.cas.h5 and gascomb2-
thermal.dat.h5).
16. 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. 550)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 549
Modeling Species Transport and Gaseous Combustion
The prompt NOx mechanism is most significant in fuel-rich flames. In this case the flame is lean and
prompt NO production is low.
17. 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.87e-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 in-
volved. NO produced in one reaction can be destroyed in another reaction.
18. Use a custom field function to compute NO parts per million (ppm).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
550 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
(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.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 551
Modeling Species Transport and Gaseous Combustion
19. Display contours of NO ppm (Figure 13.12: Contours of NO ppm — Prompt NOx Formation (p. 552)).
c. 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. 550)), as expected.
20. Save the new case and data files (gascomb2-prompt.cas.h5 and gascomb2-
prompt.dat.h5).
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
552 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
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
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 553
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
554 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 14: Using the Monte Carlo Radiation Model
This tutorial is divided into the following sections:
14.1. Introduction
14.2. Prerequisites
14.3. Problem Description
14.4. Setup and Solution
14.5. Summary
14.6. Further Improvements
14.1. Introduction
In this tutorial, radiation and conduction through coupled walls is solved using the Monte Carlo radiation
model to locate and determine the severity of any hotspots generated by the focusing of the sun's rays
through a headlamp lens.
• Set the boundary conditions for a heat transfer problem involving conduction and radiation.
Related video that demonstrates steps for setting up, solving, and postprocessing the solution results
for a turbulent flow within a manifold:
14.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 555
Using the Monte Carlo Radiation Model
The headlamp assembly is modelled in an air volume with the boundaries maintained at a temperature
of 25 C. Two walls supply a 1200 w/m^2 heat flux to simulate the effect of the sun's rays shining on
the headlamp. The rays will travel into the headlamp through the front cover (polycarbonate, with an
absorption coefficient of 20 m^-1 and refractive index of 1.586) and be focused by the lens (glass, with
an absorption coefficient of 5.302 m^-1 and refractive index of 1.471).The rest of the components are
modelled as plastic and participate by absorbing, reflecting, and emitting radiation. The rim bezel is
modelled with an emissivity of 0.16, meaning 84% of incident radiation is reflected.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
556 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
14.4.1. Preparation
To prepare for running this tutorial:
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
6. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 557
Using the Monte Carlo Radiation Model
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, 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.
d. For File Name, enter the path and file name for the CAD geometry that you want to import
(headlamp.scdoc).
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 (Figure 3.2: The Imported
CAD Geometry for the Catalytic Converter (p. 94)), and allow you to proceed onto the next task in
the workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
558 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
Alternatively, you can use the ... button next to File Name to locate the CAD geo-
metry 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 559
Using the Monte Carlo Radiation Model
In this tutorial, we will add local sizing in and around the lens, since that is an area where we require
a more refined mesh for the radiation simulation. Later, we will apply settings for a coarser surface
mesh elsewhere.
For occasions when the list of items is long, you can use the Filter Text option and use an ex-
pression such as in* to show only items starting with "in". Alternatively, you can use the Use
Wildcard option to list and pres-select matching items. See Filtering Lists and Using Wildcards
for more information.
b. In the Add Local Sizing task, you can add additional local sizing controls to the faceted geo-
metry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
560 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You can now see the boi_lens task in the workflow, which can be selected to change its settings.
The Add Local Sizing task can still be used to add more local sizing controls to the geometry.
vi. Click Add Local Sizing to complete this task and proceed to the next task in the workflow.
a. In the Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 561
Using the Monte Carlo Radiation Model
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.
d. Click Generate the Surface Mesh to complete this task and proceed to the next task in the
workflow.
a. Right click Generate the Surface Mesh and Insert Next Task Improve Surface Mesh and
click Improve Surface Mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
562 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 563
Using the Monte Carlo Radiation Model
When you select the Describe Geometry task, you are prompted with questions relating to the
nature of the imported geometry.
a. Select The geometry consists of both fluid and solid regions and/or voids option under
Geometry Type, since this model contains both fluid and solids, and potential voids.
c. Click Describe Geometry to complete this task and proceed to the next task in the
workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
564 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
b. The proposed boundary is correct, so click Update Boundaries and proceed to the next task.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 565
Using the Monte Carlo Radiation Model
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
566 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Update Regions task, where you can review and change the tabulated names and
types of the various regions that have been generated from your imported geometry, and
change them as needed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 567
Using the Monte Carlo Radiation Model
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
For the Add Boundary Layers task, select no at the prompt as to whether or not you want
to define boundary layer settings.
Since well resolved flows near the walls are not necessary, the exclusion of boundary layers will
simplify the mesh and keep cell counts low.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
568 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Enable Advanced Options to expose additional options that are required for this task.
c. Select the Generate the Volume Mesh task, where you can set properties of the volume mesh
itself.
d. Keep the default settings, and click Generate the Volume Mesh.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 569
Using the Monte Carlo Radiation Model
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.
14.4.3. Mesh
1. Display and examine the mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
570 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Ensure that all surfaces are selected from the Surfaces selection list.
The graphics display will be updated to show only the headlamp mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 571
Using the Monte Carlo Radiation Model
14.4.4. Models
1. Enable the energy equation.
Physics → Models
a. Enable Energy.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
572 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 573
Using the Monte Carlo Radiation Model
The MC model is a statistical radiation model that tracks a sample of photons through the
system. The size of this sample is determined by Target Number of Histories. In general, the
larger the number of histories, the more accurate the simulation at the expense of compute
time. In this tutorial, a relatively low number is used for demonstration purposes. In practice,
this number may need to be increased to achieve suitable results.
The MC model is preferred in this case because of the collimated beam type irradiation being
modelled. The Discrete Ordinates model would require very high angular discretization and,
therefore, would be computationally expensive. The Surface to Surface model assumes all ra-
diation to be diffuse and so would not capture the specular nature of the focusing of rays by
the lens.
14.4.5. Materials
1. Define a new material, glass.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
574 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Field Setting
Name glass
Density 2650 kg/m3
Cp (Specific Heat) 1887 j/kg-k
Thermal Conductivity 7.6 w/m-k
Absorption Coefficient 5.302 m^-1
Refractive Index 1.4714
d. Click Change/Create and select Yes to overwrite aluminum, since it will not be used in this
case.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 575
Using the Monte Carlo Radiation Model
Field Setting
Name plastic
Density 1545.3 kg/m3
Cp (Specific Heat) 2302 j/kg-k
Thermal Conductivity 0.316 w/m-k
Absorption Coefficient 0
Refractive Index 1
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
576 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
2. Copy the cell zone conditions for bezel to holder, housing, inner-bezel, reflector, rim-bezel, and
seating-steel-rim.
b. In the To Cell Zones list, select holder, housing, inner-bezel, reflector, rim-bezel, and
seating-steel-rim.
c. Click Copy.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 577
Using the Monte Carlo Radiation Model
b. Click Select All Shown ( ) to select all boundaries in the To Boundary Zones list.
c. Click Copy.
c. Click Copy.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
578 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. Copy the boundary conditions for enclosure-rim-bezel to other rim bezel boundaries.
c. Click Copy.
a. Click the Thermal tab and select Temperature from the Thermal Conditions list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 579
Using the Monte Carlo Radiation Model
14.4.8. Solution
1. Specify the discretization schemes..
b. Enable Show Advanced Options and select none from the Convergence Criterion drop-
down list so that automatic convergence checking does not occur.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
580 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
3. Create a surface report definition for max temperature on the inner bezel.
b. 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.
c. Select Temperature... and Static Temperature 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.
b. Click Calculate.
You can monitor the progression of the residuals and the temperature report of the inner bezel during
the run. The residuals spike every 20 iterations when the Monte Carlo model is called and the radiation
quantities are updated. This case is run for a relatively small number of iterations for demonstration
purposes but the temperature on the inner bezel could be monitored for many more iterations until it
reaches a relative steady state.
14.4.9. Postprocessing
1. Create a contour of temperature on the inner bezel.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 581
Using the Monte Carlo Radiation Model
d. Select Temperature... and Static Temperature from the Contours of drop-down lists.
f. Click Save/Display.
There is a clear hotspot on the inner bezel. You can use the draw mesh function to look at the
location of the hotpsot in relation to the lens.
g. Enable the Draw Mesh option in the Options group box to open the Mesh Display dialog
box.
i. Deselect all surfaces, then select enclosure-lens from the Surfaces list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
582 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
h. Click Save/Display.
Note:
On highly angular geometries, such as the inner bezel, the Gouraud lighting
method (used by default with the Automatic lighting method) will round off
corners. You may want to consider changing the lighting method to Flat in
the View tab to obtain the view as shown below.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 583
Using the Monte Carlo Radiation Model
c. Select Radiation... and Radiation Intensity.Normalized Std Deviation from the Contours
of drop-down lists.
d. Select all surfaces, then deselect enclosure:1 and rad-input from the Surfaces selection list.
The standard deviation is generally less than 30, but still exceeds this value in many small areas,
which is undesirable. Increasing the number of histories in the Monte Carlo radiation model would
lower the standard deviation and improve the results, at the cost of the simulation being more
computationally expensive.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
584 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
Figure 14.5: Contour of Radiation Intensity Normalized Standard Deviation on Inner Bezel
14.5. Summary
In this tutorial you completed a conduction and radiation simulation to investigate the occurrence of
any hot spots generated by the focusing of rays by the headlamp lens. The MC radiation model is ap-
propriate for modeling collimated beam type radiation where the discretization methods used in the
DO model might be computationally expensive.
You can watch a video of this case being set up, solved, and postprocessed at:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 585
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
586 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 15: Using the Eddy Dissipation and Steady
Diffusion Flamelet Combustion Models
This tutorial is divided into the following sections:
15.1. Introduction
15.2. Prerequisites
15.3. Problem Description
15.4. Setup and Solution
15.5. Steady Diffusion Flamelet Model Setup and Solution
15.6. Summary
15.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 mesh the geometry in the Ansys
Fluent Meshing and then 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 ap-
proaches.
15.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 587
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
588 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You can also watch a video that demonstrates how to setup, solve, and postprocess the solution results
for diffusion-controlled combustion at:
15.4.1. Preparation
To prepare for running this tutorial:
4. Select Meshing in the top-left selection list to start Fluent in Meshing Mode.
6. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
b. Enable Advanced Options to expose additional options that may be required when importing
a CAD geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 589
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
Locate the can_combustor.pmdb file using the File Name option and select the file.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
590 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iii. Select fuelinlet, inletair1 and inletair2 from the list of labels.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 591
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
ii. Adjust the Local Min Size to be 0.5 and the Max Size to be 2.
iv. Select fuelinlet from the list of labels and click Add Local Sizing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
592 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Ensure Proximity is selected and change the Local Min Size to 0.5 and the Max Size to
2.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 593
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
i. Change the Size Control Type to Face Size and enter 1 for the Target Mesh Size.
b. Change the Cells Per Gap to be 4 and click Generate the Surface Mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
594 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Describe Geometry task, select the option "The geometry consists of only fluid regions
with no voids".
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 595
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
a. Select Check from the Mesh drop-down list on the main taskbar.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
596 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Switch to solution mode by clicking the Switch to Solution button on the Fluent ribbon tab.
Setup → General
15.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 597
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
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 Mater-
ial 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 material selection or modify the mixture material properties using the Cre-
ate/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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
598 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
5. For wall-part-fluid, wallvanes and wallvanes-shadow retain the default stationary no slip adia-
batic settings.
15.4.6. Solution
1. Specify the discretization schemes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 599
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
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).
6. Start calculation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
600 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The Time Scale Factor allows you to further manipulate the computed time step size 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 15.2: Scaled Residuals (p. 601)),
and the relative amount of CO2 exiting the combustor outlet has become stable (Figure 15.3: Convergence
History of Mass-Weighted Average CO2 on the Outlet (p. 602)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 601
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
602 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 603
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
604 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. In the Normal group box, enter 0, 1, 0 for iX, iY, iZ, respectively.
4. Display filled contours of CO2 mass fraction in the combustion chamber (Figure 15.4: Contours of
CO2 Mass Fraction (p. 606)).
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 605
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
f. Click Save/Display, close the Contours dialog box, and rotate the view as shown in Fig-
ure 15.4: Contours of CO2 Mass Fraction (p. 606).
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 15.5: Contours of
O2 Mass Fraction (p. 607)).
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
606 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. Display filled contours of temperature on the aluminum combustor walls (Figure 15.6: Contours
of Static Temperature on the Combustor Walls (p. 608)).
c. From the Contours of drop-down lists, select Temperature... and Static Temperature.
e. Name the surface clip-y-coordinate and select Mesh... and Y-Coordinate from the
Clip to Values of drop-down lists.
i. From the Surfaces selection list, deselect all surfaces and select clip-y-coordinate and
wallvanes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 607
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
l. Rotate the contour plot to examine the temperature field of the combusting flow on the can-
ister 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
608 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady Diffusion Flamelet Model Setup and Solution
15.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 following:
path\KINetics\data\grimech30_50spec_mech.inp
where path is the Ansys Fluent installation directory (for example, C:\Program Files\ANSYS
Inc\v221\fluent\fluent22.1.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 609
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
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, re-
spectively.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
610 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady Diffusion Flamelet Model Setup and Solution
15.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 Time Scale Factor and 500 for
Number of Iterations and click Calculate.
Note that in this case, the residuals may not converge. It is important to utilize both the flux calculations
along with the monitor plot to determine whether the solution has converged.
2. Display filled contours of mean mixture fraction on the surface plane_xz (Figure 15.7: Contours
of Mean Mixture Fraction (p. 612)).
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 611
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
h. Click Save/Display.
3. Display filled contours of CO2 mass fraction in the combustion chamber (Figure 15.8: Contours of
CO2 Mass Fraction (p. 613)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
612 of ANSYS, Inc. and its subsidiaries and affiliates.
Steady Diffusion Flamelet Model Setup and Solution
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 15.4: Contours of CO2 Mass Fraction (p. 606)).
4. Display the outlet CO2 concentration profiles for both solutions on a single plot.
a. In the Plot Data Sources dialog box, click the Load File... 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 613
Using the Eddy Dissipation and Steady Diffusion Flamelet Combustion Models
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.
k. Click Plot and close the Plot Data Sources dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
614 of ANSYS, Inc. and its subsidiaries and affiliates.
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
kinetics, is considered to be more accurate.
You can perform further postprocessing of the solution results as shown in the following video:
15.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 615
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
616 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 16: Effusion Cooling simulation in a 3D model
Combustor
This tutorial is divided into the following sections:
16.1. Introduction
16.2. Prerequisites
16.3. Problem Description
16.4. Background
16.5. Setup and Solution
16.6. Summary
16.1. Introduction
This tutorial demonstrates the process to set up perforated wall model and its capability for effusion
cooling in a model combustor.
A slice of cylindrical combustor burning liquid fuel with methane ( ) as the evaporated gas in hot
air is studied using the FGM model in ANSYSFluent.
• Enable physical models, select material properties, and define boundary conditions for a turbulent
combustion flow with FGM model.
• Initiate and solve the combustion simulation using the pressure-based solver.
16.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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.
To learn more about turbulent combustion modeling and perforated walls, see the Fluent User's Guide
and the Fluent Theory Guide.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 617
Effusion Cooling simulation in a 3D model Combustor
Figure 16.1: 3D model gas turbine combustor with liquid fuel Combustion of Methane
16.4. Background
In this tutorial, you will use the FGM turbulent combustion model and DPM model to simulate analyze
the methane-air combustion system. The effusion cooling effects are modeled with perforated wall
capability. The effusion cooling mass flow rate are determined by the pressure difference between the
shroud and the main combustion chamber.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
618 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
16.5.1. Preparation
To prepare for running this tutorial:
4. Select Mesing in the top-left selection list to start Fluent in Solution Mode.
7. Set Meshing Processes and Solver Processes to 4 under Parallel (Local Machine).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 619
Effusion Cooling simulation in a 3D model Combustor
Each task is designated with an icon indicating its state (for example, as complete, incom-
plete, 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. For File Name, enter the path and file name for the CAD geometry that you want to import
(combustor_effusion.scdoc).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
620 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
The workflow only supports *.scdoc (SpaceClaim), Workbench (.agdb), 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 621
Effusion Cooling simulation in a 3D model Combustor
The combustor geometry has been enclosed in a suitable flow domain, which should provide distinct
regions of inflow and outflow for a range of angles of attack, and avoids having the bow shock
that forms in such flows from contacting the inflow surfaces..
Note:
Alternatively, the ... button next to File Name can be used to locate the CAD geo-
metry 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.
Local mesh sizing controls are added on the liner surfaces using face sizing.
a. In the Add Local Sizing task, add local sizing controls to the faceted geometry by selecting
yes:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
622 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
In this tutorial, we will add local sizing around the surfaces of the liner, since they are areas where
we require a more refined mesh.
ii. Retain the default facesize_1 for the Name of the size control.
With the local sizing set as described above, the global surface mesh sizing only defines the largest
elements on other surfaces.
a. In the Generate the Surface Mesh task, you can set various properties of the surface mesh
for the faceted geometry.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 623
Effusion Cooling simulation in a 3D model Combustor
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.
e. Click Generate the 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
624 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select The geometry consists of only fluid regions with no voids option under Geo-
metry Type, since this model contains only the fluid region.
c. Click Describe Geometry to complete this task and proceed to the next task in the
workflow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 625
Effusion Cooling simulation in a 3D model Combustor
a. Select the Update Boundaries task, where you can inspect the mesh boundaries and confirm
and change any designated boundaries accordingly. Ansys Fluent attempts to determine the
correct arrangement of boundaries automatically.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
626 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Right click on the Update Boundaries task, Insert New Task and select Set Up Periodic
Boundaries.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 627
Effusion Cooling simulation in a 3D model Combustor
a. Retain the default Select the Update Boundaries task, where you can inspect the mesh
boundaries and confirm and change any designated boundaries accordingly. Ansys Fluent at-
tempts to determine the correct arrangement of boundaries automatically.
b. Retain the default Rotational for the Type of periodic boundary, Automatic - pick
both sides for the Method and Label for Select By:.
c. Select periodic_1 and periodic_2 for the two sides of the periodic boundary.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
628 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Update Regions task, where you can review and change the tabulated names and
types of the various regions that have been generated from your imported geometry and
change them as needed.
b. The proposed region type is correct, so click Update Regions to update your settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 629
Effusion Cooling simulation in a 3D model Combustor
a. Select the Add Boundary Layers task, where you can set properties of the boundary layer
mesh.
For the Add Boundary Layers task, ensure yes is selected at the prompt as to define boundary
layer settings. In this task, you can define specific details for capturing the boundary layer in
and around your geometry.
With the local sizing set as described above, including bodies of influence, the global volume
mesh sizing only defines the largest elements in the flow domain. In this case, the maximum is
set to be consistent with the specified global surface mesh sizing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
630 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select the Generate the Volume Mesh task, to set properties of the volume mesh.
Ansys Fluent will apply your settings and proceed to generate a volume mesh for the geometry..
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 631
Effusion Cooling simulation in a 3D model Combustor
Mesh → Check
Now that a 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. Note that to obtain more accurate
solutions a higher quality mesh should be used.
We have just checked the mesh, so select Yes when prompted to switch to solution mode.
16.5.3. Mesh
1. Examine the mesh.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
632 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 633
Effusion Cooling simulation in a 3D model Combustor
Setup → General
16.5.5. Models
1. Enable heat transfer by enabling the energy equation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
634 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 635
Effusion Cooling simulation in a 3D model Combustor
The Species Model dialog box will expand to provide further options for the Partially Premixed
Combustion model.
i. Select the Flamelet Generated Manifold in the State Relation group box.
v. Set the Equilibrium Operating Pressure (Pa) to 1519875 under Model Settings.
vi. Click Import CHEMKIN Mechanism... to open the Import CHEMKIN Format Mechanism
dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
636 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
C. Click Import and close the Import CHEMKIN Format Mechanism dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 637
Effusion Cooling simulation in a 3D model Combustor
ii. Set the Fuel to be 755.37 K and the Oxid to be 422.04 K under Temperature
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
638 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iv. Then answer Yes and save the flamelet solution into a file named combustor_effu-
sion.fla.gz.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 639
Effusion Cooling simulation in a 3D model Combustor
a. Enable the Interaction with Continuous Phase in the Interaction group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
640 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 641
Effusion Cooling simulation in a 3D model Combustor
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
642 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
B. Select Cone as the injection type and set the Number of Streams to 300.
D. Select kerosene-liquid as the Material and choose ch4 as the Evaporating Species.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 643
Effusion Cooling simulation in a 3D model Combustor
F. Set the X-Position [m] to 0.015 m, Y-Position [m] to 0.002 m, and the Z-Position
[m] to -0.08 m.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
644 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
16.5.6. Materials
In this step, you will examine the default settings for the droplet material. This tutorial uses droplet prop-
erties copied from theFluent Database. In general, you can modify these or create your own droplet
properties for your specific problem as necessary .
a. Retain the droplet particle properties. In this case, the default properties settings are used so
no changes are needed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 645
Effusion Cooling simulation in a 3D model Combustor
The Operating Conditions dialog box can also be accessed from the Cell Zone Conditions task page.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
646 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Normal to the Boundary from the Direction Specification Method drop-down list.
d. Select Intensity and Viscosity Ratio from the Specification Method drop-down list in the
Turbulence group box.
g. Click the Thermal tab and retain the default value of 755.37222 for Temperature.
h. Click the DPM tab and select escape for the Discrete Phase BC Type.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 647
Effusion Cooling simulation in a 3D model Combustor
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
648 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iii. Click Injection Holes Geometry... button to view the detailed setup for Injection Holes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 649
Effusion Cooling simulation in a 3D model Combustor
iv. Click Dynamic Conditions... Edit… button to view the detailed setup for dynamic injec-
tion conditions for all the holes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
650 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 651
Effusion Cooling simulation in a 3D model Combustor
Retain the default selections. In Spatial Discretization box, select Second Order for Pressure, Second
Order Upwind for Density, and First Order Upwind for the other equations
2. Set the solution control parameters.This model combustor is relatively sensitive to the numerical
settings, thus to be conservative, low pseudo time explicit relaxation factors are used. Set all the
pseudo time explicit relaxation factors to be 0.1 except Body Forces since there is no body force
considered in this case. With 0.1 as the relaxation factors, the case may need more number of it-
erations to converge
Enter 0.1 for all the Pseudo Time Explicit Relaxation Factors, except for Body Forces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
652 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Solution → Initialization
a. Retain the default Hybrid initialization method and click Initialize to initialize the variables.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 653
Effusion Cooling simulation in a 3D model Combustor
b. Ensure that Write Binary Files is enabled to produce a smaller, unformatted binary file.
b. Click Calculate.
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.
1. Initialize the Progress Variable variable used for the ignition model.
Solution → Initialization
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
654 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select Standard initialization method and click Patch... to initialize the variables.
b. Click Calculate.
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.
16.5.11. Postprocessing
Review the solution by examining graphical displays of the results.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 655
Effusion Cooling simulation in a 3D model Combustor
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
656 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 657
Effusion Cooling simulation in a 3D model Combustor
d. Select Pdf... and Mean Mixture Fraction in the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
658 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
16.6. Summary
In this tutorial you used Ansys Fluent to model the effusion cooling effects with perforated wall model
in a 3D model combustor. Discrete injection type is used here for the effusion cooling injections. The
procedures used here for simulation of effusion cooling can be applied to other combustors.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 659
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
660 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 17: Modeling Surface Chemistry
This tutorial is divided into the following sections:
17.1. Introduction
17.2. Prerequisites
17.3. Problem Description
17.4. Setup and Solution
17.5. Summary
17.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.
17.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 661
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.
(17.1)
(17.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
662 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
17.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 663
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
664 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
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 dis-
tinguish between them quickly. Use the middle mouse button to zoom the image.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 665
Modeling Surface Chemistry
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
666 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
The Full Multicomponent Diffusion activates Stefan-Maxwell’s equations and computes the dif-
fusive 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.
e. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 667
Modeling Surface Chemistry
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
Materials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
668 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
f. Create as_s, ga and 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 669
Modeling Surface Chemistry
ii. Set the Selected Species from the Available Materials selection list as shown in
Table 17.1: Selected Species (p. 670) .
Selected Species
ash3
game3
ch3
h2
Important:
• Ensure that h2 is at the bottom in the Selected Species selection list as shown
in Table 17.1: Selected Species (p. 670). Ansys Fluent will interpret the last
species in the list as the bulk species.
Note:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
670 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
• 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 (Selected 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. 690).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 671
Modeling Surface Chemistry
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.
a. Click the Edit... button to the right of the names drop-down list for Mixture Species in the
Properties group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
672 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Specify the Selected Site Species and the Selected Solid Species as shown in
Table 17.2: Selected Site and Solid Species (p. 673).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 673
Modeling Surface Chemistry
d. Increase the Total Number of Reactions to 2, and define the following reactions using the
parameters in Table 17.3: Reaction Parameters (p. 674) :
(17.3)
(17.4)
Parameter For Equation 17.3 (p. 674) For Equation 17.4 (p. 674)
Reaction ID 1 2 [a]
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
674 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Parameter For Equation 17.3 (p. 674) For Equation 17.4 (p. 674)
Rate Exponent ash3= 1, ga_s= 1 game3= 1, as_s= 1
Arrhenius Rate PEF= 1e+06, AE= 0, TE= 0.5 PEF= 1e+12, AE= 0, TE= 0.5
[b]
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 = Tem-
perature 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
Mechanisms dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 675
Modeling Surface Chemistry
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
676 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Important:
Tip:
Scroll down in the Properties group box to see all the parameters.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 677
Modeling Surface Chemistry
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.
Note:
Make sure to click Change/Create each time you modify the properties for the
material to apply the changes to the local copy.
e. Enter the parameter values for the ga_s species as shown in Table 17.5: Properties of Spe-
cies (p. 678).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
678 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. Modify the material properties for As_s, Ga, and As as shown in Table 17.5: Properties of Spe-
cies (p. 678).
a. Retain the default selection of Magnitude, Normal to Boundary from the Velocity Specific-
ation Method drop-down list.
b. Retain the default selection of Absolute from the Reference Frame drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 679
Modeling Surface Chemistry
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
680 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 681
Modeling Surface Chemistry
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
682 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 683
Modeling Surface Chemistry
The Wall dialog box will expand to wall motion inputs and options.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
684 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Enable Reaction.
ii. Retain the selection of gaas-ald from the Reaction Mechanisms drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 685
Modeling Surface Chemistry
b. Enable Gravity.
The Operating Conditions dialog box can be accessed from the Cell Zone Conditions task page.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
686 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 687
Modeling Surface Chemistry
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
688 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Retain the default settings and close the Residual Monitors dialog box.
Solution → Initialization
a. Retain the default selection of Hybrid Initialization from the Initialization Methods group
box.
b. Click Initialize.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 689
Modeling Surface Chemistry
b. Ensure that Mass Deposition Source is enabled in the Wall Surface Reaction Options group
box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
690 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 691
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.
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 toler-
ances by at least an order of magnitude and continue iterating.
5. Display contours of surface deposition rate of ga (Figure 17.3: Contours of Surface Deposition Rate
of Ga (p. 694)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
692 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Species... and Surface Deposition Rate of ga from the Contours of drop-down lists.
f. Disable the Headlight and Lighting options in the View ribbon tab.
Rotate the display with the mouse to obtain the view as shown in (Figure 17.3: Contours of Surface
Deposition Rate of Ga (p. 694)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 693
Modeling Surface Chemistry
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
694 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 695
Modeling Surface Chemistry
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
696 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 697
Modeling Surface Chemistry
2. Display contours of temperature on the plane surface created. (Figure 17.5: Temperature Contours
Near wall-4 (p. 699)).
c. Select Temperature... and Static Temperature from the Contours of drop-down lists.
e. Click Save/Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
698 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 17.5: Temperature Contours Near wall-4 (p. 699) 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 17.6: Contours of Surface Deposition
Rate of ga (p. 700)).
Figure 17.6: Contours of Surface Deposition Rate of ga (p. 700) shows the gradient of surface deposition
rate of ga. The maximum deposition is seen at the center of the disk.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 699
Modeling Surface Chemistry
4. Display contours of surface coverage of ga_s (Figure 17.7: Contours of Surface Coverage of
ga_s (p. 702)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
700 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Species... and Surface Coverage of ga_s from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 701
Modeling Surface Chemistry
Figure 17.7: Contours of Surface Coverage of ga_s (p. 702) shows the rate of surface coverage of the
site species ga_s.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
702 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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-8 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 17.8: Plot of Surface Deposition
Rate of Ga (p. 705)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 703
Modeling Surface Chemistry
c. 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.
d. Select line-8 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
704 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
Extra:
You can also perform all the postprocessing steps to analyze the deposition of As.
17.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 705
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
706 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 18: Modeling Evaporating Liquid Spray
This tutorial is divided into the following sections:
18.1. Introduction
18.2. Prerequisites
18.3. Problem Description
18.4. Setup and Solution
18.5. Summary
18.1. Introduction
In this tutorial, the air-blast atomizer model in Ansys Fluent is used to predict the behavior of an evap-
orating 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.
18.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 707
Modeling Evaporating Liquid Spray
18.4.1. Preparation
To prepare for running this tutorial:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
708 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
18.4.2. Mesh
1. Read in the mesh file sector.msh.h5.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 709
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
710 of ANSYS, Inc. and its subsidiaries and affiliates.
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
selection 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 18.2: Air-Blast Atomizer Mesh Display (p. 712).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 711
Modeling Evaporating Liquid Spray
18.4.3. Solver
Retain the default solver settings of pressure-based steady-state solver in the Solver group of the
Physics tab.
Physics → Solver
18.4.4. Models
1. Enable heat transfer by enabling the energy equation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
712 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 713
Modeling Evaporating Liquid Spray
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
714 of ANSYS, Inc. and its subsidiaries and affiliates.
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 Mater-
ial 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 material selection or modify the mixture material properties using the Cre-
ate/Edit Materials dialog box. You will modify your local copy of the mixture material later in this
tutorial.
18.4.5. Materials
Define materials using the Materials task page.
Setup → Materials
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 715
Modeling Evaporating Liquid Spray
1. Remove water vapor and carbon dioxide from the Mixture Species list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
716 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 717
Modeling Evaporating Liquid Spray
1. Set the boundary conditions for the inner air stream (central_air).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
718 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
i. Click the Thermal tab and enter 293 K for Total Temperature.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 719
Modeling Evaporating Liquid Spray
j. 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).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
720 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 721
Modeling Evaporating Liquid Spray
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
722 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
k. Click the Species tab and enter 0.23 for o2 in the Species Mass Fractions group box.
5. Set the boundary conditions for the outer wall of the atomizer (outer-wall).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 723
Modeling Evaporating Liquid Spray
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
724 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 725
Modeling Evaporating Liquid Spray
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
726 of ANSYS, Inc. and its subsidiaries and affiliates.
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 (Fig-
ure 18.4: Velocity Magnitude at Mid-Point of Atomizer Section (p. 729)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 727
Modeling Evaporating Liquid Spray
c. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
g. Use the mouse to obtain the view shown in Figure 18.4: Velocity Magnitude at Mid-Point of
Atomizer Section (p. 729).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
728 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. De-Select all the Associated Surfaces and select the atomizer-wall from the selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 729
Modeling Evaporating Liquid Spray
11. Display pathlines of the air in the swirling annular stream (Figure 18.5: Pathlines of Air in the
Swirling Annular Stream (p. 731)).
c. 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.
f. Use the mouse to obtain the view shown in Figure 18.5: Pathlines of Air in the Swirling Annular
Stream (p. 731).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
730 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 731
Modeling Evaporating Liquid Spray
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.
d. Select the Unsteady Particle Tracking option in the Particle Treatment group box.
g. Under the Physical Models tab, enable Temperature Dependent Latent Heat and Breakup
in the Options group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
732 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 733
Modeling Evaporating Liquid Spray
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
734 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 735
Modeling Evaporating Liquid Spray
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 Azi-
muthal 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
736 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 737
Modeling Evaporating Liquid Spray
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,
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
738 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 739
Modeling Evaporating Liquid Spray
h. Click Change/Create to accept the change in properties for the methanol droplet material
and close the Create/Edit Materials dialog box.
18.4.9. Solution
1. Increase the under-relaxation factor for Discrete Phase Sources.
In the Pseudo Time Explicit Relaxation Factors group box, change the under-relaxation factor
for Discrete Phase Sources to 0.9.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
740 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Enable Show Advanced Options and select none from the Convergence Criterion drop-
down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 741
Modeling Evaporating Liquid Spray
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/Mon-
itors/Report Plots tree branch.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
742 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 743
Modeling Evaporating Liquid Spray
i. In the Plot Window group box, click the Axes... button to open the Axes dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
744 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 745
Modeling Evaporating Liquid Spray
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
746 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 18.6: Convergence History of Mass Fraction of ch3oh on Flu-
id (p. 747), Figure 18.7: Convergence History of DPM Mass Source on Fluid (p. 748), Figure 18.8: Con-
vergence History of Total Mass in Domain (p. 748), and Figure 18.9: Convergence History of Evap-
orated Particle Mass (p. 749)).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 747
Modeling Evaporating Liquid Spray
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
748 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
18.4.10. Postprocessing
1. Display the trajectories of the droplets in the spray injection (Figure 18.10: Particle Tracks for the
Spray Injection (p. 751)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 749
Modeling Evaporating Liquid Spray
c. Retain the default selection of point from the Track Style drop-down list.
d. 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.
f. Click Save/Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
750 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
h. Restore the 30–degree section to obtain the view as shown in Figure 18.10: Particle Tracks for
the Spray Injection (p. 751).
ii. Click Display and close the Periodic Instancing dialog box.
i. Use the mouse to obtain the view shown in Figure 18.10: Particle Tracks for the Spray Injec-
tion (p. 751).
The air-blast atomizer model assumes that a cylindrical liquid sheet exits the atomizer, which then
disintegrates 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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 751
Modeling Evaporating Liquid Spray
droplet sizes is due to the fact that the air-blast atomizer automatically uses a distribu-
tion 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 second-
ary 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 domain, the air-blast atomizer model no longer affects the droplet.
2. Display the mean particle temperature field (Figure 18.11: Contours of DPM Temperature (p. 753)).
d. Select Discrete Phase Variables... and DPM Temperature from the Contours of drop-down
lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
752 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
j. Use the mouse to obtain the view shown in Figure 18.11: Contours of DPM Temperature (p. 753).
3. Display the mean Sauter diameter (Figure 18.12: Contours of DPM Sauter Diameter (p. 754)).
d. Select Discrete Phase Variables... and DPM D32 from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 753
Modeling Evaporating Liquid Spray
4. Display vectors of DPM mean velocity colored by DPM velocity magnitude (Figure 18.13: Vectors
of DPM Mean Velocity Colored by DPM Velocity Magnitude (p. 756)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
754 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Select Discrete Phase Variables... and DPM Velocity Magnitude from the Color by drop-
down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 755
Modeling Evaporating Liquid Spray
Figure 18.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
756 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 757
Modeling Evaporating Liquid Spray
a.
ii. Select atomizer-walland methanol-mf=0.002 from the Associated Surfaces selection list.
c. Use the mouse to obtain the view shown in Figure 18.14: Full Atomizer Display with Surface
of Constant Methanol Mass Fraction (p. 759).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
758 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 18.14: Full Atomizer Display with Surface of Constant Methanol Mass Fraction
d. This view can be improved to resemble Figure 18.15: Atomizer Display with Surface of Constant
Methanol Mass Fraction Enhanced (p. 760) by changing some of the following variables:
• Enable Lighting and change it to Flat in the View tab (Display group)
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 759
Modeling Evaporating Liquid Spray
Figure 18.15: Atomizer Display with Surface of Constant Methanol Mass Fraction Enhanced
18.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
760 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 19: Using the VOF Model
This tutorial is divided into the following sections:
19.1. Introduction
19.2. Prerequisites
19.3. Problem Description
19.4. Setup and Solution
19.5. Summary
19.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.
19.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 761
Using the VOF Model
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
762 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
• 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 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.
19.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 763
Using the VOF Model
Note:
The double precision solver is recommended for modeling multiphase flows simulation.
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. 768).
2. Examine the mesh (Figure 19.2: Default Display of the Nozzle Mesh (p. 764)).
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 19.3: The Quadrilat-
eral Mesh (p. 765)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
764 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 765
Using the VOF Model
c. Click Apply.
d. Click the Camera... button to open the Camera Parameters dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
766 of ANSYS, Inc. and its subsidiaries and affiliates.
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 19.4: Mesh Display of the Nozzle Mirrored and Up-
right (p. 768)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 767
Using the VOF Model
ii. Click Apply and close the Camera Parameters dialog box.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
768 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 769
Using the VOF Model
6. Retain the default setting of Pressure-Based in the Solver group box of the General task page.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
770 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
19.4.4. Models
1. Enable the laminar viscous model.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 771
Using the VOF Model
b. Retain the default settings and click Apply and then Close to close the Multiphase Model
dialog box.
Important:
When setting up your case, if you have made changes in the current tab, you should
click the Apply button to make them effective before moving to the next tab.
Otherwise, the relevant models may not be available in the other tabs, and your
settings may be lost.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
772 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
19.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.
a. Click Fluent Database... in the Create/Edit Materials dialog box to open the Fluent Database
Materials dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 773
Using the VOF Model
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.
19.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
774 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Retain the default selection of air in the Phase Material drop-down list.
d. Click Apply
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 775
Using the VOF Model
d. Click Apply.
In the Multiphase Model dialog box, open the Phase Interaction tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
776 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Force tab, select Surface Tension Force Modeling (Global Options group box).
The surface tension inputs is displayed and the Continuum Surface Force model is set as the default.
b. Enable Wall Adhesion (Adhesion Options group box) so that contact angles can be prescribed.
c. For Surface Tension Coefficient (Force Setup group box), select constant from the drop-
down list and enter 73.5 dyn/cm .
d. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 777
Using the VOF Model
You will set the Reference Pressure Location to be a point where the fluid will always be 100 air.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
778 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Enter the expression in the Expression Editor dialog box as shown and click OK and close
the dialog box.
IF(t<=10e-06[sec],3.58[m/s]*cos(PI*t/30e-6[s]),0[m/s])
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 779
Using the VOF Model
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.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
780 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 781
Using the VOF Model
19.4.9. Solution
1. Set the solution methods.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
782 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 conver-
gence 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 783
Using the VOF Model
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
784 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Retain the default settings for all the parameters and click Initialize (either in the ribbon or
in the Solution Initialization task page.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 785
Using the VOF Model
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
786 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Enter a setting of 0 mm for X Min and Y Min in the Input Coordinates group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 787
Using the VOF Model
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.h5 extension will also be appended. This will yield file names of the form inkjet-1-
00200.dat.h5, where 200 is the time step number.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
788 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
19.4.10. Postprocessing
1. Read the data file for the solution after 6 microseconds (inkjet-1-00600.dat.h5).
2. Create and display a filled contour of water volume fraction after 6 microseconds (Figure 19.5: Con-
tours of Water Volume Fraction After 6 μs (p. 791)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 789
Using the VOF Model
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
790 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Display contours of water volume fraction after 12, 18, 24, and 30 microseconds (Figure 19.6: Con-
tours of Water Volume Fraction After 12 μs (p. 792) - Figure 19.9: Contours of Water Volume Fraction
After 30 μs (p. 793)).
a. Read the data file for the solution after 12 microseconds (inkjet-1-01200.dat.h5).
c. Repeat these steps for the 18, 24, and 30 microseconds files.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 791
Using the VOF Model
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
792 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
19.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 793
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
794 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 20: Modeling Cavitation
This tutorial is divided into the following sections:
20.1. Introduction
20.2. Prerequisites
20.3. Problem Description
20.4. Setup and Solution
20.5. Summary
20.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.
20.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 795
Modeling Cavitation
20.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
796 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
4. Examine the mesh (Figure 20.2: The Mesh in the Orifice (p. 798)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 797
Modeling Cavitation
As seen in Figure 20.2: The Mesh in the Orifice (p. 798), 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
798 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
20.4.4. Models
1. Enable the multiphase mixture model.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 799
Modeling Cavitation
In this flow, the high level of turbulence does not allow large bubble growth, so gravity is not im-
portant. It is also assumed that the bubbles have same velocity as the liquid. Therefore, there is no
need to solve for the slip velocity.
Important:
When setting up your case, if you have made changes in the current tab, you should
click the Apply button to make them effective before moving to the next tab.
Otherwise, the relevant models may not be available in the other tabs, and your
settings may be lost.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
800 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
20.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 801
Modeling Cavitation
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
802 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Select water-vapor (h2o) from the Fluent Fluid Materials selection list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 803
Modeling Cavitation
20.4.6. Phases
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
804 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 805
Modeling Cavitation
d. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
806 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. In the Heat, Mass, Reaction tab, set Number of Mass Transfer Mechanisms to 1.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 807
Modeling Cavitation
The vaporization pressure is a property of the working liquid, which depends mainly on the
temperature and pressure. The default value is the vaporization pressure of water at 1 atmo-
sphere and a temperature of 300 K.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
808 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 809
Modeling Cavitation
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 calcu-
lation, 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
810 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Multiphase tab, retain the default value of 0 for Volume Fraction.
ii. Click Apply and close the Pressure Inlet dialog box.
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
inlet_2. Click OK.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 811
Modeling Cavitation
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
812 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Multiphase tab, retain the default value of 0 for Backflow Volume Fraction.
ii. Click Apply and close the Pressure Outlet dialog box.
20.4.9. Solution
1. Set the solution parameters.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 813
Modeling Cavitation
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
814 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 time explicit relaxation factor for Volume Fraction to 0.3.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 815
Modeling Cavitation
b. Enter 1e-05 for the Absolute Criteria of continuity, x-velocity, y-velocity, k, omega, and
vf-vapor.
Decreasing the criteria for these residuals will improve the accuracy of the solution.
Solution → Initialization
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
816 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 817
Modeling Cavitation
b. Click Calculate.
20.4.10. Postprocessing
1. Create and plot a definition of pressure contours in the orifice (Figure 20.3: Contours of Static
Pressure (p. 820)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
818 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Retain the default selection of Pressure... and Static Pressure from the Contours of drop-
down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 819
Modeling Cavitation
Note the dramatic pressure drop at the flow restriction in Figure 20.3: Contours of Static Pressure (p. 820).
Low static pressure is the major factor causing cavitation. Additionally, turbulence contributes to
cavitation due to the effect of pressure fluctuation (Figure 20.4: Mirrored View of Contours of Static
Pressure (p. 821)) and turbulent diffusion (Figure 20.5: Contours of Turbulent Kinetic Energy (p. 822)).
2. Mirror the display across the centerline (Figure 20.4: Mirrored View of Contours of Static Pres-
sure (p. 821)).
Mirroring the display across the centerline gives a more realistic view.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
820 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Select symm_2 and symm_1 from the Mirror Planes selection list.
3. Create and plot a contour definition of the turbulent kinetic energy (Figure 20.5: Contours of Tur-
bulent Kinetic Energy (p. 822)).
d. Select Turbulence... and Turbulent Kinetic Energy(k) from the Contours of drop-down lists.
e. Click Save/Display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 821
Modeling Cavitation
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 20.6: Contours
of Vapor Volume Fraction (p. 823)).
d. Select Phases... and Volume fraction from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
822 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
The high turbulent kinetic energy region near the neck of the orifice in Figure 20.5: Contours of Turbulent
Kinetic Energy (p. 822) coincides with the highest volume fraction of vapor in Figure 20.6: Contours of
Vapor Volume Fraction (p. 823). This indicates the correct prediction of a localized high phase change
rate. The vapor then gets convected downstream by the main flow.
20.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 computa-
tionally 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 823
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
824 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 21: Using the Eulerian Multiphase Model
This tutorial is divided into the following sections:
21.1. Introduction
21.2. Prerequisites
21.3. Problem Description
21.4. Setup and Solution
21.5. Summary
21.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.
21.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 825
Using the Eulerian Multiphase Model
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
826 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
21.4.10. Postprocessing
21.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
21.4.2. Mesh
1. Read the mesh file mixing_tank.msh.h5.
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.
b. In the Surfaces selection list, select wall_liquid_level, gas-inlet, and Wall (to select all walls),
deselect fluid-tank_body
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 827
Using the Eulerian Multiphase Model
4. Examine the mesh (Figure 21.2: Mesh Display of the Mixing Tank (p. 828)).
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
828 of ANSYS, Inc. and its subsidiaries and affiliates.
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 Accel-
eration 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.
21.4.4. Models
1. Enable the Eulerian multiphase 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.
Enabling the Eulerian multiphase model will also automatically enable the operating density parameters.
You can verify this in the Operating Conditions dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 829
Using the Eulerian Multiphase Model
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.
21.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
Materials dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
830 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
21.4.6. Phases
In the following steps you will define the liquid water and air phases that flow in the mixing tank.
1. In the Phases tab of the Multiphase Model dialog box, specify liquid water as the primary phase.
d. Click Apply.
c. 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.
e. Click Apply.
b. In the Forces tab, select grace from the Coefficient drop-down list (Drag Coefficient group
box).
The Grace model is suitable for liquid-gas mixtures with low gas density and bubble sizes of 1-
2 mm.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 831
Using the Eulerian Multiphase Model
c. For Surface Tension Coefficients (Force Setup group box), select constant from the drop-
down list and enter 0.073.
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 (flu-
id_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 rev/min for Speed in the Rotational Velocity group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
832 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
3. Retain the default settings for fluid_tank-2, which is stationary in the absolute reference frame.
The degassing boundary condition at the top of the fluid was created in a meshing application. At the
degassing 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).
21.4.9. Solution
1. Specify the discretization schemes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 833
Using the Eulerian Multiphase Model
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
834 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. After the solution has converged, save the case and data files (mixing_tank.cas.h5 and
mixing_tank.dat.h5).
21.4.10. Postprocessing
1. Display the distribution of air on the XZ plane (Figure 21.4: Contours of Air Volume Fraction on
the XZ plane (p. 837)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 835
Using the Eulerian Multiphase Model
b. From the Contours of drop-down lists, select Phases... and Volume Fraction.
d. 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
836 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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'.
ii. Enable Edges and disable Faces in the Options group box.
j. Click Save/Display and use the interactive triad to orient the view as shown in Figure 21.4: Con-
tours of Air Volume Fraction on the XZ plane (p. 837).
Note:
You may need to deselect Headlight and 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 im-
pellers 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 21.5: Contours of Air Volume Fraction
on the z=0.08 plane (p. 838)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 837
Using the Eulerian Multiphase Model
b. Set up the contour plot in a similar manner to step 1, except using the z=0.08 instead of y=0.
d. In the View Tools toolbar, from the Set View drop-down list ( ), select the view from the
positive Z axis ( ) to obtain the view shown in Figure 21.5: Contours of Air Volume Fraction
on the z=0.08 plane (p. 838).
Note that the air is collecting on the bottom surface of the Rushton blade turbine disk before its
dispersed by the impeller’s blades.
3. Display vectors of velocity magnitude for water on the XZ plane (Figure 21.6: Vectors of Water
Velocity Magnitude on the XZ plane (p. 839)).
Since the Eulerian model solves individual momentum equations for each phase, you can choose
the phase for which solution data is plotted.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
838 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. From the Color by drop-down lists, select Velocity... and Velocity Magnitude.
h. In the Surfaces selection list, deselect all surfaces by clicking and then select y=0,
wall_impeller_1, and wall_impeller_2.
i. Click Save/Display, close the Vectors dialog box, and use the interactive triad to orient the
view as shown in Figure 21.6: Vectors of Water Velocity Magnitude on the XZ plane (p. 839).
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 21.7: Vectors of Air Velocity
Magnitude on the XZ plane (p. 840)).
d. Under Vectors of, select air from the Phase drop-down list.
e. Under Color by, select air from the Phase drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 839
Using the Eulerian Multiphase Model
f. In the Surfaces selection list, deselect all surfaces by clicking and then select y=0,
wall_impeller_1, and wall_impeller_2.
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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
840 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
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.
21.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 841
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
842 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 22: Modeling Solidification
This tutorial is divided into the following sections:
22.1. Introduction
22.2. Prerequisites
22.3. Problem Description
22.4. Setup and Solution
22.5. Summary
22.1. Introduction
This tutorial illustrates how to set up and solve a problem involving solidification and will demonstrate
how to do the following:
22.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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.
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 843
Modeling Solidification
initial condition. Then, the fluid flow is enabled to investigate the effect of natural and Marangoni
convection in a transient fashion.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
844 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
22.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 845
Modeling Solidification
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
846 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 847
Modeling Solidification
a. Enable Gravity.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
848 of ANSYS, Inc. and its subsidiaries and affiliates.
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
solidification model, so you need not visit the Energy dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 849
Modeling Solidification
b. Select polynomial from the Density drop-down list in the Properties group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
850 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. Set Coefficients to 2.
ii. In the Coefficients group box, enter 8000 for 1 and -0.1 for 2.
As shown in Figure 22.1: Solidification in Czochralski Model (p. 844), the density of the material
is defined by a polynomial function: .
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 851
Modeling Solidification
Scroll down the group box to find Pure Solvent Melting Heat and the properties that follow.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
852 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 853
Modeling Solidification
Here, the solid is pulled out with a specified velocity, so a velocity inlet boundary condition is used with
a positive axial velocity component.
The Velocity Inlet dialog box will change to show related inputs.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
854 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 855
Modeling Solidification
The Marangoni Stress condition allows you to specify the gradient of the surface tension with
respect to temperature at a wall boundary.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
856 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 857
Modeling Solidification
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
858 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 859
Modeling Solidification
a. Select Coupled from the Scheme drop-down list in the Pressure-Velocity Coupling group
box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
860 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 Time Method option enables an algorithm in the coupled pressure-based solver that
effectively adds an unsteady term to the solution equations, in order to improve stability and con-
vergence behavior. The use of this option is recommended for general fluid flow problems.
a. Deselect Flow and Swirl Velocity from the Equations selection list to disable the calculation
of flow and swirl velocity equations.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 861
Modeling Solidification
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
862 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 863
Modeling Solidification
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.
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 & Customization/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 selec-
tion 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
864 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
8. Save the initial case and data files (solid0.cas.h5 and solid0.dat.h5).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 865
Modeling Solidification
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.
b. Retain the default values of 1 s and 1000 s for the Pseudo Time Step Size in the Fluid Time
Scale and the Solid Time Scale group boxes, respectively.
d. Click Calculate.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
866 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
10. Create and display the definition of filled temperature contours (Figure 22.3: Contours of Temper-
ature for the Steady Conduction Solution (p. 868)).
d. Select Temperature... and Static Temperature from the Contours of drop-down lists.
e. Click Save/Display (Figure 22.3: Contours of Temperature for the Steady Conduction Solu-
tion (p. 868)) and close the Contours dialog box.
The temperature contour definition appear under the Results/Graphics/Contours tree branch.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 867
Modeling Solidification
11. Display filled contours of temperature to determine the thickness of mushy zone.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
868 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. Deselect default-interior from the Surfaces selection list and close the Mesh Display dialog
box.
g. Click Save/Display (See Figure 22.4: Contours of Temperature (Mushy Zone) for the Steady
Conduction Solution (p. 870)) and close the Contours dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 869
Modeling Solidification
Figure 22.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.h5 and sol-
id.dat.h5).
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
870 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 871
Modeling Solidification
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
872 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 873
Modeling Solidification
5. Save the initial case and data files (solid01.cas.h5 and solid01.dat.h5).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
874 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 875
Modeling Solidification
8. Create and display the definition of liquid fraction contours by modifying the stream-function
contour definition (Figure 22.6: Contours of Liquid Fraction at t=0.2 s (p. 877)).
d. Select Solidification/Melting... and Liquid Fraction from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
876 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The liquid fraction contours show the current position of the melt front. Note that in Figure 22.6: Contours
of Liquid Fraction at t=0.2 s (p. 877), 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.
10. Display filled contours of the temperature after 5 seconds using the contour definition created
earlier (Figure 22.7: Contours of Temperature at t=5 s (p. 878)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 877
Modeling Solidification
As shown in Figure 22.7: Contours of Temperature at t=5 s (p. 878), the temperature contours are fairly
uniform through the melt front and solid material. The distortion of the temperature field due to the
recirculating 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
temperature.
11. Display filled contours of liquid fraction (Figure 22.8: Contours of Liquid Fraction at t=5 s (p. 879)).
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
established (Figure 22.8: Contours of Liquid Fraction at t=5 s (p. 879)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
878 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
12. Save the case and data files for the solution at 5 seconds (solid5.cas.h5 and sol-
id5.dat.h5).
22.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 879
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
880 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 23: Using the Eulerian Granular Multiphase
Model with Heat Transfer
This tutorial is divided into the following sections:
23.1. Introduction
23.2. Prerequisites
23.3. Problem Description
23.4. Setup and Solution
23.5. Summary
23.6. References
23.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.
23.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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.
In order to complete the steps to compile the UDF, you will need to have a working C compiler installed
on your machine.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 881
Using the Eulerian Granular Multiphase Model with Heat Transfer
amined, which you can then compare with analytical results [1]. The geometry and data for the problem
are shown in Figure 23.1: Problem Schematic (p. 882).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
882 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
23.4.9. Solution
23.4.10. Postprocessing
23.4.1. Preparation
To prepare for running this tutorial:
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
Note:
The double precision solver is recommended for modeling multiphase flow sim-
ulations.
8. 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.
23.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 883
Using the Eulerian Granular Multiphase Model with Heat Transfer
3. Examine the mesh (Figure 23.2: Mesh Display of the Fluidized Bed (p. 884)).
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.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
884 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Enable Gravity.
23.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 885
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.
23.4.5. UDF
1. Compile the user-defined function, conduct.c, that will be used to define the thermal conduct-
ivity for the gas and solid phases.
a. Click the Add... button below the Source Files option to open the Select File dialog box.
b. Select the file conduct.c and click OK in the Select File dialog box.
c. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
886 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
23.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 887
Using the Eulerian Granular Multiphase Model with Heat Transfer
d. Retain the selection of user-defined from the Thermal Conductivity drop-down list.
e. 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.
23.4.7. Phases
You will now configure the phases.
1. In the Phases tab of the Multiphase Model dialog box, define air as the primary phase.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
888 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Ensure that air is selected from the Phase Material drop-down list.
d. Click Apply.
Important:
When setting up your case, if you have made changes in the current tab, you should
click the Apply button to make them effective before moving to the next tab.
Otherwise, the relevant models may not be available in the other tabs, and your
settings may be lost.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 889
Using the Eulerian Granular Multiphase Model with Heat Transfer
d. Enable Granular.
e. Retain the default selection of Phase Property in the Granular Temperature Model group
box.
i. Select constant from the Granular Temperature drop-down list and enter 1e-05.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
890 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
k. Click Apply.
3. In the Phases Interaction tab of the Multiphase Model dialog box, define the interphase inter-
actions formulations to be used.
a. In the Forces tab, select syamlal-obrien from the Coefficient drop-down list (Drag Coefficient
group box).
b. Click Apply.
d. 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.
e. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 891
Using the Eulerian Granular Multiphase Model with Heat Transfer
f. 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 con-
siders the volume fraction of both the primary and secondary phases in the interfacial area calcu-
lation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
892 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
1. Set the boundary conditions for the lower velocity inlet (v_uniform) for the primary phase.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 893
Using the Eulerian Granular Multiphase Model with Heat Transfer
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 Spe-
cification Method drop-down list.
iii. Click the Thermal tab and enter 293 K for Temperature.
iv. Click Apply and close the Velocity Inlet dialog box.
ii. Click the Edit... button to open the Velocity Inlet dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
894 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
D. Click the Multiphase tab and retain the default value of 0 for Volume Fraction.
2. 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.
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.
iv. Click Apply and close the Velocity Inlet dialog box.
ii. Click the Edit... button to open the Velocity Inlet dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 895
Using the Eulerian Granular Multiphase Model with Heat Transfer
D. Click the Multiphase tab and retain the default value of 0 for the Volume Fraction.
3. 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.
b. Click the Edit... button to open the Pressure Outlet dialog box.
ii. Click Apply and close the Pressure Outlet dialog box.
4. Set the boundary conditions for the pressure outlet (poutlet) for the primary phase.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
896 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Click the Edit... button to open the Pressure Outlet dialog box.
ii. Click Apply and close the Pressure Outlet dialog box.
ii. Click the Edit... button to open the Pressure Outlet dialog box.
A. In the Thermal tab, enter 293 K for the Backflow Total Temperature.
5. 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 897
Using the Eulerian Granular Multiphase Model with Heat Transfer
i. In the Thermal tab, select Temperature from the Thermal Conditions list.
6. Set the boundary conditions for the heated wall (wall_hot) for the primary phase.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
898 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Retain the default No Slip condition and click Apply and close the Wall dialog box.
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.
23.4.9. Solution
1. Select the second order implicit transient formulation and higher-order spatial discretization
schemes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 899
Using the Eulerian Granular Multiphase Model with Heat Transfer
a. Select Second Order Implicit from the Transient Formulation drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
900 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 901
Using the Eulerian Granular Multiphase Model with Heat Transfer
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
902 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 903
Using the Eulerian Granular Multiphase Model with Heat Transfer
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 x and 0.24 m for y in the Coordinates group box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
904 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 905
Using the Eulerian Granular Multiphase Model with Heat Transfer
7. Define a cell register for the lower half of the fluidized bed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
906 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 907
Using the Eulerian Granular Multiphase Model with Heat Transfer
9. Patch the initial volume fraction of solids in the lower half of the fluidized bed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
908 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 23.3: Initial Volume Fraction of Granular
Phase (solids) (p. 910)).
d. Ensure that Volume fraction is selected from the lower Contours of drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 909
Using the Eulerian Granular Multiphase Model with Heat Transfer
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
910 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 911
Using the Eulerian Granular Multiphase Model with Heat Transfer
Figure 23.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.h5 and fluid-bed.dat.h5).
23.4.10. Postprocessing
1. Display the pressure field in the fluidized bed (Figure 23.5: Contours of Static Pressure (p. 914)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
912 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
d. Select Pressure... and Static Pressure from the Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 913
Using the Eulerian Granular Multiphase Model with Heat Transfer
2. Display the volume fraction of solids (Figure 23.6: Contours of Volume Fraction of Solids (p. 915)).
d. Select Phases... and Volume fraction from the Contours of drop-down lists.
f. 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
914 of ANSYS, Inc. and its subsidiaries and affiliates.
References
23.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].
23.6. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 915
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
916 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 24: Modeling One-Way Fluid-Structure
Interaction (FSI) Within Fluent
This tutorial is divided into the following sections:
24.1. Introduction
24.2. Prerequisites
24.3. Problem Description
24.4. Setup and Solution
24.5. Summary
24.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.
24.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 917
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.
24.4.1. Preparation
To prepare for running this tutorial:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
918 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The files probe.msh.h5 and fluid_flow.jou can be found in the folder. Note that the solid
cell zone in the mesh file is appropriate for a 3D intrinsic FSI simulation, which requires that only
hexahedral, tetrahedral, wedge, and/or pyramid cell types are used and that a conformal mesh exists
between the solid and fluid zones.
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
8. Make sure that the Working Directory (in the General Options tab) is set to the one created
when you unzipped fsi_1way.zip.
This journal file will read the mesh file probe.msh.h5 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
calculations, 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 24.2: Velocity
Magnitude on the Symmetry Plane (p. 920)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 919
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
10. Save the initial case and data files as probe_fluid.cas.h5 and probe_fluid.dat.h5.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
920 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
24.4.3. Materials
1. Add steel to the list of solid materials by copying it from the Ansys Fluent materials database.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 921
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
922 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 923
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
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).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
924 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select displacement boundary conditions (that is, Node X-Displacement from the X-Displace-
ment 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 925
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. Select the Z-Displacement Boundary Condition drop-down list and the Z-Displacement
field (that is, Node Z-Displacement and set 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
926 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 927
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.
24.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
2. Disable the flow and turbulence equations, since in a one-way FSI simulation they will not change
from their converged state.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
928 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 929
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
a. Retain the default settings for the x-, y-, and z-displacement equations.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
930 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. After the solution has been calculated, save the case and data files (probe_fsi_1way.cas.h5
and probe_fsi_1way.dat.h5).
24.4.7. Postprocessing
1. Display the total displacement of the probe (Figure 24.3: Contours of Total Displacement (p. 932)).
b. Select Structure... 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 Save/Display, close the Contours dialog box, and rotate and magnify the view as shown
in Figure 24.3: Contours of Total Displacement (p. 932).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 931
Modeling One-Way Fluid-Structure Interaction (FSI) Within Fluent
24.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
932 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 25: Modeling Two-Way Fluid-Structure
Interaction (FSI) Within Fluent
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.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.
25.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 933
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, composed of silicone rubber. Turbulent
air enters the duct at 10 m/s, flows around the flaps, and exits through a pressure outlet. Symmetry allows
only half of the duct to be modeled.
25.4.1. Preparation
To prepare for running this tutorial:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
934 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 a 2D intrinsic FSI simulation,
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.
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
8. 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 25.2: Steady-
State Velocity Magnitude (p. 936)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 935
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
10. Mirror the display across the centerline (Figure 25.3: Duct with Mirroring (p. 937)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
936 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Close the Views dialog box and reposition the view as shown in Figure 25.3: Duct with Mirror-
ing (p. 937).
11. Save the initial case and data files as flap_fluid.cas.h5 and flap_fluid.dat.h5.
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.
Setup → General
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 937
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
a. Enable a time-dependent calculation by selecting Transient in the General task page (Solver
group).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
938 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
25.4.4. Materials
1. Create a new solid material for the flap.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 939
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
f. Click Change/Create, and click Yes in the Question dialog box to overwrite solid-1.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
940 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 941
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
a. In the Structure tab, select 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
942 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 943
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
944 of ANSYS, Inc. and its subsidiaries and affiliates.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 945
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
946 of ANSYS, Inc. and its subsidiaries and affiliates.
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 deform-
ation of the adjacent solid zone.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 947
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
948 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Click New Object and select Mesh... from the drop-down list to open the associated dialog
box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 949
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-
shadow, 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
950 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
iii. Disable the Auto Range option and enter 20 and 29 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 951
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
2. Create an animation definition for the fluid velocity and boundaries scene.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
952 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 953
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
954 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. Select Structure... and Total Displacement from the Contours of drop-down lists.
iii. Disable Auto Range and enter 0 and 5.1e-05 for Min and Max, respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 955
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
956 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
5. Add a structural point surface to a location of interest within the solid zone.
The Structural Point Surface dialog appears, as does a point triad in the graphics window. Zoom
into the mesh displayed in the graphics window to focus on the tip of the flap.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 957
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
b. Enter 0.0505 for the x coordinate, and enter 0.0095 for the y coordinate.
Alternatively,you can use the mouse to drag the point's position in the graphics window to an ap-
proximate location.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
958 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. Select Structure... and Total Displacement from the Contours of drop-down lists.
d. Enable the Report File, Report Plot, and Print to Console options.
e. Click OK.
This report definition will monitor and plot the vertex average of the displacement of the nodes that
surround the structural point surface.
25.4.9. Solution
1. Disable the checking of convergence for the displacement residual equations.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 959
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
a. Disable the Check Convergence options for the x- and y-displacement equations.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
960 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 961
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
25.4.10. Postprocessing
1. View the displacement of the flap's point surface (Figure 25.4: The Vertex Average Displacement
of the Flap's Point Surface (p. 962)).
Figure 25.4: The Vertex Average Displacement of the Flap's Point Surface
The monitored plot of the vertex average of the displacement at the point surface clearly shows dis-
placement over time.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
962 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 25.5: Contours of Velocity Magnitude (p. 964).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 963
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
j. Magnify the view as shown in Figure 25.6: Contours of Total Displacement (p. 965).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
964 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
n. Magnify the view as shown in Figure 25.7: The Mesh of the Displaced Flap (p. 966).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 965
Modeling Two-Way Fluid-Structure Interaction (FSI) Within Fluent
25.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
966 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 26: Using the Adjoint Solver – 2D Laminar
Flow Past a Cylinder
This tutorial is divided into the following sections:
26.1. Introduction
26.2. Problem Description
26.3. Setup and Solution
26.4. Summary
26.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 in-
crease the lift.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 967
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
8. 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_tu-
torial.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
968 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 969
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
1. Click the Manage... button to open the Manage Adjoint Observables dialog box.
2. Click the Create... button in the Manage Adjoint Observables dialog box to open the Create
New Observable dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
970 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. In the Manage Adjoint Observables dialog box, the newly created force-drag observable appears
and must now be configured. (Figure 26.6: Manage Observables Dialog Box (p. 972)):
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 971
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
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:
Name force-lift
Wall Zones wall
X-Component 0
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
972 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 Observables 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.
c. Click Evaluate to print the value of the drag force on the wall in the console.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 973
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
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 26.8: Adjoint Solution Controls Dialog
Box (p. 974)).
This prevents Fluent from automatically choosing and adjusting the solution controls for you.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
974 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Higher Courant Number values correspond to more aggressive settings / faster convergence,
which is appropriate for a simple case such as this.
3. Configure the adjoint solution monitors by opening the Adjoint Residual Monitors dialog box
(Figure 26.9: Adjoint Residual Monitors Dialog Box (p. 976)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 975
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
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. Enter values of 1e-05 for Adjoint continuity and Adjoint velocity, and keep the default
value of 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 26.10: Run Adjoint
Calculation Dialog Box (p. 976)).
a. Click the Initialize button. This initializes the adjoint solution everywhere in the problem domain
to zero.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
976 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 977
Using the Adjoint Solver – 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.
3. Select Sensitivities... and Sensitivity to Body Force X-Component (Cell Values) from the
Contours of drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
978 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Click Compute and then Display to view the contours (Figure 26.14: Adjoint Sensitivity to Body
Force X-Component Contours (p. 980)) and then Close the Contours dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 979
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
Figure 26.14: Adjoint Sensitivity to Body Force X-Component Contours (p. 980) shows how sens-
itive 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
980 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Select Sensitivities... and Sensitivity to Mass Sources (Cell Values) from the Color by
drop-down lists.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 981
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
8. Click the Save/Display button to view the vectors (Figure 26.16: Shape Sensitivity Colored
by Sensitivity to Mass Sources (Cell Values) (p. 982)) and then Close the Vectors dialog box.
Tip:
In order to display the vector plot in the graphics window, you may need to
Figure 26.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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
982 of ANSYS, Inc. and its subsidiaries and affiliates.
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.
c. Select wall in the Bounding Region Definition dialog box and click OK.
This will initialize the morphing region to the bounding box around the cylinder wall.
d. Click Update Region to update the view of the bounding box illustration in the graphics
window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 983
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
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 (Fig-
ure 26.18: Morphing Region Around Cylinder (p. 984)).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
984 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
g. In the Manage Sensitivity Data dialog box, click Export... and save the sensitivity data
as force-drag.sens.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 985
Using the Adjoint Solver – 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.
Click Yes in the Question dialog box that appears to overwrite the existing adjoint solution data.
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 observ-
able. 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 pre-
dicted 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
986 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
This morphing method is appropriate when you prefer mesh quality over adherence to the design
conditions. Alternatively if there are many design conditions present, Direct Interpolation is the
recommended method. Finally, when mesh quality is preferred and there are some design conditions,
Radial Basis Function is the recommended method.
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... and select the force-drag.sens file you created earlier. Click OK.
For this example, you will seek a design change that increases the lift and results in a 10% reduc-
tion 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.
This indicates that you want to increase the lift, but are not prescribing a specific target change.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 987
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
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
optimum.
h. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
988 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
You already specified the dimensions of the region earlier when exporting the force-drag sens-
itivity. 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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 989
Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
c. If multiple freeform objectives were defined (that is, multiple objectives with Increase Value
or Decrease 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
990 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
h. Click the Modify button in the Mesh group box 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.69247e-01 (cell zone 11)
Minimum Orthogonal Quality = 6.30753e-01 (cell zone 11)
The effect on the mesh is shown in Figure 26.21: Mesh After Deformation (p. 992):
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 991
Using the Adjoint Solver – 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.1748
Note that the drag has changed by -120.57 N or -9.5% compared to the drag on the unde-
formed 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.4 N, which again compares
very well with the predicted change of 127.5 N.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
992 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
26.4. 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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 993
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
994 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 27: Simulating a Single Battery Cell Using
the MSMD Battery Model
This tutorial is divided into the following sections:
27.1. Introduction
27.2. Prerequisites
27.3. Problem Description
27.4. Setup and Solution
27.5. Summary
27.6. Appendix
27.7. References
27.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
27.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 995
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.
27.4.1. Preparation
1. Download the battery_cell.zip file here.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
996 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
When prompted, browse to the location of the unit_battery.msh.h5 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 997
Simulating a Single Battery Cell Using the MSMD Battery Model
Once you enable the battery model, the Energy equation will be automatically enabled in
order to solve for the temperature field.
b. Under the Model Options tab (Figure 27.2: Model Options (p. 998)), configure the following
battery operation conditions:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
998 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iii. Under Electrical Parameters, retain the default value of 14.6 Ah for Nominal Cell
Capacity.
iv. Select Enable Joule heat in active zones in the Energy Source Options group.
v. Retain the default selection of Specified C-Rate and the value of 1 for C-Rate.
c. Under the Conductive Zones tab (Figure 27.3: Conductive Zones (p. 1000)), configure the fol-
lowing settings:
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 999
Simulating a Single Battery Cell Using the MSMD Battery Model
d. Under the Electric Contacts tab (Figure 27.4: Electric Contacts (p. 1001)), 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1000 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Ansys Fluent prints the battery connection information in the console window:
Battery Network Zone Information:
-------------------------------------
Battery Serial 1
Parallel 1
Active zone: e_zone
-----------------------------------
Passive zone 0:
tab_nzone
Passive zone 1:
tab_pzone
Number of battery series stages =1; Number of batteries in parallel per series stage=1
****************END OF BATTERY CONNECTION INFO**************
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1001
Simulating a Single Battery Cell Using the MSMD Battery Model
g. Under the Model Parameters tab, retain the default settings for Y and U coefficients.
Note:
• If in your case, Y and U functions are not in the same function form as in Kim’s
paper, you need to modify the cae_user.c source code file.
• 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.
In the background, Fluent automatically hooks all the necessary UDFs for the problem.
In the battery model, two transport equations are solved for the positive and negative potentials,
respectively. To specify the electric conductivity of the active material you need to define the two
electric conductivities, one for each potential field..
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1002 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Create/Edit Materials dialog box, select solid from the Material Type drop-down
list.
g. In the UDS Diffusion Coefficients dialog box, specify the user-defined scalars.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1003
Simulating a Single Battery Cell Using the MSMD Battery Model
iv. In a similar way, set uds-1 to 9.83e5 and click OK to close the UDS Diffusion
Coefficients dialog box.
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. 1036) 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1004 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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. Click Change/Create.
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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1005
Simulating a Single Battery Cell Using the MSMD Battery Model
two different tab materials with the same physical properties have been created for
demonstration purposes only.
c. Click Change/Create.
d. In the Question dialog box, click No to retain p_material and add the new material (n_ma-
terial) to the materials list.
a. In the Solid dialog box, select e_material from the Material Name drop-down list.
b. Click Apply.
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 condi-
tions for the two UDS scalars have been set automatically when you defined the cell
zone conditions.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1006 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Make sure that wall_active is selected in the From Boundary Zone list.
c. Click Copy, click OK in the confirmation prompt, and close the Copy Conditions dialog
box.
a. In the Equations dialog box, deselect Flow and Turbulence from the Equation selection
list.
b. Click OK.
2. Remove the convergence criteria to ensure that automatic convergence checking does not occur.
c. Click OK.
3. Create a surface report definition for the voltage at the positive tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1007
Simulating a Single Battery Cell Using the MSMD Battery Model
a. In the Surface Report Definition dialog box, enter voltage_vp for Name.
b. Select Battery Variables... and Passive Zone Potential 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1008 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Edit Report Plot dialog box, under the Plot Window group box, click the Axes...
button to open the Axes dialog box.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1009
Simulating a Single Battery Cell Using the MSMD Battery Model
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.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1010 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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.
Note:
Warning messages are printed in the Fluent console informing you about interior
zones between different solids. Such messages appear when two adjacent solid zones
separated by an interior face type are using two different materials. The message
suggests using the mesh/modify-zones/slit-interior-between-diff-solids text command
to slit the interior zone between solid zones of differing materials to create a wall/wall-
shadow interfaces. In general, the material property interpolation at wall/wall-shadow
is more accurate if different materials are used at two sides of an interface. However,
the battery model is implemented in such a way that both treatments are equivalent,
and such messages could be ignored.
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 27.5: Residual History of the Simulation (p. 1012),
Figure 27.6: Report Plot of Discharge Curve at 1 C (p. 1012), and Figure 27.7: History of Maximum
Temperature in the Domain (p. 1013), respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1011
Simulating a Single Battery Cell Using the MSMD Battery Model
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1012 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
27.4.4. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1013
Simulating a Single Battery Cell Using the MSMD Battery Model
c. From the Contours of drop-down list, select Battery Variables... and Cathode Potential.
d. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list,
select Surface Type (under Group by).
Note:
To change the precision for the colormap labels, click Colormap Options... to open
the Colormap dialog box, and increase the value of Precision.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1014 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 27.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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1015
Simulating a Single Battery Cell Using the MSMD Battery Model
c. From the Contours of drop-down list, select Battery Variables... and Anode Potential.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1016 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 27.9: Contour Plot of Phase Potential for the Negative Electrode
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1017
Simulating a Single Battery Cell Using the MSMD Battery Model
c. From the Contours of drop-down list, select User Battery Variables... and Passive Zone
Potential.
d. From the Surfaces selection list, select tab_n, tab_p, wall_n, and wall_p.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1018 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1019
Simulating a Single Battery Cell Using the MSMD Battery Model
c. From the Contours of drop-down list, select Temperature... and Static Temperature.
The surfaces listed under Wall are automatically selected in the Surfaces list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1020 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1021
Simulating a Single Battery Cell Using the MSMD Battery Model
c. In the Vectors dialog box, select current-density-j from the Vectors of drop-down list.
d. Select Battery Variables... and Current Magnitude from the Color by drop-down list.
e. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list,
select Surface Type (under Group by).
g. In the Options group, enable Draw Mesh and in the Mesh Display dialog box, set the mesh
display options as desired.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1022 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
6. Save the case file as ntgk.cas.h5. You will use this saved case later to treat electric short-circuits.
7. Repeat the simulation for the following charge rates and time steps:
a. In the Battery Model dialog box, under the Model Options tab, specify the value listed in
the above table for the C-Rate.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1023
Simulating a Single Battery Cell Using the MSMD Battery Model
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).
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.
8. Display the discharge curves for the positive tab for the different discharge rates.
c. Change the Files of type: drop-down filter to All Files (*), select ntgk-0.5c.out and click
OK.
e. Select voltage_vp in the Legend Names group box, enter 0.5c in the text box that populates
below it and click Change Legend Entry.
f. Do the same for ntgk-1c.out and ntgk-5c.out and change their legend entries accord-
ingly.
g. Enter Discharge Rate for the Legend Label in the Plot group box.
h. Click Plot and close the Plot Data Sources dialog box.
Note:
Use the Axes dialog box to set the precision for the plot axes.
The Figure 27.13: NTGK Model: Discharge Curves (p. 1025) shows the discharge curves for different
discharge rates in the function of time.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1024 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
9. 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 27.14: NTGK Model: Maximum Temperature in the Domain (p. 1026) shows the maximum
temperature curves in the simulation for different discharge rates.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1025
Simulating a Single Battery Cell Using the MSMD Battery Model
27.4.5. Simulating the Battery Pulse Discharge Using the ECM Model
1. In the 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.
5. Click OK to apply the ECM battery model settings and close the 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. In the Solution Initialization task page, click Initialize to re-initialize the field variables.
8. 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, make sure that Time Step Size is set to 30, set Number of
Time Steps to 10 and click Calculate.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1026 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Once the calculation is complete, set C-Rate in the MSMD Battery Model dialog box to 0 and
run the calculation for 10 more time steps.
d. 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 User's Guide.
The battery pulse discharge is summarized in Figure 27.15: Battery Pulse Discharge (p. 1027).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1027
Simulating a Single Battery Cell Using the MSMD Battery Model
3. In the Run Calculation task page, make sure that Time Step Size is set to 30, set Number of
Time Steps to 3 and click Calculate.
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 Method Option group box, select Reduced Order Method.
b. Set Number of Sub-Steps/Time Step to 10 and click OK to close the Battery Model dialog
box.
5. Re-run the simulation continuing from step 2 in Obtaining Solution (p. 1011).
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 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 27.16: Internal Short Circuit Region Marked for
Patching (p. 1029) using the region adaption feature.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1028 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Region Register dialog box, enter the following values for Input Coordinates.
ii. Click Save/Display and close the Region Register dialog box.
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1029
Simulating a Single Battery Cell Using the MSMD Battery Model
a. In the Patch dialog box, select Battery Short Resistance under Variable.
b. Click Calculate.
27.4.7.2. Postprocessing
1. Compute the battery tab voltage .
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1030 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Surface Integrals dialog box, from the Report Type drop-down list, select Area-
Weighted Average.
b. From the Field Variable drop-down lists, select Battery Variables... and Passive Zone Po-
tential.
c. In the Surfaces filter, type t to display surface names that begin with "t" and select tab_p
from the selection list.
The battery tab voltage of approximately 4.077 V is printed in the Area-Weighted Average
field and in the Fluent console.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1031
Simulating a Single Battery Cell Using the MSMD Battery Model
b. From the Field Variable drop-down lists, select Battery Variables... and Total Current
Source.
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 condi-
tion .
3. Display the vector plot of current at the positive and negative current collectors.
c. In the Vectors dialog box, select current-density-jp from the Vectors of drop-down list.
d. Select Battery Variables... and Current Magnitude from the Color by drop-down lists.
The surfaces of the "wall" type are automatically selected in the Surfaces list.
f. Click Save/Display.
g. The plot shows the vector plot of electric current flow in the positive current collector of
the battery cell.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1032 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 27.17: The Vector Plots of Current at the Positive Current Collectors
h. 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1033
Simulating a Single Battery Cell Using the MSMD Battery Model
Figure 27.18: The Vector Plots of Current at the Negative Current Collectors
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1034 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Figure 27.19: Contour Plot of Temperature (p. 1035) 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1035
Simulating a Single Battery Cell Using the MSMD Battery Model
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.
27.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 Ansys Fluent User's
and Theory Guides.
27.6. Appendix
The battery cell cross-section is shown in the figure below.
You can estimate the material properties for your battery cell using the following correlations:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1036 of ANSYS, Inc. and its subsidiaries and affiliates.
References
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
27.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 Environmental Temperature", J. of Electrochemical Soc., Volume 158 (5), pages A611-A618, 2011.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1037
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1038 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 28: Simulating a 1P3S Battery Pack Using the
Battery Model
This tutorial is divided into the following sections:
28.1. Introduction
28.2. Prerequisites
28.3. Problem Description
28.4. Setup and Solution
28.5. Summary
28.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.
28.2. Prerequisites
This tutorial is written with the assumption that you have completed the introductory tutorials 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1039
Simulating a 1P3S Battery Pack Using the 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.
28.4.1. Preparation
1. Download the battery_pack.zip file here.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1040 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4. Select Solution in the top-left selection list to start Fluent in Solution Mode.
When prompted, browse to the location of the 1P3S_battery_pack.msh.h5 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1041
Simulating a 1P3S Battery Pack Using the Battery Model
e. Click the Fit to Window icon, , to fit and center the mesh in the graphics window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1042 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Once you enable the battery model, the Energy equation will be automatically enabled in
order to solve for the temperature field.
b. Under the Model Options tab (Figure 28.2: Model Options (p. 1043)), configure the following
battery operation conditions:
ii. In the Electrical Parameters group, retain the default value of 14.6 Ah for Nominal
Cell Capacity.
iii. Select Enable Joule heat in active zones in the Energy Source Options group.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1043
Simulating a 1P3S Battery Pack Using the Battery Model
iv. 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.
d. Under the Conductive Zones tab (Figure 28.3: Conductive Zones (p. 1045)), configure the fol-
lowing settings:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1044 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
e. Under the Electric Contacts tab (Figure 28.4: Electric Contacts (p. 1046)), 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1045
Simulating a 1P3S Battery Pack Using the Battery Model
Ansys Fluent prints the battery connection information in the console window:
Battery Network Zone Information:
-------------------------------------
Battery Serial 1
Parallel 1
Active zone: cell_1
Battery Serial 2
Parallel 1
Active zone: cell_2
Battery Serial 3
Parallel 1
Active zone: cell_3
-----------------------------------
Passive zone 0:
n_tabzone_1
Passive zone 1:
p_tabzone_1
bar1
n_tabzone_2
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1046 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Passive zone 2:
p_tabzone_2
bar2
n_tabzone_3
Passive zone 3:
p_tabzone_3
Number of battery series stages =3; Number of batteries in parallel per series stage=1
****************END OF BATTERY CONNECTION INFO**************
g. Verify that the connection information is correct. If an error message appears or if the con-
nections are not what you want, redefine the conductive zones in the Conductive Zones
tab (Figure 28.3: Conductive Zones (p. 1045)). 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1047
Simulating a 1P3S Battery Pack Using the 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 defined-per-uds is selected from the Electrical Conductivity
drop-down list and click Edit... next to Electrical Conductivity.
d. In the UDS Diffusion Coefficients dialog box, set the constant value of 1.0 e6 for the both
user-defined scalars.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1048 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
iv. In a similar way, set uds-1 to 1.0 e6 [1/ohm-m] and click OK to close the UDS
Diffusion Coefficients dialog box.
e. In the Question dialog box, click No to retain aluminum and add the new material (e_ma-
terial) to the materials list.
f. Ensure that e_material (e) is selected from the Fluent Solid Materials drop-down list.
2. Create the busbar_material material for busbars and tabs by modifying e-material you have
created in the previous step.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1049
Simulating a 1P3S Battery Pack Using the Battery Model
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
materials and assign them to the busbars and tabs, respectively.
a. In the Create/Edit Materials dialog box, enter busbar_material for Name and bus for
Chemical Formula.
d. Click Change/Create.
e. In the Question dialog box, click No to retain e_material and add the new material (bus-
bar_material) to the materials list.
f. Ensure that busbar_material (bus) is selected from the Fluent Solid Materials drop-
down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1050 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Solid dialog box, select e_material from the Material Name drop-down list.
2. Copy the cell zone condition for the cell_1 zone to the cell_2 and cell_3 cell zones.
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.
a. In the Boundary Conditions task page, select wall-cell_1 and click Edit....
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 (all boundary zones that have names starting with the "wall" string
and containing the "bar" or "tabzone" string).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1051
Simulating a 1P3S Battery Pack Using the Battery Model
a. In the Equations dialog box, deselect Flow and Turbulence from the Equation selection
list.
b. Click OK.
2. Remove the convergence criteria to ensure that automatic convergence checking does not occur.
c. Click OK.
3. Create a surface report definition for the voltage at the positive tab.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1052 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Surface Report Definition dialog box, enter surf-mon-1 for Name.
b. Select Battery Variables... and Passive Zone Potential 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1053
Simulating a 1P3S Battery Pack Using the Battery Model
Note:
You must click Apply to save the modified settings for each axis.
vi. Ensure that time-step is selected from the Get Data Every drop-down list.
4. Create a volume report definition to monitor the maximum temperature in the domain.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1054 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1055
Simulating a 1P3S Battery Pack Using the Battery Model
vi. Ensure that time-step is selected from the Get Data Every drop-down list.
Solution → Initialization
a. Retain the selection of Standard from the Initialization Methods group box.
b. Click Initialize.
Note:
Warning messages are printed in the Fluent console informing you about interior
zones between different solids. Such messages appear when two adjacent solid
zones separated by an interior face type are using two different materials. The
message suggests using the mesh/modify-zones/slit-interior-between-diff-solids
text command to slit the interior zone between solid zones of differing materials
to create a wall/wall-shadow interfaces. In general, the material property interpol-
ation at wall/wall-shadow is more accurate if different materials are used at two
sides of an interface. However, the battery model is implemented in such a way
that both treatments are equivalent, and such messages could be ignored..
You do not need to modify the Initial Values in the Solution Initialization task page, be-
cause 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 max-
imum temperature in the domain are shown in Figure 28.5: Residual History of the Simula-
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1056 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
tion (p. 1057), Figure 28.6: Surface Report Plot of Discharge Curve at 200W (p. 1057), and Fig-
ure 28.7: Volume Report Plot of Maximum Temperature in the Domain (p. 1058), respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1057
Simulating a 1P3S Battery Pack Using the Battery Model
28.4.4. Postprocessing
In this section, postprocessing options for the MSMD battery model solution are presented.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1058 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
b. In the Vectors dialog box, select current-density-j from the Vectors of drop-down list.
c. Select Battery Variables... and Current Magnitude from the Color by drop-down list.
d. 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.
f. In the Options group, enable Draw Mesh and set the mesh display options as desired.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1059
Simulating a 1P3S Battery Pack Using the Battery Model
All vectors in your plot will be displayed with the same lengths.
iii. Click Apply and close the Vector Options dialog box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1060 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note:
Use the Headlight and Lighting display options under the View ribbon tab to
manipulate the graphics display.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1061
Simulating a 1P3S Battery Pack Using the Battery Model
c. From the Contours of drop-down list, select Temperature... and Static Temperature.
d. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list,
select Surface Type (under Group By).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1062 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1063
Simulating a 1P3S Battery Pack Using the Battery Model
c. From the Contours of drop-down list, select Battery Variables... and Joule Heat Source.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1064 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1065
Simulating a 1P3S Battery Pack Using the Battery Model
c. From the Contours of drop-down list, select Battery Variables... and Total Heat Source.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1066 of ANSYS, Inc. and its subsidiaries and affiliates.
Summary
28.5. Summary
This tutorial has demonstrated the use of the MSMD battery model 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1067
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1068 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 29: In-Flight Icing Tutorial Using Fluent Icing
29.1. Fluent Airflow on the Clean NACA0012 Airfoil
The objective of this tutorial is to obtain an airflow solution around a clean NACA0012 airfoil, using
Fluent and Fluent Icing, that is suitable for icing calculations.
Note:
In this tutorial, the Fluent Airflow Solver is used. If you would like to use the FENSAP Airflow
solver instead, go to the FENSAP Airflow on the Clean NACA0012 Airfoil (p. 1126).
Fluent Icing requires a license with Enterprise licensing level. This license is consumed by
the solver.
This file contains a NACA0012 grid that consists of 114,700 nodes and 56,810 hexahedral cells. Symmetry
conditions are imposed on each spanwise boundary of the grid. The airfoil chord length is 0.5334 meters
(21 inches) and the depth of elements along the span (Z-direction) is 0.1 meters. A no-slip wall boundary
is imposed on the airfoil surface.
Since the flow is viscous and turbulent, grid points have been clustered around the airfoil to better
capture the boundary layer and wake. The initial cell height is 2.5e-6 chords, set up such that the
maximum Y+ is below 1 in the first layer, and the expansion ratio is 1.14 in the normal direction. These
are fine-grid settings that are required to capture the boundary layer. Far-field conditions are imposed
on the outer surface of the grid. The mesh density can be considered medium.
Note:
FENSAP-ICE modules in Fluent Icing solve only 3D problems. In order to solve pure 2-D
problems, it is recommended to generate 3D grids by extruding these 2D domains along
their span or thickness. One single element is sufficient to represent span or thickness of the
3D domain. In this manner, Fluent and Fluent Icing are always executed in 3-D mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1069
In-Flight Icing Tutorial Using Fluent Icing
• Setting up a Fluent Airflow Simulation on a Clean NACA0012 Airfoil (p. 1070): In this section, the
Fluent Solution Workspace is used to setup a clean airflow simulation that is suitable for icing
simulations within Fluent Icing. Moreover, there are a number of settings that are available in
the Fluent Solution Workspace that are not available in Fluent Icing, for instance extra boundary
conditions, solution methods and controls as well as reports and monitoring capabilities. Therefore,
it is normal for a user to begin their simulation inside the Fluent Solution Workspace before
moving onto Fluent Icing. Once the desired setup has been performed, a .cas.h5 file is written
which can then be imported to Fluent Icing.
• Conducting a Fluent Airflow Simulation on Clean NACA0012 Airfoil (p. 1073): In this section, the
.cas.h5 file from the previous section will be loaded into Fluent Icing in order to compute its
airflow solution. Performing this calculation in Fluent Icing will ease the set-up of subsequent
simulations (Rough Airflow, Droplet and Icing simulations) as described in Fluent Airflow on the
Rough NACA0012 Airfoil (p. 1078) through Fluent Icing Ice Accretion on the NACA0012 (p. 1101).
The naca0012.cas.h5 file has already been setup properly for direct use in Conducting a Fluent
Airflow Simulation on Clean NACA0012 Airfoil (p. 1073). Therefore, it is not required to work-through
Setting up a Fluent Airflow Simulation on a Clean NACA0012 Airfoil (p. 1070). However, if this is your first
time running an icing simulation with Fluent, it is recommended to continue with the steps shown in
Setting up a Fluent Airflow Simulation on a Clean NACA0012 Airfoil (p. 1070) to learn how to properly
setup a Fluent case.
2. Read the case file by going to File → Read → Case.... Browse to and select the extracted file
../workshop_input_files/Input_ Grid/Naca0012/naca0012.cas.h5.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1070 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Airflow on the Clean NACA0012 Airfoil
The table below lists the flight conditions used in the following airflow simulation.
3. From the top bar navigation menu, select Physics → Solver → Operating Conditions.... Set the
Operating Pressure (pascal) to 101325 Pa. Press OK.
4. From the side menu, select General under Setup. Ensure that the Solver is set to Type: Pressure-
Based, Velocity-Formulation: Absolute, and Time: Steady.
• Double-click Viscous to open the Viscous Model menu. There are different turbulence
models that can be selected. For icing applications, it is strongly recommended to use the
popular k-ω SST model. Therefore, change the Model to k-omega (2 eqn) and SST. In the
Options section, enable Viscous-Heating and Production Limiter. In the Model Constants
section, change the Energy Prandtl Number and Wall Prandtl Number to 0.9, to be
consistent with FENSAP-ICE, and the Production Limiter Clip Factor to 10. Press OK.
6. From the side menu, click Materials → Fluid and double-click air to open the air properties. Set
the Density to ideal-gas. Click Change/Create to save the air properties, then press Close.
Fluent Icing automatically sets the specific heat, thermal conductivity and viscosity of air that are
appropriate for icing simulations. Therefore, if this case file is later used by Fluent Icing, these
parameters can be automatically updated by Fluent Icing.
Note:
In the event that this is not the case and that the case file is used inside FENSAP-ICE,
follow these steps below.
• Set the Cp (Specific Heat) to 1004.6882 j/kg.K. This value is equal to 7/2 R air when air is
treated as an ideal gas. In FENSAP-ICE, the gas constant R is always 287.05376 j/kg.K.
For simplicity, thermal conductivity and viscosity equations presented in the Fluent Icing User’s
manual are shown below:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1071
In-Flight Icing Tutorial Using Fluent Icing
In these equations, refers to the ambient air static temperature. , and are equal
to 0.00216176 W/m/K3/2, 288 K and 17.9*10-6 Pa.s, respectively.
• Click Inlet and double-click pressure-far-field-4 to set the far field boundary conditions.
a. In the Momentum panel, set the Gauge Pressure (pascal) to 0 Pa and the Mach
Number to 0.31461268. Set the Coordinate System to Cartesian (X, Y, Z) and the
X, Y and Z-Component’s to 0.99756405, 0.069756474, and 0. This simulates a 4-
degree angle of attack (AoA) airflow. In the Turbulence section, set the Specification
Method to Intensity and Viscosity Ratio. Then, set the Turbulence Intensity (%) to
0.08% and the Turbulent Viscosity Ratio to 1e-05.
b. In the Thermal panel, set the Temperature (k) to 265.67 K. Press Apply.
• Click Wall and double-click wall-5. In the Momentum panel, set the Shear Condition to
No Slip. In the Thermal panel, set the Thermal Conditions to Temperature. Set the
Temperature (k) to 280.929174208 K, and press Apply. This temperature corresponds
to the Adiabatic stagnation temperature + 10K, as required for standard external icing
simulations with FENSAP-ICE. Repeat this process for wall-6 and wall-7.
8. From the side menu, click Symmetry and ensure that symmetry-8 is set to symmetry type by
right-clicking symmetry and selecting Type → symmetry.
Note:
Further on in this tutorial, the current case file is used to conduct multishot icing sim-
ulations with Remeshing. The latter requires that paired symmetry planes share the
same zone BC. Consult Ice for more details about the limitations and requirements of
the Remeshing feature inside Fluent Icing.
9. Double-click Reference Values from the side menu. Under Compute from, select pressure-far-
field-4. Set the Area to 0.05334 m2 and the Length to 0.5334 m. These reference values will
be used only for postprocessing purposes. For instance, force coefficients use the reference area,
density, and velocity.
10. Click Solution to extend its sub tree and then double-click Methods. Set the Pressure-Velocity
Coupling scheme to Coupled. Under Spatial Discretization, set the Gradient to Green-Gauss
Node Based and the remaining options to Second or Second Order Upwind. Disable the Pseudo
Time Method option (though it could have been used in this tutorial).
Note:
If the Fluent simulation diverges after a few iterations, enabling High Order Term Re-
laxation will improve its convergence. In the current tutorial, this term is not required.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1072 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Airflow on the Clean NACA0012 Airfoil
11. Double-click Controls under Solution. Set the Flow Courant Number to 50. In Under-Relaxation
Factors, set Turbulent Viscosity and Energy to 0.9.
12. From the side menu, double-click Monitors and then Residual. Modify the Absolute Criteria for
convergence to 1e-06 for all parameters. Make sure that the Print to Console and the Plot are
enabled and ensure that Monitor and Check Convergence are selected for all parameters. Since
this 3D simulation should provide a 2D solution, uncheck z-velocity under Monitor but keep
Check Convergence checked. Click Show Advanced Options and then check Scale and Compute
Local Scale. Select local scaling under Reporting Option. Click OK.
13. Monitor the drag and lift coefficients during the simulation. Follow the bullet points describe below
if these settings are not part of the current case file. Otherwise, you will monitor these coefficients
twice.
• In the side menu, double-click Report Definitions under Solution, select New → Force Report
→ Drag.... Change the Name to report-drag and set the Force Vector to 0.99756405,
0.069756474, and 0. Enable Report Plot, and Print to Console under Create, and Drag
Coefficient under Report Output Type. Select wall-5, wall-6, and wall-7 under the Wall Zones
section. Press OK.
• In the Report Definitions window, select New → Force Report → Lift. Change the Name to
report-lift and set the Force Vector to -0.069756474, 0.99756405, and 0. Enable
Report Plot, and Print to Console under Create and Lift Coefficient under Report Output
Type. Select wall-5, wall-6, and wall-7 under the Wall Zones section. Press OK and close the
Report Definitions window.
14. Go to File → Write → Case... to save the setup case file for use in the next section. Name this file
naca0012.cas.h5.
2. Once Fluent Icing opens, the Project tab will be displayed by default. In the Project's top ribbon
panel, select Project → New... and enter FLUENT_ICING_NACA0012 to create a new Project
folder.
3. In the Project’s top ribbon, select Simulations → Import Case, and browse to and select the
../workshop_input_files/Input_Grid/Naca0012/naca0012.cas.h5 file from the
extracted fluent_icing.zip archive or the naca0012.cas.h5 saved in Setting up a Fluent
Airflow Simulation on a Clean NACA0012 Airfoil (p. 1070). A New simulation window will appear.
Enter the Name of the new simulation as naca0012_icing, and check to enable Load in
solver. A new Simulation folder will be created in your Project folder, and the naca0012.cas.h5
file will be imported.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1073
In-Flight Icing Tutorial Using Fluent Icing
4. After the .cas.h5 file has been successfully loaded, a new simulation tree appears under
naca0012_icing (loaded) in the Outline View window, and the naca0012 grid is displayed
inside the Graphics window, located on the right of your screen.
5. In the Outline View window, select Setup under naca0012_icing (loaded) and, in its properties
window, uncheck Particles and Ice.
6. Inside the Outline View window, right-click the Airflow icon located under Setup and select
Update with Fluent Case settings to make sure that the previously setup Fluent simulation settings
are properly transferred to Fluent Icing.
7. Inside the Outline View window, right-click the Fluent icon located under Airflow and select Set
to default Air properties. Click OK to accept the air properties computed from the current airflow
temperature, 265.67 K. This automatically sets the air properties, suggested for icing simulations,
from the current reference air temperature. The values of air properties have been computed using
the equations presented in Airflow within the Fluent User's Guide.
Note:
For simplicity, thermal conductivity and viscosity equations presented in the Fluent
Icing User’s manual are shown below:
8. Under Solution, right-click Airflow from the side menu. Select Initialize. A Hybrid initialization
is executed using the settings of the original case file.
9. Under Solution, click Airflow to display the properties of Properties - Airflow panel. Increase
the Number of iterations to 400. A steady state simulation will be executed since the original
case file contains steady state settings.
Note:
Transient calculations are not yet supported. Therefore, the original case file must be
set-up for a steady state simulation.
10. Right-click the Airflow icon under Solution and select Calculate to launch this simulation. A New
run window will appear. Set the Name of the new run to flow_clean.
11. Once the computation is complete, the Airflow solution file, will be written inside the new run
directory, naca0012_icing/flow_clean.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1074 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Airflow on the Clean NACA0012 Airfoil
12. Take a look at the convergence history of this simulation in the Plots window located at the right
of your screen. By default, the Plots window shows all Residuals of the governing equations at
each iteration. It is possible to show the residual of a given governing equation by selecting the
governing equation next to Curve located at the top of the Plots window. If other reports Reports
have been defined in the original case file, they will appear as an option next to Curve. In this
tutorial, the input case file contained lift and drag coefficient reports. Examine the convergence
of these coefficients listed as report-lift and report-drag. Lift and drag coefficients have converged
to 4.5105e-01 and 9.5206e-03 respectively.
The following three figures show the convergence of residuals and lift and drag coefficients.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1075
In-Flight Icing Tutorial Using Fluent Icing
Figure 29.3: Convergence of Lift and Drag Coefficients of the Clean Airfoil
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1076 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Airflow on the Clean NACA0012 Airfoil
13. Go to the ribbon bar of your Fluent Icing window and, under Results → Quick-view → Contour,
choose Heat flux (walls) to output the convective heat flux over the clean NACA0012. To change
the color of the heat flux distribution, go to Outline View → Results → Graphics → Contours →
Quick-View-1. Select the color map of your choice in the Properties – quick-view-1 panel. See
Figure 29.5: Convective Heat Flux Over the Clean NACA0012 Airfoil (p. 1077).
Figure 29.5: Convective Heat Flux Over the Clean NACA0012 Airfoil
14. In the ribbon bar of your Fluent Icing window, select the Project tab. In the left-side panel inside
the Project View, the naca0012_icing (loaded) simulation now contains the run folder flow_clean,
which contains the Airflow solution file . Moreover, (current) is listed next to the run folder to
show that this is the current run, and Airflow is displayed in bold to show that this solution is
currently loaded.
Note:
The Airflow solution shown in the Project View is a link to a file on the disk. This link
points to the filename naca0012.dat.h5. To show the filenames as they appear on
the disk, you may right-click Name under Project View and select Show filenames.
Repeat these steps to disable Show filenames before continuing with this tutorial.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1077
In-Flight Icing Tutorial Using Fluent Icing
The Fluent Icing settings that you used to perform the flow_clean run are saved in a
run.settings file that is located inside the flow_clean run folder. If you would like
to load these settings at any point in the future, you may right-click the flow_clean
folder and select Load settings. The run.settings file itself is hidden by default.
To display this file, you may right-click Name under Project View and select Show
hidden items. Repeat these steps to disable Show hidden items before continuing
with this tutorial.
Caution:
If you would like to continue with the next tutorial, do not close Fluent Icing.
Note:
If you closed your Fluent Icing session since the completion of the last tutorial, you must
reopen your project and load your previous simulation and settings. To do this, open Fluent
Icing, select Project → Open..., and navigate to and select your FLU-
ENT_ICING_NACA0012.flprj project file. Once the project is opened, right-click the
naca0012_icing simulation folder, and select Load in solver. The simulation will be opened,
and your window display will switch to the Outline View, with a simulation tree appearing
under naca0012_icing (loaded). To ensure that you are working from the most recent set-
tings, go back to the Project View, right-click the flow_clean run, and select Load settings.
1. Inside the Outline View, select Setup under naca0012_icing (loaded) and, in its Properties window,
make sure that Particles and Ice are unchecked.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1078 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Airflow on the Rough NACA0012 Airfoil
• Expand Walls and select the wall-5 boundary. In its property panel, set Wall Roughness to
High roughness for Icing and set its Roughness Height (m) to 0.0005 m.
• Right-click wall-5 boundary. Select Set temperature to Adiabatic + 10. The Temperature
[K] is now set to 280.929 in wall-5’s property panel. The value of the surface temperature
should be several degrees above the adiabatic stagnation temperature in order to compute
heat fluxes with the correct sign on the entire aircraft surface.
3. Under Solution, right-click Airflow from the side menu. Select Initialize. A Hybrid initialization is
executed.
5. Right-click the Airflow icon under Solution and select Calculate to launch this simulation. A window
will appear asking if the current run should be continued. Select No. A new run window will appear.
Set the Name of the new run to flow_rough. Press OK.
Note:
If you closed your Fluent Icing session after the completion of the last tutorial, a window
will appear asking to create a new run once you click Calculate. Set the Name of the
new run to flow_rough and press OK.
6. Once the computation is complete, the Airflow solution will be written inside the flow_rough run
under the naca0012_icing Project directory.
7. Take a look at the convergence history of this simulation in the Plots window located at the right
of your screen.
In the Plots window, the residuals and reports, previously defined in the original case file, are
provided at each iteration. Examine the convergence of Residuals, and lift and drag coefficients
that are listed as report-lift and report-drag, by properly selecting them next to Curve in the Plots
window. Lift and drag coefficients have converged to 4.05752e-01 and 1.9846e-02 respectively. This
is approximately a 10% loss in lift and a 108% increase in drag from the clean NACA0012 airfoil. The
increase in drag due to roughness is quite high in this case, partly because the roughness height is
significant for the size of the airfoil (0.5334 m chord) and the whole surface is set as rough. In gen-
eral, only the first 10% of the chord (leading edge) gets iced. For icing calculations, the flow solution
should be computed with roughness set everywhere since there is no knowledge of the droplet
impingement zone or the icing limits a priori. The following three figures show the convergence of
residuals and lift and drag coefficients.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1079
In-Flight Icing Tutorial Using Fluent Icing
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1080 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Airflow on the Rough NACA0012 Airfoil
Figure 29.7: Convergence of Lift and Drag Coefficients of the Rough Airfoil
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1081
In-Flight Icing Tutorial Using Fluent Icing
8. Go to the ribbon bar of your Fluent Icing window and, under Results → Quick-view → Contour,
choose Heat flux (walls) to output the convective heat flux over the rough NACA0012 on the
Graphics window located at the right of your screen. See Figure 29.9: Convective Heat Flux Over
the Rough NACA0012 Airfoil (p. 1082).
Figure 29.9: Convective Heat Flux Over the Rough NACA0012 Airfoil
Caution:
If you would like to continue with the next tutorial, do not close Fluent Icing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1082 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
uted droplet diameter solution. Completion of Fluent Airflow on the Rough NACA0012 Airfoil (p. 1078) is
required before continuing.
In a monodispersed droplet calculation, a single droplet diameter represents the icing cloud that the
aircraft is flying in. In reality, icing clouds never contain only one size of droplets; but a distribution of
droplet sizes. 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 distribution matches
that of the cloud.
You are invited to read Particles and Inlet Types within the Fluent User's Guide for more information
on how to set up the input parameters of droplets and/or crystals.
Note:
If you closed your Fluent Icing session since the completion of the last tutorial, you must
reopen your project and load your previous simulation and settings. To do this, open Fluent
Icing, select Project → Open..., and navigate to and select your FLU-
ENT_ICING_NACA0012.flprj project file. Once the project is opened, right-click the
naca0012_icing simulation folder, and select Load in solver. The simulation will be opened,
and your window display will switch to the Outline View, with a simulation tree appearing
under naca0012_icing (loaded). To ensure that you are working from the most recent set-
tings, go back to the Project View, right-click the flow_rough run, and select Load settings.
Particle simulation requires an airflow solution, therefore, to ensure that the solution of
flow_rough is properly loaded into Fluent Icing, in Project View, right-click the out.dat.h5
file under flow_rough and select Load. Finally, go back to the Project tab to continue with
the tutorial.
1. Select Project in the top ribbon and go to the Outline View. Select Setup under naca0012_icing
(loaded). In its Properties window, make sure that Airflow and Particles are checked and uncheck
Ice.
Note:
Setup, Solution and Results settings of the airflow around the NACA0012 have already
been setup in Fluent Airflow on the Rough NACA0012 Airfoil (p. 1078). Therefore, they
do not need to be updated.
2. Under Setup → 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 [mi-
crons] to 20.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1083
In-Flight Icing Tutorial Using Fluent Icing
• under Particles distribution, keep Monodispersed since we will conduct a water catch simu-
lation using a single droplet size.
• under Model, keep Water as the Droplet drag model. This is the default drag law for droplet
particles.
4. Under Setup → Boundary Conditions, expand Inlets and go to pressure-far-field-4 and make
sure that, in its properties window, under Particles, From ref. conditions is selected and Droplet
velocity vector remains unchecked. The From ref. conditions option will apply the Droplet
conditions, located inside the Properties - Droplets window, at the inlet of the pressure-far-
field-4, in this case, the LWC and the MVD. If Droplet velocity vector remains unchecked, the
airflow velocity is imposed as the droplet velocity at the inlet. The relative velocity between air
and droplets is considered to be zero at far-field. Keep the Case settings selected under the Airflow
→ Conditions.
Note:
When configuring particle flow simulations, boundary conditions are only specified at
inlets.
5. Under Solution → 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
Setup → Airflow as the initial velocity of droplets.
6. Right-click Particles under Solution and choose Calculate to launch the droplet particle simulation
in standalone mode. A new window will appear requesting a name for the new run. Name the
new run droplets_mvd.
The calculation stops when the convergence level reaches the convergence limits set on the Re-
sidual cut-off and on the Change in total beta. Otherwise, the simulation continues until it
reaches 300 iterations. In the Plots window, you can look at Residuals, Droplets – Residual –
Average, Droplets – Residual – LWC, Droplets – Residual – Momentum, etc. curves and the
Droplets -Total Beta and Droplets - Change in Total Beta convergence curves.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1084 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1085
In-Flight Icing Tutorial Using Fluent Icing
Figure 29.11: Convergence of Total Beta and Change in Total Beta Curves
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 Properties - Particles panel under Solution should be reduced and
the Number of iterations should be increased. The droplet wake is usually not of interest and it
is sufficient to achieve convergence of the total beta alone.
7. When calculations are completed, you may use Quick-View to view the results. Go to the ribbon
bar of your Fluent Icing window and, under Results → Quick-view → Contour, choose Collection
Efficiency to output the water catch of the monodispersed droplets over the NACA0012. See
Figure 29.12: Collection Efficiency of Monodispersed Droplets over a NACA0012 (p. 1087).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1086 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
8. Repeat these steps to output the LWC around the NACA0012. Blue contours define the shadow
zone where there is an absence of water droplets. See Figure 29.13: LWC of Monodispersed Droplets
Around a NACA0012 (p. 1087).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1087
In-Flight Icing Tutorial Using Fluent Icing
9. Select Project from the ribbon menu. Notice that naca0012_icing (loaded) simulation now contains
the droplets_mvd run which contains the final Droplets solution. In addition to Quick-View, you
can also open the results in Viewmerical from the Project View. Right-click the Droplets solution
and select View Results with… → Viewmerical. A Viewmerical window will appear allowing you
to further post-process the droplet results.
Note:
The Droplets solution shown in the Project View inside the droplets run is a link to a
file on the disk. This link points to the filename naca0012.droplet. To show the
filenames as they appear on the disk, you may right-click Name under Project View
and select Show filenames. Repeat these steps to disable Show filenames before
continuing with this tutorial.
10. Before you move on to the next tutorial, go back to the Project tab.
Caution:
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. 1083) as a starting
point.
1. Without closing the previous Fluent Icing session (Monodispersed Calculation (p. 1083)), in the
Outline View panel, go to Setup → Particles → Droplets. In the Properties - Droplets window,
under Particles distribution, set Droplet distribution to Langmuir D.
Note:
The current version of Fluent Icing supports pre-defined droplet size distributions
(Langmuir B to E). User defined distributions are not yet supported. Below is a repres-
entation of a Langmuir D distribution and the droplet diameters that are used to rep-
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1088 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
resent this distribution. This figure is taken from FENSAP-ICE native user interface and
is currently unavailable in the Fluent Icing user interface.
In the figure above, the droplet diameters are on the horizontal axis, and the weights (the percent-
age 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 run for each droplet size shown in the above table.
2. Go to Solution → 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. Keep all the other settings the same.
3. Right-click Particles under Solution, choose Calculate to run the calculation. A window will appear
asking if you would like to continue the current run. Choose No. A new run window will appear.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1089
In-Flight Icing Tutorial Using Fluent Icing
Set the Name of the new run to droplets_langd. Individual runs will be executed one after
the other, and the results will be combined.
4. When calculations are completed, you may use Quick View to view the results. Go to the ribbon
bar of your Fluent Icing window and, under Results → Quick-view → Contour, choose Collection
Efficiency to output the water catch of the Langmuir D droplet distribution over the NACA0012.
See Figure 29.14: Collection Efficiency of Droplets with Langmuir-D Distribution over a
NACA0012 (p. 1090).
Figure 29.14: Collection Efficiency of Droplets with Langmuir-D Distribution over a NACA0012
5. Repeat these steps to easily output the LWC around the NACA0012. Blue contours define the
shadow zone, absence of water droplets. See Figure 29.15: LWC of Droplets with Langmuir-D Dis-
tribution Around a NACA0012 (p. 1091).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1090 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
6. Select Project from the ribbon menu. Notice that naca0012_icing (loaded) simulation now contains
the droplets_langd run. This run has a combined Droplets solution as well as each individual
Droplets solution located in numbered folders o-01 to o-07.
7. To link each numbered droplet solution to a droplet size of the Langmuir D distribution, in the
Project ribbon, select Project → View Options → Select columns.... A Project window appears.
Click the + sign besides Metadata to expand the list of parameters associated to each run and
solution. Scroll-down and select Droplets::D-Diam and click OK. A D-Diam column appears next
to Name inside the Project panel. This column clearly identifies the droplet diameter used to
obtain each solution.
Note:
In addition to Quick View, you may open the results in Viewmerical from the project
menu. To display the combined droplet solution in Viewmerical, right-click the Droplets
solution file and select View result → View with Viewmerical. Alternatively, to display
an individual droplet solution file, right-click the o-0*/Droplets file of your choice and
select View with Viewmerical. A Viewmerical window will appear allowing you to
further post-process the droplet results.
8. Before you move on to the next tutorial, go back to the Project panel.
Caution:
Do not close Fluent Icing if you would like to proceed with the next section.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1091
In-Flight Icing Tutorial Using Fluent Icing
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.
2. 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.
4. Go to the Data tab and then change the Color range to Spectrum 2 – 16.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1092 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
5. 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.
6. 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.
7. 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.
8. Using the Camera icon on the upper left corner, you can take a snapshot of the solution window
to capture the following image.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1093
In-Flight Icing Tutorial Using Fluent Icing
Figure 29.16: 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.
9. Go to the Data tab and choose Collection efficiency-Droplet. Collection efficiency is only displayed
on the walls of your geometry. Go to the 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.
Figure 29.17: Collection Efficiency of a Langmuir D Droplet Cloud on the Surface of the Airfoil
at an AoA of 4 Degrees
10. For a more in-depth quantitative view, it would be possible to create 2D data plots using View-
merical. Click the Query tab and enable 2D Plot.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1094 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
On the lower right corner of Viewmerical, you can directly modify data sets and solution fields.
Leave them as they are now.
11. 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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1095
In-Flight Icing Tutorial Using Fluent Icing
Figure 29.18: 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.
12. 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 pops up to browse and name the file that should contain
these data points.
13. 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. 1088).
14. Go to Project View. Under the run droplets_langd, right-click its o-01/Droplets file and select
View Results with... → Viewmerical.
15. A message appears asking if you would like to append this solution to a previously opened
Viewmerical display. Click Append.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1096 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
16. Inside Viewmerical, rename this new object by double-clicking on its original name in the Object
window and enter LangD-01-44.4um in the window Rename dataset, where 01 indicates the
droplet solution number and 44.4um is the droplet diameter of the droplet solution.
Note:
The droplet diameter of each droplet solution is shown in D-Diam column of the
Project panel of the naca0012_icing (loading) simulation. See step 6 of Langmuir-
D Distribution (p. 1088).
17. Repeat steps 14 to 16 to load the remaining droplet solutions from o-02/Droplets to o-07/Droplets.
Note:
• Click 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.
• Click the folder icon of Grid file and select the naca0012.grid file located
inside your Project and Simulation directory FLU-
ENT_ICING_NACA0012/naca0012_icing/.
• Click the folder icon of Solution file (optional) and select the
naca0012.droplet.01 file located inside your Project, Simulation and Run
directories /FLU-
ENT_ICING_NACA0012/naca0012_icing/droplets_langd.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1097
In-Flight Icing Tutorial Using Fluent Icing
• 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-
44.4um in the window Rename dataset, where 01 indicates the droplet solution
number and 44.4um is the droplet diameter of the droplet solution.
• Repeat these steps for the remaining droplet solutions from naca0012.droplet.02
to naca0012.droplet.07.
19. Go to the Data panel and click Shared located under Color range. Switch the Data field to Col-
lection efficiency- Droplet.
20. Go to the Query tab, enable 2D plot, and switch the Cutting plane to Z. The graph should display
8 individual beta distributions. click 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.
Figure 29.19: Collection Efficiency on the Surface of the Airfoil at an AoA of 4 Degrees,
Langmuir D Droplet Solutions
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1098 of ANSYS, Inc. and its subsidiaries and affiliates.
Droplet Impingement on the NACA0012
The curve with the lowest beta corresponds to the smallest droplet size (LangD-07-6.2 µm), and
the one with the largest beta corresponds to the largest droplet size (LangD-01-44.4.µm). 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 com-
bined solution of a Langmuir simulation can be very different from the solution of the
MVD.
21. 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.
22. Go to Project View. Under the run droplets_mvd, right-click its Droplets file and select View
Results with... → Viewmerical.
23. A message appears asking if you would like to append this solution to a previously opened
Viewmerical display. Click Yes.
24. Inside Viewmerical, rename this new object by double-clicking on its original name in the Object
window and enter MVD in the window Rename dataset.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1099
In-Flight Icing Tutorial Using Fluent Icing
25. Go to the Query tab, enable 2D plot, and switch the Cutting plane to Z. The graph should display
9 individual beta distributions. click LangD-01-44.4um to LangD-07-6.2um 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. Set their width to 2. You can also draw
a zoom box by Shift + left-click.
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 the Objects panel, uncheck LangD and MVD objects and check LangD-01-44.4um (largest
droplets) and LangD-07-6.2um (smallest droplets).
27. On the lower right corner of Viewmerical, change Collection efficiency-Droplet to Droplet LWC
(kg/m^3).
28. Select LangD-01-44.4um in the Objects panel and choose Horizontal-Left under Split screen
menu.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1100 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Icing Ice Accretion on the NACA0012
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 29.21: 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
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1101
In-Flight Icing Tutorial Using Fluent Icing
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
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 Ice and Walls within the Fluent User's Guide for more information on how to
set up the input parameters of the Ice module.
This tutorial will begin as a continuation of Monodispersed Calculation (p. 1083), so the monodispersed
droplet solution and settings must be loaded.
1. Select Project from the top ribbon menu. To load the settings from the monodispersed run, right-
click the droplets_mvd folder and select Load settings. To load the monodispersed solution, from
the left side panel, right-click the droplets_mvd → Droplets solution file and select Load.
Note:
If you closed your Fluent Icing session since the completion of the last tutorial, you must
reopen your project and load your previous simulation and settings. To do this, open
Fluent Icing, select Project → Open..., and navigate to and select your FLU-
ENT_ICING_NACA0012.flprj project file. Once the project is opened, right-click the
naca0012_icing simulation folder, and select Load in solver. The simulation will be
opened, and your window display will switch to the Outline View, with a simulation tree
appearing under naca0012_icing (loaded). Once this is done, continue with step 1.
2. Under Outline View, select Setup under naca0012_icing (loaded). In its Properties - Setup 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 reference/far-field air temperature.
• In Model,
4. 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.
5. Go to Solution and inside the Properties - Solution window, change Log verbosity to Complete
to output extra execution and post-processed data in the Console Window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1102 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Icing Ice Accretion on the NACA0012
• 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.
7. Right-click Ice under Solution and choose Calculate to run the calculation. A window will appear.
Name the new run ice_mvd_m25C.
8. After the simulation is complete, an Ice solution will be saved in the ice_mvd_m25C run folder.
Note:
The Ice solution shown in the Project View inside the ice_mvd_m25c run is a link to a
file on the disk. This link points to the filename naca0012.swimsol. To show the file-
names as they appear on disk, you may right-click Name under Project View and select
Show filenames. Repeat these steps to disable Show filenames before continuing with
this tutorial.
Look through the Console window of naca0012_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
conservation 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 29.22: Mass Conservation Table Printed in the Log File of Fluent Icing
9. Cycle through the Plots window. By changing the Curve type, you will observe the progress of the
total mass of ice, the change in instantaneous ice growth, water film thickness, and ice surface
temperature with time. Since the input flow and droplet solutions are steady-state solutions, the
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1103
In-Flight Icing Tutorial Using Fluent Icing
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.
10. Go to the Ribbon menu and select Results. In Quick-view, click Ice cover → Ice cover - Viewmer-
ical to see the ice shape and the original surface in Viewmerical. If a window appears asking if you
would like to append to a previously opened Viewmerical display, choose New instance.
Alternatively, the ice cover solution can be loaded by going to the Project menu, right-clicking on
Ice located in the ice_mvd_m25C run and selecting View result → View with Viewmerical. A
window will appear, select Ice cover as the view type. If a window appears asking if you would like
to append to a previously opened Viewmerical display, choose New instance.
You can change the Metallic + Smooth option to other choices in the Object box to see the wire-
frame 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 overlapping of iced and clean surfaces.
11. Do not close the Fluent Icing session and run two more calculations at warmer temperatures.
12. In the Outline View panel, select Setup → Ice and, in Ice accretion conditions, check Specify Icing
air temperature and set the Icing air temperature value to 263.15 K (-10 °C).
13. Right-click Ice under Solution and click Calculate to run the calculation. A window will appear.
Name the new run ice_mvd_m10C.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1104 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Icing Ice Accretion on the NACA0012
14. Repeat steps 12 to 13. This time with an Icing air temperature value of 265.67 K (-7.48 °C), same
as the airflow Temperature [K] in Setup → Airflow → Conditions. Name this run ice_mvd_m7p5C.
Note:
This -7.48 °C run is conducted at the same temperature as the airflow simulation. This is
the standard usage of Fluent Icing, and most icing simulations will be run in this manner.
Since the Icing air temperature is equivalent to the airflow simulation temperature, you
can alternatively uncheck Icing air temperature [K] to disable it and Fluent Icing will
use the airflow simulation temperature by default.
15. Now that there are 3 different ice shapes computed, we will analyze them using Quick-View. Go
to the Ribbon menu and select Results. In Quick-view, click Ice cover → Ice cover – Viewmerical.
This opens the ice solution calculated in the previous simulation.
16. Rename this object by double-clicking on its original name in the Object window and enter Ice
-7.5C in the window Rename dataset.
17. To load the -10 °C and -25 °C solutions, go to Project View. Under the ice_mvd_m10C run, right-
click Ice file and select View Results with... → Viewmerical.
18. A message appears asking if you would like to append this solution to a previously opened View-
merical display. Click Append.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1105
In-Flight Icing Tutorial Using Fluent Icing
19. A second message appears asking you to select the view type. In this case, select Ice cover as we
are going to compare the ice shapes produced by our simulations.
20. Inside Viewmerical, rename this new object by double-clicking on its original name in the Object
window and enter Ice - 10C in the window Rename dataset.
22. 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.
23. Go to the Query panel and enable the 2D plot. Change the Cutting plane to Z and Mode to
Geometry. At the bottom left of the 2D Plot window, set the horizontal axis to X. 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.
Note:
In this case, since all simulations were executed using a single ice accretion quasi-steady
shot, each *-map curve represents the geometry of 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 ice horns, a multishot computation is recommended where
the grid, air and droplet solutions are updated at certain time intervals.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1106 of ANSYS, Inc. and its subsidiaries and affiliates.
Fluent Icing Ice Accretion on the NACA0012
24. Finally, we will compare the film height of the three solutions. To do this, uncheck all Ice* objects
located in the Objects panel of Viewmerical.
25. Go back to the Project View. Under the run ice_mvd_m7p5C, right-click its Ice file and select View
Results with... → Viewmerical.
26. A message appears asking if you would like to append this solution to a previously opened View-
merical display. Click New instance. A new Viewmerical window will be used to compare the solution
values.
27. A second message appears asking you to select the view type. In this case, select Ice solution as
we are going to compare the solution fields of our ice simulations.
28. Inside Viewmerical, rename this new object by double-clicking on its original name in the Object
window and enter -7.5C in the window Rename dataset.
29. Repeat steps 25 to 28 for the remaining run folders, ice_mvd_m10C and ice_mvd_m25C. However,
this time select Yes to append these solutions to the previous solution.
30. In the Data panel, inside Files, choose Film Thickness as the Data field. Click Shared inside Color
range.
31. 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1107
In-Flight Icing Tutorial Using Fluent Icing
Figure 29.26: Film Height Variation Over the Ice at -25, -10, and -7.5 C
The film height and extent grow with increasing icing temperatures. At -25 °C, almost all droplets
freeze upon impact and there is no water runback on the surface. This temperature produces 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.
Caution:
Do not close Fluent Icing 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.
Note:
CFD-Post only supports .h5 format files when beta features are enabled. Therefore, in order
to ensure full compatibility with CFD-Post, first load CFD-Post, go to Edit → Options. Inside
the Options window, go to CFD-Post → General → Beta Options and check Enable Beta
Features.
1. Inside your Fluent Icing window, go to the Ribbon menu and select Results. In Quick-view, click
Ice cover → Ice cover – CFD-Post.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1108 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing an Ice Accretion Solution Using CFD-Post Macros
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 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
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1109
In-Flight Icing Tutorial Using Fluent Icing
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. Figure 29.27: Ice View with CFD-Post,
Ice Cover (p. 1110) shows the output of the default settings of the macro.
Note:
To change the style of the ice shape display, go to the Display Mode and select one of
following options: Ice Cover, Ice Cover – shaded, Ice Cover – No Orig, Ice Cover (only)
or Ice Cover (only) - shaded. To output the surface mesh of the ice shape, go to the
Display Mesh and select Yes. Figure 29.28: Ice View in CFD-Post, Ice Cover with Display
Mesh (p. 1111) shows the output of activating Ice Cover under Display Mode by selecting
Yes under Display Mesh and pressing Calculate at the bottom of the Macro Calculator.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1110 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing an Ice Accretion Solution Using CFD-Post Macros
Figure 29.28: 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. Figure 29.29: Ice View in
CFD-Post, Instantaneous Ice Growth over Ice Cover Surface (p. 1112) shows the output of the macro.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1111
In-Flight Icing Tutorial Using Fluent Icing
Figure 29.29: Ice View in CFD-Post, Instantaneous Ice Growth over Ice Cover Surface
Note:
You 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 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),
• 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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1112 of ANSYS, Inc. and its subsidiaries and affiliates.
Postprocessing an Ice Accretion Solution Using CFD-Post Macros
• 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. Figure 29.30: 2D-Plot in
CFD-Post, Clean Wall Surface and Ice Cover Surface (p. 1113) shows the output of the macro.
Figure 29.30: 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 Ice
Thickness 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.02 and -0.04
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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1113
In-Flight Icing Tutorial Using Fluent Icing
16. Leave the other default settings unchanged and click Calculate to update the 2D plot in the
ChartViewer. Figure 29.31: 2D-Plot in CFD-Post, Ice Thickness Distribution (p. 1114) 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.
Note:
Two approaches are supported in Fluent Icing to represent the computational domain at
each shot: the automatic mesh displacement approach and the automatic remeshing with
Fluent Meshing method.
The automatic mesh displacement uses the initial surface mesh to represent the ice shape.
Surface nodes are moved inside the computational domain to represent the ice that forms
at each shot. This process keeps the number of nodes and cells constant. As the ice shape
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1114 of ANSYS, Inc. and its subsidiaries and affiliates.
Multi-Shot Ice Accretion with Automatic Remeshing
grows, the total area covered by the boundary wall mesh increases which changes the size
and the aspect ratio of the cells near the ice. This may result in a less than optimal grid
spacing if the initial 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.
Alternatively, it is possible to use automatic remeshing with Fluent Meshing when simulating multi-shot
icing. Remeshing refines and reorganizes the mesh topology on and around the ice. This leads to more
stable and accurate air and droplet solutions for the next shot. Negative volume elements that often
form with large mesh deformations are avoided with remeshing. For more information regarding
automatic remeshing, consult Ice.
1. This tutorial is a continuation of the previous tutorial. The last run that was computed was the
ice_mvd_m7p5C run. The current settings setup in the Simulation panel will be consistent with the
settings from that run. However, to be certain that you begin from those conditions, you may right-
click the ice_mvd_m7p5C run in the Project View panel and select Load settings.
2. In the Outline View, go to Setup → Ice. In its Properties window, 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) during the next shot.
This approach removes any arbitrary specification of roughness value. The first shot always needs
some initial roughness, 0.5 mm in Fluent Airflow on the Rough NACA0012 Airfoil (p. 1078), 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, you should start with a 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.
At the start of each shot, the airflow can be initialized using the parameters defined in the case
file (Reinitialize)or the interpolated airflow solution from the previous shot (Continue). This can
be defined inside the Airflow Restart option. In the current simulation, leave it to Reinitialize,
which is the default option.
• In Time, change the Total time of ice accretion [s] from 420 to 140 which corresponds to 1/3rd
of the total time.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1115
In-Flight Icing Tutorial Using Fluent Icing
• Click on the Set-up remeshing, located at the bottom of the Properties – Ice panel. This auto-
matically sets Fluent Meshing as the remeshing solver, and adds extra options, under Remeshing,
to control the type of mesh refinement at each shot.
• Below Remeshing, several options are available to control the surface mesh refinement as well
as hexas (boundary layer cells) and prisms that will compose the computational domain at each
shot. Enter the following settings as shown in the image below.
By selecting 2.5D under Dimension, you are indicating to Fluent Meshing to generate a 2.5D
mesh by extruding a surface mesh from one symmetry plane to the other. Therefore, there are
some requirements that the initial case file that is imported into Fluent Icing must have:
– Symmetry planes that represent the span of the airfoil must be Z planes. One of the two sym-
metry planes must be located at Z=0 and the other should be placed at a Z+ location.
– Both symmetry planes must share the same zone name and type.
– The material point must be located near the trailing edge and at half-span.
Below are some useful recommendations to consider based on the type of trailing edge that your
2.5D airfoil has:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1116 of ANSYS, Inc. and its subsidiaries and affiliates.
Multi-Shot Ice Accretion with Automatic Remeshing
Split the pressure and suction sides into two separated zone BCs. The trailing edge will be a
geometric edge that separates these two BCs.
5. Right-click Solution and then select Reset to automatically remove previous airflow, particles and
ice solutions from memory.
6. Launch the multishot calculation by right-clicking Solution and then by selecting Run multishot.
A Warning message will appear highlighting the need to switch to Use ref. temperature in order
to proceed with this multishot simulation. Select Use ref. temperature since the icing temperature
must be identical to the airflow reference temperature when running a multishot simulation.
7. Another window will appear. Name the new run ice_mvd_m7p5C_multi and press OK.
8. Go to the Plots window and monitor the convergence of Airflow, Particles and Ice solvers. In the
Plots window, first select a shot and a solver next to Dataset, and then choose the residual or report
to output next to Curve. The image below shows the residuals of the 3rd shot of the Airflow and
Particles solvers.
9. Go to the Project View by clicking the Project tab in the top ribbon menu. Under the
naca0012_icing (loaded) simulation, a new run named ice_mvd_m7p5C_multi now appears and
is specified as (current). Expand the run by clicking the + icon to the left of ice_mvd_m7p5C_multi
to show the files associated with the run. A shot.** folder is created for each shot of the icing cal-
culation, and includes a two-digit number that links these folders to their shot number. Once all
calculations are complete, view the final ice shape by following these steps:
a. Right-click shot.01/Ice and select Surface Grid → View with Viewmerical to load the clean
airfoil surface. Select New instance if asked to append this solution to an existing Viewmerical
window.
b. Right-clicking shot.03/Ice and select View Results with... → Viewmerical to load the result of
computed ice shape. Click Append when a message appears asking if you would like to append
this to a previously opened Viewmerical display, and then select Ice Cover view type in another
pop-up View Ice window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1117
In-Flight Icing Tutorial Using Fluent Icing
c. In Viewmerical, click the loaded clean airfoil surface grid-naca0012.01.map.grid under the
Objects panel. In Object, select Metallic + Smooth and double-click Cell to open the Select
Color window. In this window, set the HTML color to #474747 and press OK.
d. Click on the loaded ice shape ice-naca0012.03.swimsol under the Objects panel. Make sure
that Metallic + Smooth is selected in Object. Go to the Data panel and select Ice cover (only)
under the Display mode of ICE3D. Set the Ice Growth value to 0.1 kg/m^2 under Ice thickness
threshold.
e. Go to the View panel. Set the Ambient light boost to a value of 20 % under Global display
settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1118 of ANSYS, Inc. and its subsidiaries and affiliates.
Multi-Shot Ice Accretion with Automatic Remeshing
10. Next, compare the ice shape of the multishot run to that of the single shot run. Go to the Project
View. Under the run ice_mvd_m7p5C_multi, right-click shot.01/Ice and select Surface grid →
View with Viewmerical. This grid file represents the surface grid (called naca0012.01.map.grid
on disk) used to calculate the 1st shot of ice accretion.
11. Rename this object by double-clicking on the grid-naca0012.01.map.grid object name and enter
Airfoil into the Rename dataset window.
12. Under the run ice_mvd_m7p5C_multi, right-click shot.03/Ice and select Iced grid → View with
View- merical. This grid file represents the ice surface grid (naca0012..03.ice.grid on disk)
calculated during the 3rd shot of ice accretion.
13. A message appears asking if you would like to append this to a previously opened Viewmerical
display. Choose Append.
14. Rename this object by double-clicking on the grid-naca0012.03.ice.grid object name and enter
Ice -7p5C, 3 shots in the Rename dataset window.
15. Under the run ice_mvd_m7p5C, right-click Ice and select Iced grid → View with Viewmerical. This
grid file represents the ice surface grid calculated during the single shot run.
16. A message appears asking if you would like to append this to a previously opened Viewmerical
display. Choose Append.
17. Rename this object by double-clicking on the grid-naca0012.ice.grid object name and enter Ice
-7p5C, 1 shot in the Rename dataset window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1119
In-Flight Icing Tutorial Using Fluent Icing
18. Click the Lock icon at the lower right of the data set list in the Objects window.
19. 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. This is mainly
due to the continuous increase in collection efficiency and convective heat fluxes (cooling
effects) as the upper horn curvature increases. 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.
Figure 29.33: Ice Shapes at -7.5 C, Obtained Using One Shot and Three Shots Computations
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1120 of ANSYS, Inc. and its subsidiaries and affiliates.
Multi-Shot Ice Accretion with Automatic Remeshing – Postprocessing Using CFD-
Post
of Multi-Shot Ice Accretion with Automatic Remeshing (p. 1114) is used and, therefore, completion of
Multi-Shot Ice Accretion with Automatic Remeshing (p. 1114) 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 the Ribbon menu and select Results. In Quick-view, click
Ice cover → Multi-shot 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 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 Remeshing (p. 1114), this corresponds
to the ice shape of shot 3, by specifying 3 besides the Multi-shot # and then by clicking Calculate.
Figure 29.34: Ice View in CFD-Post, Final Ice Shape (p. 1122) shows the output of the final ice shape.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1121
In-Flight Icing Tutorial Using Fluent Icing
Note:
To change the style of the ice shape display, go to the Display Mode and select one of
following options: Ice Cover, Ice Cover – Shaded, Ice Cover – No Orig, Ice Cover (only)
or Ice Cover (only) - shaded. To output the surface mesh of the ice shape, go to the
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. Figure 29.35: Ice View in
CFD-Post, Instantaneous Ice Growth over Ice Cover Surface, Final Ice Shape (p. 1123) shows the output
of the macro.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1122 of ANSYS, Inc. and its subsidiaries and affiliates.
Multi-Shot Ice Accretion with Automatic Remeshing – Postprocessing Using CFD-
Post
Figure 29.35: 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
simulation. Follow these steps to create and save a custom animation.
• Set Multi-shot # to 1. The animation starts at the assigned shot number in Multi-shot # 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 run dir-
ectory. 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 sim-
ulation. You will create a 2D-Plot that contains all the ice shapes generated by the multishot simu-
lation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1123
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 Multi-shot # 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. Figure 29.36: 2D-
Plot in CFD-Post, Ice Shapes of the Multishot Simulation (p. 1125) shows the output of the macro.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1124 of ANSYS, Inc. and its subsidiaries and affiliates.
Multi-Shot Ice Accretion with Automatic Remeshing – Postprocessing Using CFD-
Post
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
(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 Filename (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 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1125
In-Flight Icing Tutorial Using Fluent Icing
Note:
In this tutorial the FENSAP Airflow Solver is used. If you would like to instead use the Fluent
Airflow Solver, go to Fluent Airflow on the Clean NACA0012 Airfoil (p. 1069).
FENSAP-ICE modules in Fluent Icing solve only 3D problems. In order to solve pure 2-D
problems, it is recommended to generate 3D grids by extruding these 2D domains along
their span or thickness. One single element is sufficient to represent the span or thickness
of the 3D domain. In this manner, Fluent Icing is always executed in 3-D mode.
2. Once Fluent Icing opens, the Project tab will be displayed by default. In the Project’s top ribbon
panel, select Project → New... and enter FLUENT_ICING_NACA0012_FENSAP to create a new
project folder.
3. In the Project’s top ribbon panel, select Simulations → Import Case, and browse to and select
the ../workshop_input_files/Input_Grid/Naca0012/naca0012.cas.h5 file created
in the previous section. A New simulation window will appear. Enter the Name of the new simu-
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1126 of ANSYS, Inc. and its subsidiaries and affiliates.
FENSAP Airflow on the Clean NACA0012 Airfoil
lation as naca0012_icing, and check to enable Load in solver. A new Simulation folder will
be created in your Project folder, and the naca0012.cas.h5 file will be imported.
Note:
The naca0012.cas.h5 input case file has already been setup properly in standalone
Fluent for use in Fluent Icing simulations.
4. After the .cas.h5 file has been successfully loaded, the Simulation tab is displayed, and a new
simulation tree appears under naca0012_icing (loaded) in the Outline View window.
5. Select Setup under naca0012_icing (loaded) and, in its Properties window, uncheck Particles
and Ice.
6. Inside the Outline View window, right-click the Airflow icon located under Setup and select
Update with Fluent Case settings to make sure that the Fluent simulation settings are properly
transferred to Fluent Icing.
7. Left-click on the Airflow icon to bring up the Properties – Airflow window. Under Setup → Airflow
in the General section, set the Airflow solver to FENSAP.
8. Under Outline View, click on Setup → Airflow → FENSAP icon. In the Turbulence section, set
the Turbulence Model to Spalart-Allmaras with No transition.
9. Under Setup → Boundary Conditions, expand Inlets and select pressure-far-field-4. In the
properties panel, by default the Conditions is set to Case settings. This setting ensures that the
boundary conditions will be taken directly from the settings already applied in the case file. If you
would like to modify the boundary conditions for a particular run, Conditions can be set to Edit,
which causes all the boundary conditions for that boundary type to appear in the properties
panel. For now, keep Conditions set to Case settings.
10. Under Setup → Boundary Conditions, expand Walls and click the wall surfaces (wall-5, wall-6
and wall-7). The wall boundary conditions have already been setup properly in the initial case
file. Notice that the Thermal conditions are set to Temperature and the Temperature value is
set to 280.929K. This value is equivalent to 10 degrees higher than the adiabatic stagnation air
temperature, which is the classic method for performing icing simulations, and can be set by right-
clicking on the wall surface name in the Outline View and then by selecting Set temperature
to Adiabatic + 10.
11. Under Solution → Airflow, increase the Number of iterations to 500. Set the CFL to 100, enable
CFL ramping and set the CFL ramping iterations to 300. A steady state simulation will be ex-
ecuted.
12. Under Solution → Airflow, and under the Output, set Forces to Drag-Custom direction. Set the
Lift axis to Y+. Set the Drag-X, Drag-Y and Drag-Z values to 0.997564, 0.069756, and 0, re-
spectively. Set the Reference area to 0.05334 m2.
13. Right-click the Airflow icon under Solution and select Calculate to launch this simulation. A new
window will appear requesting a name for the new run. Name the new run flow_clean.
14. Once the computation is complete, the Airflow solution will appear in the flow_clean run directory.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1127
In-Flight Icing Tutorial Using Fluent Icing
15. Take a look at the convergence history of this simulation in the Plots window located at the right
of your screen. The following two figures show the convergence of residuals and lift and drag
coefficients. You can obtain these figures by selecting Residuals, Forces – Lift coefficient and
Forces – Drag coefficient respectively next to Curve which is located at the top of the Plots
window.
In the console, the residuals and coefficients are provided at each iteration. Examine the conver-
gence of lift and drag coefficients listed as lift and drag. Lift and drag coefficients have converged
to 4.617600e-01 and 8.32458-03 respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1128 of ANSYS, Inc. and its subsidiaries and affiliates.
FENSAP Airflow on the Clean NACA0012 Airfoil
Figure 29.39: Convergence of Lift and Drag Coefficients of the Rough Airfoil
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1129
In-Flight Icing Tutorial Using Fluent Icing
16. Go to the ribbon bar of your Fluent Icing window and, under Results → Quick-view → Contour,
choose Heat flux (walls) to output the convective heat flux over the rough NACA0012. See Fig-
ure 29.41: Convective Heat Flux Over the Clean NACA0012 Airfoil (p. 1130).
Figure 29.41: Convective Heat Flux Over the Clean NACA0012 Airfoil
17. In the ribbon bar of your Fluent Icing window, select the Project window bar. Notice that the
naca0012_icing (loaded) simulation now contains the run folder flow_clean, which contains the
Airflow solution.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1130 of ANSYS, Inc. and its subsidiaries and affiliates.
FENSAP Airflow Solution on the Rough NACA0012 Airfoil
Ice forms surface roughness as it accretes. This roughness increases the momentum deficit and the skin
friction, which in turn thickens the boundary layer and increases drag. Convective heat flux is also in-
creased through additional turbulent conductivity within the boundary layer. It is therefore essential
to properly model the roughness produced naturally by the ice accretion process to obtain realistic ice
shapes. Fluent Icing models such roughness by applying an appropriate sand-grain roughness height
distribution over iced walls. In Fluent Icing, this height can be specified on each wall as a constant value,
or as a distribution via empirical or analytical methods such as ice bead modeling. See Surface
Roughness within the FENSAP-ICE User Manual or the Set-up → Boundary Conditions → Wall and Set-
up → Ice sections within the Fluent User's Guide for more details on surface roughness.
Note:
If you closed your Fluent Icing session since the completion of the last tutorial, you must
reopen your project and load your previous simulation and settings. To do this, open Fluent
Icing, select Project → Open..., and navigate to and select your FLU-
ENT_ICING_NACA0012_FENSAP.flprj project file. Once the project is open, right-click
the naca0012_icing simulation folder, and select Load in solver. The simulation will be
opened, and your window display will switch to the simulation view, with a simulation tree
appearing under naca0012_icing (loaded). To ensure that you are working from the most
recent settings, go back to the Project View, right-click the flow_clean run, and select Load
settings. Finally, go back to the Simulation view to continue with the tutorial.
1. Select Setup under naca0012_icing (loaded) and, in its Properties window, make sure Particles
and Ice are unchecked.
• Select the wall-5 boundary. In the Wall roughness section of Airflow, select High roughness
for icing and set its Roughness Height (m) to 0.0005 m.
3. Under Solution, right-click Airflow from the side menu. Select Reset.
4. Right-click the Airflow icon under Solution and select Calculate to launch this simulation. A window
will appear asking if the current run should be continued. Select No. A new window will appear re-
questing a name for the new run. Name the new run flow_rough.
Note:
If you closed Fluent Icing after the completion of the last tutorial, a window will appear
asking to create a new run once you click Calculate. Set the Name of the new run to
flow_rough and press OK.
5. Once the computation is complete, the Airflow solution will appear in the flow_rough run directory.
6. 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 window by dragging one
side of the box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1131
In-Flight Icing Tutorial Using Fluent Icing
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 lift and drag. Lift and drag coefficients have
converged to 4.247817e-01 and 1.874172-02 respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1132 of ANSYS, Inc. and its subsidiaries and affiliates.
FENSAP Airflow Solution on the Rough NACA0012 Airfoil
Figure 29.43: Convergence of Lift and Drag Coefficients of the Rough Airfoil
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1133
In-Flight Icing Tutorial Using Fluent Icing
7. Go to the ribbon bar of your Fluent Icing window and, under Results → Quick-view → Contour,
choose Heat flux (walls) to output the convective heat flux over the rough NACA0012. See Fig-
ure 29.45: Convective Heat Flux Over the NACA0012 (p. 1134).
This tutorial described the process of simulating the rough airflow over the NACA0012 airfoil using
the FENSAP airflow solver within Fluent Icing. This can be seen as an alternate tutorial to Fluent
Airflow on the Rough NACA0012 Airfoil (p. 1078), where Fluent is used as the airflow solver. After
completing this alternate tutorial, you may continue with the droplet impingement and icing tutorials,
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1134 of ANSYS, Inc. and its subsidiaries and affiliates.
FENSAP Airflow Solution on the Rough NACA0012 Airfoil
Droplet Impingement on the NACA0012 (p. 1082) through Multi-Shot Ice Accretion with Automatic
Remeshing – Postprocessing Using CFD-Post (p. 1120), as the procedure is similar.
Caution:
If you would like to continue with additional tutorials, do not close Fluent Icing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1135
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1136 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 30: Multishot Icing with Automatic
Remeshing Tutorial
The following sections of this chapter are:
30.1. Limitations
30.2. Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
30.3. Multishot Glaze Ice with Automatic Remeshing - Postprocessing Using CFD-Post
30.1. Limitations
• Fluent report files are not supported when running multishot remeshing simulations. Disable these
report files from your .cas[.h5] files using a Fluent Solution Workspace.
• Walls that are set as Disabled for Icing are not supported by the automatic remeshing feature.
30.2. Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
This tutorial demonstrates Fluent Icing capabilities in conducting a multishot ice accretion simulation
on the 3D Onera M6 swept wing under glaze icing conditions using automatic remeshing with Fluent
Meshing. Automatic remeshing will maintain and/or improve the mesh resolution over the ice shape
as it evolves at each shot and therefore will enhance convergence, precision and accuracy of the entire
simulation process.
1. Setting up a Fluent Airflow Simulation on a Clean Onera M6 Wing (p. 1138) demonstrates how
to setup a clean (zero wall roughness) airflow case using a Fluent Solution Workspace for typical
icing calculations.
2. Multishot Icing with Automatic Remeshing on the Onera M6 Wing (p. 1143) shows how Fluent
Icing can be setup to perform an 18-minute Multishot ice accretion calculation divided into 6
quasi-steady shots, of 3 minutes each. It is recommended to have a 64GB RAM machine to run
this multishot icing simulation since the mesh size increases with the number of shots.
3. Multishot Icing with Automatic Remeshing - Run in Batch Mode (p. 1150) shows how to run a
multishot icing simulation in Fluent Icing using batch mode and a journal file.
For convenience, the oneram6-wing.cas.h5 file has already been setup according to the steps
highlighted in Setting up a Fluent Airflow Simulation on a Clean Onera M6 Wing (p. 1138). You could
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1137
Multishot Icing with Automatic Remeshing Tutorial
therefore skip Setting up a Fluent Airflow Simulation on a Clean Onera M6 Wing (p. 1138). However, if
this is your first time performing an icing calculation with Fluent on a large 3D geometry, it is recom-
mended to first continue with the steps shown in Setting up a Fluent Airflow Simulation on a Clean
Onera M6 Wing (p. 1138).
2. Read the case file by going to File → Read → Case. Browse to and select the extracted file flu-
ent_multishot/oneram6-wing.cas.h5.
3. From the ribbon menu on the top, select Physics → Solver → Operating Conditions.... Set the
Operating Pressure to 0 Pa. Press OK.
4. From the Outline View on the side, select General under Setup. Ensure that the Solver is set to
Type → Pressure-Based, Velocity-Formulation → Absolute, and Time → Steady.
5. Under Models,
• Double-click Viscous to open the Viscous Model menu. There are different turbulence
models that can be selected. For icing applications, it is strongly recommended to use the
popular k-ω SST model, which is turned on by default. Enable Viscous-Heating and Pro-
duction Limiter under Options. Under the Model Constants section, change the Energy
Prandtl Number and Wall Prandtl Number to 0.9, to be consistent with FENSAP-ICE,
and the Production Limiter Clip Factor to 10. Press OK.
6. Next, click Materials → Fluid and double-click air to open the air properties.
• Set the Density to ideal-gas. Set the Cp (Specific Heat) to 1004.688 j/kg.K, the Thermal
Conductivity to 0.02361064 W/m.K, and Viscosity to 1.6918e-05 Kg/m.s. Alternatively,
these properties can be set directly inside Fluent Icing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1138 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
Note:
Consult Recommended Settings under Airflow for more details of the air properties for
icing simulations. For simplicity, thermal conductivity and viscosity equations are
presented below:
• Click Inlet and double-click pressure-far-field-4 to set the far field boundary conditions.
a. In the Momentum panel, set the Gauge Pressure (pascal) to 84,312.727 Pa and the
Mach Number to 0.31385. To define a 4-degree angle of attack (α), set the Coordinate
System to Cartesian (X, Y, Z) and the X, Y and Z-Component’s to 0.997564078,
0.069756311, and 0. Under Turbulence, set the Specification Method to Intensity and
Viscosity Ratio, the Turbulence Intensity to 0.08% and the Turbulent Viscosity Ratio
to 1e-05.
• Click Outlet and double-click pressure-outlet-8 to set the subsonic outlet boundary
a. In the Momentum panel, set the Gauge Pressure to 84,312.727 Pa and enable the
Prevent Reverse Flow option.
a. In the Momentum panel, set the Shear Condition to No Slip and the Roughness Models
to High Roughness (Icing). Under Sand-Grain Roughness, keep the default settings and
make sure that the Roughness Height (m) is set to 0 since the surface of the Onera M6 is
considered clean.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1139
Multishot Icing with Automatic Remeshing Tutorial
Note:
It is also possible to enable the High Roughness (Icing) model as well as its
Roughness Height (m) directly in Fluent Icing.
b. In the Thermal panel, set the Thermal Conditions to Temperature. Set the Temperature
to 283.2797 K, and press OK. This temperature corresponds to the Adiabatic stagnation
temperature + 10K, as required for standard external icing simulations with FENSAP-ICE.
Note:
To save time, any arbitrary wall boundary condition can be set here as Fluent
Icing can easily overwrite this by using the option Adiabatic stagnation
temperature + 10K that automatically computes the correct value and im-
poses it at a selected wall.
• Copy the same boundary condition settings of wall-5 on to wall-6 and wall-7 by right-clicking
wall-5 and select Copy. Under the To Boundary Zones select both wall-6 and wall-7 and click
Copy.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1140 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
8. Next, double-click on the Reference Values. Under Compute from, select pressure-far-field-4.
Set the Area to 0.76 m2, the planform area of the wing. Set the Length to 0.65 m, the mean
aerodynamic chord of the wing. Adjust the Velocity to 103 m/s.
Note:
These reference values will be used for post-processing purposes such as aerodynamic
coefficients.
9. Continue to the Solution menu on the Outline View, double-click Methods. Set the Pressure-
Velocity Coupling scheme to Coupled. Under Spatial Discretization, set the Gradient to Green-
Gauss Node Based and the remaining options to Second Order or Second Order Upwind. Enable
the Pseudo Time Method option and High Order Term Relaxation to improve convergence.
10. Next, double-click the Monitors menu and then the Residual menu.
• Modify the Absolute Criteria for convergence to 1e-10 for all residuals. Ensure that Monitor
and Check Convergence are selected for all residuals.
• Make sure that the Print to Console and the Plot are enabled.
• Enable Show Advanced Options. In Residual Values, check Scale and Compute Local Scale,
and select local scaling under Reporting Option.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1141
Multishot Icing with Automatic Remeshing Tutorial
11. You can also monitor the drag and lift coefficients during the simulation.
• In the Outline View, double-click Report Definitions. Select New → Force Report → Drag.
Change the Name to report-cd and set the Force Vector to 0.99756405, 0.069756474,
and 0. Enable Report Plot and Print to Console under Create. Activate Drag Coefficient under
Report Output Type and select wall-5, wall-6 and wall-7 under the Wall Zones section. Press
OK.
• In the Report Definitions window, select New → Force Report → Lift. Change the Name to
report-cl and set the Force Vector to -0.069756474, 0.99756405, and 0. Enable Report
Plot and Print to Console under Create. Activate Lift Coefficient under Report Output Type
and select wall-5, wall-6, and wall-7 under the Wall Zones section. Press OK and close the
Report Definitions window.
12. Next, double-click the Initialization menu. Select Hybrid Initialization under Initialization
Methods. Click More Settings…. In the Hybrid Initialization window, increase the Number of
Iterations to 20 and enable Use External-Aero Favorable Settings under Initialization Options
in order to have a better starting airflow solution over the Onera M6 wing. Click OK.
13. Finally, double-click Run Calculation. Make sure that, in the Pseudo Time Settings group box,
the Time Step Method is set to Automatic and the Length Scale Method to Conservative.
Change the Time Scale Factor to 0.1 in order to improve convergence. Under Parameters, set
the Number of Iterations to 300.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1142 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
14. Go to File → Write → Case to save the setup case file for use in the next section. Name this file
oneram6-wing.clean.cas.h5.
Note:
The Automatic Remeshing approach shown is different than the automatic mesh displace-
ment (ALE) method. In the ALE method, only the ice surface and the cells around the ice
shape are displaced. Therefore, this method maintains the same number of nodes and
cells during the entire multishot simulation. The inherent disadvantage of the ALE method
is the deterioration of the mesh quality (coarsening, increase in aspect ratio of cells, etc.)
especially for longer ice accretion times where the possibility of complex ice shapes such
as horns can develop.
1. Launch Fluent on your computer. In the Fluent Launcher window, select Icing. Set the number
of processes to at least 12 CPUs. Click on Show More Options and, in General Options, select
a suitable Working Directory for your new multishot remeshing. Click Start to launch Fluent
Icing.
2. Once Fluent Icing opens, go to File → Preferences and make sure that all the Icing options are
left unchecked.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1143
Multishot Icing with Automatic Remeshing Tutorial
Note:
These Icing options are reserved for expert users that would like to access extra para-
meters of Fluent and or beta/advanced features of Fluent Icing. They can also be used
to set up multicore simulations in a cluster of computing nodes.
3. In the Project’s top ribbon panel, select Project → New… and enter Flu-
ent_multishot_oneram6 to create a new Project folder.
Note:
A Fluent project allows you to save and manage multiple Simulations and Runs in a
single project folder.
4. Go to the Project ribbon menu and select Simulation → Import Case and browse to and select
the fluent_multishot/oneram6-wing.cas.h5 file from the extracted flu-
ent_multishot.zip archive.
• A New simulation window will appear. Enter the Name of the new simulation as
oneram6_icing, and check to enable Load in solver. Press OK.
In this manner, a new Simulation folder will be created in your Project folder, and the oneram6-
wing.cas.h5 file will be imported.
You should now see the oneram6_icing (loaded) tree displayed in the Outline View tab.
5. Select the Setup tree menu under oneram6_icing (loaded) and in the Setup panel, check Airflow,
Particles and Ice.
6. Continue further down and right-click the Airflow tree menu located under Setup and select
Update with Fluent Case settings to make sure that the previously setup Fluent simulation settings
are properly transferred to Fluent Icing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1144 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
• Under Conditions, make sure that the airflow conditions under Conditions correspond to the
conditions in (Table 30.2: Simulation In-Flight Icing Conditions (p. 1143)).
• Under Direction, go to Vector mode and select Angle of attack to specify the orientation of
the reference airflow. Set the Lift Direction and Drag Direction to Y+ and X+ respectively. Set
the AoA [deg.] to 4 and the Velocity magnitude [m/s] to 103 (Table 30.2: Simulation In-Flight
Icing Conditions (p. 1143)).
8. Inside the Outline View window, right-click the Fluent icon located under Airflow and select Set
to default Air properties. A message appears, to confirm that the air properties will be computed
using the airflow temperature of 268 K. Press OK. This automatically sets the air properties to
those suggested for icing simulations by using the current reference air temperature conditions.
The values of air properties have been computed using the equations presented in Airflow within
the Fluent User's Guide.
• Under Materials, make sure that Air is set as the Fluid used in this simulation. Moreover,
the airflow properties computed in the previous step are shown in this submenu.
• Under Models, verify that Energy, the K-Omega 2-eqn SST model and Viscous Heating
are enabled. Also, make sure that the Turb.Production Limiter is active. This is an important
step to properly account for thermal convective effects during the simulation of the ice
accretion process. Moreover, the k-Omega 2-eqn SST model is the only turbulence model
that supports icing roughness.
Note:
Fluent Materials and Models present inside the Properties – Fluent panel of Fluent
Icing can be set to Case settings. In this case, Fluent Icing will use the Materials and
Models that have been specified inside the imported case file. Moreover, if Show
Solution Workspace has been checked inside File → Preferences → Icing, a Material
or Model that is not available in Fluent Icing can be selected inside the Solution
Workspace. To apply this change to Fluent Icing, save the case file and select Case
settings in the Properties – Fluent panel where required. This can also be done to
any parameter inside Fluent Icing that has Case Setting as an option.
10. Click Setup → Particles to display the Particles panel. In this panel, check only Droplets.
• In this panel,
b. Under Appendix Conditions, select Appendix C. Click the Configure Appendix C button
located at the bottom left of this panel. An Appendix C window appears. In this window,
select Continuous maximum (Stratiform clouds) in Environment. The LWC shown in this
window automatically changes to 0.528241635 g/m3. Press OK. A message appears to confirm
your selection. Click Yes. The LWC [kg/m3] value in the Properties - Droplets window is
now set to 0.000528242 kg/m3 to respect the Appendix C continuous maximum cloud.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1145
Multishot Icing with Automatic Remeshing Tutorial
c. Under Particles Distribution, keep Monodispersed since we will conduct a water catch
simulation using a single droplet size.
d. Under Model, keep Water as the Droplet drag model. This is the default drag law for
droplet particles.
12. Click Setup → Ice to display the Ice panel. In this panel, make sure that the Recovery Factor is
set to 0.9, and that Beading is enabled under Model.
• Go to Inlets → pressure-far-field-4,
a. Under Airflow, select Edit besides Conditions. Click on Import ref. conditions located at
the bottom of this property panel, to populate the airflow boundary conditions using the
airflow conditions specified in Setup → Airflow.
b. Under Particles, From Ref. conditions is enabled and Droplet velocity vector remains
unchecked. The From Ref. conditions option will apply the Droplet conditions at the inlet
of the pressure-far-field, in this case, the LWC and the MVD. If Droplet velocity vector re-
mains unchecked, the airflow velocity is imposed as the droplet velocity at the inlet. In
other words, the relative velocity between air and droplets is zero at farfield.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1146 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
• Go to Walls → wall-5,
a. Under Airflow, select High roughness for Icing next to Wall Roughness and set the
Roughness Height (m) to 0.0005. This is the initial roughness height that is applied on
the first shot only. Other shots will have a roughness distribution applied over their iced
surfaces since Beading was enabled in Setup → Ice.
b. Make sure that under Ice, Icing is Enabled. This will allow ice accretion over this wall. Do
not check Specify Heat Flux.
c. To properly set the wall temperature for icing simulations, go to the Outline View, right-
click on wall-5 and select Set temperature to Adiabatic + 10. By doing so, the Temperature
[K] under Airflow in the Properties - wall-5 panel is correctly set.
• Repeat the process described above for wall boundaries wall-6 and wall-7.
• Go to Outlets → pressure-outlet-8,
a. Under Airflow, select Edit besides Conditions. Click on Import ref. conditions located at
the bottom of this property panel, to populate the airflow boundary conditions using the
airflow conditions specified in Setup → Airflow.
• Click Ice.
– Set Total time of ice accretion [s] to 180 which corresponds to 1/6th of the total time
in Table 30.2: Simulation In-Flight Icing Conditions (p. 1143)
– Select Set-up remeshing, located at the bottom of the Properties – Ice panel. This
automatically sets Fluent Meshing as the Remeshing solver, under the Output option,
and adds extra options, under Remeshing, to control the type of mesh refinement to
be done at each shot.
– Below Remeshing, several options are available to control the surface mesh refinement
as well as tetras and prisms that will composed the computational domain at each shot.
Enter the following settings as shown in the image below.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1147
Multishot Icing with Automatic Remeshing Tutorial
In this example, the above mesh settings were created to obtain a quick and reasonable
ice shape at the end of the 6th shot and to get familiar with the set-up of a multishot
simulation using automatic remeshing. If you would like to further refine your 3D meshes
and thus improve the level of precision of your simulations, you can modify these settings
and increase the number of CPUs. For more information, consult Automatic Remeshing
Using Fluent Meshing.
Note:
b. Check Save files at Each Shot to examine the steady-state solutions at the end of each
shot.
Note:
The airflow solver can be reinitialized at each shot or can continue from an inter-
polated solution coming from a previous shot. This can be done by choosing one
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1148 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
• Right-click Solution. Select Run Multishot to launch the Multishot calculation. A New run
window will appear. Set the Name of the new run to multishot_remeshing. Click OK.
Note:
Alternatively, you can also click Run multi-shot, which is located at the bottom of
Solution window, to launch the Multishot calculation.
16. Go to the Project View by clicking the Project tab in the top ribbon menu. Under the oneram6
icing (loaded) simulation, a new run named multishot_remeshing now appears and is specified
as (current). Expand the run by clicking the + icon to the left of multishot_remeshing to show
the files associated with the run. Each shot is represented by a grey folder and includes a two digit
number to specify the shot number that it is associated with. Each grey folder contains a mesh
file (Case), and 3 solution files (Airflow, Droplets and Ice).
17. Once all calculations are complete, view the final ice shape by right-clicking the Ice icon located
under shot.6 in the Project View. Select View result → View with Viewmerical. Choose Ice
Cover in the Select View Type dialog.
Note:
You are also invited to perform another icing simulation with the following conservative
mesh settings. These settings will allow you to obtain a smooth representation of the
ice shape. This simulation will require more computing resources.
Inside the Outline View, go to Solution → Ice and change the following settings under
Remeshing.
• Reduce the Global Size – Min and Curvature Size – Min to 0.001.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1149
Multishot Icing with Automatic Remeshing Tutorial
The figure below shows the ice shape obtained with these new conservative settings.
These settings capture better the ice horns as well as the convective and viscous effects
around the ice shape.
Additionally, you can look at the convergence history of this simulation in the Plots display window
located at the right of your screen. Global-Air/-Particles/-Ice provide a quick overview of the
convergence history of all shots.
Note:
In the event your calculation stopped during the multishot simulation, you can resume
your calculations from a given step within a shot. In this case, go to the Project View,
right-click the shot.xx folder, and select Set Restart Shot. Inside the Outline View,
click on Solution. Inside its Properties – Solution panel, set the Step from where you
would like to resume your multi-shot simulation. There are 4 steps: Airflow, Particles,
Ice, and Mesh Update. Then, click the Run multi-shot button located at the left corner
of the Properties – Solution panel to relaunch your calculations and click Yes to
continue the current run. Calculations will start at the beginning of the step that was
selected.
In the event that you would like to restart your calculations with new settings, click
Interrupt and then Reset multishot to reload the initial grid and to reset and unload
all solutions. Then make your changes to your multishot calculation inside the Outline
View and click Run multi-shot.
18. Do not close Fluent Icing if you would like to further post-process the Multishot ice solution.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1150 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
A python script that recorded all steps of the previous tutorial is used to demonstrate this capability.
Note:
2. Select File → Start Journal. In the Select File window, name your script oneram6-
multishots-auto-run.py. Click OK to start the recording.
3. Repeat all the steps of the previous tutorial and wait until the simulation is completed.
5. Open the script. Add the following few extra command lines at the beginning of the
script if you want to delete an old existing project. In this case, the old project name
is Fluent_multishot_oneram6:
• Project.erase('Fluent_multishot_oneram6')
• preferences.PrjApp.UseLauncher.setState(False)
• preferences.PrjApp.ShowFluentWindow.setState(False)
When running in batch mode, turn off the graphical user interface Launcher
and the Fluent client.
2. Download the fluent_multishot.zip file here. Extract all the files and copy oneram6-
wing.cas.h5 and oneram6-multishots-auto-run.py to the working folder ../FLUENT-
ICING/.
3. Open a terminal and navigate to the working folder ../FLUENT-ICING/. Execute the following
command to launch the run in batch mode within Fluent Icing on a Windows™ machine.
..\fluent\bin\icing.bat -R oneram6-multishots-auto-run.py -t 12 -N
To launch the run in batch mode on Linux machines, execute the following command:
../fluent/bin/icing -R oneram6-multishots-auto-run.py -t 12 -N
Replace the .. with the full path where the Ansys package is installed. The option -R in the
command means that Fluent Icing will execute the python script oneram6-multishots-auto-
run.py then exit. The option of -t 12 is the number of CPU assigned to this run, 12 cpus in
this case. Use the -N option to set Fluent Icing in batch mode. See Python Console for more details
and available options.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1151
Multishot Icing with Automatic Remeshing Tutorial
Once the script is executed, it will automatically create a project name/folder, set up the icing
simulation, and launch the run. Fluent Icing will run in batch mode until the simulation completes.
Note:
You can also run the script to setup the icing simulation without launching the simula-
tion. To do so,
• Go to the end of the script, and comment out the last line to skip the execution step
of the command by adding # at the beginning of the line.
# Project.newRun('multishot','multishot_remeshing',-1)
4. Launch Fluent Icing graphical user interface and then go to File → Open Project, or select the
Open icon under the Project section of the ribbon. Navigate to the working folder ../FLUENT-
ICING, and select the file Fluent_multishot_oneram6.flprj to add the project to Fluent
Icing’s Project Library.
Note:
Fluent Icing will not automatically add new projects to its Project Library that are ran
in batch mode. The new project can be accessed by using File → Open.
After the project is added, you will see it within the Project View:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1152 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing Using Fluent Meshing
5. Verify that these results are similar to the results obtained in Multishot Icing with Automatic
Remeshing on the Onera M6 Wing (p. 1143) by following the steps below:
Figure 30.2: Residuals of 1st Shot’s Air Flow Simulation (Left: Script Run; Right: Simulation
from the Multishot Icing with Automatic Remeshing on the Onera M6 Wing Tutorial)
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1153
Multishot Icing with Automatic Remeshing Tutorial
Figure 30.3: Instant. Ice Growth of 1st Shot Surface Icing Solution (Red: Script Run; Black:
Simulation from the Multishot Icing with Automatic Remeshing on the Onera M6 Wing
Tutorial)
Figure 30.4: Water Film of 1st Shot Surface Icing Solution (Red: Script Run; Black: Simulation
from the Multishot Icing with Automatic Remeshing on the Onera M6 Wing Tutorial)
Figure 30.5: Wall Temperature of 1st Shot Surface Icing Solution (Red: Script Run; Black:
Simulation from the Multishot Icing with Automatic Remeshing on the Onera M6 Wing
Tutorial)
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1154 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing - Postprocessing Using CFD-Post
• To view the final ice shape, right-click the Ice icon located under shot.6 in the Project View.
Select View result → View with Viewmerical. Choose New instance from the Information
window to load the ice shape in a new Viewmerical window if you didn’t close the previous
one. Choose Ice Cover in the Select View Type dialog.
Figure 30.6: Computed Ice Shape at the End of the 6th Shot (Left: Script Run; Right:
Simulation from the Multishot Icing with Automatic Remeshing on the Onera M6 Wing
Tutorial)
You can now post-process these icing results with CFD-Post. Please consult the next section.
For more information regarding these macros, consult the CFD-Post Macros section within the FENSAP-
ICE User Manual.
1. In your Fluent Icing window, go to the Project View and right-click multishot_remeshing. Select
View with CFD-Post → Ice → Ice cover.
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1155
Multishot Icing with Automatic Remeshing Tutorial
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.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1156 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing - Postprocessing Using CFD-Post
5. The default settings inside the Macro Calculator panel will allow you to automatically output the
ice shape of a first shot of the Multishot simulation. Output the ice shape at the end of the Multishot
simulation of Multishot Icing with Automatic Remeshing on the Onera M6 Wing (p. 1143), this corres-
ponds to the ice shape of shot 6. In this manner, set Multi-shot # to 6.
6. Under Display Mode, enter 0.2 in Transparency to output a semi-transparent ice shape that will
allow you to see the swept wing beneath the ice shape.
7. Leave the other settings unchanged. Click Calculate to execute the macro and view the ice shape
in 3D Viewer. Figure 30.7: Ice View in CFD-Post, Transparent Ice Cover of the Final Ice Shape (p. 1157)
shows the output of the macro.
Figure 30.7: Ice View in CFD-Post, Transparent Ice Cover of the Final Ice Shape
Note:
To change the style of the ice shape display, go to Display Mode and select one of the
following options: Ice Cover, Ice Cover – shaded, Ice Cover – No Orig, Ice Cover (only)
or Ice Cover (only) - shaded. To output the surface mesh of the ice shape, go to Display
Mesh and select Yes.
8. To output 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 without transparency.
10. Set a value of 0 to Transparency under Display Mode as this will provide a more solid view on the
displayed surfaces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1157
Multishot Icing with Automatic Remeshing Tutorial
11. Select Instant. Ice Growth (kg s^-1 m^-2) in the Display Variable drop-down list.
12. You will change the range and number of contours of the ice solution field. Under Display Variable,
• Enter 0.03 and 0 in the (Usr. Specif.) Max and (Usr. Specif.) Min input boxes, respectively.
13. Click Calculate to view the instantaneous ice growth over the final ice shape. Figure 30.8: Ice View
in CFD-Post, Instantaneous Ice Growth over the Final Ice (p. 1158) shows the output of the macro.
Figure 30.8: Ice View in CFD-Post, Instantaneous Ice Growth over the Final Ice
• Keep Screen Shot under By. If you select Size, you must specify width and height of the image.
• Keep the default Format. There are three types of format supported: PNG, JPEG, and BMP. The
default format is PNG.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1158 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing - Postprocessing Using CFD-Post
15. Click Calculate to generate and save the figure. A message will appear to notify the user of the
location where the figure is saved.
Note:
If CFD-Post was opened through Fluent Icing, the figure will be saved in the run folder.
If CFD-Post was opened in standalone mode, the figure will be saved in the Window’s
system default folder.
16. You can also generate and save animations that highlight the ice shape evolution of your Multishot
simulation while displaying an ice solution field over it. Follow these steps to create and save a
custom animation.
• Go to Multi-shot # and set it to 1. The animation starts at the assigned shot number in Multi-
shot # to the last shot of the simulation.
• Set (Multi-shot) Movie to On and click Calculate to see the animation on the 3D Viewer window.
– Keep the default 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 at which shot the animation starts.
Note:
If CFD-Post was opened through Fluent Icing, the animation will be saved in the run
folder. If CFD-Post was opened in standalone mode, the animation will be saved in the
Window’s system default folder.
17. Select Ice Cover – 2D-Plot from the Macro drop-down list to create 2D-plots of the Multishot sim-
ulation. You will create 2D-Plots at various locations along the swept wing using a single shot
solution or multiple shot solutions.
18. Set Multi-shot # to 3 since you will output the ice shape of the third shot.
20. Keep the default setting of 2D-Plot (with). The default setting is Single Shot. The other options of
2D-Plot (with) allow the creation of multiple shot results within the same 2D-Plot.
• Keep the default setting of Mode. The default setting is Geometry to output the ice shape.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1159
Multishot Icing with Automatic Remeshing Tutorial
• Set X/Y/Z Plane Point to 0.5. In this case, this corresponds to a Z=0.5 plane.
• Change the (y)Range of the Y-Axis from Global to User Specified. Specify values of 0.15 and
-0.15 in the input boxes of (Usr.Specif.y)Max and (Usr.Specif.y)Min, respectively.
23. Leave the other default settings unchanged and click Calculate to create a 2D-Plot of the 3rd shot
ice shape at Z=0.5 in a floating ChartViewer of CFD-Post. Adjust the output window’s size. The
figure below shows the cutting plane location in the 3D Viewer window and the output of the
macro in the ChartViewer.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1160 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing - Postprocessing Using CFD-Post
24. You will now create a 2D-Plot of all the ice shapes of the multishot simulation using a user-defined
cutting plane and save this image in a file. First, set Multi-shot # to 1.
26. Select Multi-Shots from the 2D-Plot (with) drop-down list. This will generate a series of 2D plot
curves, starting from the assigned shot number in Multishot Num. to the last shot of the multishot
simulation.
• Keep the default setting of Mode. The default setting is Geometry to output the ice shape.
• Set the Cutting Plane By to Point and Normal to define an arbitrary cutting plane. The
normal does not need to be a unit vector.
• Set the coordinate of the point (0.533646, -0.022681, 0.898708) inside (Pt. &
Nml.)Pnt.X/Y/Z, respectively.
• Set the normal vector coordinates (0.5, 0, 0.866025) inside (Pt. & Nml.)Nml.X/Y/Z, respect-
ively.
28. To center the 2D-Plot around the leading edge of the wing section defined by the arbitrary cutting
plane,
• Change the (x)Range of the X-Axis from Global to User Specified. Specify values of 0.65 and
0.45 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.06 and
-0.06 in the input boxes of (Usr.Specif.y)Max and (Usr.Specif.y)Min, respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1161
Multishot Icing with Automatic Remeshing Tutorial
• Keep the default Format. There are three types of format supported: PNG, JPEG, and BMP. The
default format is PNG.
30. Leave the other default settings unchanged and click Calculate to create a 2D-Plot of all the ice
shapes at a user-defined cutting plane in a floating ChartViewer of CFD-Post. A message will appear
to notify the user of the location where the figure is saved. Adjust the output window’s size. The
figure below shows the cutting plane location in the 3D Viewer window and the output of the
macro in the ChartViewer.
Figure 30.10: 2D-Plot in CFD-Post, Multishot Ice Shapes at a User-Defined Cutting Plane
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1162 of ANSYS, Inc. and its subsidiaries and affiliates.
Multishot Glaze Ice with Automatic Remeshing - Postprocessing Using CFD-Post
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1163
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1164 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 31: Fluent Aero Tutorial
The following sections of this chapter are:
31.1. Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles of Attack
31.2. Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry Capsule at Different
Altitudes Using Custom Exploration
31.3. Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients on an Aircraft at
Different Flight Altitudes and Engine Regimes
31.4. Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Windtunnel Domain at
Different Mass Flow Rates
1. Extract the oneram6-wing-coarse.cas.h5 file and the reference_data folder for this tu-
torial. The reference_data folder contains several .csv formatted text files. Their content will
be compared to the CFD results of the current calculation. The reference data files are provided for
demonstration purposes only.
The oneram6-wing-coarse.cas.h5 file contains a grid of an ONERA -M6 swept wing that
consists of 35,000 nodes, and 142,000 cells. This is a very coarse grid. Its purpose is to ease calculation
time and resources while demonstrating the most common features of Fluent Aero. Tetrahedral cells
define most of the computational domain. Four layers of prisms are grown off the wing’s wall
boundaries and are used to capture the boundary layer. This number is insufficient if the goal is to
obtain precise and accurate solutions. The limits of the computational domain are defined by a
hemispherical boundary that acts as a pressure-farfield, and a flat circular boundary defined as a
symmetry plane in the Z direction. This mesh follows the Freestream domain type requirements of
a Fluent Aero simulation. For a Freestream domain type, the external boundary of the domain should
be defined with a pressure-far-field zone, and can optionally include a connected pressure-outlet
zone. Refer Freestream or WindTunnel Domain Type Requirements for more information.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1165
Fluent Aero Tutorial
Figure 31.1: View of the Surface Mesh around the ONERA M6 Wing
2. Launch Fluent 2022 R1 on your computer. On the Fluent Launcher panel, set the Capacity Level
to Premium. Then select Aero. Set the number of Solver Processes to 4-16. Click Start.
Alternatively, Fluent Aero can be opened using the aero (on Linux) or aero.bat (on Windows)
file inside the fluent/bin/ folder.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1166 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
3. In the Fluent Aero Workspace, go to the Project ribbon. Click Workspaces → Options, and make
sure to uncheck Use Custom Solver Launch Settings, Show Solution Workspace, and Enable
4. In the Project ribbon panel, select Project → New… and enter Fluent_Aero_Tutorial_01 to
create a new project folder.
5. In the Project ribbon, select Simulation → New Aero Workflow, and browse to and select the
oneram6-wing-coarse.cas.h5 file. A New simulation window will appear. Enter the Name
of the new simulation as oneram6_aoa_exploration, and check to enable Load in Solver.
Click OK.
If a Fluent Launcher window appears, set the Solver Processes to 4-16 and click Start. The case
file will be opened and a background Solver session will be loaded. A new Simulation folder will
be created in your Project folder, and the oneram6-wing-coarse.cas.h5 file will be imported.
After the .cas.h5 file has been successfully loaded, a new Outline View tree appears under
oneram6_aoa_exploration (loaded).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1167
Fluent Aero Tutorial
While importing, Fluent Aero will search for and find the pressure-far-field zone that defines the
external boundary of the domain. If present, this will cause Fluent Aero to determine that this case
is using a Freestream domain type, and the following message will be reported in the console.
6. In the Outline View window, click Geometric Properties. A Properties - Geometric Properties
window appears below the Outline View window. At the top of this new properties window, notice
that the Domain Type has been automatically set to Freestream.
Define the orientation of the geometry within the computational domain, which will be used to
compute the aerodynamic forces.
• Set the Moment Center X, Y and Z Position [m] to 0.2, 0, and 0, respectively.
• Set the Reference Length [m] to 0.646, which corresponds to the mean chord length.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1168 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
Alternatively, the reference area can be computed by enabling the Compute Projected Area option.
A pop-up panel will appear. Set the Projection Direction to Y and select all wall surfaces. Click the
Compute button and then click the Use as Ref. Area button to copy the computed area to the
Reference Area [m^2] box.
7. In the Setup tree, go to Simulation Conditions. In the Properties – Simulation Conditions window,
go to Flight Conditions.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1169
Fluent Aero Tutorial
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1170 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
An Input: Design Points table will be created in the graphic window on the right-hand side of the
user interface. This table shows all the Design Points that will be simulated. The initial status of each
Design Point (DP) has been set as Needs Update. The status can be set as Do Not Update if you
decide not to update one or several Design Points. In this tutorial, we will keep all Design Points as
Needs Update.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1171
Fluent Aero Tutorial
8. Go to Component Groups. Two default Component Groups have been created after the simulation
is loaded.
• The Freestream group contains the pressure-farfield zone that defines the external boundary
of the domain, and is where the Freestream atmospheric flight conditions for each Design
Point are defined as boundary conditions.
• The Other group contains the remainder of the boundary zones which are the walls of
oneram6 wing geometry and the symmetry plan of the simulation domain.
10. At the bottom of the Properties - Solve panel , click on the Calculate button.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1172 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
The calculation will start, and the first Design Point, DP-1, featuring the minimum Angle of Attack,
will be simulated. A Convergence window will appear in place of the Graphics window and display
the residuals and monitors for DP-1.
Design Point DP-1 will calculate until the total Iterations (500) or the Residuals Convergence
Cutoff (1e-4) and Aero Coeff Conv. Cutoff (2e-4) are reached, whichever comes first. In this example,
DP-1 will calculate for about 200 iterations. At that point, the Angle of Attack will be updated for
the next Design Point and the calculation will resume. This process repeats until all Design Points
are simulated.
11. Look at the convergence history of the simulation in the Convergence window located on the right
of your screen. Set the Dataset to DP-1 and the Curve to Residuals, to view the continuity, x- y-
z-velocity, energy, and turbulence residuals for the first Design Point. You can left-click on a residual
curve to show the iteration number and the corresponding residual value. Here, the residual k at
iteration 201 is shown and equals to 1.53351e-06. This and all other residuals are lower than the
residual convergence cutoff (1e-4), so the calculation has stopped at approximately 200 iterations.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1173
Fluent Aero Tutorial
Note:
While all residuals in the image above meet the residual convergence cutoff criterion of
1e-4, it is still recommended for users to investigate their solutions to ensure that appro-
priate convergence levels have been achieved and that convergence remains stable. A
residual convergence cutoff of 1e-4 may be appropriate for some cases, but not for others,
and therefore care should be taken when selecting this value. If more strict convergence
is required, a lower value (1e-5, or 1e-6 for example) could be set for the Solve → Show
Advanced Settings → Residuals Convergence Cutoff option.
In the Convergence window, set Curve to lift-coefficient. The evolution of the lift coefficient for
DP-1 will be displayed. Left-click on the last iteration of the lift-coefficient plot, to show the lift
coefficient value.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1174 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
Figure 31.5: Convergence History of the Lift Coefficient for Design Point 1
When the calculation of DP-1 is complete, the status column in row 1 of the Input: Design Points
table will be set to Updated, and the calculation of DP-2 will begin.
12. After all the Design Points have been updated, the status of the Input: Design Points table will be
set to Updated for all the Design Points.
13. A Results section will be displayed in the Outline View tree after the simulation starts. This allows
you to quickly post-process design point solutions, by obtaining aerodynamic coefficient plots, cre-
ating contour plots of the solution fields, comparing solution fields to experimental data, and more.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1175
Fluent Aero Tutorial
14. The first element in the Results section is Tables. In the current tutorial, 4 different Tables will be
created automatically in the Graphics window area when the calculation is complete.
Click on the Table: Summary, Table: Coefficients, Table: Forces and Table: Residuals tabs at the
bottom of the Graphics window to reveal each table.
• Table: Summary summarizes the flight conditions and convergence information for each Design
Point. In the current simulation, most design points have met or partially met the convergence
criteria.
Figure 31.7: Summary Table of the Flight Conditions and Convergence Information
• Table:Coefficients contains the lift, drag, yaw moment, pitching moment and rolling moment
coefficients. The Cl Conv. and Cd Conv. columns measure the convergence of the lift and drag
coefficients. These are used to determine if the convergence criteria are met. The last column
shows the maximum value of the convergence of the yaw, pitching and rolling moments.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1176 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
• Table: Residuals shows the final residuals as well as the number of iterations run for each Design
Point.
15. Based on the convergence status, you can continue to calculate selected Design Points from the
current results. Here, since the convergence criteria has not been met for Design Point 4 and 5, you
will continue to calculate the DP-4 and DP-5 from their last solutions.
• In the Input: Design Points table, set the Status column of DP-4 and DP-5 to Continue To Up-
date.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1177
Fluent Aero Tutorial
• Click on Solve in the Outline View and go to the Properties - Solve panel.
These new settings will now be used for any subsequent Design Point calculations. Click Calculate
to launch the computation. Since only DP-4 and DP-5 have been set to Continue To Update,
the calculation will only be performed for DP-4 and DP-5.
New residuals will be appended to the previous convergence plots. After about 500 iterations, more
residuals will meet the convergence criteria for DP-4 and DP-5, and the calculation will stop after
500 iterations. Fluent Aero will update results in the tables and aerodynamic coefficient plots. For
example, the status column of the Table: Summary will be changed from No to Partially.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1178 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
Figure 31.12: Convergence of the Residuals for Design Point 5 After a Continue to Update
As shown in the new Table: Summary table, the Avg. Coeff. Conv and Avg. Residual have been
improved and the Criteria Met? changes to partially for DP-4 and DP-5.
Figure 31.13: Summary Table After a Continue to Update of DP-4 and DP-5
16. Click on Graphs in the Outline View to show the plots of the aerodynamic coefficients defined in
Fluent Aero. At the bottom of the Properties - Graphs window, click Plot Coefficients.
An X- Y plot of Lift Coefficient (Cl) vs. Design Point (DP) will appear in the Graphics window. The
Drag and Moment Coefficients can be shown by selecting Cd and Cm-r/y/p from the Curve selection
drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1179
Fluent Aero Tutorial
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1180 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
Click the Plot Drag Polar button. An X-Y plot of Lift Coefficient (Cl) vs. Drag Coefficient (Cd) will
appear in the Graphics window. Alternatively, you can simply change Dataset to Drag Polar from
the Graphics window to show the drag polar plot.
17. Click the Plot Other Variables button. An X-Y plot Cl vs. DP will appear in the Graphics window.
There is an […] option button located on the right of the Dataset All Variables drop-down. This
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1181
Fluent Aero Tutorial
button can be used to modify some of the plot settings and export the plot to the disk. Click […]
the option button and select Plot settings → X Axis → Plot by specified variable... to change the
x variable to AoA. Select Cl from the Curve drop-down. The plot of the lift coefficient vs the angle
of attack will be shown.
18. In the Properties – Graphs window, you can load and plot a reference dataset to compare with
the simulation results by using the Plot Ref. Data function. To compare the Cl vs DP curve from
simulation with a reference data, set Dataset to Aero-Coefficients and Curve to Cl from the Graphs
plot window. Then click Plot Ref. Data. A file browser will appear. For this tutorial, we use the results
from a finer mesh to demonstrate this functionality. Browse to the reference_data folder inside
the tutorial folder and select the ref-onera-wing-Cl-vs-dp.csv file. The reference data will
be loaded to the Cl curve.
Note:
The reference file should contain row data separated by commas. The first line contains
the x- and y- axis names of the plot that you want to compare to. The remaining lines
contain the data values you would like to plot. The format of the file used here is shown
in the image below:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1182 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
19. Click on Results → Plots in the Outline View. The Plots options can be used to quickly display
simple 2D plots of selected design points and solution variables. The Properties - Plots window
will be displayed.
• Click Plot.
The pressure coefficient on the walls of DP-2 at Z=0.25m will be plotted in the CutPlots window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1183
Fluent Aero Tutorial
A Plot Options panel will appear after clicking the Plot button. You can use this panel to customize
plot settings for both axes. Press Plot to apply these settings.
A .csv file will be saved in the results folder after clicking the Plot button, which is visible within
the DP-2/Data folder in the Project View.
Figure 31.21: Distribution of the Wall Pressure Coefficient at Z=0.25m for DP-2
Click the Plot Ref. Data button to load and plot a reference dataset in the current plot. In the dialog
window that appears, browse to the reference file ref-onera-wing-Cp-2.5deg-section-
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1184 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
0.25m.csv in the reference_data folder, and click OK. You can use the Save Plot button to
export the current plot to a .png file on disk. The reference data will be imported in the DP-2/Data
folder in the Project View.
Figure 31.22: Load a Reference Data to the Pressure Coefficient Plot of DP-2 at Z=0.25m
20. The Contours options can be used to quickly display simple contour plots of selected design points
and solution variables. Left-click on Contours from Outline View to display the Properties - Contours
setup window.
In the Graphics window, use the mouse to set the view of the contour. Click View… and change
Save Name to onera-wing-view-1. Click Save to save the current contour view. The saved view
can later be applied to other contour plots.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1185
Fluent Aero Tutorial
Note:
The mesh used in this tutorial is a very coarse mesh. Its sole purpose is to quickly
demonstrate a typical workflow in Fluent Aero and should not be relied upon for precise
and/or accurate simulations. In particular, this mesh will not capture well viscous effects
(such as viscous drag) or complex flow features (such as separation or wake). This should
be kept in mind while you investigate the solutions.
21. In the Properties - Contours area, click Save Image… and a Save Picture dialog will appear. From
this dialog, check to enable Save All Updated DPs and set Format to JPEG. Click the Save… button.
Set the image name to onera-wing-static-pressure from the Select File dialog and the
contours of the static pressure for all the 7 Design Points will be saved to the Results folder as
onera-wing-static-pressure-DP-1 to 7.jpg.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1186 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
• Click on the Plot button to show the cutting plane contour in the Graphics window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1187
Fluent Aero Tutorial
23. In the Project View menu, a Results folder will be created after the calculation starts. A folder for
each Design Point along with an associated case file, data file, and convergence file will appear inside
the Results folder. A Data folder which contains the result (a .csv formatted file) of the 2-D plot
of the pressure coefficient is created. A Summary folder containing the results tables (in .csv
formatted files) is created after clicking the Results → Tables → Export Results Tables button.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1188 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an ONERA M6 Wing at a Range of Angles
of Attack
These .dat.h5 solution files can be further investigated using external post processing tools such
as CFD-Post and EnSight. By right-clicking on a .dat.h5 file, a drop-down menu appears. From
there, go to the View Results with... menu and a sub-menu appears containing CFD-Post – Fluent
Solution and EnSight – Fluent Solution. Right-click on the out.00001.dat.h5 solution file and select
View Results with... → CFD-Post – Fluent Solution to view the result file in CFD-Post. A CFD-Post
window will appear where the data file can be further post-processed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1189
Fluent Aero Tutorial
24. After completing the post-processing of the current simulation, you can add new simulations to the
same project. At the moment, Fluent Aero can only load one simulation in the solver at the same
time. Therefore, you should close the solver before adding a new simulation. Left click on
oneram6_aoa_exploration from the Outline View and then select Close Solver. An information
panel will appear to ask you if you want to save the case file or not. Click Yes to save the case file.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1190 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
If you would like to create a new Simulation, select Simulation → New Aero Workflow from the
Project’s top ribbon, and browse to and select a file to create a new simulation.
25. Once you have completed all your Simulations, close the project and exit Fluent Aero. From the
ribbon, select Project → Close to close a project. Next, select File → Exit and the Fluent Aero
Workspace will be closed.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1191
Fluent Aero Tutorial
1. Extract the Capsule.cas.h5 file for this tutorial. The grid is an all-poly mesh which consists of
620,000 nodes and 180,000 cells. The limits of the computational domain are defined by a pressure-
farfield, pressure-outlet, and a symmetry plane in the Z direction.
2. Launch Fluent 2022 R1 on your computer. On the Fluent Launcher panel that appears, set the
Capacity Level to Premium. Then select Aero. Set the number of Solver Processes to 4-16. Click
Start.
In the Fluent Aero Workspace, go to the Project ribbon. Click on Workspaces → Options, and make
sure to uncheck Use Custom Solver Launch Settings, Show Solution Workspace and Enable
Solution Workspace Graphics.
3. When Fluent Aero first opens, the Project tab will be displayed by default. In the Project’s top ribbon
panel, select Project → New… and enter Fluent_Aero_Tutorial_02 to create a new Project
folder.
4. In the Project’s top ribbon, select Simulations → New Aero Workflow, and browse to and select
the Capsule.cas.h5 file. A New simulation window will appear. Enter the Name of the new
simulation as Capsule_custom_exploration, and check to enable Load in solver.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1192 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
5. The case file will be opened and a background Solver session will be loaded. A new Simulation
folder will be created in your Project folder, and the Capsule.cas.h5 file will be imported.
After the .cas.h5 file has been successfully loaded, a new Outline View tree appears under
Capsule_custom_exploration (loaded).
While importing, Fluent Aero will search for and find the pressure-far-field zone that defines the
external boundary of the domain. Its presence will cause Fluent Aero to determine that this case is
using a Freestream Domain Type, and the following message will be reported in the console.
6. From the Outline View window, go to Geometric Properties. At the top of the Properties – Geo-
metric Properties window, notice that the Domain Type has been automatically set to Freestream.
Define the orientation of the geometry within the computational domain. This is used to compute
the aerodynamic forces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1193
Fluent Aero Tutorial
• Set the Moment Center X-, Y- and Z-Position [m] to 0, 0, and 0, respectively.
7. In the Setup tree, select Simulation Conditions. In the Properties – Simulation Conditions window,
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1194 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
An empty Input:Design Points table will be created with 3 rows, one for each Design Point. The
user can manually fill the Input:Design Points table by clicking on each entry cell and entering a
value. Notice that there are 6 columns in the table. The first column specifies the Design Point
number, and cannot be edited. The second and third columns are for specifying the variable inputs
of Mach Number and Altitude [m], respectively. Since Altitude was selected under Pressure and
Temperature, Pressure [Pa] and Temperature [K] are also shown in the table. These columns
cannot be edited, as they will be automatically calculated and filled based on the Altitude input,
which uses the International Standard Atmosphere. The final column lists the Status of each Design
Point calculation.
Begin to manually fill the table by clicking on the Mach Number cell of Design Point 1, and enter
20.65. Next, click on the Altitude [m] cell and enter 67300. Notice that the Pressure [Pa] and
Temperature [K] cells are automatically filled with 7.0319 and 225.01, respectively.
Fill the remainder of the table by importing the data from a .csv file. Right-click the Simulation
Conditions and select Import Data File to DP Table from the drop-down list of commands.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1195
Fluent Aero Tutorial
Figure 31.29: Input:Design Points Table of a Custom Exploration with 3 Design Points
Note:
The Status of each Design Point is currently set to Needs Update, because they have
not yet been calculated.
8. From the Properties - Simulation Conditions window, enable Use Custom Output Parameters.
A selection panel will appear which contains a list of pre-defined custom-output variables. Select
dragPress (pressure induced drag force), dragVisc (wall shear stress induced drag force), and
maxWallTemp (maximum wall temperature), and click Update. Fluent Aero will create the selected
variables in the Solver and the results of these output parameters will be shown in a table at the
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1196 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
end of the calculation. You may refer to the Fluent Aero manual for more details about the function-
ality of the custom input/output parameters.
9. Go to Component Groups. Two default Component Groups have been created after the simulation
is loaded. The Freestream group contains a pressure-far-field and a pressure-outlet zone that define
the external boundary of the domain, and is where the Freestream atmospheric flight conditions
for each Design Point are defined as boundary conditions. The Other group contains the remainder
of the boundary zones which are the walls of re-entry capsule and a symmetry plane of the simulation
domain.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1197
Fluent Aero Tutorial
11. Click the Calculate button at the bottom of the Properties - Solve panel. The simulation will first
initialize using the flight conditions of DP-1 and then DP-1 will begin to iterate. The residuals plot
of DP-1 will appear in the Convergence window located on the right of the screen.
In the Convergence window, set Dataset to DP-1 and Curve to drag-coefficient. The evolution of
the drag coefficient for DP-1 will be displayed. The user can query the value of the drag coefficient
by left-clicking on the curve.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1198 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
Figure 31.32: Convergence History of the Drag Coefficient for Design Point 1
After 1000 iterations, the calculation of DP-1 is complete, the status column in row 1 of the Input:
Design Points table will be set to Updated, the results data file (.dat[.h5]) will be saved, and
calculation of DP-2 will begin.
12. After all the Design Points have been updated, the status of the Input: Design Points table will be
set to Updated for all the Design Points.
13. A Results section will be displayed in the Outline View after the simulation starts. This allows a
user to quickly postprocess all Design Point solutions, by obtaining aerodynamic coefficient plots,
creating contour plots of the solution fields, comparing solution fields to experimental data, and
more.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1199
Fluent Aero Tutorial
14. The first element in the Results section is Tables. In the current tutorial, 5 different Tables will be
automatically created in the Graphic window area when the calculation is complete.
Note:
You can also click on Tables → Export Results Tables button and the results tables will
be exported to the Results folder of the current simulation and they will be visible in
the Project View under the Summary folder.
Click on the Table: Summary, Table: Coefficients, Table:Forces, Table: Residuals, and Table:
Custom Outputs tabs at the bottom of the Graphics window to reveal each table.
• Table: Summary summarizes the flight conditions and convergence information for each Design
Point.
Note:
In the current simulation, you can see from the convergence curves that the conver-
gence of lift and drag plateaued. However, you may notice in the final column of this
table that all 3 Design Points have not met the default convergence criteria that was
set in Solve → Show Advanced Settings → Convergence. To have the Criteria Met?
column set to yes, a user could relax the convergence criteria by increasing the values,
or calculate for more iterations until the default criteria is met.
Figure 31.34: Summary Table of the Flight Conditions and Convergence Information
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1200 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
• Table: Coefficients contains the lift, drag and moment coefficients. The last three columns show
the convergence information of the lift and drag coefficients and the maximum value among the
three moment coefficients.
• Table: Forces contains the lift, drag and moment dimensional forces.
• Table: Residuals summarizes the final residuals as well as the number of iterations run for each
Design Point.
• Table: Custom Outputs shows the final values of the custom outputs.
15. Click on Graphs in the Outline View to show the plots of the aerodynamic coefficients defined in
Fluent Aero. At the bottom of the Properties - Graphs window, click Plot Coefficients. An X-Y plot
of Lift Coefficient (Cl) vs. Design Point (DP) will appear in the Graphics window. The Drag and Moment
Coefficients can be shown by selecting Cd and Cm-y/p/r from the Curve selection drop-down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1201
Fluent Aero Tutorial
16. Click on Results → Plots. The Plots options can be used to quickly display simple 2D plots of selected
design points and solution variables. The Properties - Plots window will be displayed.
• Click Plot.
Since the solution for DP-2 at Z=0.1m will be plotted in the CutPlots window. A cut plot using default
plot options will be created and a popup panel which allows the user to customize certain plot
options will appear. If the field is set to Pressure Coefficient, the Invert Range option for the y-
axis will be enabled.
From the Plot Options panel, set the Pattern in Curve Settings to points-square. Click Plot. The
2d cut plot in the graphic window will be updated using these new settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1202 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
Figure 31.40: Distribution of the Wall Pressure Coefficient at Z = 0.1m for DP-2
Then set Field to Static Temperature and click Plot to show the walls static temperature of DP-2
at Z=0.1m.
Figure 31.41: Distribution of the Wall Static Temperature at Z = 0.1m for DP-2
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1203
Fluent Aero Tutorial
17. The Contours options can be used to quickly display simple contour plots of selected design points
and solution variables. Left-click on Contours from the Outline View to display the Properties –
Contours setup window.
• Set the Minimum and Maximum Value to 7500 and 8700 respectively.
Note:
To change graphics display settings, you can go to File → Preferences → Graphics. For
example, in the Lighting section, you can set Headlight to On, and set appropriate values
to both Headlight intensity and Ambient light intensity to personalize the graphics
object rendering.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1204 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
• Click Plot.
After the contour is created, click Views.... From the Views panel, select view capsule-view-1
and click Apply. Close the Views panel. Click Save Image… and a Save Picture option panel
will appear. From this panel, check to enable Save All Updated DPs and set Format to JPEG.
Click the Save… button. Set image name to capsule-static-pressure from the Select
File dialog and the contours of the static pressure for all the 3 Design Points will be saved to the
Results folder as capsule-static-pressure-DP-1, 2 and 3.jpg.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1205
Fluent Aero Tutorial
In this solution, notice the high pressure region around the stagnation point located towards the
front of the capsule (left side in image), and the low pressure region in the backside of the capsule,
which is surrounded by the wake.
18. In the Properties - Contours area, set Surfaces to Cutting Plane, Cutting Plane Normal Direction
to Z, Cutting Plane Position [m] to 0.1 and Field to Mach Number. Click on the Plot button to
show the cutting plane contour in the Graphics window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1206 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
Some of the selectable settings available in the Solve panel of Fluent Aero control a group of
equivalent settings in the Fluent Solution Workspace. For example, in this case, the Solver Methods
is set to Default, which will setup a range of equivalent settings inside the Methods panel of the
background Solver session’s Solution Workspace. This includes setting the Spatial Discretization
Gradient to Green-Gauss Node Based, enabling High Order Term Relaxation, enabling Conver-
gence Acceleration for Stretched Meshes (CASM), and more. All the equivalent settings are applied
to the Solution Workspace once the Calculate command is used in Fluent Aero. A full mapping of
the available Solve settings in the Fluent Workspace and their equivalent settings in the Fluent
Solution Workspace can be found in Mapping of the Solve Settings of Fluent Aero Workspace to
Their Equivalent Settings in Fluent Solution Workspace.
You will now use the Solution Workspace to modify one of these default settings to use while con-
tinuing the calculation of one of our design points.
First, go to the Properties - Solve panel. Check to enable Show Advanced Settings. Change the
Solver Methods to Case settings. This will cause Fluent Aero to use whatever settings are currently
applied in the Solution Workspace.
Next, from the top ribbon, inside Project → Workspaces, click Solution to show the solution
workspace.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1207
Fluent Aero Tutorial
Enter the following user interface command into the Solution Workspace console.
Figure 31.47: Applying the TUI Command to the Solution Workspace Console
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1208 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients and Maximum Wall Temperature on a Re-Entry
Capsule at Different Altitudes Using Custom Exploration
This will change the CASM cut-off multiplier from 50 (Fluent Aero’s default value for hypersonic
flows) to a more aggressive value of 100, which could help to speed up convergence.
Next, go back to the Fluent Aero Workspace window, go to the Input: Design Points table and set
the status of DP-1 to Continue To Update.
Next, go to the Properties - Solve panel, and relax the convergence conditions for this Design Point
by changing the Residuals Convergence Cutoff and Aero Coeff Conv. Cutoff to 0.002.
Figure 31.48: Convergence of Residuals for Design Point 1 Using Continue to Update
Notice that after relaxing the convergence conditions and completing a Continue to Update calcu-
lation, the Criteria Met? is now set to partially in the Summary table for DP 1.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1209
Fluent Aero Tutorial
19. After completing work on the current simulation, you can close the solver by left-clicking on Cap-
sule_custom_exploration from the Outline View and then selecting Close Solver. An information
panel will appear to ask you if you want to save the case file or not. Click Yes to save the case file.
20. Close the project and exit Fluent Aero. From the ribbon, select Project → Close to close a project.
Next, select File → Exit and the Fluent Aero Workspace will be closed.
Extract the CRM_WBNP_Aircraft.msh.h5 file for this tutorial. The grid consists of 540,278 nodes
and 574,108 cells. Three layers of prisms are grown off the aircraft’s wall boundaries and the remainder
of the computational domain is filled with tetrahedral cells. The limits of the computational domain are
defined by a hemispherical boundary defined as a pressure-farfield boundary type, and a flat circular
boundary defined as a symmetry plane in the Z direction. This .msh file therefore meets the General
Case File or Mesh File Requirements. However, the mesh is very coarse, and therefore should be used
for demonstration purposes only.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1210 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
1. Launch Fluent on your computer. On the Fluent Launcher panel that appears, set the Capacity
Level to Premium or Enterprise. Then select Aero. Set the number of Solver Processes to 4-8.
Click Start.
2. In the Fluent Aero Workspace, go to File → Preferences. In the Preference window, go to the Aero
menu and ensure Use Custom Solver Launch Settings is disabled. Disabling this setting is the
preferred approach for running Fluent Aero simulations on your local machine.
3. When Fluent Aero first opens, the Project tab will be displayed by default. In the Project’s top ribbon
panel, select Project → New… and enter Fluent_Aero_Tutorial_03 to create a new Project
folder.
4. In the Project’s top ribbon, select Simulations → New Aero Workflow, and browse to and select
the CRM_WBNP_Aircraft.msh.h5 file. A New simulation window will appear. Enter the Name
of the new simulation as CRM_WBNP_Aircraft, and check to enable Load in solver.
5. The case file will be opened and a background Solver session will be loaded. A new Simulation
folder will be created in your Project folder. Fluent Aero will convert the .msh.h5 grid file to a
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1211
Fluent Aero Tutorial
.cas.h5 format case file and the latter will be imported in the simulation folder as
CRM_WBNP_Aircraft.cas.h5.
6. After the case file has been successfully loaded, a new Setup tree appears under CRM_WBNP_Aircraft
(loaded) in the Outline View window.
While importing, Fluent Aero will search for and find the pressure-far-field zone that defines the
external boundary of the domain. Its presence will cause Fluent Aero to determine that this case is
using a Freestream domain type, and the following message will be reported in the console.
7. In the Outline View window, in the Setup tree, go to Geometric Properties. A Properties – Geo-
metric Properties window appears below the Outline View. Define the orientation of the geometry
within the computational domain, which is used to compute the aerodynamic forces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1212 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
• Set the Moment Center X-, Y- and Z-Position [m] to 33.678, 4.520, and 0, respectively.
• Set the Reference area [m^2] to 351.79. Alternatively, the user can use the Compute
Projected Area tool to calculate the reference area.
8. In the Setup tree, go to Simulation Conditions. In the Properties – Simulation Conditions window,
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1213
Fluent Aero Tutorial
9. In the Setup tree, go to Component Groups. In the Properties – Component Groups window,
click Manage Components. The Component Manager panel will appear.
• In the New Component section, set Type to Engine and a default group name Engine_01
will appear.
All the boundary zones that have not been assigned to any group are listed under Available Zones.
An Engine type group is a specific type of group which contains three different Component Parts:
Exhaust, Intake and Nacelle. At least one boundary zone must be added to the Exhaust and Inlet
Component Parts.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1214 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
• From Available Zones, select engine-inlet and use the Add>> button to add it to the Intake
component part.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1215
Fluent Aero Tutorial
• Select and add all the remaining boundary zones starting with engine- to the Nacelle part.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1216 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
• From Available Zones, select all the boundary zones that start with wing and use Add>>
to add them to the Walls component parts.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1217
Fluent Aero Tutorial
• From the Available Zones, select all the boundary zones with the fuselage- prefix and use Add>>
to add them to the All component part.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1218 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
13. Click OK to close the Component Manager. The three new Component Groups will appear in the
Outline View in addition to the default Freestream and Other groups.
14. From Outline View → Component Groups, expand the Engine_01 component and select engine-
inlet which is a pressure-outlet type boundary zone.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1219
Fluent Aero Tutorial
– Set Static Pressure to Custom to apply different Static Pressure [Pa] for each Design
Point.
A custom expression for the Static Pressure [Pa] will be created in the solution workspace with the
name inlet_P. A column named inlet_P will be added to the Input:Design Points table.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1220 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
• Change Static Pressure and Mass Flow Rate to Custom in order to apply different Static
Pressure [Pa] and Mass Flow [kg/s] for each Design Point.
Two custom expressions will be created in the solution workspace. These can be edited from the
Input:Design Points table.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1221
Fluent Aero Tutorial
16. You can manually fill the Input:Design Points table. Fill the table with the values as shown below.
Notice that there are 9 columns in the table. The first column specifies the Design Point number,
and cannot be edited. The second to fourth columns are for specifying the variable inputs of Mach
Number, Angle of Attack [deg.] and Altitude [m], respectively. The Pressure [Pa] and Temperature
[K] columns cannot be edited, as they will be automatically calculated and filled based on the Altitude
input. The next three columns define the boundary conditions from the Engine_01 group. They allow
the user to input conditions corresponding to different engine regimes. The last column is set to
Needs Update for both Design Points since they have not yet been calculated.
– Click the Manage Outputs button to enable component specific output parameters.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1222 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
– Check the Active box of the Fuselage, Wing_01 and Engine_01 components.
Because Active is enabled, the lift and drag forces of the Fuselage and Wing_01 components and
the engine thrust, mass flow balance between the intake and exhaust of the Engine_01 component
will be calculated and summarized in Table: Component Outputs when the calculation is complete.
Since Monitor? is enabled, the evolution of the Wing_01 Lift and Drag outputs will be plotted in
the Convergence plot.
18. In the Outline View, go to Solution → Solve. Modify the following Solve settings:
• Check to enable Show Advanced Settings. This reveals the model and solver parameters
that advanced users can edit.
• Since this is a coarse mesh, we will relax the convergence cutoff criteria. Set both Residuals
Convergence Cutoff and Aero Coeff Conv. Cutoff to 0.0005.
For the remaining solver parameters, Fluent Aero's default Pressure based settings will be applied.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1223
Fluent Aero Tutorial
19. Click on the Calculate button at the bottom of the Properties - Solve panel.
The calculation will start, and the first Design Point, DP-1 will be simulated. A Convergence window
will appear in place of the Graphics window and display the residuals and monitors for DP-1.
Design Point DP-1 will run until the total number of Iterations (250) or the Residuals Convergence
Cutoff (5e-4) and Aero Coeff Conv. Cutoff (5e-4) values have been satisfied, whichever comes first.
20. Look at the convergence history of the simulation in the Convergence window located on the right
of your screen. Set the Dataset to DP-1 and the Curve to Residuals to view the continuity, x- y- z-
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1224 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
velocity, energy, and turbulence residuals for the first Design Point. You can left-click on a residual
curve to show the iteration number and the corresponding residual value. Here, the residual of the
energy at iteration 96 is shown and equals to 3.6325e-4 which is slightly lower than the residual
convergence cutoff (5e-4). The remaining residuals of the DP- 1 have met the Residuals Convergence
Cutoff criteria after 96 iterations.
21. In the Convergence window, set Curve to report_wing_01_lift. The evolution of the lift force on
Wing_01 for DP-1 will be displayed. Left-click on the last iteration of the lift-force plot, to show the
value of the lift coefficient at the last iteration.
Figure 31.52: Convergence History of the Lift Force from the Wing_01 for Design Point 1
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1225
Fluent Aero Tutorial
When the calculation of DP-1 is complete, the status column in row 1 of the Input: Design Points
table will be set to Updated, and the calculation of DP-2 will begin.
After all the Design Points have been updated, the status of the Input: Design Points table will be
set to Updated for all the Design Points.
22. A Results section will be displayed in the Outline View tree after the simulation starts. This allows
a user to quickly post-process all Design Point solutions, by obtaining aerodynamic coefficient plots,
creating contour plots of the solution fields, comparing solution fields to experimental data, and
more.
23. The first element in the Results section is Tables. In the current tutorial, 5 different Tables will be
automatically created in the Graphics window area when the calculation is complete.
Click on the Table: Summary, Table: Coefficients, Table: Forces, Table: Residuals and Table:
Component Outputs tabs at the bottom of the Graphics window to reveal each table.
• Table: Summary summarizes the flight conditions and convergence information for each Design
Point. In the current simulation, both Design Points have partially met the convergence criteria.
Figure 31.53: Summary Table of the Flight Conditions and Convergence Information
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1226 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
• Table: Residuals summarizes the final residuals as well as the number of iterations run for each
Design Point. For each Design Point, only the residuals of the y-velocity are slightly higher than
the cutoff criteria.
• Table: Coefficients contains the lift, drag and moment coefficients. The last three columns show
the convergence information of the lift and drag coefficients and the maximum value among the
three moment coefficients.
Note:
While most of the residuals and the convergence of the aerodynamic coefficients meet
the residual convergence cutoff criterion of 5e-4, it is still recommended for users to
investigate their solutions to ensure that appropriate convergence levels have been
achieved and that convergence remains stable. A residual convergence cutoff of 5e-4
may be appropriate for some cases, but not for others, and therefore care should be
taken when selecting this value.
• Table: Forces contains the dimensional forces of lift, drag and moment.
• Table: Component Outputs contains the dimensional forces of lift, drag and moment.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1227
Fluent Aero Tutorial
24. Click on Graphs in the Outline View to show the plots of the aerodynamic coefficients defined in
Fluent Aero.
• At the bottom of the Properties - Graphs window, click Plot Coefficients. An X- Y plot of
Lift Coefficient (Cl) vs. Design Point (DP) will appear in the Graphics window.
• The Drag and Moment Coefficients can be shown by selecting Cd and Cm-r/y/p from the
Curve selection drop-down list.
• Select Cl/Cd from the Curve to show the lift to drag ratio as a function of the Design Point.
• Click the Show Cl Cd Plot button. An X-Y plot of Lift Coefficient (Cl) vs. Drag Coefficient (Cd) will
appear in the Graphics window. Alternatively, you can simply change Dataset to Drag Polar
from the Graphics window to show the drag polar plot.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1228 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
25. The Plots options can be used to quickly display simple 2D plots of selected design points and
solution variables.
• Set Surface Cut Position [m] to 4 which is a position close to the fuselage.
• Click Plot and the pressure coefficient on the walls of DP-1 at Z=4m will be plotted in the
CutPlots window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1229
Fluent Aero Tutorial
A Plot Options panel will appear after clicking the Plot button. You can use this panel to personalize
some plot settings for both axes.
• Set Axis to X.
• Set Precision to 3.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1230 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
Figure 31.59: Distribution of the Wall Pressure Coefficient at Z=4m for DP-1
A .csv file will be saved in the results folder after clicking the Plot button, which is visible within
the DP-1/Data folder in the Project View.
26. Repeat the above step for Surface Cut Position [m] of 16 and 28 which are positions close to the
mid-range and the tip of the wing respectively. After plotting the pressure-coefficient at these wing-
span positions, set the Design Point to 2 and create the same plots for DP-2. After completing
these plots, the corresponding .csv files are saved to the DP-1/Data and DP-2/Data folder in the
Results directory.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1231
Fluent Aero Tutorial
27. The Contours options can be used to quickly display simple contour plots of selected design points
and solution variables.
• Left-click on Contours from Outline View to display the Properties - Contours window.
– For Select Component Groups, select both the Wing_01 and Engine_01 groups.
– Set the Minimum and Maximum Value to 11000 and 26000 respectively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1232 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
The selected contour will be displayed in the Graphics window. In the Graphics window, use the
mouse to set the view of the contour. As we can see from the contour, some of the common flow
features are captured. Due to the flow on the suction side between the fuselage and the nacelle, a
strong flow acceleration is present. Flow encounters adverse pressure gradient moving downstream
to the trailing edge. At the wing tip, the pressure is higher on the outer region than on the inner
region which indicates the presence of transverse flow.
Figure 31.60: Wall Static Pressure Contour of the Wing_01 and Engine_01 Components of
Design Point 2
28. Move the view into a favorable position. Then, click View… and change Save Name to crm-wing-
view-1. Click Save to save the current contour view.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1233
Fluent Aero Tutorial
• Set the Minimum and Maximum Value to 43500 and 56500 respectively.
Figure 31.61: Wall Static Pressure Contour of the Wing_01 and Engine_01 Components of
Design Point 1
Note:
The mesh used in this tutorial is very coarse. Its purpose is to quickly demonstrate a
typical workflow in Fluent Aero and should not be relied upon for accurate simulations.
For instance, this mesh may not capture well viscous effects (such as boundary layer and
viscous forces) or complex flow features (such as separation). This should be considered
while the user investigates the solutions. For more accurate simulations, a finer mesh
appropriate for external aerodynamic simulations, featuring more prism layers, higher
mesh surface refinement, and increased mesh density in the wake region, should be used.
• Set Cutting Plane Position [m] to 9.89 which corresponds to the pylon installation position.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1234 of ANSYS, Inc. and its subsidiaries and affiliates.
Introduction to Aircraft Component Groups and Computing Aerodynamic Coefficients
on an Aircraft at Different Flight Altitudes and Engine Regimes
• Set the Minimum and Maximum Value to 0.1 and 0.7 respectively.
The solution of the Design Point 1 will be loaded, and the cutting plane contour will be displayed
in the Graphics window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1235
Fluent Aero Tutorial
31. In the Properties - Contours area, click Save Image… and a Save Picture option panel will appear.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1236 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
1. Extract the IRT-Swept-Tail-Wing.cas.h5 file and the reference_data folder for this tu-
torial. The reference_data folder contains several .csv formatted text files that will be compared
to the results from the current calculation. These reference data files have been generated for
demonstration purposes only.
This mesh follows the WindTunnel domain type requirements of a Fluent Aero simulation. Refer
Freestream or WindTunnel Domain Type Requirements for more information.
Figure 31.63: View of the Surface Mesh Around the Horizontal Stabilizer
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1237
Fluent Aero Tutorial
2. Launch Fluent 2022 R1 on your computer. On the Fluent Launcher panel, set the Capacity Level to
Premium. Then select Aero. Set the number of Solver Processes to 4-16. Click Start.
Alternatively, Fluent Aero can be opened using the aero (on Linux) or aero.bat (on Windows)
file inside the fluent/bin/ folder.
3. In the Fluent Aero Workspace, go to the Project ribbon. Click on Workspaces → Options, and check
to enable Use Custom Solver Launch Settings.
When this option is enabled, a Fluent Launcher window will open when loading a case file. This
allows you to schedule a calculation on a server and/or to specify a different number of Solver Pro-
cesses to use in your simulation. Alternatively, if this setting is disabled, Fluent Aero will load the
case file in a Solver session on your local machine.
4. In the Project ribbon panel, select Project → New… and enter Fluent_Aero_Tutorial_04 to
create a new Project folder.
5. In the Project ribbon, select Simulation → New Aero Workflow, and browse to and select the
IRT-Swept-Tail-Wing.cas.h5 file. A New simulation window will appear. Enter the Name
of the new simulation as IRT-Swept-Tail-Wing, and check to enable Load in Solver. Click
OK.
6. A Fluent Launcher window will appear, set the Solver Processes to 4-16 and click Start. The case
file will open and a background Solver session will load. A new Simulation folder will be created
in your Project folder, and the IRT-Swept-Tail-Wing.cas.h5 file will be imported.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1238 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
After the .cas.h5 file has been successfully loaded, a new Outline View tree appears under IRT-
Swept-Tails-Wing (loaded).
While importing, Fluent Aero will attempt to automatically determine if a WindTunnel domain type
is being used. It will search for any boundary that has windtunnel in its name and add those
boundaries to the WindTunnel group. If all the required boundaries are identified to create a valid
windtunnel group, Fluent Aero will set the domain type as WindTunnel, and the following message
will be reported in the console.
7. In the Outline View window, click Geometric Properties. A Properties - Geometric Properties
window appears below the Outline View window. At the top of this new properties window, notice
that the Domain Type has been automatically set to WindTunnel.
8. Define the orientation of the geometry within the computational domain, which will be used to
compute the aerodynamic forces.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1239
Fluent Aero Tutorial
• Set the Moment Center X-, Y- and Z-Position [m] to 0, 0, and 0, respectively.
• Set the Reference Length [m] to 1, which corresponds to the mean chord length.
Alternatively, the reference area can be computed by enabling the Compute Projected Area
option. A pop-up panel will appear. Set the Projection Direction to Y and select all the surfaces
of the swept wing geometry. Click on the Compute button and then click on the Use as Ref.
Area button to copy the computed area to the Reference Area [m^2] box.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1240 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1241
Fluent Aero Tutorial
10. An Input: Design Points table will be created in the graphic window on the right-hand side of the
user interface. This table shows all the Design Points that will be simulated.
• Set the Mass Flow Rate [kg/s] for DP-1 and DP-2 to 313.2 and 522.0 respectively.
The Mach number corresponding to the Mass Flow Rate of each Design Point will automatically
be calculated and displayed in the input design point table.
The initial status of each Design Point (DP) has been set as Needs Update.
Go to Component Groups. Two default Component Groups have been created after the simulation
is loaded. The WindTunnel group contains the inlet and outlet zones that define the inflow and
outflow conditions of the wind tunnel and 4 boundary zones used to represent the wind tunnel
wall. The Other group contains the remainder of the boundary zones which are the walls of the
wing geometry.
11. Create a Wing type component group from these boundary zones.
• In the Properties – Component Groups window, click Manage Components. The component
groups manager panel will appear.
– Set Type to Wing in the New Component section and a default group name Wing_01 will
appear.
– Use Create>> to add Wing into Existing Components. All the boundary zones that have not
been assigned to any group are listed in the Available Zones. A Wing type group is a specific
type of group which contains a Component Parts: Walls.
– From Available Zones, select all the boundary zones that start with wing and use Add>> to
add them to the Walls component parts.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1242 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1243
Fluent Aero Tutorial
– Click the Manage Outputs button to enable component specific output parameters.
– Check the Active box of the Wing component. The lift and drag forces of the Wing component
will be calculated and summarized in Table: Component Outputs after the calculation is
complete.
13. In the Outline View, go to Solution → Solve. Set the number of Iterations to 250.
14. Click on the Calculate button at the bottom of the Properties - Solve panel.
The calculation will start, and the first Design Point, DP-1, will be simulated. A Convergence window
will appear in place of the Graphics window and display the residuals and monitors for DP-1.
Design Point DP-1 will continue until the total Iterations (250) or the Residuals Convergence
Cutoff (1e-4) and Aero Coeff Conv. Cutoff (2e-4) are reached, whichever comes first.
In this example, DP-1 will calculate for 250 iterations. At that point, the conditions will be updated
for the next Design Point and the calculation will resume. This process repeats until all Design Points
are simulated.
15. Look at the convergence history of the simulation in the Convergence window located on the right
of your screen. Set the Dataset to DP-1 and the Curve to Residuals, to view the continuity, x- y-
z-velocity, energy, and turbulence residuals for the first Design Point. You can left-click on a residual
curve to show the iteration number and the corresponding residual value. Here, the residual of k at
iteration 250 is shown and equals to 8.56456e-5 which is lower than the residual convergence cutoff
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1244 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
(1e-4). The remaining residuals of the DP-1 have met the Residuals Convergence Cutoff criteria
after 250 iterations.
Note:
While all residuals in the image above meet the residual convergence cutoff criterion of
1e-4, it is still recommended for users to investigate their solutions to ensure that appro-
priate convergence levels have been achieved and that convergence remains stable. A
residual convergence cutoff of 1e-4 may be appropriate for some cases, but not for others,
and therefore care should be taken when selecting this value. If more strict convergence
is required, a lower value (1e-5, or 1e-6 for example) could be set in the Solve → Show
Advanced Settings → Residuals Convergence Cutoff option.
16. In the Convergence window, set Curve to drag-coefficient. The evolution of the drag coefficient
for DP-1 will be displayed. Left-click on the last iteration of the drag-coefficient plot, to show the
drag coefficient value at the end of this simulation.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1245
Fluent Aero Tutorial
Figure 31.67: Convergence History of the Drag Coefficient for Design Point 1
When the calculation of DP-1 is complete, the status column in row 1 of the Input: Design Points
table will be set to Updated, and the calculation of DP-2 will begin.
17. After all the Design Points have been updated, the status of the Input: Design Points table will be
set to Updated for all the Design Points.
18. A Results section will be displayed in the Outline View tree after the simulation starts. This allows
you to quickly post-process design point solutions, by obtaining aerodynamic coefficient plots, cre-
ating contour plots of the solution fields, comparing solution fields to experimental data, and more.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1246 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
19. The first element in the Results section is Tables. In the current tutorial, 5 different Tables will
automatically be created in the Graphics window area when the calculation is complete.
Click on the Table: Summary, Table: Coefficients, Table: Forces, Table: Component Outputs and
Table: Residuals tabs at the bottom of the Graphics window to reveal each table.
• Table: Summary summarizes the flight conditions and convergence information for each Design
Point. In the current simulation, most design points have met or partially met the convergence
criteria.
Figure 31.69: Summary Table of the Flight Conditions and Convergence Information
• Table:Coefficients contains the lift, drag, yaw moment, pitching moment and rolling moment
coefficients. The Cl Conv. and Cd Conv. columns measure the convergence of the lift and drag
coefficients, which are used to determine if the convergence criteria is met. The last column shows
the maximum value of the convergence of the yaw, pitching and rolling moments.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1247
Fluent Aero Tutorial
• Table: Component Outputs shows the results of the selected component specific output para-
meters. In this tutorial, the lift and drag forces of the Wing component and the mass-flow rate
of the wind tunnel inlet section are shown.
• Table: Residuals shows the final residuals as well as the number of iterations run for each Design
Point.
20. Click on Graphs in the Outline View to show the plots of the aerodynamic coefficients and other
results defined in Fluent Aero:
• At the bottom of the Properties - Graphs window, click Plot Coefficients. An XY plot of Lift
Coefficient (Cl) vs. Design Point (DP) will appear in the Graphics window.
• Select Cd from the drop-down list of the Curve menu to plot the drag coefficient as a function
of the Design Point.
• The Moment Coefficients can be shown by selecting Cm-r/y/p from the Curve selection drop-
down list.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1248 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
21. Click the Plot Other Variables button. An X-Y plot will appear in the Graphics window. There is an
[…] option button located on the right of the Dataset All Variables drop-down. This button can
be used to modify some of the plot settings and export the plot to the disk.
• Select Plot settings → X Axis → Plot by specified variable and change the x variable to MassFlow.
• Select Wing_Drag from the Curve drop-down menu. The plot of the drag force of the wing vs
the inlet mass-flow rate of the wind tunnel will be shown.
• Select Plot settings → X Axis (and Y Axis) → Custom range to adjust the range for x and y axis.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1249
Fluent Aero Tutorial
Figure 31.75: Wing Drag vs Wind Tunnel Inlet Mass Flow Rate
22. The Plots options can be used to quickly display simple 2D plots of selected design points and
solution variables.
• Click Plot and the pressure coefficient on the walls of DP-1 at Z=-0.6m will be plotted in the
CutPlots window.
A Plot Options panel will appear after clicking the Plot button. You can use this panel to customize
plot settings for both axes. Notice that when the pressure coefficient is selected in Field, the range
of the y-axis will be reverted with higher value on the bottom and lower value on the top.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1250 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
A .csv file will be saved in the results folder after clicking the Plot button, which is visible within
the DP-1/Data folder in the Project View.
Figure 31.76: Distribution of the Wall Pressure Coefficient at Z=-0.6m for DP-1
23. Click the Plot Ref. Data button to load and plot a reference dataset in the current plot. In the dialog
window that appears, browse to the reference file ref-irt-swept-wing-Cp-massflow-313-
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1251
Fluent Aero Tutorial
section-z0.6m.csv in the reference_data folder, and click OK. You can use the Save Plot
button to export the current plot to a .png file on disk. The reference data will be imported in the
DP-1/Data folder in the Project View. The same plot settings will be applied to the Fluent Aero
results and black dots will be used to plot the reference data.
Figure 31.77: Load a Reference Data to the Pressure Coefficient Plot of DP-1 at Z=-0.6m
24. The Contours options can be used to quickly display simple contour plots of selected design points
and solution variables.
• Left-click on Contours from Outline View to display the Properties - Contours setup window.
In the Graphics window, use the mouse to set the view of the contour. Click View… and change
Save Name to swept-wing-view-1. Click Save to save the current contour view. The saved view
can later be applied to other contour plots.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1252 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
25. In the Properties - Contours area, click Save Image… and a Save Picture dialog will appear.
• Set the image name to swept-wing-static-pressure from the Select File dialog.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1253
Fluent Aero Tutorial
The contours of the static pressure for all the 2 Design Points will be saved to the Results folder as
swept-wing-static-pressure-DP-1 to 2.jpg.
26. In the Properties - Contours area, set Surfaces to Cutting Plane, Cutting Plane Normal Direction
to Z, Cutting Plane Position [m] to -0.6 and Field to Mach Number. Click on the Plot button to
show the cutting plane contour in the Graphics window.
27. In the Project View menu, a Results folder is created after the calculation starts. A folder for each
Design Point along with an associated case file, data file, and convergence file will appear inside
the Results folder. A Data folder which contains the result (a .csv formatted file) of the 2-D plot
of the pressure coefficient is created. A Summary folder containing the results tables (in .csv
formatted files) is created after clicking the Export Results Tables button.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1254 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
28. The results can be further investigated using the Post-Analysis (Beta) tool. Left-click on
out.0001.dat.h5 and select View Results – Post Solution. This command will load the Post Ana-
lysis (Beta) viewer. Post-Analysis (Beta) is a Beta feature that makes use of the Post-Analysis
(Beta) post-processing functionality and is directly displayed in the Fluent Aero’s Graphics area. A
Post-Analysis (Beta) tree node appears in the Outline View, where you can continue post-processing.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1255
Fluent Aero Tutorial
Note:
The Post-Analysis (Beta) option is still a beta feature. Therefore, a user may experience
some limitations during use.
Two different types of solution files can be loaded into Post-Analysis (Beta) using View
Results:
When using the Post-Analysis (Beta) functionality, it is preferred to use the Post Solution.
The Post Solution contains selected variables for post-processing and is formatted spe-
cifically for use with the Post-Analysis (Beta) tool.
• In the Surfaces selection panel, select windtunnel-wall, wing-main, wing-te, and wing-tip.
• Set the Minimum Value [Pa] and Maximum Value [Pa] to 100500 Pa and 103000 Pa, respect-
ively.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1256 of ANSYS, Inc. and its subsidiaries and affiliates.
Computing Aerodynamic Coefficients on an Aircraft Horizontal Tail Wing in a Wind-
tunnel Domain at Different Mass Flow Rates
• Click Display.
The Contour_Pressure will be displayed in the Post-Analysis tab of the Graphics window.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1257
Fluent Aero Tutorial
30. Once you are finished, you can close the dataset in Post-Analysis (Beta) by right-clicking on the
dataset name (Results – out.0001.dat.h5) in the Outline View and selecting Delete.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1258 of ANSYS, Inc. and its subsidiaries and affiliates.