Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction to Hexa
6-1
Introduction to Hexa
What is Blocking?
A hexa mesh is created by first making a blocking
Training Manual
A blocking breaks down a geometry into large brick-shapes and structures the direction of grid lines by the arrangement of the blocks Each block is easily meshed with a pure Cartesian mesh
Some blocks can be defined as swept and be unstructured along one face
Block entities (faces and edges) are projected onto the geometry The blocking is saved to an independent file, and can be loaded onto a different geometry
Mesh with projection Blocking
Geomtery
6-2
Introduction to Hexa
Training Manual
6-3
Introduction to Hexa
Training Manual
Associating Face to Surface to a dummy point family or Interpolation can effectively mesh where geometry doesnt exist
Geometry
Points and curves are not required but are very useful
Use Build Diagnostic Topology to quickly build all curves and points
6-4
Introduction to Hexa
Nomenclature
Geometry
Point Surface Volume
Separate part(s) for blocks
Curve Edge
Training Manual
Blocking
Vertex Edge Face Block
Vertex
Block
July 2009 Inventory #002663
6-5
Introduction to Hexa
Blocking process
Structure blocking to capture the shape of the geometry
Top down
split and discard unused blocks
Training Manual
Bottom up
create block by extrusion, creating, copying
6-6
Introduction to Hexa
Initialize Blocking-3D or 2D
New Blocking
3D Bounding Box
One 3D volume block encompassing selected entities
Training Manual
2D Planar
One 2D block on constant XY plane around entire 2D geometry
No surfaces required
2D Surface Blocking
Discussed next slide
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
6-7
Introduction to Hexa
Training Manual
Geometry
2D blocking Unstructured
Must Build Topology first Can always convert blocks between free and mapped afterward: Edit Block > Convert Block Type Try BOAT (Shell Meshing) tutorial
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
6-8
Introduction to Hexa
Training Manual
Note: Deleted blocks are put into the part VORFN by default, so they can be re-used later if wanted
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
6-9
Introduction to Hexa
Training Manual
6-10
Introduction to Hexa
Training Manual
6-11
Introduction to Hexa
Training Manual
Constrained to surfaces
Vertex will slide along any ACTIVE surface (surface parts which are turned on in the model tree) If not on a surface, it will jump to the NEAREST ACTIVE surface when moved Blue Free (usually internal) vertex Select near the vertex on the edge to move along edge direction
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
6-12
Introduction to Hexa
Workshop 1
2D Pipe Junction
Watch the instructor
Training Manual
6-13
Introduction to Hexa
Training Manual
6-14
Introduction to Hexa
View Mesh
Pre-Mesh
Create mesh at any stage of the process Mesh with different projection methods Use Project faces (default) to fully represent the geometry
Training Manual
View only certain surface mesh by turning on only that Part in the model tree
Use Scan planes to view internal mesh (covered later)
No project ion
6-15
Introduction to Hexa
Checking Quality
Using the Quality Histogram
Determinant
Training Manual
Angle
Element minimum internal angles Shoot for >18 degrees Aspect ratio
Volume
Warpage
Shoot for < 45 degrees
Many more metrics You can display elements in a given range by selecting the histogram bar
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
6-16
Introduction to Hexa
Write Mesh
Convert pre-mesh to a permanent mesh
Two formats depending on what your solver takes
Unstructured: Cells defined by node numbers (connectivity) Structured: Multiblock cells defined by i, j, k index
Training Manual
Pre-Mesh>Convert to a mesh from the model tree saves and immediately loads the mesh
6-17
Introduction to Hexa
Workshop 2
3D Pipe Junction
Finish The Cartesian block
Training Manual
6-18
Introduction to Hexa
O-Grid Definition
Training Manual
An O-grid is a series of blocks created in one step which arranges grid lines into an O shape or a wrapping nature
3 basic types created through the same operation all referred to as O-grids O-grid C-grid (half O-grid) L-grid (quarter O-grid) Reduce skew where a block corner must lie on a continuous curve/surface
O-grid C-grid
L-grid
Cylinders
Complex geometries Improves efficiency of node clustering near walls for CFD applications
No O-grid
O-grid
6-19
Introduction to Hexa
Creating O-Grid
Select blocks for O-grid
Training Manual
Can select by visible, all, part, around face, around edge, around vertex, 2 corner method, or individual selection
5 blocks in 2D
7 blocks in 3D
Note: Internal block has all internal (blue) edges and vertices
6-20
July 2009 Inventory #002663
Introduction to Hexa
O-Grid-Adding Faces
Adding faces during O-grid creation
Training Manual
Introduction to Hexa
Training Manual
Quarter Ogrid (L-grid) Quarter Ogrids can be used to block triangular shapes Seen as a Cgrid in one direction and an L-grid in another direction
6-22
Introduction to Hexa
O-Grid-Around Blocks
Training Manual
Select Around block(s) to create the O-grid around the selected blocks
Useful for creating wrap-around grid around a solid object Examples
Opposite order of creation from block around/O-grid inside Flow over a cylinder Boundary layer resolution around an airplane or car body
6-23
Introduction to Hexa
Scaling O-Grid
Training Manual
6-24
Introduction to Hexa
Why O-Grid?
Training Manual
Before O-grid
This mesh can be improved by using an O-grid An example of bad mesh in the block corners
Right mouse click on the histogram to access options like show, replot, or done
6-25
Introduction to Hexa
Workshop 3
3D Pipe Junction
Import existing block Create an Ogrid
Training Manual
6-26
Introduction to Hexa
Index Scheme
All blocks and vertices are defined with a global index scheme
Training Manual
Initial block has i,j,k indices aligned with Cartesian x,y,z, global coordinates Subsequent blocks created by the split operation will maintain that orientation O-grids will not conform to this orientation, so each O-grid creates a new index direction (O3, O4, etc) (i,j,k correspond to dimension 0,1,2) Vertex Indices can be displayed by right clicking on Vertices > Indices in the model tree
i=1 j=2 grid3=1 k=4 O-
1 2 4 3:1
6-27
Introduction to Hexa
Training Manual
6-28
Introduction to Hexa
VORFN Part
A region of blocks called VORFN surrounds the blocking
Training Manual
The reserved part name VORFN is created in the model tree when blocking is initialized It is used to maintain the global index scheme Indices begin at 0 (in VORFN region) Deleting blocks normally just changes the part to VORFN
Blocks can be moved back out of VORFN to another part
Deleting blocks permanently gets rid of the block and rebuilds VORFN as an O-grid
6-29
Introduction to Hexa
Training Manual
Splits and O-grids can be deleted by using Merge vertices > propagate Select two vertices at the ends of an edge running in the direction you want to delete Middle click, then Confirm The second vertex merges to the first vertex when Merge to average is off, and the merge will be propagated If deleting an O-grid, only select the vertices of one radial edge
Deleting a split
Deleting an O-grid
1 2 2 1
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
6-30
Introduction to Hexa
Extrude Face
Training Manual
Select block face (select face or use two corner method) Interactive
Drag with the pointer
2 corner method
6-31
Introduction to Hexa
Training Manual
#1
#2
#3
#4
#5
6-32
Introduction to Hexa
Training Manual
#1
#2
#3
#4
#5
#6
Extrude 1
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
Extrude 2 6-33
Associate
July 2009 Inventory #002663
Introduction to Hexa
Topology
What is common in these?
Training Manual
6-34
Introduction to Hexa
Topology
All these parts have same topology
Blocking strategy for all pipes are similar. Single block with ogrid One difference is of number of split in initialized block to capture the geometry.
Training Manual
splits
Introduction to Hexa
Topology
Helical pipe
This geometry has same topology. Select Block > Extrude Face(s) Instead of splitting single block it is easy to create blocks by Extrude Along Curve. Create single block at one end of geometry Select face and middle click Select mid curve Select End Point on curve Set number of layers Click Apply
Training Manual
#1
#2
#3 #4 #5 #6
#7
6-36
Introduction to Hexa
Workshop 4
Elbow Geometry
Import existing block Create an Ogrid
Training Manual
6-37