Professional Documents
Culture Documents
The fundamental basis of almost all CFD problems are the NavierStokes
equations, which define any single-phase fluid flow. These equations can
be simplified by removing terms describing viscosity to yield the Euler
equations. Further simplification, by removing terms describing vorticity
yields the full potential equations. Finally, these equations can be linearized
to yield the linearized potential equations.
Methodology :-
Navier-Stokes Theorem :-
A simplification of the resulting flow equations is obtained when
considering an incompressible flow of a Newtonian fluid. The
assumption of incompressibility rules out the possibility
of sound or shock waves to occur; so this simplification is invalid if
these phenomena are important. The incompressible flow assumption
typically holds well even when dealing with a "compressible" fluid
such as air at room temperature at low Mach numbers (even when
flowing up to about Mach 0.3). Taking the incompressible flow
assumption into account and assuming constant viscosity, the
NavierStokes equations will read, in vector form:
Here f represents "other" body forces (forces per unit volume), such
as gravity or centrifugal force. The shear stress term becomes the
useful quantity ( is the vector Laplacian) when the fluid is
assumed incompressible, homogeneous and Newtonian, where is the
(constant) dynamic viscosity.
It's well worth observing the meaning of each term (compare to
the Cauchy momentum equation):
Note that only the convective terms are nonlinear for incompressible
Newtonian flow. The convective acceleration is an acceleration
caused by a (possibly steady) change in velocity over position, for
example the speeding up of fluid entering a converging nozzle.
Though individual fluid particles are being accelerated and thus are
under unsteady motion, the flow field (a velocity distribution) will not
necessarily be time dependent.
Another important observation is that the viscosity is represented by
the vector Laplacian of the velocity field (interpreted here as the
difference between the velocity at a point and the mean velocity in a
small volume around). This implies that Newtonian viscosity
is diffusion of momentum, this works in much the same way as
the diffusion of heat seen in the heat equation (which also involves
the Laplacian).
If temperature effects are also neglected, the only "other" equation
(apart from initial/boundary conditions) needed is the mass continuity
equation. Under the incompressible assumption, density is a
constant and it follows that the equation will simplify to:
VisualizecasewithParaView.
Setboundaryconditions andsolverparameters.
Run withOpenFOAMsolverfor=0o andanalyze.
Rotatemeshandsolveforother anglesofattack.
Examine thedragandliftforcecoefficientsvs..
Whichisthecritical angleofattack forthisairfoil??
1.3 Terminology
Airfoil:thecross-sectional shapeofanaircraft wing.
(Figure -1)
Create a new directory called airfoil and start GAMBIT from that directory
by typing gambit -id airfoil at the command prompt.
Under Main Menu, select Solver > FLUENT 5/6 since the mesh to be
created is to be used in FLUENT 6.0.
Create the following vertices by entering the coordinates under Global and
the label under Label:
Label X y z
A 1 12.5 0
B 21 12.5 0
C 21 0 0
D 21 -12.5 0
E 1 -12.5 0
F -11.5 0 0
G C 0 0
Similarly, create the edges BC, CD, DE, EG, GA and CG.
Next we'll create the circular arc AF. Right-click on the Create Edge button
and select Arc.
In the Create Real Circular Arc menu, the box next to Center will be yellow.
That means that the vertex selected will be taken as the center of the arc.
Select vertex G and click Apply. Now the box next to End Points will be
highlighted in yellow. Select vertex A and then vertex F. Enter AF
under Label. Click Apply.
The edges we have created can be joined together to form faces. We will
need to define three faces as shown in the image above. Two rectangular
faces, rect1 and rect2 lie to the right of the airfoil. The third face, circ1
consists of the area outside of the airfoil but inside of the semi-circular
boundary.
This brings up the Create Face From Wireframe menu. Recall that we had
selected vertices in order to create edges. Similarly, we will select edges in
order to form a face.
To create the face rect1, select the edges AB, BC, CG, and GA. Enter
rect1for the label and click Apply. GAMBIT will tell that it has "Created
face: rect1'' in the transcript window.
Similarly, create the face rect2 by selecting ED, DC, CG and GE.
To create the last face we will need to make two seperate faces, one for
the outer boundary and one for the airfoil and then subtract the airfoil from
the boundary . Create semi-circular face circ1 by selecting GA, AF, FE and
EG and enter circ1 for the label. Create the face for the airfoil by selecting
corresponding edges. Subtract the airfoil from circ1.
1. We'd like to cluster points near the airfoil since this is where the flow
is modified the most; the mesh resolution as we approach the farfield
boundaries can become progressively coarser since the flow
gradients approach zero.
2. Close to the surface, we need the most resolution near the leading
and trailing edges since these are critical areas with the steepest
gradients.
3. We want transitions in mesh size to be smooth; large, discontinuous
changes in the mesh size significantly decrease the numerical
accuracy.
The edge mesh parameters we'll use for controlling the stretching
are successive ratio, first length and last length. Each edge has a direction
as indicated by the arrow in the graphics window. The successive ratio R is
the ratio of the length of any two successive divisions in the arrow direction
as shown below.
Select the edge GA. The edge will change color and an arrow and several
circles will appear on the edge. The arrow is pointing upwards. We can
reverse the direction of the edge by clicking on the Reverse button in
the Mesh Edges menu. Enter a ratio of 1.15. This means that each
successive mesh division will be 1.15 times bigger in the direction of the
arrow. Select Interval Count under Spacing. Enter 45 forInterval Count.
Click Apply. GAMBIT will create 45 intervals on this edge with a
successive ratio of 1.15.
For edges AB and CG, we'll set the First Length (i.e. the length of the
division at the start of the edge) rather than the Successive Ratio. Repeat
the same steps for edges BC, AB and CG with the following specifications:
Note that later we'll select the length at the trailing edge to be 0.02c so that
the mesh length is continuous between IG and CG, and HG and CG.
Now that the appropriate edge meshes have been specified, mesh the face
rect1:
Select the face rect1. The face will change color. We can use the defaults
of Quad (i.e. quadrilaterals) and Map. Click Apply.
The meshed face look as follows:
Next mesh face rect2 in a similar fashion. The following table shows the
parameters to use for the different edges:
Next, we will split the top and bottom edges of the airfoil into two edges so
that we have better control of the mesh point distribution. Figure of the
splitting edges is shown below.
Make sure Point is selected next to Split with in the Split Edge window.
Select the top edge of the airfoil by Shift-clicking on it. We should see
something similar to the picture below:
We'll use the point at x=0.3c on the upper surface to split this edge into HI
and IG. To do this, enter 0.3 for x: under Global. If c is not equal to one,
enter the value of 0.3*c instead of just 0.3.For instance, if c=4, enter 1.2.
We should see that the white circle has moved to the correct location on
the edge.
Click Apply. We will see a message saying ``Edge edge.1 was split, and
edge edge.3 created'' in the Transcript window.
Note the yellow marker in place of the white circle, indicating the original
edge has been split into two edges with the yellow marker as its dividing
point.
Repeat this procedure for the lower surface to split it into HJ and JG. Use
the point at x=0.3c on the lower surface to split this edge.
Finally, let's mesh the face consisting of circ1 and the airfoil surface. For
edges HI and HJ on the front part of the airfoil surface, use the following
parameters to create edge meshes:
For edges IG and JG, we'll set the divisions to be uniform and equal to
0.02c. Use Interval Size rather than Interval Count and create the edge
meshes:
For edge AF, the number of divisions needs to be equal to the number of
divisions on the line opposite to it, in this case, the upper surface of the
airfoil(this is a subtle point; chew over it). To determine the number of
divisions that GAMBIT has created on edge IG.
Select edge IG and then Elements under Component and click Apply.
This will give the total number of nodes (i.e. points) and elements (i.e.
divisions) on the edge in the Transcript window. The number of divisions on
edge IG is 36. So the Interval Count for edge AF is NHI+NIG= 40+36= 76.
Similarly, determine the number of divisions on edge JG. This comes out
as 35 for the current geometry. So the Interval Count for edge EF is 75.
Create the mesh for edges AF and EF with the following parameters:
From A
AF 0.02c 40+NIG
to F
From E
EF 0.02c 40+NJG
to F
Figure : Resultant Mesh
We'll label the boundary AFE as farfield1, ABDE as farfield2 and the airfoil
surface as airfoil. These will be the names that show up under boundary
zones when the mesh is read into FLUENT.
We'll create groups of edges and then create boundary entities from these
groups.
Select Edges and enter farfield1 for Label, which is the name of the group.
Select the edges AF and EF.
Note that GAMBIT adds the edge to the list as it is selected in the GUI.
Click Apply.
Similarly, create the other two farfield groups. You should have created a
total of three groups:
farfield1 AF,EF
farfield2 AB,DE
farfield3 BC,CD
Now that we have grouped each of the edges into the desired groups, we
can assign appropriate boundary types to these groups.
Click Apply.
Step 4: Set Up Problem in FLUENT
Navigate to working directory and select the airfoil.msh file. Click OK.
Define Properties
Click OK.
Define > Models > Viscous
Click OK.
The speed of sound under SSL conditions is 340 m/s so that our
freestream Mach number is around 0.15. This is low enough that we'll
assume that the flow is incompressible. So the energy equation can be
turned off.
Make sure there is no check in the box next to Energy Equation and
click OK.
Click OK.
Click OK.
Step 5: Solve
Under Discretization,
set Pressure to PRESTO! and Momentum to Second-Order Upwind.
Click OK.
Once again, we'll set these values to be equal to those at the inlet (to
review why we did this look back to the tutorial about CFG programs) .
Select farfield1 under Compute From.
Click Init.
Now we will set the residual values (the criteria for a good enough
solution). Once again, we'll set this value to 1e-06.
Click OK.
Under Coefficient, choose Lift. Under Options, select Print and Plot.
Then, Choose airfoil under Wall Zones.
Lastly, set the Force Vector components for the lift. The lift is the force
perpendicular to the direction of the freestream. So to get the lift coefficient,
set X to -sin(1.2)=-020942 and Y to cos(1.2)=0.9998.
Now, set the reference values to set the base cases for our iteration.
Select farfield1 under Compute From.
Click OK.
Note that the reference pressure is zero, indicating that we are measuring
gage pressure.
Make note of your findings, make sure you include data such as;
How does the Lift coefficient compared with the experimental data?
Main Menu > File > Write > Case & Data...
Save case and data after you have obtained a converged solution.
As can be seen, the velocity of the upper airfoil is faster than the velocity on
the lower airfoil.
-
On the leading edge, we see a stagnation point where the velocity of the
flow is nearly zero. The fluid accelerates on the upper surface as can be
seen from the change in colors of the vectors.
On the trailing edge, the flow on the upper surface decelerates and
converge with the flow on the lower surface.
Click Plot.
The negative part of the plot is upper surface of the airfoil as the pressure
is lower than the reference pressure.
Plot Pressure Contours
From the figure, we see that in one grid, there is no more than 3 different
pressure contours which suggests that our mesh is fine enough.
How can we compare the pressure contour with velocity vector plot? We
see that the pressure on the upper surface is negative while the velocity on
the upper surface is higher than the reference velocity. Whenever there is
high velocity vectors, we have low pressures and vise versa. The
phenomenon that we see comply with the Bernoulli equation.
STUDY OF FLUID FLOW OVER AN AIRFOIL
USING CFD
A Project
Submitted in partial fulfillment of the requirements for
The award of the Degree of
BACHELOR OF ENGINEERING
IN
MECHANICAL ENGINEERING
By
Date:
Prof. SoumenMandal
Mechanical Dept.
Birla Institute of Technology
Mesra- 835215
Head
Mechanical Engineering.
Birla Institute of Technology
Mesra-835215
CERTIFICATE OF APPROVAL
The foregoing thesis entitled Study Of Fluid Flow Over An Air Foil, is
hereby approved as a creditable study of research topic and has been presented in
satisfactory manner to warrant its acceptance as prerequisite to the degree for
which it has been submitted.
(Chairman)
Last but not least we would like to thank all our friends and well-wishers
who were involved directly or indirectly in successful completion of the present
work.
Mr. RajatTyagi
Mr. ArvindPavitharan
Mr. AshiqueDhouliyan
Ms. PallaviPrakash
REFERENCES
www.cornfluence.cornell.edu
www.cfluid.com
www.cfd-online.com
Milne-Thomson, L.M. (1973). Theoretical Aerodynamics. Dover Publications.
Surana, K.A.; Allu, S.; Tenpas, P.W.; Reddy, J.N. (February 2007). "k-version
of finite element method in gas dynamics: higher-order global differentiability
numerical solutions". International Journal for Numerical Methods in
Engineering.
Launder, B. E.; D. B. Spalding (1974). "The Numerical Computation of
Turbulent Flows". Computer Methods in Applied Mechanics and Engineering.
Wilcox, David C. (2006). Turbulence Modeling for CFD (3 ed.). DCW
Industries, Inc..
Pope, S. B. (2000). Turbulent Flows. Cambridge University Press.
Fox, Rodney (2003). Computational models for turbulent reacting flows.
Cambridge University Press.
Anderson, John D. (1995). Computational Fluid Dynamics: The Basics With
Applications. Science/Engineering/Math. McGraw-Hill Science.