Professional Documents
Culture Documents
Pipe Blade Mesh
Pipe Blade Mesh
a) Summary of Steps
189
Hexa Meshing
In this lesson, the blade is regarded as a Solid region, while the region
surrounding the blade is regarded as the Fluid region. Using Block
Splitting at Prescribed point, the user will generate a Hexahedral Mesh
for both of the regions, so that the topology of the solid region is a
degenerate Hexahedral mesh.
Before the user employs the Collapse function for his/her own
applications, confirm that the solver accepts degenerated hexas (for a
structured solver) or penta_6 elements (prism) for an unstructured solver.
Note: Settings >Selection>Auto pick mode should be turned OFF for
ANSYS ICEM CFD to behave exactly as this tutorial describes.
c)
The input files for this tutorial can be found in the Ansys installation
directory, under ../v110/docu/Tutorials/CFD_Tutorial_Files>PipeBlade.
Copy and open the geometry.tin file in your working directory.
d) Creating Parts in the Mesh Editor
Right click in the Display Tree on Parts > Create Part to create different
Parts and assign the different surface of the geometry to the appropriate
part. Refer to the figure below for the Surface part assignments.
190
Hexa Meshing
Figure
4-147
The
Pipe
Blade
configu
ration
e)
Surface Parts
After the Pipe Blade project is open, activate the Points and Surfaces from
the Display Tree. Switch on Points > Show Points Names.
Begin the Surface part reassignment by changing the region enclosed by
GEOM/4 - GEOM/7 to the part OUTLET.
The region that is denoted by GEOM/0 - GEOM/3 should be reassigned to
the part INLET.
The Surface defining the Cylinder pipe will be placed in the Surface part,
CYL.
The surfaces belonging to the solid blade in the middle of the cylinder
should be classified as BLADE.
When all of the Surface parts have been assigned (INLET, OUTLET,
CYL, BLADE), press the middle mouse button to exit from continuous
mode.
f)
For this tutorial, we will leave the curves and points assigned to the initial
part GEOM.
ANSYS ICEM CFD 11.0
Tutorial Manual
191
Hexa Meshing
Initialize blocking, which will create the first block, by going to Blocking
> Create Block
will open.
192
Hexa Meshing
Figure 4-148
Create block window
Select the block Type as 3D Bounding Box (default) from the pull down
arrow. Name the Part as Fluid. Press Apply without selecting anything,
and the initial block will be created around the whole model.
i)
To fit the Initialized Blocking more closely to the geometry, the user will
associate vertices to points.
> Associate Vertex
and the
Select Blocking > Associate
window shown will open. Toggle ON Blocking > Vertices and right
mouse click on Vertices > Numbers under Blocking in Display Tree.
193
Hexa Meshing
Figure 4-149
Associate vertex window
194
Hexa Meshing
Figure
4-150
Moving
the
vertices
Figure 4-151
Geometry after associating all vertices to corresponding points
195
xx
xx
Hexa Meshing
Note: When possible, the Block vertices on any circular geometry should be
placed so that edges are equal in length and the angles between edges are 90
degrees. This amounts to vertices being placed at 45, 135, 225, and 315 degrees
around the circle. This results in the best mesh quality.
j)
Select Associate
selection icon
then select the four edges shown in the figure below
and press the middle mouse button. Then press the curve selection icon
and select the four curves shown in the figure below and press the
middle mouse button. Notice that the block edges then transform from
white to green, confirming their association with the curve. Also
notice that the four curves become one color, indicating that they have
been grouped into one curve.
Figure 4-152
Association window
196
Hexa Meshing
Figure 4-153
Edges and Curve
selection for
association
Similarly, associate the four edges on the other circle to the corresponding
four curves. To see a confirmation of these associations, right mouse click
on Blocking > Edges > Show Association in the Display Tree.
197
Hexa Meshing
Figure
4-154
The Edge
Projection
Note: If the edges lie on the geometry, as is the case with longitudinal edges, the
projection arrows are not shown. By default, all external edges are surfaceassociated to the nearest active surface and appear as white. The association can
be set to this default using Associate
This operation is useful to correct any Edge to Curve Association mistakes. All
internal edges, by default, have no association, and appear as blue. You can set
this association, which is really deleting an association, by pressing
k) Grouping curves
Note: This section does not need to be performed on the model, but it
shows the user how to manually group curves.
Select Blocking > Associate
198
xx
Hexa Meshing
Figure 4-155
Group curve window
The following steps instruct the user to split the block in the k and j
directions around the blade, thus creating further blocking topology for the
blade. The k-direction splits will be created through the prescribed point
method, while the j-direction splits will be made by visual judgment.
Press View > Top, then Fit Window
Turn off Vertices at this stage.
>Split Block
and it will open
Choose Blocking > Split Block
the window as shown in the figure below. Choose All visible and Split
method as Prescribed Point. Select the edge selection icon
ANSYS ICEM CFD 11.0
Tutorial Manual
then select
199
Hexa Meshing
one of the edge which is along z-direction. After selecting the edge it will
prompt you to select the point Select the Prescribe point, GEOM/9 and
press middle click to accept the selection.
Similarly, make another split using the same edge but through the
Prescribed Point, GEOM/8.
Similarly, make another horizontal split through the prescribed point
GEOM/12. The final result will have three horizontal splits as shown in
below.
Note: Make sure that the Edge that is selected lies within the range of the
Prescribed Point that will be selected.
Figure 4-156
Split block window
200
xx
Hexa Meshing
Figure 4-157
Make the
horizontal splits in
the block
These are the splits in the k-direction. The next set of splits will be in the
i direction.
Now select the Split method as Screen select. Press the edge selection
icon
and select any of the horizontal edges (which is along xANSYS ICEM CFD 11.0
Tutorial Manual
201
Hexa Meshing
202
Hexa Meshing
Figure 4-158
Horizontal splits on blade sides
203
xx
Hexa Meshing
Note: Every time a block Split is performed, the Index control is updated. After
the splits are complete, the new range of the K index will be from 0-6.
204
Hexa Meshing
205
Hexa Meshing
Figure 4-161
The Collapsed
Blocking
.The
206
Hexa Meshing
Figure 4-162
Association Edge to Curve Window
You should associate the Edges and corresponding blade curves as shown
below.Do this to the top and bottom of the blade, on both sides.
After associating, Switch on Blocking > Edge > Show Association from
the Display Tree. The geometry should look as shown.
207
Hexa Meshing
Figure 4-163
Blade edges to be
association to curves
208
Hexa Meshing
Figure 4-164
Blade edges
Associated to curves
This section shows the user how to move all the associated vertices onto
the geometry in one step.
Snap the appropriate block vertices onto the geometry by selecting
> Snap Project Vertices
.All Visible should be toggled
Associate
ON. Then Press Apply.
Switch off Edges > Show Association. All the vertices belonging to blade,
inlet and outlet are moved to the locations as shown below.
209
Hexa Meshing
Figure
4-165
The final
positions
of the
vertices
before
the O
grid
Notice from this lesson and from previous lessons, that the movement of
the vertices is restricted to the associated Curve. The colors of the vertices
indicate their associations and degrees of freedom.
Vertices associated with Prescribed Points are red and are fixed at a point.
Vertices associated to a curve are green and can be moved on the
associated curve.
By default, all the vertices lying on the block material boundary are white
and are free to move on any surface.
Additionally, internal surfaces are blue and can be moved along the blue
block edges to which they are connected.
q) Generating the O-Grid
210
xx
xx
xx
Hexa Meshing
Press
and select all the Blocks of both the FLUID and SOLID
regions since the O-grid will be added in the entire pipe as shown in
below. Press the middle mouse button to accept.
Similarly, press
and select the two INLET faces and two OUTLET
faces as shown. Press the middle mouse button to accept, and Press Apply
to create the O-grid.
Figure
4-166
Add the
faces of
the outlet
and inlet
to O-grid
211
Hexa Meshing
Figure
4-167
The O-grid
r)
In this step, the user will define node distributions on the blocking using
surface parameters. Surfaces should be turned ON in the Display Tree so
they can be selected from the screen.
Select Mesh > Surface Mesh Setup
icon
. Then select all the surfaces by box selecting the entire model or
pressing a. Enter the Maximum Element size as 0.3, Height as 0.03 and
Ratio as 1.25, as shown.
212
Hexa Meshing
Figure 4-168
Surface mesh size window
213
xx
Hexa Meshing
Figure
4-169
The
surface
parameters
214
xx
xx
Hexa Meshing
Figure 4-170
Mesh before
changing mesh
parameters
The mesh is denser at the walls. The near wall elements will have the
same initial height that was set on the surface parameters, which was 0.03.
It may be desirable to have denser near-wall spacing.
Select Blocking >Pre-mesh Params
>Edge Params
. Turn OFF
Blocking > Pre-Mesh so the edges can be easily seen and selected. Select
any of the radial edges. These are the edges created by the O-grid that
are oriented radially in relation to the grid lines that run circumferentially
around the tube. Or you can select the same edge shown in the figure
below, which is the blocking Edge 196-118. Set Spacing1 to 0.015, which
is half the previous value. Set Spacing2 to 0, which will allow it to go as
large as possible. Increase the number of nodes to 13 so the Ratio1 (1.25)
can be met. Enable Copy Parameters and select Method Copy to
Parallel edges to duplicate these settings on parallel edges in the blocking.
Then press Apply.
ANSYS ICEM CFD 11.0
Tutorial Manual
215
Hexa Meshing
Figure 4-171
Setting edge meshing parameters
216
Hexa Meshing
Figure 4-172
Selection of
edge for
changing
Parameters
Note: Spacing1 is the first element size at vertex 118 while spacing2 is the first
element size at vertex 196. Side 1 and Side 2 are indicated by the direction
217
Hexa Meshing
Figure
4-173
The final
mesh
displayed
in Solid
and Wire
t)
218
Hexa Meshing
Figure 4-174
Pre-mesh quality
window while selecting
Determinant 2x2x2
Figure 4-175
Histogram showing
Determinant 2x2x2
Then, in the Pre-Mesh Quality window at the upper left, select Angle from
the Criterion pull down. Enter the values as shown below and press
Apply. A new histogram will appear for the internal angles of elements as
shown.
219
Hexa Meshing
Figure 4-176
Pre-mesh quality
Window while
selecting Angle
220
Hexa Meshing
Press Apply to smooth mesh. Changes in the minimum angle of the mesh
can be seen in the histogram as shown. The node position changes made
by the pre-mesh smoother will not be saved to the blocking. So reloading
the blocking and computing the mesh will always produced the mesh
before smoothing. So at this point, you should not recompute the mesh.
221
Hexa Meshing
Figure 4-179
Histogram after
running
smoother
v) Saving
Select File > Blocking > Save blocking As and enter a name, such as
b1.blk. Saving the blocking will allow the user to change any meshing
parameters in the future by reloading the blocking onto the geometry.
To write the mesh in an unstructured format, right mouse click in the
Display Tree on Blocking > Pre-mesh > Convert to Unstruct Mesh. This
will write the default name hex.uns to the working directory, and
immediately load the mesh. To save the mesh to a different name, the user
can then select File>Mesh>Save Mesh As.
To write the mesh in a structured format, right mouse click in the Display
Tree on Blocking > Pre-mesh > Convert to MultiBlock Mesh.
Finally, save the project.
222