Você está na página 1de 7

Nyquist / Haghighi ABE 601

ANSYS Tutorial
Laminar and Turbulent Flow Analysis in a 2-D Duct

This tutorial models the air flow in a two-dimensional duct.

Dimension & Properties Value


Inlet Length 4 in
Inlet Height 1 in
Transition Length 2 in
Outlet Height 2.5 in
Initial Outlet Length 4 in
Added Outlet Length 30 in
Air Density 1.21x10-7 lbf-s2/in4
Air Viscosity 2.642x10-9 lbf-s/in2
Inlet Velocity 1 in/s (50 in/s on restart)
Outlet Pressure 0 psi

1
Nyquist / Haghighi ABE 601

The following is the step-by-step procedure for the beam deflection problem using the ANSYS GUI
(Graphic User Interface) environment. Using the left button of the mouse, click on everything that is
typed bold and type everything that is italicized below.

(Go To ANSYS/Faculty Utility Menu)


File
Change Jobname then type Air Flow

(GoTo Utility Menu)


PlotCtrls
Numbering
(Go to Keypoints and click) OFF (then OFF will be toggled to ON)
(Go to Lines and click) OFF (then OFF will be toggled to ON)
OK

LAMINAR FLOW ANALYSIS

(GoTo Main Menu)


Preferences
Click the FLOTRAN CFD option & OK

Preprocessor
Element Type
Add/Edit/Delete
Add
FLOTRAN CFD & 2D FLOTRAN 141 & OK
Close Element Type window

Modeling
Create
Areas
Rectangle
By Dimensions
(X1, X2) 0 & 4
(Y1, Y2) 0 & 1 & Apply

By Dimensions
(X1, X2) 6 & 10
(Y1, Y2) 0 & 2.5 & OK

Lines
Lines
Tan to 2 Lines
(Pick first line) Click on Line 3 & OK
(Pick tangency end of first line) Click on keypoint 3 & OK
(Pick second line) Click on Line 7 & OK
(Pick tangency end of second line) Click on keypoint 8 & OK

Areas
Arbitrary
Through KPs
(Pick in counter-clockwise order) keypoints 3, 2, 5, 8 & OK

2
Nyquist / Haghighi ABE 601

(GoTo Utility Menu)


Plot
Lines

(Ansys Main Menu)


Preprocessor
Meshing
Mesh Tool
Click on the Lines SET button
(Pick Lines 2, 4, 8, & 6) & OK
(Click the NDIV box) 10
(Click the SPACE box) -2 & Apply
(Pick Lines 1 & 3) & OK
(Click the NDIV box) 15
(Click the SPACE box) -2 & Apply
(Pick Lines 9 & 10) & OK
(Click the NDIV box) 12
(Click the SPACE box) 1 & Apply
(Pick Lines 5 & 7) & OK
(Click the NDIV box) 15
(Click the SPACE box) 3 & Apply

Click on the Lines Flip button


Choose the Line 7 & OK

Click on the Mapped Mesh button


Click the Mesh Button
(Pick All) & OK

(Ansys Main Menu)


Solution
Loads
Define Loads
Apply
Fluid/CFD
Velocity
On Lines
(Pick Line 4) & OK
(VX) 1.0
(VY) 0.0 & OK

On Lines
(Pick Lines 1, 3, 5, 7, 9, & 10) & OK
(VX) 0.0
(VY) 0.0 & OK

Pressure DOF
On Lines
(Pick Line 6) & OK
(Pressure value) 0.0
(Set Endpoints) set to YES & OK

Solution
3
Nyquist / Haghighi ABE 601

FLOTRAN Set Up
Fluid Properties
Density: Choose AIR-IN
Viscosity: Choose AIR-IN & OK & OK

Execution Ctrl
Global Iterations: 40 & OK

Flow Environment
Ref Conditions
Reference Pressure: 14.7
Nominal temperature: 70
Stagnation Temperature: 70
Reference Temperature: 70
Temp offset from ABS zero: 460 & OK

Run FLOTRAN

(Ansys Main Menu)


General Postproc
Read Results
Last Set

Plot Results
Vector Plot
Predefined
Choose DOF and Velocity V & OK

Contour Plot
Nodal Solu
Choose Other Quantities & Total Pressure PTOT & OK

Flow Trace
Defi Trace Pt
Pick 3 points around the inlet and 2 points in the recirculation region & OK

(Ansys Utility Menu)


PlotCtrls
Animate
Particle Flow
Choose DOF Solution and Velocity VX & OK
After viewing, click Close on the animation controller

(Ansys Main Menu)


General Postproc
Path Operations
Define Path
By Nodes
Pick the top and bottom point along the outlet & OK
Define Path Name: OUTLET & OK
Close the PDEF Command Window

Map onto Path

4
Nyquist / Haghighi ABE 601

Label: VELOCITY
Choose DOF Solution and Velocity VX & OK

Plot Path Item


On Graph
Choose VELOCITY & OK

LAMINAR FLOW ANALYSIS - INCREASED INLET VELOCITY

(GoTo Utility Menu)


Plot
Lines

(Ansys Main Menu)


Solution
Loads
Define Loads
Apply
Fluid/CFD
Velocity
On Lines
(Pick Line 4) & OK
(VX) 50.0
(VY) 0.0 & OK

Run FLOTRAN
Click OK to remove the error message.

FLOTRAN Setup
Relax/Stab/Cap
MIR Stabilizatio
Momentum Equation: 0.1 & OK

Run FLOTRAN

Repeat the analysis steps outlined above.

LAMINAR FLOW ANALYSIS - INCREASED DUCT LENGTH

(Ansys Main Menu)


Solution
Loads
Define Loads
Delete
Fluid/CFD
Pressure DOF
On Lines
Pick All

Preprocessor
Modeling

5
Nyquist / Haghighi ABE 601

Create
Areas
Rectangle
By Dimensions
(X1, X2) 10 & 40
(Y1, Y2) 0 & 2.5 & OK

Numbering Ctrls
Merge Items
Choose All for Type of items to be merged & OK

(GoTo Utility Menu)


Plot
Lines

(Ansys Main Menu)


Preprocessor
Meshing
Mesh Tool
Click on the Lines SET button
(Pick Lines 1 & 2) & OK
(Click the NDIV box) 10
(Click the SPACE box) -2 & Apply
(Pick Lines 11 & 13) & OK
(Click the NDIV box) 20
(Click the SPACE box) 3 & OK

Click on the Lines Flip button


Choose the Line 13 & OK

Click the Mesh Button


(Pick Area 4) & OK

(GoTo Utility Menu)


Plot
Lines

(Ansys Main Menu)


Solution
Loads
Define Loads
Apply
Fluid/CFD
Velocity
On Lines
(Pick line 11 & 13) & OK
(VX) 0.0
(VY) 0.0 & OK

Pressure DOF
On Lines
(Pick line 12) & OK
(Pressure value) 0.0

6
Nyquist / Haghighi ABE 601

(Set Endpoints) set to YES & OK

(Ansys Utility Menu)


File
File
File Operations
Delete
Pick “AirFlow.rfl” & OK

(Ansys Main Menu)


Solution
Run FLOTRAN

Repeat the analysis steps outlined above.

Calculate the Reynolds number using the velocity results.

ρ V Dh
Re =
µ
where ρ = density = 1.21e-7; V = velocity = 50; Dh = hydraulic diameter = 2*inlet height = 2; and µ =
Viscosity = 2.642e-9.

Re = 4600, which is turbulent.

TURBULENT FLOW ANALYSIS - INCREASED DUCT LENGTH

(Ansys Main Menu)


Solution
FLOTRAN Set Up
Solution Options
Choose Turbulent option & OK

Execution Ctrl
Global Iterations: 80 & OK

Run FLOTRAN

Repeat the analysis steps outlined above.