Module B-Turbulent Pipe Flow

advertisement
Module B: Turbulent Pipe Flow
Summary……………………………………………………
Problem Statement…………………………………………
Geometry Creation…………………………………………
Mesh Creation……………………………………………...
Problem Setup………………………………………………
Solution…………………………………………………….
Results……………………...……………………………...
Post Processing…………………………………………….
Validation………………………………………………….
Structured vs. Unstructured Mesh…………………………
Summary:
The turbulent pipe flow learning module has three main objectives. First the user learns how to
model a simple pipe in 2D under axisymmetric considerations. Then meshing the model is
showcased as it relates to turbulent flow—the user learns how to apply bias to the meshing.
Second proper problem setup is introduced in ANSYS FLUENT which involves setting the
initial conditions and boundary conditions, checking for convergence and obtaining data. Third
the user learns how to properly validate the obtained data in order to make sure the data is correct
and makes sense. Validation is extremely important because if the user input the wrong
parameters and specifications, the FLUENT output is also going to be incorrect.
Extensive analysis has been perfomed on the obtained data for the turbulent pipe flow. It has
been observed that while refining the structured mesh will not have a significant impact on the
results it is important for that mesh to be structured otherwise erroneous results will be obtained.
It has also been documented that more accurate results are obtained for a k-ο₯ turbulent model
with near-wall treatment specified as enhanced wall treatment as opposed to standard wall
functions. Turublent flow is validated by comparing with experimental data, i.e. skin friction,
velocity profile and entry length.The important steps taken in creating the biased mesh, setting
up the problem properly and obtaining meaningful validation can then be used as a basis for
solving more complicated flow problems.
1|Page
Problem Statement:
ο‚·
A typical pipe with given parameters: ρ=1.0
10−5
π‘˜π‘”⁄
π‘š⁄
π‘š3 ; 𝑉𝑖𝑛𝑙𝑒𝑑 = 1 𝑠;
π‘˜π‘”⁄
π‘š∗𝑠
μ=2 ∗
Center Line
D=0.2m
𝑉𝑖𝑛𝑙𝑒𝑑
L=8m
Fig. B.1
ο‚·
If we analyze a small element from the pipe, that element will have a rectangular shape.
Since we are dealing with an axisymmetric flow the problem can be further simplified by
focusing only on the radius of the shape.
Wall
𝑉𝑖𝑛𝑙𝑒𝑑
D/2
Outlet
L
Center Line
Fig. B.2
ο‚·
The type of flow can be determined by calculating the Reynolds number:
𝑅𝑒 =
𝜌∗𝑉𝑖𝑛𝑙𝑒𝑑 ∗𝐷
∴ 𝑅𝑒 =
πœ‡
(B.1)
π‘š
π‘˜π‘”⁄
∗
1
3
π‘š
𝑠 ∗ 0.2 π‘š = 10 000
π‘˜π‘”
(2 ∗ 10−5 ) ⁄π‘š ∗ 𝑠
1.0
ο‚·
Recall that for flow in a round pipe, the flow is laminar if the Reynolds number is less
than approximately 2100; the flow is transitional if the Reynolds number is between 2100
and 4000 and it is fully turbulent if Re is greater than 4000. Based on the given
parameters the flow that is to be analyzed is fully turbulent.
ο‚·
The flow will be analyzed by using Ansys Fluent, however first the geometry and the
corresponding grid must be built. That will be done in Ansys Workbench. Afterwards the
obtained results will be validated in order to make sure they make sense.
Geometry Creation:
2|Page
ο‚·
Open ANSYS Workbench and start a new project.
ο‚·
Since the flow is to be analyzed in Fluent, drag the Fluid Flow (Fluent) Analysis System
to the project schematic.
ο‚·
Since we are dealing with a 2d geometry, right click on Geometry and select Properties.
Under Advanced Geometry Options for Analysis Type select 2d.
Fig. B.3
ο‚·
Right click on geometry and select new geometry.
ο‚·
Keep the default units of meters. From the Tree Outline select xy plane, then click the xaxis in the triad visible in the lower right corner in the graphics window.
3|Page
Fig. B.4
ο‚·
Select sketching from the Tree Outline. Then select Rectangle from the Draw options. In
the graphics window place the cursor at the origin. The letter P should be visible
meaning that point is fixed at the origin. Drag the pencil in the positive x and y
directions thus creating the rectangle.
4|Page
Fig. B.5
ο‚·
Next the rectangle’s dimensions will be specified. Select Dimensions from the Sketching
Toolboxes. Retain the default of General. In the Graphics Window, click on any of the
two horizontal edges. By moving the pencil away from the edge and clicking once a ruler
should be created. Then the horizontal dimension can be edited in the Details View,
Dimensions. Set the horizontal dimension to 8 meters. Do the same for the vertical
dimension and set it equal to 0.1 meters (we will analyze the flow as axisymmetric).
5|Page
Fig. B.6
ο‚·
You can zoom on selected portion of the geometry by selecting box zoom and by
selecting pan the shape can be dragged around the screen.
ο‚·
Click on Modeling under Sketching Toolboxes. Under the XY Plane select the created
sketch and then choose Surfaces from Sketches from under Concept. Click apply in the
Base Objects under Details of SurfaceSk.
Fig. B.7
ο‚·
Finally select Generate to create the body. You can then exit the Design Modeler which
will automatically save the created geometry.
6|Page
ο‚·
The check mark now visible next to geometry in the project schematic in workbench
indicates no problems are detected and we can proceed with the mesh creation.
Fig. B.8
Mesh Creation:
ο‚·
Double click on Mesh from the Fluid Flow System in the project schematic. Keep the
Meshing Options defaults.
ο‚·
Verify metric units are used (meters, kilograms, Newtons, etc). That can be done by
selecting units.
ο‚·
Select Mesh in the Outline. In Details of Mesh, under Sizing, select Off for Use
Advanced Size Functions. This is necessary since we are manually going to specify the
elements size and mesh type.
ο‚·
Select Mesh Control, then Mapped Face Meshing. Select the face of the body (the
rectangle should turn green) and click apply. By doing so opposite ends will correspond
with each other.
7|Page
Fig. B.9
ο‚·
Under Mesh Control, select Sizing. Select the edge cube and select both horizontal edges
by holding Ctrl. Click apply.
8|Page
Edge Cube
Select both edges.
Fig. B.10
ο‚·
Under Type select Number of Divisions. Enter 100 divisions. Next to Behavior choose
Hard. This is to overwrite the sizing function used by the ANSYS mesher. One hundred
divisions are created in the axial direction.
9|Page
Fig. B.11
ο‚·
The mesh size for the two vertical edges is to be specified next.
ο‚·
Select Sizing under Mesh Control. Select the left vertical edge (you can use pan to move
the rectangle). Make sure the edge cube is turned on.
ο‚·
Click Apply under Details of Sizing. Select Number of Divisions next to Type and enter
30 divisions. Since turbulence is heavily influenced by the presence of walls we would
like the mesh to be denser as we get closer to the wall (upper horizontal edge). Hence a
bias is needed.
ο‚·
Zoom in to the left vertical edge. Select the 2nd bias type and enter a bias factor of 10.
Make sure the elements get smaller as the wall is approached.
10 | P a g e
Fig. B.12
ο‚·
Repeat the process for the other vertical edge. You can zoom out by selecting Zoom and
while holding the left mouse button move the mouse diagonally leftwards. Then by
selecting pan find the needed vertical edge. Again select Sizing from Mesh Control.
Apply the right vertical edge and select 30 as the number of divisions. The bias factor is
to be 10 as well but this time select the 1st bias type.
ο‚·
It was required to specify the mesh size for the vertical edges individually since by
default had the bias been specified for the two vertical edges selected together, the bias
type would not match on the opposite ends.
11 | P a g e
Turbulent flow analyzed by using k-ο₯
model, which is primarily valid away
from walls therefore adjustments
need to be made for the model to be
accurate near walls. Hence a bias is
required to provide more mesh near
the wall.
Fig. B.13
12 | P a g e
ο‚·
Next the zones are to be named. Select the upper horizontal edge. Right click and select
Create Named Selections. Type Wall. Similarly type Inlet for the left vertical edge, Outlet
for the right one, and Center Line for the bottom horizontal edge. It is necessary to
specify the zones since the boundary conditions will be applied for those named zones in
Fluent.
Fig.B.14
ο‚·
Finally click on Update. The mesh should look like depicted in Fig. B.15.
ο‚·
Fig. B.15 depicts a structured (mesh consisting of rectangles exhibiting a pronounced
pattern) mesh of size 100X30--thirty divisions in the radial direction and 100 divisions in
the axial one. You can now exit Meshing (it will be automatically saved).
ο‚·
In the project schematic, next to meshing a check mark should appear signaling no issues
were found. Double click on Setup.
13 | P a g e
Fig. B.15
Problem Setup:
ο‚·
In the Fluent Launcher keep the default except for Options. There select Double Precision
in order to increase accuracy of the solution, however more memory will be used.
Fig B.16
14 | P a g e
ο‚·
Once in Fluent, in Problem Setup—General, select check. The mesh will be checked by
Fluent and any errors will be reported. In Volume Statistics make sure the minimum
volume is positive since if it is not, computation will not be possible.
Fig.B.17
ο‚·
In General—Solver, keep the defaults except for 2D space. There choose axisymmetric.
ο‚·
In General-- Scale verify the dimensions of the mesh (x=8m, y=0.1m) and that meters
are used for the length.
Fig.B.18
15 | P a g e
ο‚·
In General—Display verify all the named surfaces are present, select all of them.
Fig.B.19
Problem Setup—Models:
ο‚·
Make sure the energy equation is off since we are dealing with incompressible flow
(constant density) and we are not interested in temperature effects.
ο‚·
Under viscous select the k-ο₯ (2eqns) model since the flow is turbulent (Re=10 000).
ο‚·
Under Near-Wall Treatment select Enhanced Wall Treatment in order to obtain a more
accurate solution. This will be verified later on when the flow is analyzed with Standard
Wall Functions Near-Wall Treatment.
ο‚·
16 | P a g e
Problem Setup—Materials:
ο‚·
Fig.B.20
π‘˜π‘”⁄
−5 π‘˜π‘”⁄
π‘š ∗ 𝑠 for the
π‘š3 for the density and 2 ∗ 10
viscosity. Enter change/create—the entered data overwrites the pre-existing material
information.
Double click on air. Enter 1.0
Fig.B.21
ο‚·
If the material is saved not overwriting the pre-existing air material but is saved as a
separate material (ex. the data is saved as material named ‘custom’) an extra step is
required to make sure the model is analyzed using the proper material properties.
17 | P a g e
ο‚·
In Problem Setup—Cell Zone Conditions, double click the surface_body zone. Under
Material Name make sure the proper material is selected—in the given example the
material named ‘custom’ should be selected. Press OK.
Fig B.22
Problem Setup—Boundary Conditions:
ο‚·
Verify and if needed change the zone types as depicted in Table B.1
Table B.1
Zone
center_line
inlet
Interior-surface body
outlet
wall
Type
Axis
Velocity-inlet
Interior
Pressure-outlet
Wall
ο‚·
Double Click on inlet. Enter 1m/s for the velocity magnitude (given value). Under
Turbulence, select Intensity and Hydraulic Diameter.
ο‚·
Specify 1% for Turbulent Intensity and 0.2meters for the Hydraulic Diameter.
18 | P a g e
Fig B.23
Problem Setup—Boundary Conditions:
ο‚·
Double click on outlet. Verify the gauge pressure is set to 0 (since the difference between
the absolute pressure at the outlet, 1atm, and the operating pressure, 1 atm, equals to 0
which is the gauge pressure at the outlet).
Fig.B.24
ο‚·
Verify in the Operating Conditions that the Operating Pressure is set to 101, 325 Pa
which equals 1 atm.
19 | P a g e
Fig.B.25
Problem Setup—Reference Values:
ο‚·
Set the reference values to be computed from the inlet as this is required in order to
obtain certain flow solutions such as the skin friction and Y+ values.
Fig.B.26
Solution:
Solution--Solution Methods:
ο‚·
Under Partial Discretization make sure the Momentum, Turbulent Kinetic Energy and the
Turbulent Dissipation Rate Gradients are set to 2nd Order Upwind. The 2nd order upwind
provides better accuracy while the 1st order upwind provides a more robust convergence.
20 | P a g e
Fig.B.27
Solution—Monitors:
ο‚·
Double click on Residuals. Make sure the Print to Console and Plot options are checked.
In Equations set the absolute criteria to 1e-06 for all 5 equations. Residuals provide a
measure of how well the current solution satisfies the discrete form of each of the
governing equations.
Fig.B.28
Solution—Initialization:
ο‚·
The input data and conditions must be initialized in order for a solution to be obtained.
Select Compute from Inlet and press Initialize.
21 | P a g e
Fig.B.29
Solution—Run Calculation:
ο‚·
The next important step before a solution is obtained is to check for convergence. The
governing equations must converge to a limiting value meaning a point comes where they
are no longer changing. Enter one hundred for the number of iterations and press
Calculate. However 100 iterations are not enough to obtain convergence for a turbulent
model of mesh size 100X30. Hence enter 500 for the number of iterations thus restarting
the calculations without having to initialize again. The five hundred iterations to be
performed are done after the already calculated 100. In the message that appears stating
the Setting have changed, you can simply keep the first choice and press ok. Fluent stops
once the solution has converged.
22 | P a g e
Fig.B.30
Results:
Velocity Vectors:
ο‚·
A typical pipe with the corresponding velocity profile for turbulent flow is illustrated in
Fig.B.31
Fig.B.31
23 | P a g e
ο‚·
The velocity profile can be displayed by going to Results—Graphics and Animations and
double clicking Vectors under Graphics—Fig.B.32. Refer to Appendix A—Results about
colormap and vectors manipulation. Fig.B.33 showcases the fully developed velocity
vectors.
Fig.B.32
Axis
Outlet
Fig.B.33—Fully Developed Velocity Vectors near the Pipe’s Outlet
24 | P a g e
ο‚·
ο‚·
XY Plots will be performed for the Y+values, centerline velocity in the axial direction,
the skin friction coefficient, the fully developed velocity profile in the radial direction and
the pressure drop. The solutions will then be validated against the theoretical data in
order to make sure they are correct and make sense. Finally by improving the mesh we
will try to obtain a more accurate solution.
Y+values:
o In Results—Plots select XY Plot. Double click it. Make sure Position on X axis is
selected as well as Node Values. In Plot Direction make sure x=1 and y=0 (x will
thus become the abscissa or horizontal coordinate). Select Turbulence from under
Y Axis Function and choose Wall Yplus. Select the wall surface. Click on Plot.
Y+ is a non-dimensional wall distance
for a wall-bounded flow, defined as
π’š+=
𝒖∗ ∗π’š
𝝂
(B.2)
where y is the distance to the nearest
wall 𝑒∗ is the friction velocity at the
nearest wall, 𝜈 is the local kinematic
viscosity.
Y+ is calculated from the reference
values specified—ρ, µ, 𝑉𝑖𝑛𝑙𝑒𝑑
Fig.B.34
Fig.B.35
25 | P a g e
ο‚·
ο‚·
The graph can be saved as a picture by selecting Save Picture under File. The different
saving options are explained when Help is pressed.
The graph can be manipulated –by going back to the XY Plot and selecting curves, the
markers can be replaced by a line with a user chosen color and weight.
Fig.B.36
ο‚·
The graph can be further enhanced by manipulating the y-axis values. By selecting Axes,
in the number format the type can be changed from exponential to float. Make sure to
click apply after a change has been made for a particular axis. The graph produced as a
result is shown in Fig.B.37:
Fig.B.37
26 | P a g e
Fig.B.38
The plot can be saved by clicking on
Write to File in the Solution XY Plot
window.
Press Write afterwards and save the
plot as a .xy file.
The .xy file can be then opened in
Excel where dimensional analysis for
validation purposes can be performed.
This will be demonstrated later.
Fig.B.39
Results—Centerline Velocity PlotIn Results—Plots, XY Plot, in the Y-axis function select
Velocity and Axial Velocity. Deselect the wall surface by clicking it again and select the
centerline surface. Click Plot
27 | P a g e
.
Fig.B.40
Fig.B.41
ο‚·
ο‚·
The title of the plot can be changed by double clicking on the default text in the lower left
corner. Save the plot by selecting the Write to File and clicking Write.
It can be seen the fully developed region starts at around x=4m.
Results—Skin Friction Coefficient:
ο‚·
In the XY Plot window select Wall Fluxes under Y-axis Function and specify Skin
Friction Coefficient. Select the Wall Surface.
28 | P a g e
Fig.B.42
Fig.B.43
ο‚·
Skin friction, 𝐢𝑓 is the drag on the plate produced by the boundary layer due to viscous
stresses which are developed at the wall. It also reffered as the Fanning friction factor.
𝐢𝑓 ≡
πœπ‘€
.5∗πœŒπ‘Ÿπ‘’π‘“ ∗π‘£π‘Ÿπ‘’π‘“ 2
(B.3)
Results— FD Velocity Profile:
ο‚·
In the Solution XY Plot deselect Position on X Axis and select Position on Y axis since
we are to plot the velocity profile in the radial direction. In Plot Direction set x=0 and
y=1. Under X Axis Function select Velocity and specify Axial Velocity. Since we are
interested in the fully developed profile select the outlet surface. Save the created plot.
29 | P a g e
Fig.B.44
Fig.B.45
Post Processing:
ο‚·
A crucial step in the post processing step of fluid flow analysis is the validation. It needs
to be determined whether or not the results obtained from Fluent make sense and if they
do how accurate are they. To do this the mesh will be refined and the data obtained from
it and the mesh already used will be compared to theoretical solutions.
Post Processing—Mesh Refinement:
ο‚·
In the Project Schematic in Workbench right click on Fluid Flow (Fluent) and select
Duplicate. An exact replica including the solution will be created in the project
schematic. Double click on the Mesh in the duplicated copy.
30 | P a g e
The title of the system can be changed by
double clicking the text.
Fig.B.46
Fig.B.47
ο‚·
Fig.B.40 illustrates the 100X30 Mesh already created--100 numbers of element divisions
in the x-dir. and 30 elements divisions with a bias factor of 10 in the y-dir. We will keep
the 100 divisions in the x-dir. However change the number of divisions in the y-dir.—the
31 | P a g e
2 vertical edges with the bias factor of 10 from 30 to 60 divisions. Click Update when
finished.
Fig.B.48
ο‚·
The Mapped Face Meshing failed (the check mark next its name was replaced) because it
became over constrained. There are two way to fix the problem—reduce the bias factor
or decrease the number of divisions.
Fig.B.49
ο‚·
Fig.B.49 showcases the refined structured 100X60 Mesh upon changing the bias factor
for the 2 vertical edges from 10 to 8.
32 | P a g e
Fig.B.50
ο‚·
ο‚·
ο‚·
Fig.B.50 illustrates the refined structured 100X54 Mesh with a bias factor for the vertical
edges of 10. If the number of divisions is increased more than 54 the mesh becomes over
constrained. This is the mesh we will use for the post processing analysis.
After exiting the mesh builder a check mark should appear next to Mesh in the Project
Schematic indicating no issues are found in the mesh and it can be used in Fluent for
analysis. Double click on Setup and if a message appears stating the upstream mesh has
been changed press yes in order to load the new mesh in Fluent. Go through the setup
process performed for the 100X30 mesh in order to verify nothing has been changed
upon duplicating the system in Workbench.
Make sure the reference values are set to be computed from the inlet as well as initialize
the solution from the inlet. The solution converged at the 221 iteration for the 100X30
Mesh however since the mesh was refined convergence now is achieved at the 564
iteration:
33 | P a g e
ο‚·
ο‚·
Fig.B.51
Obtain the same XY Plots in the same manner as with the 100X30 Mesh. Make sure to
save the files so we can perform dimensional analysis.
More than one curve can be plotted in a graph. Let us now plot the Y+values for the
100X54 mesh as well as those for the 100X30 mesh both in Fluent. The XY plot for the
Y+values for the 100X54 is done just like we did before: Results—Plots—XY Plot, Y
axis function set as turbulence and specified as wall y plus at the wall surface. Select
Load File and find the location where the Y+ XY Plot for the 100X30 Mesh was saved.
Click Plot.
34 | P a g e
Fig.B.52
Fig.B.53
ο‚·
ο‚·
ο‚·
The red curve in Fig.B.52 corresponds to the 100X54 Mesh and the blue one—to the
100X30 one.
All the data obtained so far is done with the help of the k-epsilon method with enhanced
wall treatment. What if a difference k-epsilon method is used? Would the data be more
accurate then?
Let us duplicate in Workbench the 100X54 Fluid Flow system. The geometry and mesh
need not be changed. Double click on setup to start up Fluent. In Problem Setup, Models,
double click Viscous. In the Near Wall Treatment box the Enhanced Wall Treatment
35 | P a g e
(EWT)should have been selected by default since this is the type we have been dealing
with so far. This time however select the first option—Standard Wall Functions (SWF).
Fig.B.54
ο‚·
Proceed in the same manner as before by keeping the default selections for all other
options—set the reference values, initialize the solution and check for convergence.
It take much longer for the
solution to converge when
using the k-ο₯ SWF model
(Fig.B.55).
The solution converge after
564 iterations when using
EWT for the 100X54 mesh
(Fig.B.56)
Fig.B.55
36 | P a g e
Fig.B.56
Validation—Dimensional Analysis:
ο‚·
Obtain and save the same XY plots as with the 100X30 and 100X54 EWT Meshes,
namely the Y+values, centerline velocity in the axial direction, the skin friction
coefficient, the fully developed velocity profile in the radial direction and the pressure
drop. Those .xy files can be directly opened in Excel for further manipulation.
Y+ Values:
3.0
2.5
EWT 100 x 54
EWT 100 x 30
Y+
2.0
1.5
1.0
0.5
0.0
0.0
0.2
0.4
0.6
0.8
1.0
Axial Distance, x/L
Fig.B.57
37 | P a g e
Fig.B.57 represents the Y+values comparison for the k-ο₯ EWT model for the two created
meshes. Since Y+ is a dimensionless quantity there is no need to manipulate the column any
further. However the x-axis values are computed by dividing each value in the column for the
axial pipe distance by the total length of the pipe—in our case 8 meters. It can be seen that as the
mesh is refined the Y+ values are getting closer to 1 signaling the 100X54 is the better mesh
choice.
ο‚·
The y+ values for EWT should be nearing 1 and it can be seen in Fig.B.57 that such is the
case especially for the enhancing mesh.
Validation—Dimensional Analysis:
Centerline Velocity in the Axial Direction
ο‚·
Our goal is to plot, in Excel, the centerline velocity in the axial direction for the two
meshes for the EWT k-ο₯ model alongside the empirical Nikuradse correlation. The very
extensive experimental data obtained by J. Nikuradse employes the power-law exponent
n, which varies slightly with the Reynolds number—n=6 for Re=4,000 to n=10 for
Re=3.2 X10^6. We will focus on the range n=6 through n=6.6 since for n=6.6, Re is
23,000. The Reynolds number employed in obtained the data so far is 10,000.The two
equations of particular importance in performing the dimensional analysis are:
𝑙𝑒
𝐷
𝑒
Μ…
π‘ˆ
= 4.4 ∗ 𝑅𝑒
2∗𝑛2
1⁄
6
∴ 𝑙𝑒 = 4.4 ∗ 𝑅𝑒
= (𝑛+1)∗(2∗𝑛+1) ∴ 𝑒̅ =
1⁄
6
∗𝐷
(𝑛+1)∗(2∗𝑛+1)
2∗𝑛2
∗π‘ˆ
(B.4)
(B.5)
where 𝑙𝑒 is the entry length,in meters, after which the flow is fully developed; 𝐷 is the diameter
of the pipe, in meters (given as 0.2m), 𝑒̅ is the centerline, fully developed, velocity, in m/s, π‘ˆ is
the mean velocity (given as 1 m/s) and 𝑛 is the power-law exponent
ο‚·
ο‚·
One can note the centerline fully developed velocity for the turbulent case is significantly
more cumbersome to evaluate compared to the centerline velocity for the laminar case
which is simply π‘ˆπ‘π‘™ = 2 ∗ π‘ˆ.
Open, in Excel, the two XY plots for the 100X30 and 100X54 Grids for the centerline
velocity in the axial direction. The first column represents the axial distance, from 0 to 8
meters, while the 2nd column represents the centerline velocity at that location. The x-axis
values can be put in dimensional form by simply diving each value in the 1st column by
the maximun pipe length, in our case—8 meters. The y-axis values can be put in
dimensional form by dividing each column value by the maximum centerline velocity
38 | P a g e
value for the corresponding grid. The graphical representation is shown below (note the
y-axis is readjusted in order to improve visualization):
Centerline Velocity, u/U
1.05
1.00
0.95
Fluent 100 x 30
Fluent 100 x 54
0.90
0.85
0.0
0.2
0.4
0.6
0.8
1.0
Axial Distance, x/L
Fig.B.58
ο‚·
ο‚·
ο‚·
ο‚·
ο‚·
ο‚·
ο‚·
Note that refining the mesh while having a significant impact on the Y+values, does not
produce any noticeable change in the centerline velocity profile. Also fully developed
flow starts at around 0.5 of the pipe’s length.
The next step is to plot the Nikuradse empirical correlation for n=6 through n=6.6
Since we are going to focus on n=6 through n=6.6 and we know the Reynolds number at
those two locations we can assume a linear relationship with a reasonable degree of
accuracy for that small interval. Hence the Reynolds values are divided equally for than n
interval and column 3 is obtained.
The first column contains the theoretical entry length distance obtained by Eq. [B.1] for
the particular Re for that row. Column 2 is the dimensionless form of the entry length
distance—each entry length value is divided by the total pipe length which is 8 meters.
Column 4 is the range of power-law exponents while column 5 is the given mean or
average velocity of 1 m/s.
The fifth column is the centerline fully developed velocity obtained by using Eq. (B.2)
for the particular n value.
The last column is the dimensionless form of the F.D. centerline velocity. Since we are
concerned with the Re for our flow which is 10, 000 each value for the velocity is divided
39 | P a g e
by value for the centerline velocity for Re=10,000 or the reasonably close to that value
Re=10,333.333 (row3, col.3)
Shown below is the final graphical representation for the dimensional analysis for the
centerline velocity in the axial direction and the entry length correlation:
ο‚·
Centerline Velocity in the Axial Direction
1.05
1
0.95
u/U
EWT 100X54
0.9
0.85
0.8
x/X
0
0.2
0.4
0.6
0.8
1
1.2
Fig.B.59
ο‚·
The location where the Nikuradse correlation curve hits the two curves obtained from
Fluent is the empirically obtained location by Nikuradse for Re= 10,000.
Validation—Velocity Profile, Radial Direction:
ο‚·
The next validation to be performed is for the velocity profile in the radial direction.
Again the Nikuradse empirical correlation is to be used—Fig.B.60. The equation used in
the empirical correlation is provided by Eq. [B.6]. Different values for the radius are
picked for which u/U is calculated and plotted. The experimental data is put in
dimensionless form as previously explained in other validation examples. Two values for
the power-law exponenet n are picked. Recall the Reynolds number for the experimental
data is equal to 10,000. While it can be obesrved the validation looks very accurate it is
not perfect since the experimental curve should be closer to the two outline empirical
curves.
𝑒
π‘ˆ
π‘Ÿ
= (1 − (𝑅)1⁄𝑛
(B.6)
40 | P a g e
1.0
Radial Distance, r/R
0.8
0.6
EWT 100 x 54
EWT 100 x 30
Nikuradse, n=6
Nikuradse, n=7
0.4
0.2
0.0
0.0
0.2
0.4
0.6
0.8
1.0
Axial Velocity, u/ucl
Fig.B.60
Validation—Skin Friction:
ο‚·
The skin friction coefficients for the EWT model can be compared for the two created
meshes. Open the two previosly saved .xy plots for the skin friction in the axial distance
and dimensionalize the x-axis by simply dividing every single axial value by the total
distance of the pipe. There is no need to dimensionalize the skin friction coefficient since
it is already dimensionless. The resulting graph can be seen below:
41 | P a g e
Skin Friction VS Axial Length, Dimensionless
0.03
0.025
0.02
C_f
EWT
100X30
0.015
EWT
100X54
0.01
0.005
0
x/X
0
0.2
0.4
0.6
0.8
1
1.2
Fig.B.61
ο‚·
ο‚·
It can be concluded that by refining the mesh there is no noticable change in the skin
friction. The result is to be compared to empirical correlation next.
Unfortunately for turbulent flows the only correlation that is possible so far in order to
validate experimental results is through empirical data or experiments done by others.
The skin friction obtained by Fluent for the two meshes is to be compared to the Blasius
formula which is an empirical equation. However the formula is only valid for smooth
pipes of circular cross-section like the one we are analyzing and for Reynolds numbers
less than or equal to 100,000.
Μ…∗𝑑 −.25
𝑒
πœ† = 0.3164 ∗ (
𝜈
)
=
0.3164
𝑅𝑒 .25
(B.6)
where πœ† is the Darcy friction factor, which is 4 times larger than the Skin friction factor;
42 | P a g e
Skin Friction Coefficient, Cf
0.010
Correlation, Smooth Pipe
Fluent, 100 x 30
0.009
0.008
0.007
0.006
0.005
0
1
2
3
4
5
Reynolds Number, Re x 10-4
Fig.B.62
ο‚·
ο‚·
Note the experimental data (for EWT) closely agrees with the empical correlation—
Fig.B.62.
Now let us compare the skin friction for the two near wall treatment models—Enhanced
Wall Treatment (EWT) and Standard Wall Functions (SWF)—Fig.B.63. As it can be
seen the EWT data yields better results.
43 | P a g e
0.030
SWT, 100 x 54
SWT, 100 x 30
EWT, 100 x 54
EWT, 100 x 30
Skin Friction Coefficient, Cf
0.025
0.020
0.015
0.010
0.005
0.000
0.0
0.1
0.2
0.3
0.4
0.5
0.6
Axial Distance, x/L
Fig.B.63
Structured vs Unstructured Mesh:
ο‚·
ο‚·
What would happen to the results if the mesh generated rather than being structured
(consisting of quadrilaterals and exhibiting a pronounced pattern) is created unstructured
(showing no visible pattern and not consisting of rectangular elements). To create an
unstructured mesh go back to the project schematic in Workbench and duplicate one of
the already created systems—for example the 100X54 with bias of 10 system. Double
click on Mesh. In the Mapped Face Meshing , under Definition and next to Method
instead of Quadrilaterals select Triangles:Best Split.
Click Update. By changing only that the mesh becomes semi-unstructured—Fig.B.64
Fig.B.64
44 | P a g e
ο‚·
You can verify in Ansys that unfortunately if this mesh is used the solution does not
converge and an accurate result cannot be obtained. If you go back in Workbench we can
modify this mesh even further by selecting a bias not only for the vertical edges but for
the horizontal ones as well. Do the bias for two edges at a time (the two horizontal ones
and the two vertical ones). Select a bias of 7 for the horizontal edges –Fig.B.65.
Fig.B.65
Fig.B.66
ο‚·
As it can be seen the solution does not converge (Fig.B.66) meaning erroneous results
will be obtained as it can be seen in the XY Plot generated in Ansys for the centerline
velocity profile in the axial direction—Fig.B.67. Compare the velocity profile for the
unstructured mesh (blue curve) with the profile for the structured one (red curve)—
Fig.B.68. Hence it is important when generating the mesh to make sure it is a structured
one.
45 | P a g e
Fig.B.67
Fig.B.68
46 | P a g e
Download