Professional Documents
Culture Documents
Farnetti Cristofer Lab2 Graded Nocomment
Farnetti Cristofer Lab2 Graded Nocomment
Date: 03/21/2016
I.
system such as centerline velocity distribution, and friction factors for various meshes using the
k-omega turbulence model. Additionally, turbulence model effects are studied by using the
Spalart-Allmaras (1-eqn) model. Verification and validation methods will be utilized on conver
The system that is modelled is turbulent pipe flow with a pipe length of 6.096 [m] and
radius of 0.02619 [m]. A Reynolds number of 109,983 is used for turbulent pipe flow based on
the specified pipe radius. The fluid that is simulated in the pipe is air at 24 degrees Celsius,
which gives a density of 1.1885 [kg/m^3] and a dynamic viscosity of 1.8396E-02 [kg/m-s]. For
the purposes of the simulation, uniform velocity at the inlet will be specified as 32.5 [m/s], noslip boundary conditions at the pipe wall, and a constant outlet pressure of 747 Pa. Since the pipe
is symmetric about its center an axisymmetric boundary condition will also be applied, and thus
allowing for us to only have to model one half of the pipe.
1.) Geometry
a. Open geometry editor from Workbench 16.2
i. In the sketch tab select rectangle and draw the pipe from the origin on
the xy plane
ii. Define the length and width of the pipe
iii. Apply surface
1
2.) Mesh
a. Open mesh editor from Workbench 16.2
i. Define boundaries and apply a face mesh
ii. Define axial and radial edge sizes
1. For the radial edge size at the inlet define bias type as
_ _ ___ _____ and set the bias factor to 10000
2. For the radial edge size at the inlet define bias type as
_____ ___ _ _ and set the bias factor to 10000
iii. Create named selections for the inlet, centerline, outlet, and pipe wall
3.) Setup/Physics
a. Open Ansys Fluent by selecting the setup editor in Workbench 16.2
i. Before Fluent opens define double precision, axisymmetric, and Parallel
processing
ii. In the General tab
1. Under Model, choose: Viscous-SST k-omega
2. BCs:
a. Wall: no slip
b. Centerline: Axis
c. Inlet: Const. velocity = 32.5 [m/s]
d. Outlet: Const. pressure = 747 [Pa]
3. Fluid: Air
4. Define density (1.1885 kg/m^3) and dynamic viscosity
(1.8396E-5 kg/m-s)
5. Set velocity at the inlet= 32.5 m/s
iii. Set the reference values and have the solver compute from inlet
4.) Solution
a. Method
i. Scheme: SIMPLE
ii. Gradient: Least Square Cell Based
iii. Pressure: Second Order
iv. Momentum: Second Order Upwind
v. Turbulent Kinetic Energy: Second Order Upwind
vi. Specific Dissipation Rate: Second Order Upwind
b. Initialization: Standard- From inlet
c. Residuals Monitoring, set all equal convergence criteria
d. Calculation by iteration, 5000 reported at every 20 iterations
5.) Results
a. CFD solution for friction factor
b. Plots
i. Centerline velocity profile
ii. Centerline pressure distribution CFD vs EFD
iii. Residuals
iv. Velocity vectors
v. Radial velocity contours
vi. Velocity profiles for CFD inlet and outlet, EFD for fully developed ,
CFD for developing
III.
A.
226 23
320 32
1
451
45
Grid Points
(Axial
Radial)
226 23
320 32
451 45
Experimental
data (D)
Relative error
E(%D)
1.998E-02
4.70%
4.15%
3.85%
E* (%D)
3.85%
UG (%D)
0.61503%
UD (%D)
15%
UV (%D)
15.0126 %
Figure 1. Residuals
B. Effects of turbulence model on solutions (same setup as A except using 1equation S-A turbulence model; 15 points)
Mesh
Number
3
2
1
Grid Points
(Axial
Radial)
226 23
320 32
451 45
Experimental
data (D)
Relative error
E(%D)
1.998E-02
6.96%
7.06%
7.01%
R
-0.50
P
N/A
E* (%D)
7.01%
UG (%D)
0.05%
(Estimated)
UD (%D)
15%
UV (%D)
15.0000835
%
Figure 1. Residuals
C.
mesh near the wall must be used. An example of its importance would be to resolve the
viscous sub-layer where shear stresses are high and must be accounted for.
(2) How well is the agreement between the CFD and EFD for the developed axial
velocity and centerline pressure for the two turbulence models? Discuss the
differences between CFD and EFD and possible reasons.
Answer:
The developed axial velocity profiles for CFD and EFD agree pretty well with 42
[m/s] versus 38 [m/s] at the centerline for EFD and CFD respectively. This difference in
results could possibly occur due to the shortcomings of the k-omega model, for
example perhaps the upstream effects in the developing region did not properly
conserve the turbulent kinetic energy as the flow developed, which might lead to a
lower velocity. Another possibility could be the turbulent energy dissipation rate was
too high so the energy being carried by the fluid dissipated too quickly to its
surroundings in some form, resulting in a lower outlet centerline velocity.
For pressure, CFD underestimates the pressure in comparison to the EFD data up
until the end of the pipe, at which the CFD data overestimates. Possible reasons for the
initial underestimate could be that the boundary layer convergence was not predicted
correctly which could result in some error in the solution. For measuring pipe flow
characteristics (whether measuring velocity or pressure) using EFD, the introduction of
the measurement devices themselves could disrupt the flow and thus not revealing the
true nature of the flow.
(3) What is the value for radial velocity at developing and developed region?
Answer:
The radial velocity profile in the developing region varies from -2.02E-01[m/s] to about
-1.06E-02 [m/s]. In the developed region, the radial velocity is a constant 1.07E-02
[m/s].
(4) What are the main differences for normalized axial velocity profile between laminar
and turbulent flows? Evaluate the axial velocity gradient in the normal direction of
wall (du/dr), which is larger?
Answer:
The largest differences between the laminar and turbulent velocity profiles is that the
velocity gradient is much greater for laminar flow and does not vary as much as the
turbulent profile. du/dr for the laminar model is not constant, but the variation is not as
great as the turbulent profile because du/dr near the wall in the turbulent model is quite
large in comparison to the smooth gradient of the laminar pipe flow.
(5) Do you observe any differences on the CFD results using the two turbulence models?
Are they both validated, |E|<UV? Which one is more accurate?
Answer:
Yes, there are some differences in the solutions for friction factors when the turbulence
model is changed from the k-omega (2-eqn) to the Spalart-Allmaras (1-eqn). The
solutions for friction factor decreased when the Spalart-Allmaras model was used,
which means the solution deviated even further from the EFD data. In both turbulence
models |E| < U_v, which leads to the conclusion that both models are validated;
however, the k-omega had a lower error (3.85% in the grid triplet study) than the
Spalart-Allmaras model (7.01% in the grid triplet study) which shows that the k-omega
model is more accurate.
SA model developed velocity profile is a closer match to the EFD data, but in addition
to that, the developing region agrees more closely to the last 4 data points near the pipe
wall (the difference is small and almost unnoticeable unless the plots are transposed on
each other). This is confusing to say that the velocity profiles match more closely to the
EFD data for the SA model, but there is a larger error in the solution for friction factor.
To possibly add some explanation to why this occurs, looking at the CFD vs. EFD
centerline pressure distribution plots might help (Figure 2A and Figure 2B). The SA
model predicts a lower inlet pressure by about 50 [Pa] when compared to the k-omega
model which could be the reason for a lower friction factor calculation since the
pressures are lower throughout the solution. See equation for friction factor below:
4r(P1P2 )
f=
LV 2
If all other variables in the equation remain the same and the difference in pressure is
lowered, then the result will be a lower friction factor.
10