Você está na página 1de 28

ANSYS WB - Supersonic Flow Over a Wedge - Problem Specification - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home

Brow se/Manage

Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Problem Specification

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Problem Specification


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 01, 2012 18:19

Labels: None

Author: Benjamin Mullen, Cornell University

Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation
8. Exercises
A uniform supersonic stream encounters a wedge with a half-angle of 15 degrees as shown in the figure below.

The stream is at the following conditions:

Using FLUENT, calculate the Mach Number, static and total pressure behind the oblique shock that will be formed. Also, calculate the
shock angle, pressure coefficient along the wedge and drag coefficient. Compare the FLUENT results with the corresponding
analytical results.
Go to Step 1 - Pre-Analysis & Start-Up

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Problem+Specification

1 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Pre-Analysis & Start-Up - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home
Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Pre-Analysis & Start-Up

Brow se/Manage

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Pre-Analysis & Start-Up


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 02, 2012 10:39

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification

1. Pre-Analysis & Start-Up


2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation
8. Exercises

Pre-Analysis & Start-Up


Pre-Analysis
In order to calculate the expected results behind the shock, we recommend using a oblique shock wave calculator (link grc.nasa.gov).
At Mach 3 and an angle of 15 degrees, we find the following:

Open ANSYS Workbench


We are ready to do a simulation in ANSYS Workbench! Open ANSYS Workbench by going to Start > ANSYS > Workbench. This will
open the start up screen seen as seen below

https://confluence.cornell.edu/pages/viewpage.action?pageId=170201582

2 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Pre-Analysis & Start-Up - Simulation - Confluence

06-08-2012

Screen Management
This tutorial is designed such that the user can have both ANSYS Workbench and the tutorial open. As shown below, this online
tutorial should fill approximately 1/3 of the screen, while ANSYS Workbench fills the remaining 2/3 of the screen.

Setup Project
To begin, we need to tell ANSYS what kind of simulation we are doing. If you look to the left of the start up window, you will see the
Toolbox Window. Take a look through the different selections. We will be using FLUENT to complete the simulation. Load the F l u i d
F l o w
( F box
L Uby dragging
E N T and
) dropping it into the Project Schematic.

Right click the top box of the project schematic


and go to R e n a, and
m name
e
the project Supersonic
Flow Over a Wedge.You are ready to create the geometry for the simulation.
Go to Step 2 - Geometry

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/pages/viewpage.action?pageId=170201582

3 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Geometry - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home

Brow se/Manage

Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Geometry

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Geometry


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 04, 2012 12:09

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up

2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation
8. Exercises

Geometry
Care to skip the geometry and meshing steps? README
If you would prefer to skip the geometry and mesh steps, then you can download the necessary files here. Download
the "zip" file, then extract the files to your working directory. In order to load the necessary files, go to the
W o r k b e n c h ,Pthen
r (o Cj le i c ct k )P aF g i el e
>
O p e n
>
" S u .pLastly,
e r s o n i c
click here to skip ahead to Step 4 of the tutorial.

Set Up

First, we need to specify that the geometry is 2-dimensional. Right click the Geometry box
and select P r o p e. r t i e
This will open the P r o p e r t i e s
o f S c hWindow.
e m aUnder
t i Ac d Av a2 n: c Ge e oG m
e oe change
m
t r ey tA r ny a O
l yp st ii so
T y pfrom
e 3 Dto 2 D.

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Geometry

4 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Geometry - Simulation - Confluence

06-08-2012

After the analysis type has been set, we are ready to launch Design Modeler, the geometry engine in ANSYS. Open Design Modeler
by double clicking the geometry box
. After launching Design Modeler, you will be prompted to choose standard units.
Select M e tasether standard unit, and click O K.

Sketching
We want to sketch on the XY plane. To look at the XY plane, click the positive Z-Axis on the compass in the G r a p window.
h i c s

To begin sketching, click on the S k e t ctabh ini the


n Tg r e e
Owindow.
u t l Toi draw
n e our domain, we will use the Rectangle tool.
Click on
in the S k e t c h i n g window.
T o Inothel graphics
b o x window,
e s
draw the rectangle by first clicking on the origin
(make sure the P icon is showing, meaning you are in fact selecting the point), then select a point in the 1st quadrant.

Now, we need to draw the wedge outline in the geometry. We will use the line tool to create the wedge. Select the line tool in the
https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Geometry

5 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Geometry - Simulation - Confluence

06-08-2012

S k e t c h i n g window.
T o o l b Click
o x on
e the
s points shown in the below figure. Make sure the "C" is showing.

Now, we need to remove the extraneous lines that we created. In the S k e t c h i n g window,
T o click
o l the
b M
o xo ed tab,
si f and
y
select

. Next, trim the lines indicated by the figure below

The final sketch should look like the image below

Dimensions
Next, we need to add the dimensions for the geometry. In the S k e t c h i n g window,
T o select
o l btheoD x i em s e n tab.
s i Next,
o n s
select the general dimensioning tool
. To create a dimension, you first select a line. This will create a dimension for that line.
Next, you will need to place the dimension next to the line. See the image below for guidance.

Next, create dimensions for the following 4 lines:

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Geometry

6 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Geometry - Simulation - Confluence

06-08-2012

In order to add magnitudes to the dimensions, look to the D e t window.


a i l sYou will see 4 dimensions that have been specified. Click
on a dimension magnitude, and notice that the corresponding dimension will be highlighted in the graphics window. Use the following
diagram to add the dimensions to the geometry.

When the dimensions have been correctly applied, the geometry should look like this:

Create Surface
Next, we need to create a surface from the sketch. In the menu tool bar, select Concept > Surface from Sketches. In the graphics
window, select any line of the geometry.
Next, in the details window, select B a s e
below.

O b j e . Finally,
c t s press
>

A p p . The
l y geometry should now look like the figure

Create a projection
https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Geometry

7 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Geometry - Simulation - Confluence

06-08-2012

Now, we want to project the center vertical line onto the surface body we just created. This will help us with our mesh. In the menu bar,
select N e w
S icon
k eto tcreate
c h a new sketch

This will create a new sketch. In the O u t lwindow,


i n ereturn to the S k e t ctab.
h Again,
i n gselect the
tool. Draw a line from
the vertex of the wedge to the top of the geometry. Make sure that when you click a vertex, a "P" appears (meaning point, constraining
the line to the vertex), a "V" appears on the line (meaning vertical, putting a vertical constraint on the line), and a "C" appears when
you click on the top line (constraining the newly created line to the top line). Right before you make your second click to define the line,
make sure it looks like this:

The line will turn dark blue if you have done this correctly (meaning the line is fully constrained) Now, we need to create a line body
from this sketch. In the menu bar, go to L i n e s
f r o .mIn theSgraphics
k e twindow,
c h eselect
s the line you just drew. In the O u t l i n e
window, select B a s e

O b j e . Finally,
c t s press
>

A p p.l y

Finally, we are ready to project the line on the surface. In the menu bar, go to Tools > Projection. First, you will need to select an
edge. Select the middle vertical line we just created. In the d e t window,
a i l sselect E d g e s > A p p l y

Next, we need to select the surface body for the projection. In the D e t window,
a i l sselect T a r , gthen
e select
t
any point on the
surface body.

In D e t window,
a i l sselect T a r g e t . Finally,
> Apress
p p l y
. The line should now be projected on the surface. Now that we
have the surface and the projection, we no longer need the line body we first created. In the O u t lwindow,
i n eExpand 2 P a r t s ,
B o d . Right
i e sclick L i n e and
B select
o d yS u p p r e s s
B o d y
https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Geometry

8 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Geometry - Simulation - Confluence

06-08-2012

Now that we have completed the geometry. Save the project, and close the Design Modeler.
Go to Step 3 - Mesh

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Geometry

9 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Mesh - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home

Brow se/Manage

Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Mesh

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Mesh


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 01, 2012 23:13

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry

3. Mesh
4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation
8. Exercises

Mesh
Launch the Mesher
Now that we have completed creating the geometry of the domain, we are ready to mesh it. Return to the P r o j e c t
Window. In the P r o j e c t
S
window,
c h double
e m click
a t the
i cMesh box
to launch the mesher.

S c h e m

Mapped Face Meshing


First we will apply a mapped face meshing; this will give us a regular mesh. First, in the O u t lwindow,
i n eclick
to show the
Mesh menu in the menu bar. In the Meshing Menu, select Mesh Control > Mapped Face Meshing. In the G r a p window,
h i c hold
s
down CRTL, and select b o domain
t h faces to select it, then in the D e t awindow,
i l sclick G e o m e t r .y > A p p l y

Body Sizing
Next, we will create a body sizing for the elements that will make up the domain. In the Mesh Menu, select Mesh Control > Sizing.
Next, select the body selection filter in the menu bar

Next, select the surface in the graphics window. In the D e t a


window,
i l sselect G e o m e t r .yNow,> we want
A ptopchange
l y the
element size. In the D e t a i l s, select
W Ei nl de om we n t S i and
z echange
> theDvalue
e fto a0 u. l0 t .5
m

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Mesh

10 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Mesh - Simulation - Confluence

06-08-2012

Generate the Mesh


Now, we are ready to generate the mesh. Generate the mesh by clicking
Generate Mesh. The final mesh should resemble the one in the figure below.

in the menu bar or by going to Mesh >

Named Selections
Now, we need to create named selections to use when we set boundary conditions. To create a named selection, first ensure that the
edge selection filter
is selected. Next, left click on the desired edge you wish to name (multiple edges can be selected while
holding down CTRL), then right click on the edge and select C r e a t e
N a m .e d
S e l e c t i o n

Once you select C r e a t e


N a m , ea dialogue
d
S box
e lwill
e appear
c t i where
o n you will enter the desired name of the boundary.
Use the diagram below to name all of the boundaries of the geometry.

There are 4 edges that make up the farfield, and they can all be named at once by holding down CTRL, left clicking all
of the edges while holding down CTRL, then right clicking and selecting "Create Named Selection"
https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Mesh

11 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Mesh - Simulation - Confluence

06-08-2012

Once the selections are all named and the mesh is created, you may save the project and close the mesher.
Go to Step 4 - Setup (Physics)

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Mesh

12 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Setup (Physics) - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home

Brow se/Manage

Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Setup (Physics)

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Setup (Physics)


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 01, 2012 23:16

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh

4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation
8. Exercises

Setup (Physics)
Update the Project and Open FLUENT
Before we open FLUENT, we need to update the project the import the mesh into FLUENT. To do this, click Update Project
. When the project updates, double click Setup
to open FLUENT.

Initial Settings

Before FLUENT launches, we will be prompted to set some options. In O p t i check


o n the
s box next to D o u b l e P. If you
r e c i s i
have a dual processor, you can set the option under P r o c e s s i nto P
g a Or ap, and
lt lichange
eo ln the
s N u m b e r o f P r o
to 2. We don't necessarily need the parallel processes for this simulation as it is fairly simple, but it becomes necessary later when
we refine the mesh and complicate the simulation further by changing boundary conditions.

Once the options are set, click OK.


https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Setup+%28Physics%29

13 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Setup (Physics) - Simulation - Confluence

06-08-2012

Problem Setup - General


Now, FLUENT should open. We will begin setting up some options for the solver. In the left hand window (in what I will call the
O u t lwindow),
i n e under P r o b l e m
, select
S Ge et nu .epThe
r only
a l option we need to change here is the type of solver. In the
S o l window,
v e r select D e n s i t y. - B a s e d

Models
In the outline window, click M o d . We
e l will
s need to utilize the energy equation in order to solve this simulation. Under M o d e l s
highlight E n e r g and
y click
- EO df if. Now,
t . .the. E n e window
r g y will launch. Check the box next to E n e r g y Eandqhitu a t i o
OK. We also need to change the type of viscosity model. Select V i s c o u s and
- click
L aE md ii. Choose
nt .a . r . the I n v i s c i d
option and press O K.

Materials
In the O u t lwindow,
i n ehighlight M a t e . rIn the
i aMl as t e window,
r i a lhighlight
s
F l u, and
i dclick C r e a t e. this
/ Ewilldlaunch
i t .the. .
C r e a t e / E d window;
i t Mhere
a we
t ecanr specify
i a l the
s properties of the fluid. Set the D e n sto Ii d
t ye a ,l the S
G pa es c i f i c
H e to
a 1006.43,
t
the M o l e c u l ato r28.966.
W eWhen
i g you
h thave updated these fields, press C h a n g e ./ C r e a t e

Boundary Conditions
In the O u t lwindow,
i n eselect B o u n d a r y

.C
Weowillnnow
d specify
i t i oeach
n boundary
s
condition for the simulation.

Farfield
In the B o u n d a r y window,
C o nselect
d i f t ai ro f.nUse
i se the
l drop-down
d
menu to change the T y pto pe r e s s u r e. You
- f a r will be asked to confirm the change, and do so by pressing O K. Next, a dialogue box will open with some parameters we need to
specify. Change the G a u g e
P r e s sto u1 r0 e1 ,3and
( 2PM5a as cc ha l N) tou3 .m b e r

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Setup+%28Physics%29

14 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Setup (Physics) - Simulation - Confluence

06-08-2012

Also, select the T h e r tab,


m and
a lensure that the temperature correctly defaulted to 3 0 0. When
K you are finished, press O K.

Wedge
In the B o u n d a r y

window,
C o nselect
d i wt ie od. nUse
g sethe drop-down menu to change the T y pto w
e a. l l

Symmetry
In the B o u n d a r y

window,
C o nselect
d i st yi om nms. Use
e t the
r drop-down
y
menu to change the T y pto se y m m . e t r y

Operating Conditions
In the B o u n d a r y
press O K

window,
C o nselect
d i the
t iO o pn e s r a t i n g button.
C o Change
n d i the
t G
i oa nu sg e

P tor 0e. Then


s s u r e

Reference Values
In the O u t lwindow,
i n eselect R e f e r e n c. Change
e
V the
a Cl uo em sp u t parameter
e
F r too f ma r f. Check
i e l that
d the values
are accurate. The reference values are used when calculating the non-dimensional results such as the drag coefficient.

Go to Step 5 - Solution
https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Setup+%28Physics%29

15 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Setup (Physics) - Simulation - Confluence

06-08-2012

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Setup+%28Physics%29

16 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Solution - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home

Brow se/Manage

Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Solution

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Solution


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 01, 2012 23:16

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh
4. Setup (Physics)

5. Solution
6. Results
7. Verification & Validation
8. Exercises

Solution
Solution Methods
In the O u t lwindow,
i n eselect S o l u t i o n to open
M ethet Sh oo l d u s t i o n window.
M eUnder
t h So pd as t i a l
ensure that the option under F l oS we c o n d
O r is
d selected.
e r
U p w i n d

D ,i s c r e t

Solution Controls
In the O u t lwindow,
i n eselect S o l u t i o n to open
C othen St or ol ul ts i o n window.
C oEnsure
n t rthat
o the
l sC o u r a n t
is set to 5 . . 0

N u m

Monitors

In the O u t lwindow,
i n eclick M o n i tot open
o r the
s M o n i window.
t o r Ins the M o n i window,
t o r select
s
R e s i d u a l s
P r
and press E d i. This
t . will
. . open the R e s i d u a l window.
M oWe
n want
i t to
o change
r s the convergence criteria for our solution.
Under E q u a and
t itoothenright of C o n t i, change
n u i the
t A
y b s o l u t eto 1e-6.
C r Repeat
i t e for
r xi -a v e l, yo - c v i et ly, o c i t
and e n e , rthen
g press
y
O K.

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Solution

17 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Solution - Simulation - Confluence

06-08-2012

Solution Initialization
In the O u t lwindow,
i n eselect S o l u t i o n
I. We
n ineed
t i toamake
l i an
z "Initial
a t i Guess"
o n to the solution so FLUENT can iterate
to find the final solution. In the S o l u t i o n
Iwindow,
n i t under
i a C
l i oz ma p
t i u o t, nselect
e
ff ra or m
f from
i ethel drop
d down box.
Check to see that the values that generate match our inputted values, then press I n i t i a l i z e

Run Calculation
In the O u t lwindow,
i n eselect R u n
C a l . Change
c u l the
a tN i uo m
n b e r
o f to 100.
I t Double
e r a click
t i Co an l sc uto run
l athet e
calculation. It should only take about a minute to solve. After the calculation is complete, save the project.
Go to Step 6 - Results

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Solution

18 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Results - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home
Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Results

Brow se/Manage

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Results


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 01, 2012 22:59

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution

6. Results
7. Verification & Validation
8. Exercises

Results
Velocity Vectors
First, let's take a look at the velocity vectors. In the O u t lwindow,
i n eunder R e s uselect
l t Cs o l o r s
C o l o r s a n d window,
A n under
i m Ga rt ai po , select
hn is cV se c t. Then
o r press
s S e t .U p . . .

a n d . In the
A n i m a t i

In the V e c twindow
o r sthat opens, change the S c aoflthee arrows to 0 . ,2and
5 change the C o l o parameter
r
b y to V e l o c i t y .
M a c h
N u m b e r

Hit D i s pto lview


a the
y vectors in the graphics window

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Results

19 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Results - Simulation - Confluence

06-08-2012

Once you have plotted the velocity vectors, you may close the V e c tmenu.
o r s

Mach Number Contours


Next, we will plot the contours of mach number. In the G r a p h i c s
a nwindow
d Aunder
n i _Graphics,
m a t i select
o n Cs o n t ,oandu r s
press S e t . U
Change
p . the
. . C o n t o uparameter
r s
to
O Vf e l o c i t y . . . . Next,
M acheck
c hthe box
N next
u mto bF ei lr. l e d

Change the L e v toe 5l 0sand press D i s p l a y

Next, click on print information icon


, and click anywhere behind the shock. This will display a
range of values. For instance, I received (2.2354529, 2.2513809). These range of values match well with the analytic solution we
received in the pre-anaysis (Mach no. = 2.254, 0.8% difference)

Pressure Coefficient/ Static Pressure Contours


Now, change the C o n t o uparameter
r s
to
O Pf r e s s u r e . . .

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Results

P r eands press
s u Dr ie s pC
. lo a e y f f i c i e n t

20 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Results - Simulation - Confluence

06-08-2012

Next, change the C o n t o uparameter


r s
to
O Pf r e s s u r e . . .
Sandt press
a t Di ci s Pp. When
rl ea you
sy shave
u plotted
r e the
contours of static pressure, you may close the C o n t window.
o u r Again,
s
use the p r i n t
i n tool
f otorview
m the
a pressure
t i o n
behind the shock. I received the range (282041.19, 286057.13). The average of this range is about 2.803 atmospheres. From the
analytical solution, we found that the pressure behind the shock is about 2.824, a 0.7% difference.

Pressure Coefficient Along Wedge


In the O u t lwindow
i n eunder R e s ,uselect
l t Ps l o. Int the
s P l owindow,
t s select X Y pandl press
o t S e t .U
Change
p . the
. .Y
A x i s
F uto Pn rc et is os nu r e . . .
P r ,eand
s select
s u the
r eW eC dounder
ge e fS f ui rc fi . ae cn et s

To see the plot, press P l o t

Measure Shock Angle

To measure the shock angle, we first need to create a line that we can plot the coefficient of pressure over. In the S o l u t i o n
X Y
window, click N e w
S u r f a c e. We >will arbitrarily
L i n use
e / the
R line,
a ky =e0.35. Set the start point of the line as ( 0 , 0, and
. 3 5 )
the end point of the line as ( 1 . 5 ,. Name
0 . 3the5line
) y
=
.0Now
. press
3 5 C r e a t e

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Results

21 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Results - Simulation - Confluence

06-08-2012

Now, the new surface will appear in the list of surfaces. We want to plot the pressure coefficient across the wedge and the new line
we created in order to determine the shock angle. In the list of surfaces, select w e d g e ,
s and
y m
y m= e . Press
t0 r. y3P, 5l . o t

We can then use the information from the plot to solve for the shock angle.

The shock angle from the analytical solution was 32.221 degrees. Because we took the value from a graph, a bit more error is to be
expected.

Print Drag Coefficient


Next, we will have FLUENT report the drag coefficient. Close the S o l u t i o nwindow.
X YIn thePO l u o t tlwindow,
i n ego to
R e p o. In rthet Rs e p owindow
r t sunder R e p ,oselect
r t Fs o r and
c e press
s S e t .U
Ensure
p . W. .e d isgselected
e
and press
P r .i The
n drag
t
coefficient will be printed.
Go to Step 7 - Verification & Validation
Go to Exercises

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Results

22 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Verification & Validation - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home
Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Verification & Validation

Brow se/Manage

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Verification & Validation


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 07, 2012 12:30

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution
6. Results

7. Verification & Validation


8. Exercises

Verification & Validation


Verification
Adapt the Mesh
In order to test our simulation for convergence, we will refine the mesh. Refining the mesh will allow use to make sure that the results
we are calculating are independent of the mesh. However, instead of refining the mesh everywhere (which would be wasteful, as most
of the area of the domain far away from the shock has constant values), we will use our results to refine our mesh. Specifically, we are
going to use the gradient of the pressure to determine where to refine the mesh. First, let's take a look at our mesh. In the O u t l i n e
w i n d o wG
, r sa ep l he i c c t s a n , d u An nd ie mr a, _select
t G
i orM na e p
s,sthen
h h i press
c s S e t. Select
u p all of the surfaces
(except y=0.35) and press D i s p. This
l awilly display the current mesh.

You may now close the M e s h


Dwindow.
i s pInlthea menu
y bar, go to Adapt > Gradient. Under O p t i uncheck
o n sC o a r. s e n
Under M e t hclick
o the
d radio box next to G r a d. Ensure
i e n that
t G r a d i e n t s
o f
>
P r e saresselected.
u r e . . .
Then press C o m p. u t e

https://confluence.cornell.edu/pages/viewpage.action?pageId=170201594

23 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Verification & Validation - Simulation - Confluence

06-08-2012

This will compute the maximum and minimum gradients of static pressure. Next, we need to pick a threshold. In order to do this, click
on C o n t o. This
u r will
s open
. . the
. familiar C o n t window.
o u r Ins the C o n t window,
o u r select
s
Contours of A d a p t i o n . . .
E x i s t i n, then
g press
V a Cl ou m
e p. This
u twille populate the C o n t menu
o u with
r sthe values were were viewing for adaption, in
this case, gradient of the static pressure. Also, make sure to uncheck N o d e
V. a l u e s

Finally, press D i s pto ldisplay


a y the contours of static pressure gradient.

Our goal is to discover the areas of high gradient, and mark those areas for adaption. Using the contour graph we can then find the
areas of high pressure gradient that we want to refine. In the C o n t window,
o u r uncheck
s
A u t o
.RThis
a will
n allow
g e us to specify
the range of gradients we can see in the graph. Change the M i value
n to 1 0 0 . Then
0 0 press D i s p. You
l awillysee that the
pressure gradients above 10000 generally mark the area of high pressure gradient quite well. We will use 10000 as our threshold for
refinement.

https://confluence.cornell.edu/pages/viewpage.action?pageId=170201594

24 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Verification & Validation - Simulation - Confluence

06-08-2012

Return to the G r a d i e n t window,


A d and
a penter
t i1 o 0 n 0 into
0 0
R e f i n e
T. Then
h r press
e s Mh ao . rThe
l kd p r iwindow
n t will
inform us we have marked 70 elements for refinement. Next, press A d a. You
p will
t be asked if you want to change the mesh. Press
Y e. s
It will seem like nothing has changed, but that is because we need to re-display the mesh in order to see the adaption. The new mesh
should look something like this.

Notice that the area surrounding the shock was refined. Now, re-initialize the solution, (Solution Initialization > Compute From Farfield
> Initialize), and rerun the solution (you will also need to increase the number of iterations I recommend 150).
Now, once again, plot the contours of the mach number. Below is a comparison of the mach number results from the original mesh
and the refined mesh.

Original Mesh

Refined Mesh
The most striking difference between the two results is the thickness of the shock. Notice that for the refined mesh, the shock is less
thick that for the original mesh. This shows that the refined mesh is converging towards the real case.

Comparison to Analytical Solution


https://confluence.cornell.edu/pages/viewpage.action?pageId=170201594

25 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Verification & Validation - Simulation - Confluence

06-08-2012

In order to verify our simulation, we need to compare our results to either an analytical solution or an experiment. Below is a table
comparing the values from the simulation with the calculations from the pre-analysis.
Mach Number Static Pressure (atm) Shock Angle (degrees)
Theory Value

2.254

2.824

32.22

FLUENT Solution

2.243

2.803

34.99

Percent Difference 0.8%

0.7%

8.2%

As we can see from the table, we are getting fairly good matching between the computation and analytical approaches. From this we
can build our trust in our simulation.
Continue to Exercises

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/pages/viewpage.action?pageId=170201594

26 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Exercises - Simulation - Confluence

06-08-2012

Search Cornell

SimCafe
Home

Brow se/Manage

Simulation > > ANSYS WB - Supersonic Flow Over a Wedge - Exercises

Login
Search

ANSYS WB - Supersonic Flow Over a Wedge - Exercises


Added by Benjamin J Mullen , last edited by Benjamin J Mullen on Mar 01, 2012 17:52

Labels: None

Author: Benjamin Mullen, Cornell University


Problem Specification
1. Pre-Analysis & Start-Up
2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation

8. Exercises

Supersonic Flow Over a Cone


Change the geometry from a wedge to a cone. What do you expect to change?
In the O u t lwindow,
i n eclick on G e n eunder
r aP l r o b l e m
. Under
S 2 e Dt u Sp select
p a cA ex i s y m. We
m also
e t need
r i toc
change the boundary condition for the symmetry to an axis. Click on B o u n d a r y in
C the
o On ud ti lwindow.
t i i no enIn the
s
B o u n d a r y window,
C o nunder
d i Zt oi o,nselect
ne s S y m m . Change
e t r the
y T y pto A
e x . iNow,
s reinitialize the solution, then run
it again for 100 iterations.

Separated Shock
Next, we will alter the geometry to achieve a separated shock. Close FLUENT and open the Design Modeler. We want to increase
the angle of the wedge above its critical angle. We will increase the angle to 35 degrees. Change the geometry's dimensions to
match that of the diagram below.

Once the geometry has changed, close the design modeler. We will have to re-calculate the solution, but we will want to change some
factors affecting the solution. Usually, when you make an upstream change in ANSYS, the program will update all of the downstream
data. We want to break this connection, so right click
and select
R e s. We
e will
t have to input the boundary conditions again, but that shouldn't take long and will end up saving us time when we
calculate the solution inside of the FLUENT environment.
Next, open up the mesher by double clicking

. Update the mesh by clicking

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Exercises

. Close the mesher, click


27 / 28

ANSYS WB - Supersonic Flow Over a Wedge - Exercises - Simulation - Confluence

06-08-2012

, then once again double click


. Re-enter all of the data from Step 5 (here is link for
reference). This time, set the C o u r a n t to 1N ..uThis
0 m will
b make
e r the solution a little more unstable, but it will solve much, much
faster. Run the solution again, this time with 5000 iterations.

Plot the contour plot of the mach number to see how the shock has changed.

This work is licensed under a C reative C ommons Attribution-Noncommercial-Share Alike 3.0 United States License

Adaptavist Theme Builder (4.2.4-M1) Powered by Atlassian Confluence 3.5.16, the Enterprise Wiki

https://confluence.cornell.edu/display/SIMULATION/ANSYS+WB+-+Supersonic+Flow+Over+a+Wedge+-+Exercises

28 / 28

Você também pode gostar