Beruflich Dokumente
Kultur Dokumente
1. Introduction
The purpose of this workshop is to simulate mixing of hot and cold water in a T-piece. You will be
performing this simulation to check how well the fluids mix in the T and what the pressure drops are.
This workshop aims to teach basic skills in the use of the Fluent interface. The entire simulation approach
is covered, including:
• Reading a mesh
• Post-processing
2. Prerequisites
This tutorial assumes that you have little or no experience with ANSYS Fluent, and so each step will be
explicitly described.
3. Problem Description
The flow simulated is in a T-section of a pipeline. Fluid enters at two different temperatures, and the
computation simulates the mixing process.
File → Save
This displays the Save As dialog box, where you can browse to your working folder and enter
a specific name for the ANSYS Workbench project.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Fluid Flow and Heat Transfer in a Mixing Tee
b. In your working directory, enter 01_Mixing_Tee as the project File name and click the Save button
to save the project. ANSYS Workbench saves the project with a .wbpj extension and also saves
supporting files for the project.
6. In the window that opens, from the drop-down list next to File name, select FLUENT Mesh File.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
IF HPC licenses are available, you can select Parallel under Processing Options and
enter the number of processes.
The Fluent graphical user interface (GUI) is made up of several components, as shown in Figure 1: The
Fluent GUI Components (p. 4).
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Fluid Flow and Heat Transfer in a Mixing Tee
• The ribbon, located at the top of the Fluent GUI, is the primary method for setting up and running your
simulation.
• The tree, located on the left side of the Fluent GUI, is an interactive representation of your project.
Branches can be expanded and collapsed to suit your preferences. Right-clicking items in the tree
provides a list of common commands. When any of the items under the Setup, Solution, or Results
branches is highlighted, the Task Page is displayed to the right of the tree.
• The Fluent GUI includes toolbars located within the application window. These toolbars provide
shortcuts to performing common tasks in Fluent. The toolbars include a standard toolbar and a
graphics toolbar.
– The standard toolbar contains options for getting help, arranging the graph-
ical user interface, and visiting the ANSYS website.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
• Task pages appear on the right side of the tree when certain branches are selected. They provide access
to more advanced settings than are often available through right-clicking the same branch or sub-
branches.
• The expected workflow is that you travel down the tree. Use a right-click on the branches or sub-
branches to access the settings and controls required to solve your problem. Some of your setup will
occur in dialog boxes, while others in task pages. Each task page has a Help button. Clicking this button
opens the related help topic
• The console is located below the graphics window. It is used to display various kinds of information
(such as messages relating to meshing or solution procedures). Console text is colored based on
whether it is user-input, standard output, or a warning message. Fluent saves a certain amount of in-
formation that is written to the console into memory. You can review this information at any time by
using the scroll bar on the right side of the console. The size of the console can be adjusted by raising
or lowering the bottom frame of the graphics window.
For each mouse button (Left, Middle, and Right), select the desired function in the drop-down list.
Button 2D 3D
Left mouse-dolly mouse-rotate
Middle mouse-zoom mouse-zoom
Right mouse-probe mouse-probe
Probe short description short description
Button 2D 3D
Left mouse-dolly mouse-dolly
Middle mouse-zoom mouse-rotate
Right mouse-probe mouse-zoom
Probe short description short description
• Different type styles are used to indicate graphical user interface items and text interface items. For example:
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Fluid Flow and Heat Transfer in a Mixing Tee
• 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 Reorder (in the Mesh group box)
and selecting Domain, as indicated in the figure below:
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
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
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Fluid Flow and Heat Transfer in a Mixing Tee
In these workshops, mini flow charts usually accompany a description of a dialog box or command,
or a screen illustration showing how to use the dialog box or command. They show you how to
quickly access a command or dialog box without having to search the surrounding material.
• In-text references to File ribbon tab selections can be indicated using a “/”. For example, File/Write/Case...
indicates clicking the File ribbon tab and selecting Case... from the Write submenu (which opens the Select
File dialog box).
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
These controls are also available in the General task page that can be accessed by clicking
the Setup/General tree item.
Note
The mesh check ensures that each cell is in a correct format and connected to other
cells as expected. It is recommended to check every mesh immediately after reading it.
Failure of any check indicates a badly formed or corrupted mesh that will need repair
prior to simulation.
ANSYS Fluent will report the results of the mesh check in the console.
Note
The minimum and maximum values may vary slightly when running on different plat-
forms. The mesh check will list the minimum and maximum x and y 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 as ANSYS Fluent cannot begin a calculation when this
is the case.
Note
The quality of the mesh plays a significant role in the accuracy and stability of the nu-
merical computation. Checking the quality of your mesh is, therefore, an important step
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Fluid Flow and Heat Transfer in a Mixing Tee
ANSYS Fluent will report the results of the mesh quality below the results of the mesh check in the
console.
a. In the Mesh Display dialog box, disable Faces and ensure that only Edges is selected in the Options
group.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
ANSYS Fluent stores values in SI units. Most postprocessing can be converted to other
units.
a. In the Set Units dialog box select temperature in the Quantities list.
1. In the Solver group of the Setting Up Physics ribbon tab, retain the default selection of the Steady,
Pressure-Based solver.
2. Set up your models for the CFD simulation using the Models group of the Setting Up Physics ribbon
tab.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Fluid Flow and Heat Transfer in a Mixing Tee
Note
You can also use the Models task page that can be accessed by clicking the
Setup/Models tree item.
Note
ii. In the Viscous Model dialog box, select k-epsilon from the Model list.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
Note
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Fluid Flow and Heat Transfer in a Mixing Tee
iv. Retain the other default settings and click OK to accept the model and close the Viscous Model
dialog box.
Note
The Viscous... label in the ribbon is displayed in blue to indicate that the Vis-
cous model is enabled.
3. Set up the materials for your CFD simulation using the Materials group of the Setting Up Physics ribbon
tab.
Create a new material called water using the Create/Edit Materials dialog box.
Note
The default available fluid is air. This step makes water available for the simulation.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Fluent Database Materials dialog box select water-liquid(h2o<l>) from the Fluent
Fluid Materials list.
Note
Since the Fluent Fluid Materials list is very long, here is a tip to easily locate
a particular material. You can also use the slider bar at the right of the list.
3. Use the keyboard arrows or the mouse wheel to scroll to the required entry.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Fluid Flow and Heat Transfer in a Mixing Tee
c. Ensure that there are now two materials (water-liquid(h2o<l>) and air) defined locally by examining
the Fluent Fluid Materials drop-down list.
Note
Both materials will also be listed under Fluid in the Materials task page and under
the Materials tree branch.
4. Set up the cell zone conditions for the CFD simulation using the Zones group of the Setting Up Physics
ribbon tab.
a. In the Setting Up Physics tab, click Cell Zones (Zones group) and select All.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Cell Zone Conditions task page, in the Zone list, select fluid and click Edit... to open the
Fluid dialog box.
Note
You can also double-click fluid in the Cell Zones Conditions task page or
under the Setup/Cell Zone Conditions tree branch in order to open the cor-
responding dialog box.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Fluid Flow and Heat Transfer in a Mixing Tee
ii. In the Fluid dialog box, select water-liquid from the Material Name drop-down list.
Note
In this problem setup, there are many options that are left to default settings
as they are not relevant to this particular type of analysis.
5. Set up the boundary conditions for the CFD analysis using the Zones group of the Setting Up Physics
ribbon tab.
• In the Setting Up Physics tab, click Boundaries (Zones group) and select All from the drop-down
list.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
i. In the Boundary Conditions task page, in the Zone list, select inlet-y and click Edit... to open
the Velocity Inlet dialog box.
Note
You can also double-click inlet-y in the Boundary Conditions task page or
under the Setup/Boundary Conditions tree branch in order to open the cor-
responding dialog box.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Fluid Flow and Heat Transfer in a Mixing Tee
A. In the Velocity Inlet dialog box, ensure that Magnitude, Normal to Boundary are selected
for Velocity Specification Method.
C. In the Turbulence group, from the Specification Method drop-down list, select Intensity
and Hydraulic Diameter.
Note
Inlet flows bring turbulence with them. The quantities depend on the
upstream conditions so they are user inputs. For flow in pipes, turbulent
intensity is typically 5 to 10%. The length-scale of the turbulence can be
deduced from the pipe diameter.
Note
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
In this problem setup, there are many options that are left to default set-
tings as they are not relevant to this particular type of analysis.
ii. Double-click inlet-z and set the boundary conditions, using the values in the following table:
Component Value
Velocity Specification Method Magnitude, Normal to Boundary
Velocity Magnitude 0.1[m/s]
Turbulence Specification Method Intensity and Hydraulic Diameter
Turbulent Intensity 5%
Hydraulic Diameter 0.1 [m]
Temperature 25[C]
iii. Double-click outlet and set the boundary conditions at the outlet in the Pressure Outlet dialog
box, using the values in the following table:
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Fluid Flow and Heat Transfer in a Mixing Tee
Note
It is possible that during the solution process, material may flow back into the
domain through an outlet boundary. This could either be a genuine feature
of the flow (and still present in the converged solution), or just a short-lived
state reached during the convergence process. Either way, ANSYS Fluent needs
to know realistic conditions at this boundary. 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 pro-
cedure, you should set reasonable backflow conditions to prevent convergence
from being adversely affected. If (as in this model), the converged model has
flow leaving only at the outlet boundary, then these values are not used and
do not affect the final answer. Ideally, the geometry should be selected such
that flow enters the model only at well-defined inlets, with no backflow occur-
ring.
Component Value
Backflow Specification Method Normal to Boundary
Gauge Pressure 0[pascal]
Turbulence Specification Method Intensity and Hydraulic Diameter
Backflow Turbulent Intensity 5%
Backflow Hydraulic Diameter 0.15 [m]
Temperature 20[C]
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
4.6. Solving
In the steps that follow, you will set up and run the calculation using the Solving ribbon tab.
Note
You can also use the task pages listed under the Solution branch in the tree to perform
solution-related activities.
Solving → Solution
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Fluid Flow and Heat Transfer in a Mixing Tee
ii. In the Pressure-Velocity Coupling group of the Solution Methods task page, change the
Scheme to Coupled.
Note
Discretization schemes define how the solver calculates gradients and interpol-
ates variables to non-stored locations. The default settings are suitable for most
cases. Here you will change the Pressure-Velocity Coupling scheme and se-
lected Pseudo Transient. This particular change can sometimes improve the
convergence rate. You will compare Pseudo Transient with the default setting
(Pressure-Velocity Coupling = SIMPLE) in a later step.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
ii. In the Residual Monitors dialog box, ensure that Plot is enabled in the Options group.
iii. Keep the default values for the Absolute Criteria of the Residuals, as shown in the Residual
Monitors dialog box.
Note
By default, all variables will be monitored and checked by ANSYS Fluent as a means to
determine the convergence of the solution. The values of the residuals are indications
of the errors in the current solution. These should decrease during the calculation.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Fluid Flow and Heat Transfer in a Mixing Tee
Note
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. In the Surface Report Definition dialog box, enter pr-inlet-y for the Name.
b. Under the Create group, enable Report File and Report Plot.
During a solution run, ANSYS Fluent will write solution convergence data in a report file and
plot the solution convergence history in a graphics window.
It is good practice to monitor physical solution quantities in addition to equation residuals when
assessing convergence.
This setting instructs ANSYS Fluent to update the plot of the surface report and write data to a file
after every iteration during the solution.
d. Retain the selection of Pressure... and Static Pressure 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 pr-inlet-y appears under the Solution/Report Definitions
tree item. ANSYS Fluent also automatically creates the following items:
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Fluid Flow and Heat Transfer in a Mixing Tee
a. In the Surface Report Definition dialog box, enter pr-inlet-z for the Name.
b. Retain the selection of Pressure... and Static Pressure from the Field Variable drop-down lists.
Note
This will put the outputs from both the inlets in the same file.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. Click OK.
a. In the Surface Report Definition dialog box, enter temp-outlet for the Name.
b. Under the Create group, enable Report File and Report Plot.
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.
Now if you check in the tree you can see that there are 3 Report Definitions and 2 Report files
and Report Plots.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Fluid Flow and Heat Transfer in a Mixing Tee
5. Double click the Solution/Report Files/pr-inlet-y-rfile tree item and examine the report file settings in
the Edit Report File dialog box.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. Click OK.
6. Double click the Solution/Report Plots/pr-inlet-y-rplot tree item and examine the report plot settings
in the Edit Report Plot dialog box.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Fluid Flow and Heat Transfer in a Mixing Tee
c. Click OK.
7. Initialize the flow field using the Initialization group of the Solving ribbon tab.
Solving → Initialization
Note
Initialization creates the initial solution that the solver will iteratively improve. Generally,
for a steady state analysis, the same converged solution is reached whatever the initial-
ization, but convergence will be faster if the starting point is more realistic. Standard
initialization imposes the same values in all cells. You can improve on this in various
ways – for example, by patching different values into different zones. Several features,
including patching and post-processing, are not available until after initialization.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
b. Click Initialize .
Note
A warning message stating that convergence was not reached during hybrid initial-
ization may appear. It is only a warning, not an error, so it is safe to continue.
Note
It is good practice to save your work before beginning to iterate. ANSYS Workbench
saves the case and data files within its project directory structure. When running ANSYS
Fluent in standalone mode, you select the directory where the files will be saved.
9. Calculate a solution using the Run Calculation group of the Solving tab.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Fluid Flow and Heat Transfer in a Mixing Tee
This happens because of the default settings for the turbulence equations in Solution
Methods. However, these defaults are appropriate for most cases, so you will not change
the settings here. The topic of discretization will be discussed later in the training.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
The solution will be stopped by ANSYS Fluent when the residuals reach
their specified value, or after the specified number of iterations has been
reached. The exact number of iterations will vary depending on the plat-
form 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 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Fluid Flow and Heat Transfer in a Mixing Tee
Because 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.
Examine the plots for the area weighted average of pressure at both the inlets.
Note
When the iterations have been completed, it is recommended to save the results before
proceeding.
Note
You can also use the task pages listed under the Results branch in the tree to perform
solution-related activities.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
Note
a. To add a new graphics window to display the contours, right-click any existing tab at the top of the
graphics window and select New Window.
d. From the Contours of drop-down lists, select Pressure... and Static Pressure.
e. From the Surfaces selection list, deselect all items by clicking and then select wall-fluid.
Note
3D images are best viewed with lighting enabled. Click the Viewing ribbon tab. In the
Display group box, you can enable Headlight and Lighting. Select Gouraud under
Lighting.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Fluid Flow and Heat Transfer in a Mixing Tee
a. In the Flux Reports dialog box retain the selection of Mass Flow Rate in the Options group.
c. Click Compute.
d. Now select Total Heat Transfer Rate in the Options group and click Compute.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
The net results of both the mass flow rate and the total heat transfer rate are small. This confirms
that the mass and energy are conserved.
3. Exit Fluent.
File → Save
2. From Components Systems, drag Results and drop on Solution, cell 3 of the Fluent system.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Fluid Flow and Heat Transfer in a Mixing Tee
Note
The results are loaded. CFD-Post initially displays the outline (wireframe) of the model.
b. Retain the default name of Contour 1 in the Insert Contour dialog box and click OK.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
c. In Details of Contour, select wall fluid from the Locations drop-down list.
e. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Fluid Flow and Heat Transfer in a Mixing Tee
5. Create a plane.
c. Retain the default name, Plane 1, in the Insert Plane dialog box and click OK.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
f. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Fluid Flow and Heat Transfer in a Mixing Tee
a. Hide the plane by clearing the Plane 1 check box in the tree.
Note
c. Retain the default name, Vector 1, in the Insert Vector dialog box and click OK.
e. Click Apply.
Note
To change the camera view, right-click on the graphics window and select Pre-
defined Camera → View from +X (since the vector plot is on the YZ-plane). You
can also press X key.
7. Plot streamlines.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
a. Hide the vector plot by clearing the Vector 1 check box in the tree.
c. Retain the default name, Streamline 1, in the Insert Streamline dialog box and click OK.
d. In Details of Streamline, click the Location Editor button next to Start From.
i. In the Location Selector dialog box that opens select inlet y and inlet z under fluid.
Note
Hold Ctrl-key to select multiple items in the Location Selector dialog box.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Fluid Flow and Heat Transfer in a Mixing Tee
Note
Ribbons give a 3-D representation of the flow direction. In the current plot, the
colour depends on the flow velocity.
g. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Setup and Solution
8. Create an isosurface.
a. Hide the streamline plot by clearing the Streamline 1 check box in the tree.
c. Retain the default name, Isosurface 1, in the Insert Isosurface dialog box and click OK.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Fluid Flow and Heat Transfer in a Mixing Tee
Note
f. Click Apply.
Note
The velocity magnitude is greater than 0.4 m/s inside the isosurface, and less than
that, outside it.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
9. Close CFD-Post.
5. Summary
The workshop has shown the basic steps that are applied in all CFD simulations. You have learned how
to
6. Further Improvements
The additional exercises listed below are optional and can be performed as time and interest dictate.
They do not need to be performed in any particular order.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Fluid Flow and Heat Transfer in a Mixing Tee
1. Right-click on the Fluent cell in the Project Schematic and select Duplicate from the context
menu.
2. Double-click on the Setup cell of the duplicate system and launch Fluent.
Solving → Solution
Clicking the Default button changes the Pressure-Velocity Coupling from Coupled to
SIMPLE.
1. Right-click on the Fluent cell in the Project Schematic and select Duplicate from the context
menu.
2. Double-click on the Setup cell of the duplicate system and launch Fluent.
Note
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
4. In the Read Mesh Options dialog box select Replace Mesh from the list of Options and click
Continue....
Note
The Replace Mesh operation preserves all boundary conditions, solution mon-
itors, solver controls, and isosurfaces.
6. Since all the setup is preserved just initialize and run the solution.
1. Right-click on the Fluent cell in the Project Schematic and select Duplicate from the context
menu.
2. Double-click on the Setup cell of the duplicate system and launch Fluent.
a. In the Profiles dialog box click Read... and select the file profile_inlet_y.prof.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Fluid Flow and Heat Transfer in a Mixing Tee
In the Boundary Conditions task page, in the Zone list, select inlet-y and click Edit... to
open the Velocity Inlet dialog box.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
a. In the Velocity Inlet dialog box, select Components from the Velocity Specification
Method drop-down list.
d. Select inlet_y y-turb-kinetic-energy from the Turbulent Kinetic Energy (m2/s2) drop-
down list.
e. Select inlet_y y-turb-diss-rate from the Turbulent Dissipation rate (m2/s3) drop-down
list.
f. Click OK.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Fluid Flow and Heat Transfer in a Mixing Tee
Select inlet_z profile for this boundary and also apply the profile to Z-Velocity.
Fully developed profiles can be created by doing an auxiliary calculation of flow with the inlet
mass flow rate in a small periodic domain.
1. Right-click on the Fluent cell in the Project Schematic and select Duplicate from the context
menu.
2. Double-click on the Setup cell of the duplicate system and launch Fluent.
In the Boundary Conditions task page, in the Zone list, select inlet-z and click Edit... to
open the Velocity Inlet dialog box. Double the inlet-z velocity.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Further Improvements
Note
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.