Professional Documents
Culture Documents
0
Tutorials
C:\
C: \Ansys Inc
Inc\
\v110
v110\
\CFX
CFX\
\help\
help\pdf\
pdf\xtutr11.pdf
43
Workbench 11.0 - Static Mixer
basic geometry creation including Revolve and
Extrude operations
basic meshing operations
44
CFX11.0
Open ANSYS CFX
CFX--11.0
11 0
45
Launcher
Set the Working Directory
Open Workbench 11.0
46
ANSYS Design Modeller
Scroll down and open an Empty Project
47
Design Modeller
Select File / Save / File Name: StaticMixer
Click on New geometry (under Create Design
Modeler Geometry)
48
Design Modeller
Select Meter / click on OK
49
Design Modeller
Four Main Areas:
50
Sketching Grid
Click on ZX Plane (Tree View)
1. Click on Settings (in the Sketching tab) to open
the Settings Toolbox
Toolbox..
2. Click on Grid and turn ON Show in 2D and
Snap..
Snap
3. Click on Major Grid Spacing and set it to 1.
4. Click on Minor
Minor--Steps per Major and set it to 2.
5. Zoom in to see the effect of changing the
Minor--Steps per Major
Minor Major..
51
Sketching Grid
52
Polyline
53
Revolving
54
Creating a Circle
1. In the Tree View, click on the plus sign next to 1 Part, 1 Body to
open up the tree structure.
structure.
2. Position
P iti your cursor over the th text
t t Solid
S lid andd then
th click
li k with
ith the
th
right mouse button and select Hide Body
Body..
3. Select ZXPlane in the Tree View again [XZPlane in ANSYS
Workbench 8.0.1],] and create a new sketch based on this plane
by using the New Sketch ( ) button on the Active Plane/Sketch
Toolbar, which is located above the Model View.
View.
4. Select the Sketching tab
tab..
5. Create a circle as shown in the picture:
picture:
a. Select the Draw Toolbox.
Toolbox.
b. Select Circle,
Circle click on the grid at the center of the circle and then drag the
mouse to define the radius.
radius.
55
Extruding
1. Select Sketch2
Sketch2 in the Tree View, noting which circle it contains, and choose
the Sketchingg tab
tab..
2. Click on Dimensions (in the Sketching tab) to open the Dimensions Toolbox.
Toolbox.
3. Click on Radius and then select the circle which forms Sketch2
Sketch2 from the
Model View
View..
4. Click somewhere in the Model View to choose where the label for this
dimension will be placed (this does not affect the model in any way, it is
purely for display purposes).
purposes).
5. If yyou now look in the Details View at the bottom left of the screen,, yyou will
now find a section headed Dimensions, which contains the radius R1, set to
0.5 m. For now, change the radius to be 0.45 m .
6. Click on Generate to activate the change.
change.
57
Geometry - Static Mixer
Select File>Save and accept the default filename.
filename
58
Meshing
Open CFX
CFX--Mesh
59
CFX--Mesh
CFX
Tetrahedral unstructured mesh
60
Regions
1. Right
Right--click over Regions in the Tree View.
View.
2. Select Insert>Composite 2D Region.Region.
3. A new object, Composite 2D Region 1, is inserted under
Regions
g in the Tree View
View.. Changeg its name to in in11: if the name is
still highlighted, then just type over the existing name name.. If the
name is not still highlighted, then right-right-click over the name,
select Rename and then type over the existing name name..
4. In the Details View, click in the box next to Location.
Location. There will
now be two buttons, Apply and Cancel, and this means that you
are ready to select the face from the Model View.
View.
Ob .: Use
Obs.:
Obs U the h middle
iddl bottom
b off the
h mouse to rotate the h figure
fi
figure.
.
Similarly,
y create in
in22 and out
out..
61
Surface Mesh
1. Right-
Right-click over Preview in the Tree View, and select Insert>Preview Group.
Group.
2. You want to view the surface mesh on all of the faces of the mixer, so you need to
select all the faces in the model as follows:
follows:
a. Click in the box next to Location
Location..
b. Left-
Left-click somewhere in the Model View above and to the left of the model.
model.
c. Whilst holding down the mouse button, drag the mouse over the model to form a box which
completely encloses the model.
model. All the surfaces within the box are then selected
selected..
d. Click on Apply in the Details View.
View. The text should change to read 9 2D Regions
Regions..
3. Now right-
right-click over Preview Group 1 and select Generate This Surface Mesh
Mesh..
62
Volume Mesh
1. Click on Options
p in the Tree View,, which is contained
in Mesh
Mesh..
2. Change GTM Filename to StaticMixerMesh
StaticMixerMesh..gtm.
gtm. To do
this, click on the filename shown andd then click on the
button with the three dots
dots.. Type the new name into the
file browser which appears
appears..
63
Launcher
Open CFX
CFX--Pre 11.0
11 0
64
Static Mixer
Two inlet pipes and one outlet pipe
F ll more
Follow r orr lless: C
C:\Ansys
C:\ A
Inc\
Inc\v110
v110\
\CFX
CFX\ \help\
help\pdf\
pdf\xtutr11.pdf
65
CFX--Pre
CFX
1. Select File > New Simulation
Simulation..
2. Click Quick Setup in the New Simulation File
window..
window
3. Set File name to StaticMixer and then click Save.
Save.
67
Boundary conditions
Two inlet pipes and one outlet pipe
68
Inlet 1 and inlet 2 Boundary
Conditions
To create the inlet 1 boundary condition
1 Click
1. Cli k B
Boundary
d Condition
C di i .
2. Set Name to in1, then click OK.
3. On the Basic Settings panel, set:
(a) Boundary Type to Inlet
(b) Location to in1
4. Click the Boundary Details tab, then:
(a) Under Flow Regime, set Option to Subsonic.
((b)) Under Mass and Momentum,, set Option
p to Normal Speed
p and Normal Speed
p
to 2.0 m/s.
m/s.
(c) Under Turbulence, set Option to Medium (Intensity = 5%).
(d) Under Heat Transfer, set Option to Static Temperature and Static Temperature to 315 K.
K.
5. Click OK to create the boundaryy condition.
69
Inlet 1
Create / Flow Objects / Boundary Conditions
70
Outlet Boundary Conditions
To Create the Main Outlet Boundaryy Condition
1. Click Boundary Condition .
2. Set Name to outlet and then click OK.
OK.
3. On the Basic Settings panel, set
set::
(a) Boundary Type to Outlet
(b) Location to out
4. Click the Boundary Details tab, then:
then:
(a) Under Flow Regime, set Option to Subsonic
Subsonic..
(b) Under
U d Mass
M andd Momentum,
M set Option
O i to Average
A S i
Static
Pressure and Relative Pressure to 0 Pa.
Pa.
5. Click OK to create the boundaryy condition
condition..
71
Initial Values
Setting Initial Values
1. Select Create > Flow Objects > Global
Initialisation or click Global Initialisation .
Initialisation,
2. Turn on Turbulence Eddy Dissipation and leave
O i set to A
Option Automatic.
i
3. Click OK to set the initialization details.
72
Convergence
Setting Solver Control
1. Select Create > Flow Objects > Solver Control or click Solver
Control .
2. Under Advection Scheme,, set Option p to Specified
p Blend Factor
and Blend Factor to 0.75. 75. The advection scheme options are
discussed in Advection Scheme Selection.
Selection.
3. Under Convergence
g Control, set Timescale Control to Physical
Timescale, Physical Timescale to 2.0 s, and Max. Max. No
No.. Iterations
to 50.
50.
4. Under Convergence Criteria, leave the Residual Type set to RMS
andd Residual
R id l Target
T set to 1.E-4. An
A RMS value l off at least
l 1.E-5
is usually required for adequate convergence, but the default
value is sufficient for demonstration purposes
purposes..
73
Solver
Writing the Solver (.def) File
Y are now ready
You d to write
i theh Definition
D fi i i file
fil for
f the
h CFX
CFX--Solver
S l .
Solver.
1. Click Write Solver (.def) File .
The Write Solver File dialog box is displayed
displayed..
2. Set File name to StaticMixer.
StaticMixer.def
def..
3. Leave Operation set to Start Solver Manager
Manager..
4. Leave Report Summary of Interface Connections turned off and Quit CFX
CFX--Pre turned
on..
on
5. Click OK
OK..
6. Click Yes when asked if you want to save the CFX file.file.
Obtaining a Solution
When CFX-
CFX-Pre has shut down and the CFX-
CFX-Solver Manager has started, you will be able
to obtain a solution to the CFD problem by following the instructions below.
below.
1. Click Start Run.
Run.
74
CFX--Solver Manager
CFX
75
CFX--Solver Manager
CFX
Residuals
76
CFX--Post
CFX
Open CFX
CFX--Post 11.0
Creating
C i aN New Pl
Plane (Create/
(C / Object
Obj / Plane)
Pl )
1. From the main toolbar click Create Plane .
2. In the New Plane window type the name Slice.
3. Click OK.
77
Slice Plane
Definition / Method / XY Plane
Z / 1 [m] / Apply
78
CFX - Post
Colour / Mode Variable / Variable Temperature
79
CFX 10.0 – Mesh Refinement
Modifying the Mesh Generation
1. Open the StaticMixer Project (or
StaticMixer wbdb) from the ANSYS Workbench
StaticMixer.wbdb)
2. Open CFX
CFX--Mesh
3. Click on Model/Mesh/Spacing/Default
Model/Mesh/Spacing/Default Body
Spacing (in the Tree View)
4. Change Maximum Spacing to 0.2 m. Press Enter
on the keyboard
y to set this value.
80
Mesh Refinement
Maximum Spacing from 0.3 to 0.2 m
81
Inflation
1. Click on Model/Mesh/Spacing/Inflation
Model/Mesh/Spacing/Inflation (in the Tree View)
2 Set Number of Inflated Layers to 5.
2. 5
3. Set Expansion Factor to 1.3.
4. Right
Right-
g -click on Inflation and select Insert/Inflated
/ Boundary.
y
5. Click in the box next to Location, and then click on Default 2D
Region in the Tree View. Click on Apply in the Details View.
Th text should
The h ld change
h to read
d 1 Composite.
C i
6. Set Maximum Thickness to 0.2 m.
82
Inflation
Example at the outlet
83