Professional Documents
Culture Documents
3 D Manifold
3 D Manifold
Introduction
This tutorial illustrates the setup and solution of an unsteady manifold calculation using
FLUENT. Flows within intake and exhaust manifolds are of great interest to automotive
engineers. Computational fluid dynamics (CFD) can provide valuable information about
the nature of the manifold flow field, including total pressure losses and flow splits for the
manifold runners.
Very often, the flows of interest are also unsteady. A typical example would be an exhaust
manifold for which the runner inlet flows vary with the engine cycle. In this situation, the
losses and flow splits vary as a function of time, and it is possible for the time-averaged
unsteady flow to be different from a steady-state solution using average inlet/outlet conditions.
The analysis of an unsteady manifold calculation will be carried out in two phases:
1. Setup and solve a steady-state solution using constant inlet or outlet boundary conditions. This solution will serve as the initial condition for the unsteady calculation.
2. Setup and solve for the unsteady solution.
In this tutorial you will learn how to:
Read an existing grid file into FLUENT.
Setup and run a 3D steady-state problem with multiple inlets/outlets.
Use tabulated profile data to apply unsteady boundary conditions.
Setup and run an unsteady solution using the previous steady-state result as an initial
condition.
Prerequisites
This tutorial assumes that you are familiar with the FLUENT interface and have completed
Tutorial 1 from FLUENT 6.2 Tutorial Guide.
Some of the basic steps in the setup and solution procedures will not be shown explicitly.
Problem Description
The manifold considered in this tutorial has two inlets for which a uniform velocity normal
to the boundary will be prescribed. The outlet is at a fixed pressure (0 gauge, relative
to the environment). For the unsteady problem, the velocity is specified as a function of
time through the use of tabulated data using the transient profile. A user-defined function
(UDF) can also be used and is required to define a varying transient profile.
A 3D tetrahedral mesh containing 14184 cells was created for this problem. The mesh
size was kept small in this case in order to minimize the computational effort required for
the unsteady solution. However, all of the elements necessary to perform a more detailed
analysis on a larger mesh are available in the present example.
Preparation
1. Copy the mesh file, manifold.msh.gz and the profile file, tab data.prof to your
working directory.
2. Start the 3D version of FLUENT.
The grid is now sized correctly, and the working units for length are set to millimeters.
(d) Close the panel.
Note: There is no need to change any other units in this problem because the
default SI units will be used. The choice of millimeters for the unit of length
has been made by the actions you have just taken. If you want to change the
working units for length to something other than millimeters (say, inches),
you would have to use the Set Units panel in the Define pull-down menu.
4. Display the grid (Figure 1).
Display Grid...
Y
Z
Grid
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
FLUENT console window. This feature is useful when you have several zones of
the same type and you want to distinguish between them quickly.
Step 2: Models
1. Keep the default solver settings.
Define Models Solver...
Step 3: Materials
1. Define the material data for the incompressible fluid.
Define Materials...
For this tutorial, you will model air as an incompressible fluid. Assume that the
kinematic and thermodynamic properties are constant. So no change is required in
the materials panel.
Extra: You can modify the fluid properties for the default material displayed in the
Materials panel, or copy a material from the materials database. The materials
database is opened by clicking Fluent Database... in the Materials panel. If the
properties in the database are different from those you wish to use, you can still
edit the values under Properties and click Change/Create to update your local
copy. (The database will not be affected.)
2. Close the Materials panel.
(c) Click OK to accept the default option, air, for Material Name.
2. Set the boundary conditions at the inlets.
(a) Select velocity-inlet-1 under Zone and click the Set... button.
Hint: If you are not sure of which inlet zone corresponds to the main inlet, probe
the grid display with the right mouse button. The zone ID will be displayed
in the FLUENT console window and the zone will automatically be selected
in the Zone list. In 2D simulations, it may be helpful to return to the Grid
Display panel and deselect the display of the fluid and interior zones before
probing with the mouse button for zone names.
(b) Set the conditions for velocity-inlet-1 as shown in the Velocity Inlet panel.
10
(c) Enter a value of 0.05 for the Backflow Turbulence Intensity (fraction) and 30 mm
for Backflow Hydraulic Diameter.
(d) Click OK.
FLUENT will use the backflow conditions only if the fluid is flowing into the computational domain through the outlet. Backflow might occur at some point during the
solution process. You should set reasonable backflow conditions to prevent convergence
from being adversely affected.
5. Keep the default boundary conditions for wall-17.
This makes the assumption that there is no heat loss through the walls of the manifold.
6. Close the Boundary Conditions panel.
11
12
13
i. Select Mass Flow Rate from the Report Type drop-down list.
ii. Select pressure-outlet-1 under the Surfaces list.
14
Note: While specifying the name, if you give the gz extension, FLUENT automatically saves the file in compressed format.
5. Initialize the flow field at velocity-inlet-1.
Solve Initialize Initialize...
(a) Choose velocity-inlet-1 from the Compute From list and enter the values for the
velocity components as shown in the following panel.
(b) Click Init and close the panel.
15
The solution should be sufficiently converged after about 100 iterations (Figure 2,
Figure 3 and Figure 4).
7. Check the mass flux balance.
Report Fluxes...
!
The residual history plot only indicates the solution convergence. Check the net
mass fluxes through the domain to ensure that mass is being conserved.
(a) Select velocity-inlet-1, velocity-inlet-2 and pressure-outlet-1 under Boundaries. Keep
the default Mass Flow Rate under Options and click on Compute.
16
Residuals
continuity
x-velocity
y-velocity
z-velocity
energy
k
epsilon
1e+02
1e+01
1e+00
1e-01
1e-02
1e-03
1e-04
1e-05
1e-06
1e-07
0
Y
Z
20
40
60
80
100
120
Iterations
Scaled Residuals
Monitors
monitor-1
-0.0200
-0.0250
-0.0300
-0.0350
Mass
Flow
Rate
(kg/s)
-0.0400
-0.0450
-0.0500
-0.0550
-0.0600
0
Y
Z
20
40
60
80
100
120
Iteration
17
Monitors
monitor-2
500.0000
480.0000
460.0000
440.0000
420.0000
Area
Weighted
Average
(k)
400.0000
380.0000
360.0000
340.0000
320.0000
300.0000
0
Y
Z
20
40
60
80
100
120
Iteration
The net mass imbalance should be a small fraction (say, 0.5%) of the total flux
through the system. If a significant imbalance occurs, decrease the residual tolerances by at least an order of magnitude and continue iterating.
8. Save the data file.
File Write Data...
(a) Enter manifold-ss.dat.gz under Data File and click OK.
18
(a) Select Pressure... and Static Pressure from the Contours of drop-down lists.
(b) Select Filled under Options.
(c) Select all surfaces except interior-80 under Surfaces.
(d) Click on Display to view the contours of static pressure (Figure 5) and close the
panel.
Use the left mouse button to manipulate the default view as shown in Figure 5.
To know the exact value of the pressure at a particular point, click with the
right mouse at that point and the values will be displayed in the FLUENT console
window.
19
9.86e+02
8.94e+02
8.02e+02
7.09e+02
6.17e+02
5.25e+02
4.33e+02
3.41e+02
2.49e+02
1.57e+02
6.52e+01
-2.69e+01
-1.19e+02
-2.11e+02
-3.03e+02
-3.95e+02
-4.87e+02
-5.79e+02
-6.71e+02
-7.63e+02
-8.55e+02
Y
Z
20
2.79e+02
2.65e+02
2.51e+02
2.37e+02
2.23e+02
2.09e+02
1.95e+02
1.81e+02
1.67e+02
1.53e+02
1.40e+02
1.26e+02
1.12e+02
9.77e+01
8.37e+01
6.98e+01
5.58e+01
4.18e+01
2.79e+01
1.39e+01
0.00e+00
Y
Z
21
22
Figure 7: (a) Inlet Velocity Versus Time for Inlet-1 and Inlet-2 (b) Inlet Temperature Versus
Time for Inlet-1 and Inlet-2
23
24
(a) Select velocity-inlet-1 under Zone in the Boundary Conditions panel and click the
Set... button.
(b) Select tab data vel1 in the Velocity Magnitude drop-down list.
The data profile name will now appear to the right of the input line, indicating
that the profile will be used to provide the value of the velocity magnitude rather
than the input value.
(c) Select tab data temp1 in the Temperature drop-down list.
(d) Repeat the above two steps for velocity-inlet-2 using the appropriate data profile
names tab data vel2 and tab data temp2.
5. Set the solution parameters.
Solve Controls Solution...
25
26
This monitor will check the mass flow rate through the pressure outlet for
each iteration. Ideally, this value should level off to a constant value prior
to the next time step.
iv. Activate Plot, Print, and Write for monitor-4.
v. Change the update mode under Every to Time Step.
vi. Click on the Define... button and define properties as shown in the panel.
27
7. Save case file and data files for the unsteady calculation (at specified time step intervals) using the Autosave option.
File Write Autosave...
28
29
Monitors
monitor-3
0.0000
-0.0050
-0.0100
-0.0150
-0.0200
-0.0250
Mass
Flow
Rate
(kg/s)
-0.0300
-0.0350
-0.0400
-0.0450
-0.0500
-0.0550
100
Y
Z
125
150
175
200
225
250
275
300
325
350
Iteration
Monitors
monitor-4
700.0000
650.0000
600.0000
Area
Weighted
Average
(k)
550.0000
500.0000
450.0000
400.0000
0
Y
Z
25
50
75
100
125
150
175
200
225
250
Time Step
30
i. Select Pressure... and Static Pressure from the Contours of drop-down lists.
ii. Select Filled under Options.
iii. Select all surfaces except interior-80 under Surfaces.
iv. Click on Display to view the contours of static pressure (Figure 10) and close
the panel.
Use the left mouse button to manipulate the default view as shown in Figure 10. To know the exact value of the pressure at a particular point, click
with the right mouse at that point and the values will be displayed in the
FLUENT console window.
31
1.29e+03
1.19e+03
1.08e+03
9.79e+02
8.75e+02
7.71e+02
6.67e+02
5.64e+02
4.60e+02
3.56e+02
2.53e+02
1.49e+02
4.53e+01
-5.84e+01
-1.62e+02
-2.66e+02
-3.70e+02
-4.73e+02
-5.77e+02
-6.81e+02
-7.84e+02
Y
Z
32
2.79e+02
2.65e+02
2.51e+02
2.37e+02
2.23e+02
2.09e+02
1.95e+02
1.81e+02
1.67e+02
1.53e+02
1.40e+02
1.26e+02
1.12e+02
9.77e+01
8.37e+01
6.98e+01
5.58e+01
4.18e+01
2.79e+01
1.39e+01
0.00e+00
Y
Z
Figure 11: Path Lines plot for the Unsteady-State Manifold Solution
33