ANSYS Fluent Tutorial Guide
Table of Contents
Using This Manual
1. What’s In This Manual
2. How To Use This Manual
2.1. For the Beginner
2.2. For the Experienced User
3. Typographical Conventions Used In This Manual
Chapter 1: Introduction to Using ANSYS Fluent: Fluid Flow and Heat Transfer in a Mixing Elbow
1.1. Introduction
1.2. Prerequisites
1.3. Problem Description
1.4. Setup and Solution
1.4.1. Preparation
1.4.2. Launching ANSYS Fluent
1.4.3. Reading the Mesh
1.4.4. Setting Up Domain
1.4.5. Setting Up Physics
1.4.6. Solving
1.4.7. Displaying the Preliminary Solution
1.4.8. Using the Coupled Solver
1.4.9. Adapting the Mesh
1.5. Summary
Chapter 2: Postprocessing
2.1. Introduction
2.2. Prerequisites
2.3. Problem Description
2.4. Setup and Solution
2.4.1. Preparation
2.4.2. Reading the Mesh
2.4.3. Manipulating the Mesh in the Viewer
2.4.4. Adding Lights
2.4.5. Creating Isosurfaces
2.4.6. Generating Contours
2.4.7. Generating Velocity Vectors
2.4.8. Creating an Animation
2.4.9. Displaying Pathlines
2.4.10. Creating a Scene With Vectors and Contours
2.4.11. Advanced Overlay of Pathlines on a Scene
2.4.12. Creating Exploded Views
2.4.13. Animating the Display of Results in Successive Streamwise Planes
2.4.14. Generating XY Plots
2.4.15. Creating Annotation
2.4.16. Saving Picture Files
2.4.17. Generating Volume Integral Reports
2.5. Summary
Chapter 3: Modeling Periodic Flow and Heat Transfer
3.1. Introduction
3.2. Prerequisites
3.3. Problem Description
3.4. Setup and Solution
3.4.1. Preparation
3.4.2. Mesh
3.4.3. General Settings
3.4.4. Models
3.4.5. Materials
3.4.6. Cell Zone Conditions
3.4.7. Periodic Conditions
3.4.8. Boundary Conditions
3.4.9. Solution
3.4.10. Postprocessing
3.5. Summary
3.6. Further Improvements
Chapter 4: Modeling External Compressible Flow
4.1. Introduction
4.2. Prerequisites
4.3. Problem Description
4.4. Setup and Solution
4.4.1. Preparation
4.4.2. Mesh
4.4.3. Solver
4.4.4. Models
4.4.5. Materials
4.4.6. Boundary Conditions
4.4.7. Operating Conditions
4.4.8. Solution
4.4.9. Postprocessing
4.5. Summary
4.6. Further Improvements
Chapter 5: Modeling Transient Compressible Flow
5.1. Introduction
5.2. Prerequisites
5.3. Problem Description
5.4. Setup and Solution
5.4.1. Preparation
5.4.2. Reading and Checking the Mesh
5.4.3. Solver and Analysis Type
5.4.4. Models
5.4.5. Materials
5.4.6. Operating Conditions
5.4.7. Boundary Conditions
5.4.8. Solution: Steady Flow
5.4.9. Enabling Time Dependence and Setting Transient Conditions
5.4.10. Specifying Solution Parameters for Transient Flow and Solving
5.4.11. Saving and Postprocessing Time-Dependent Data Sets
5.5. Summary
5.6. Further Improvements
Chapter 6: Modeling Flow Through Porous Media
6.1. Introduction
6.2. Prerequisites
6.3. Problem Description
6.4. Setup and Solution
6.4.1. Preparation
6.4.2. Mesh
6.4.3. General Settings
6.4.4. Models
6.4.5. Materials
6.4.6. Cell Zone Conditions
6.4.7. Boundary Conditions
6.4.8. Solution
6.4.9. Postprocessing
6.5. Summary
6.6. Further Improvements
Chapter 7: Modeling Radiation and Natural Convection
7.1. Introduction
7.2. Prerequisites
7.3. Problem Description
7.4. Setup and Solution
7.4.1. Preparation
7.4.2. Reading and Checking the Mesh
7.4.3. Solver and Analysis Type
7.4.4. Models
7.4.5. Defining the Materials
7.4.6. Operating Conditions
7.4.7. Boundary Conditions
7.4.8. Obtaining the Solution
7.4.9. Postprocessing
7.4.10. Comparing the Contour Plots after Varying Radiating Surfaces
7.4.11. S2S Definition, Solution, and Postprocessing with Partial Enclosure
7.5. Summary
7.6. Further Improvements
Chapter 8: Using a Single Rotating Reference Frame
8.1. Introduction
8.2. Prerequisites
8.3. Problem Description
8.4. Setup and Solution
8.4.1. Preparation
8.4.2. Mesh
8.4.3. General Settings
8.4.4. Models
8.4.5. Materials
8.4.6. Cell Zone Conditions
8.4.7. Boundary Conditions
8.4.8. Solution Using the Standard k- ε Model
8.4.9. Postprocessing for the Standard k- ε Solution
8.4.10. Solution Using the RNG k- ε Model
8.4.11. Postprocessing for the RNG k- ε Solution
8.5. Summary
8.6. Further Improvements
8.7. References
Chapter 9: Using Multiple Reference Frames
9.1. Introduction
9.2. Prerequisites
9.3. Problem Description
9.4. Setup and Solution
9.4.1. Preparation
9.4.2. Reading and Checking the Mesh and Setting the Units
9.4.3. Specifying Solver and Analysis Type
9.4.4. Specifying the Models
9.4.5. Specifying Materials
9.4.6. Specifying Cell Zone Conditions
9.4.7. Setting Boundary Conditions
9.4.8. Defining Mesh Interfaces
9.4.9. Obtaining the Solution
9.4.10. Step 9: Postprocessing
9.5. Summary
9.6. Further Improvements
Chapter 10: Using Sliding Meshes
10.1. Introduction
10.2. Prerequisites
10.3. Problem Description
10.4. Setup and Solution
10.4.1. Preparation
10.4.2. Mesh
10.4.3. General Settings
10.4.4. Models
10.4.5. Materials
10.4.6. Cell Zone Conditions
10.4.7. Boundary Conditions
10.4.8. Operating Conditions
10.4.9. Mesh Interfaces
10.4.10. Solution
10.4.11. Postprocessing
10.5. Summary
10.6. Further Improvements
Chapter 11: Using Overset and Dynamic Meshes
11.1. Prerequisites
11.2. Problem Description
11.3. Preparation
11.4. Mesh
11.5. Overset Interface Creation
11.6. Steady-State Case Setup
11.6.1. General Settings
11.6.2. Models
11.6.3. Materials
11.6.4. Operating Conditions
11.6.5. Boundary Conditions
11.6.6. Reference Values
11.6.7. Solution
11.7. Unsteady Setup
11.7.1. General Settings
11.7.2. Compile the UDF
11.7.3. Dynamic Mesh Settings
11.7.4. Report Generation for Unsteady Case
11.7.5. Run Calculations for Unsteady Case
11.7.6. Overset Solution Checking
11.7.7. Postprocessing
11.7.8. Diagnosing an Overset Case
11.8. Summary
Chapter 12: Modeling Species Transport and Gaseous Combustion
12.1. Introduction
12.2. Prerequisites
12.3. Problem Description
12.4. Background
12.5. Setup and Solution
12.5.1. Preparation
12.5.2. Mesh
12.5.3. General Settings
12.5.4. Models
12.5.5. Materials
12.5.6. Boundary Conditions
12.5.7. Initial Reaction Solution
12.5.8. Postprocessing
12.5.9. NOx Prediction
12.6. Summary
12.7. Further Improvements
Chapter 13: Using the Non-Premixed Combustion Model
13.1. Introduction
13.2. Prerequisites
13.3. Problem Description
13.4. Setup and Solution
13.4.1. Preparation
13.4.2. Reading and Checking the Mesh
13.4.3. Specifying Solver and Analysis Type
13.4.4. Specifying the Models
13.4.5. Defining Materials and Properties
13.4.6. Specifying Boundary Conditions
13.4.7. Specifying Operating Conditions
13.4.8. Obtaining Solution
13.4.9. Postprocessing
13.4.10. Energy Balances Reporting
13.5. Summary
13.6. References
13.7. Further Improvements
Chapter 14: Modeling Surface Chemistry
14.1. Introduction
14.2. Prerequisites
14.3. Problem Description
14.4. Setup and Solution
14.4.1. Preparation
14.4.2. Reading and Checking the Mesh
14.4.3. Solver and Analysis Type
14.4.4. Specifying the Models
14.4.5. Defining Materials and Properties
14.4.6. Specifying Boundary Conditions
14.4.7. Setting the Operating Conditions
14.4.8. Simulating Non-Reacting Flow
14.4.9. Simulating Reacting Flow
14.4.10. Postprocessing the Solution Results
14.5. Summary
14.6. Further Improvements
Chapter 15: Modeling Evaporating Liquid Spray
15.1. Introduction
15.2. Prerequisites
15.3. Problem Description
15.4. Setup and Solution
15.4.1. Preparation
15.4.2. Mesh
15.4.3. Solver
15.4.4. Models
15.4.5. Materials
15.4.6. Boundary Conditions
15.4.7. Initial Solution Without Droplets
15.4.8. Creating a Spray Injection
15.4.9. Solution
15.4.10. Postprocessing
15.5. Summary
15.6. Further Improvements
Chapter 16: Using the VOF Model
16.1. Introduction
16.2. Prerequisites
16.3. Problem Description
16.4. Setup and Solution
16.4.1. Preparation
16.4.2. Reading and Manipulating the Mesh
16.4.3. General Settings
16.4.4. Models
16.4.5. Materials
16.4.6. Phases
16.4.7. Operating Conditions
16.4.8. User-Defined Function (UDF)
16.4.9. Boundary Conditions
16.4.10. Solution
16.4.11. Postprocessing
16.5. Summary
16.6. Further Improvements
Chapter 17: Modeling Cavitation
17.1. Introduction
17.2. Prerequisites
17.3. Problem Description
17.4. Setup and Solution
17.4.1. Preparation
17.4.2. Reading and Checking the Mesh
17.4.3. Solver Settings
17.4.4. Models
17.4.5. Materials
17.4.6. Phases
17.4.7. Boundary Conditions
17.4.8. Operating Conditions
17.4.9. Solution
17.4.10. Postprocessing
17.5. Summary
17.6. Further Improvements
Chapter 18: Using the Mixture and Eulerian Multiphase Models
18.1. Introduction
18.2. Prerequisites
18.3. Problem Description
18.4. Setup and Solution
18.4.1. Preparation
18.4.2. Mesh
18.4.3. General Settings
18.4.4. Models
18.4.5. Materials
18.4.6. Phases
18.4.7. Boundary Conditions
18.4.8. Operating Conditions
18.4.9. Solution Using the Mixture Model
18.4.10. Postprocessing for the Mixture Solution
18.4.11. Higher Order Solution using the Mixture Model
18.4.12. Setup and Solution for the Eulerian Model
18.4.13. Postprocessing for the Eulerian Model
18.5. Summary
18.6. Further Improvements
Chapter 19: Modeling Solidification
19.1. Introduction
19.2. Prerequisites
19.3. Problem Description
19.4. Setup and Solution
19.4.1. Preparation
19.4.2. Reading and Checking the Mesh
19.4.3. Specifying Solver and Analysis Type
19.4.4. Specifying the Models
19.4.5. Defining Materials
19.4.6. Setting the Cell Zone Conditions
19.4.7. Setting the Boundary Conditions
19.4.8. Solution: Steady Conduction
19.4.9. Solution: Transient Flow and Heat Transfer
19.5. Summary
19.6. Further Improvements
Chapter 20: Using the Eulerian Granular Multiphase Model with Heat Transfer
20.1. Introduction
20.2. Prerequisites
20.3. Problem Description
20.4. Setup and Solution
20.4.1. Preparation
20.4.2. Mesh
20.4.3. Solver Settings
20.4.4. Models
20.4.5. UDF
20.4.6. Materials
20.4.7. Phases
20.4.8. Boundary Conditions
20.4.9. Solution
20.4.10. Postprocessing
20.5. Summary
20.6. Further Improvements
20.7. References
Chapter 21: Using the Adjoint Solver – 2D Laminar Flow Past a Cylinder
21.1. Introduction
21.2. Prerequisites
21.3. Problem Description
21.4. Setup and Solution
21.4.1. Step 1: Preparation
21.4.2. Step 2: Define Observables
21.4.3. Step 3: Compute the Drag Sensitivity
21.4.4. Step 4: Postprocess and Export Drag Sensitivity
21.4.4.1. Boundary Condition Sensitivity
21.4.4.2. Momentum Source Sensitivity
21.4.4.3. Shape Sensitivity
21.4.4.4. Exporting Drag Sensitivity Data
21.4.5. Step 5: Compute Lift Sensitivity
21.4.6. Step 6: Modify the Shape
21.5. Summary
Chapter 22: Simulating a Single Battery Cell Using the MSMD Battery Model
22.1. Introduction
22.2. Prerequisites
22.3. Problem Description
22.4. Setup and Solution
22.4.1. Preparation
22.4.2. Reading and Scaling the Mesh
22.4.3. Loading the MSMD battery Add-on
22.4.4. NTGK Battery Model Setup
22.4.4.1. Specifying Solver and Models
22.4.4.2. Defining New Materials for Cell and Tabs
22.4.4.3. Defining Cell Zone Conditions
22.4.4.4. Defining Boundary Conditions
22.4.4.5. Specifying Solution Settings
22.4.4.6. Obtaining Solution
22.4.5. Postprocessing
22.4.6. Simulating the Battery Pulse Discharge Using the ECM Model
22.4.7. Using the Reduced Order Method (ROM)
22.4.8. External and Internal Short-Circuit Treatment
22.4.8.1. Setting up and Solving a Short-Circuit Problem
22.4.8.2. Postprocessing
22.5. Summary
22.6. Appendix
22.7. References
Chapter 23: Simulating a 1P3S Battery Pack Using the MSMD Battery Model
23.1. Introduction
23.2. Prerequisites
23.3. Problem Description
23.4. Setup and Solution
23.4.1. Preparation
23.4.2. Reading and Scaling the Mesh
23.4.3. Loading the MSMD battery Add-on
23.4.4. Battery Model Setup
23.4.4.1. Specifying Solver and Models
23.4.4.2. Defining New Materials
23.4.4.3. Defining Cell Zone Conditions
23.4.4.4. Defining Boundary Conditions
23.4.4.5. Specifying Solution Settings
23.4.4.6. Obtaining Solution
23.4.5. Postprocessing
23.5. Summary