Documente Academic
Documente Profesional
Documente Cultură
Inline Mixer
14.5 Release
Introduction to ANSYS
CFD Professional
2013 ANSYS, Inc.
Release 14.5
Overview
This workshop simulates an inline
static mixing device. Two side inlets
inject hot fluid into the main flow
just before a restriction in the pipe,
designed to enhance mixing
A Profile Boundary Condition is used
for the velocity main inlet, for which
the temperature is set at 298 [K]
Fluid enters the side inlets at 325 [K]
and 5 [m/s]
Symmetry planes divide the model
into of its initial size
We will create an Additional Variable
to mark the flow from the side inlet
and another to indicate the Fluid Age
Release 14.5
Mesh Checking
Before setting up the simulation you will
check the mesh quality in CFD-Post. This
can be useful when assessing whether
mesh quality is the cause of problems in
the solution.
1. Start ANSYS Workbench and save
the project to your working directory
(File > Save As)
2. Drag and drop a Results component
system into the Project Schematic. Open
CFD-Post by double clicking on the
Results cell or right clicking to select Edit
3. In CFD-Post select File > Load Results
and browse to the directory containing
the mesh file Inline_Mixer_Mesh.gtm
(workshop_input_files\WS_03_Mixing
Tube). Make sure Files of type is set to
All Readable Files or CFX so that you can
select the file. Then click on Open
2013 ANSYS, Inc.
Release 14.5
Mesh Checking
3.
4.
Examine the results for each of the functions. Guidelines from the
Help documentation (search for Mesh Visualization Advice) have
been copied below
Release 14.5
Mesh Checking
Two metrics fall outside the recommended values:
Minimum Face Angle < 10
Element Volume Ratio > 30
Now create some plots to view these mesh regions:
Method = Isovolume
Variable = Minimum Face Angle
Release 14.5
Mesh Checking
5. Edit the object Default 2D Region (under the Mesh Regions branch in the
Outline tree)
6.
Release 14.5
Drag and drop a CFX Component System into the Project Schematic
and edit the Setup cell to open CFX-Pre
2.
Right click on Mesh in the Outline tree and select Import Mesh >
CFX Mesh. You can then browse to the directory containing
Inline_Mixer_Mesh.gtm and select it
The mesh represents one quarter of the full geometry
3.
Release 14.5
Release 14.5
Release 14.5
Material = Water
Reference Pressure = 1 [ atm ]
10
Release 14.5
11
Release 14.5
12
Release 14.5
7.
8.
9.
13
Release 14.5
14
Release 14.5
15
Release 14.5
16
Release 14.5
17
Release 14.5
Solver Control
1. Double-click Solver Control in the
Outline tree
2. Set Timescale Control to Physical
Timescale, and set the Physical
Timescale to 5 [ s ]
3. Click OK
18
Release 14.5
4. The run should finish after about 40 iterations. When it does so,
close the CFX-Solver Manager (File > Close CFX-Solver Manager)
5. In the Project Schematic double-click on the Results cell of the CFX
component system to open CFD-Post
19
Release 14.5
Post-processing
One of the variables written to the results file is Yplus. This variable
gives the dimensionless distance between a wall and the first node from
the wall. This is an important quantity for turbulence models since the
turbulent wall functions are valid only below certain Yplus values. For
the k-epsilon model Yplus should be < 100. Note that you can only plot
Yplus on walls.
Colour the InlineMixer Default boundary using Yplus (to select Yplus use
the button)
20
Release 14.5
Post-processing
The mixing of the fluid from the different inlets can
be visualised with a plot of temperature distribution
1.
2.
Mode to Variable
Variable to Temperature
Range to User Specified
Min to 298 [ K ]
Max to 302.5 [ K ]
21
Release 14.5
Post-processing
We can also visualise mixing by plotting contours of the variable Side. This
will be done on a series of planes downstream from Side Inlet. The definition
of the planes will be imported from a state file.
3.
22
Release 14.5
Post-processing
The variable Fluid Age would reveal regions where fluid is not being flushed
through.
6.
7.
23
Release 14.5
Post-processing
The flow is viewed by means of a vector plot
4. Turn off visibility for Sym 1
5. Create a Vector plot on the location Sym 1
24
Release 14.5
Post processing
The full geometry can be displayed by
means of an instance transform
1. Turn off visibility of all plots
25
Release 14.5
Post-processing
6. Turn on Apply Reflection and set the
Method to ZX Plane with a Y value of
0[m]
7. Click Apply
26
Release 14.5
Post-processing
Now create an Isosurface of
Temperature:
1. Select Location > Isosurface
2. Accept the default name by
clicking OK
3. Set Variable to Temperature
4. Set Value to 301.5 [K], a little
above the mass-flow averaged
temperature on the outlet. Use
the Function Calculator to
evaluate this.
The isosurface is reasonably axisymmetric 1.5 - 2 pipe diameters
downstream of the restriction, where the flow has started to recover.
2013 ANSYS, Inc.
27
Release 14.5