Lecture 4 Volume Meshing: Introduction To ANSYS Icem CFD
Lecture 4 Volume Meshing: Introduction To ANSYS Icem CFD
Lecture 4 Volume Meshing: Introduction To ANSYS Icem CFD
4
Volume Meshing
14. 0 Release
Introduction to ANSYS
ICEM CFD
1 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Introduction to Volume Meshing
• To automatically create 3D elements to fill
volumetric domain
– Generally termed “unstructured”
• Mainly tetra
– Full 3D analysis
• Where 2D approximations don’t tell the full
story
– Internal/External flow simulation
– Structural solid modeling
– Thermal stress
– Many more!
• Standard procedures
– Start from just geometry – Start from existing shell mesh – Both geometry and
• Octree tetra • Delauney/T-grid shell mesh
– Robust – Quick • Octree tetra
– Walk over features • Advancing Front – Portions of
• Cartesian model already
– Smoother gradients, size
– Fastest meshed
transition
• Have to set sizes – Set sizes on rest
• Hex Core
• Hex Dominant – Prism layers
2 © 2011 ANSYS, Inc. March 21, 2012
• “Prism” Release 14.0
General Procedure • Load/create surface mesh
• First decide volume mesh • Set mesh sizes – As in Shell Meshing chapter
parameters – Globally – For Delauney, Advancing Front,
ANSYS TGrid, Hex‐Dominant
– Global Mesh Setup > • As in Shell Meshing
Volume Meshing – Locally • Either of these types run
Parameters from geometry will
• Part/Surface/Curve Mesh automatically create surface
– Select Mesh Type Setup mesh using global and local
– Select Mesh Method for • As in Shell Meshing Shell Mesh settings without
selected Type
• For From geometry: any user input/editing
– Set options for specific
– Octree • If in doubt, run Shell Mesh
Methods
– Cartesian first, then from existing mesh
• Define volumetric region
– Typically for octree on
complex models
– Multiple volumes possible • Compute Mesh
– Mesh > Compute
• Define density regions Mesh > Volume Mesh
(optional)
• Applying mesh size • Compute Prism (optional)
within volume – As separate process
where geometry
doesn’t exist – Also option to run automatically
following tetra creation
• Define Volumetric Domain
– Optional
• Recommended for complex geometries
• Or multiple volumes
– Geometry ‐> Create Body
– Material Point
• Centroid of 2 points
– Select any two locations whose mid‐point is within volume
– Preferred, because more robust than By Topology method
• At specified point
– Define volume region at a “point” within volume
– By Topology
• Defines volume region by set of closed surfaces
• Must first Build Diagnostic Topology to determine connectivity
– Will fail if gaps/holes in body
• Entire model
– Automatically define all volumes
• Selected surfaces
4 © 2011 ANSYS, Inc. March 21, 2012 – User selects surfaces that form a closed volume Release 14.0
Mesh Types
• Tetra/mixed Pure tetra
– Most used type
– Pure tetra
– With prism layers
• Prisms from tri surface mesh
• Hexas from quad surface mesh
• Tetra and/or hex core filling interior
• Pyramids to cap off any quad faces from
prism sides, hex core, or hex prism layers
Tetra/Prism
– With hex core
• Available in Cartesian type too
• Hexa filling majority volume
• Tetra (from Delauney algorithm) used to fill
between surface or top of prism layers and
hex core
• Pyramids to make conformal between tetra
and hex quad faces Tetra/Prism/Hexcore
– Hybrid mesh can be created by merging
with a structured hex mesh
• Cartesian
– Methods available in Cartesian
– Staircase
– Body fitted
– Hexa-Core
– Automatic pure Hexa
– Rectilinear mesh
– Fastest method for creating volume mesh
– Not covered in detail here
6 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Mesh Methods ‐ Octree
• Type ‐ Tetra/Mixed
– Method ‐ Robust (Octree)
• Same as Shell Meshing > Patch Independent
– Retains volumetric tetras
• Good choice for complex and/or dirty geometry
• Good if you don’t want to spend too much time with
geometry cleanup
• Good if you don’t want to spend too much time with
detailed shell meshing
• Good if you don’t want to spend time defeaturing geometry
• Just set appropriate mesh sizes on geometry
– Global sizes (max size, curvature/proximity based)
– By parts (part mesh setup spreadsheet)
– Surfaces
– Curves
– Review Shell Meshing chapter
•Part/Surface/Curve Mesh Setup
Sliver ignored
Geometry
Mesh
Flood fill
Material
point
•User defined
volumes kept
•ORFN region
is discarded
10 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Tetra Process, Cont’d
• Smooth
– Octree mesh is initially composed of regular right angle
tetras
– Smoother can be set to run to improve quality
– Or run afterwards:
Edit Mesh ‐> Smooth Mesh Globally
Prescribed size
is adequate here Auto subdivision
at tighter radius
of curvature
> 0.2
Split edge
• Setup Options:
– Delaunay Scheme
• Standard: Delaunay scheme with a skewness-based refinement
• TGlib: TGrid Delaunay volume grid generation algorithm that
utilizes a more gradual transition rate near the surface and faster
towards the interior
– Use AF: TGrid Advancing Front Delaunay algorithm which has smoother
transitions than the pure Delaunay algorithm.
– Memory Scaling Factor: To allocate more memory than originally
– Spacing Scaling Factor: Growth ratio from surface (1 – 1.5 typically)
– Fill holes in volume mesh: Use to fill holes/voids in existing volume
mesh . E.g. if bad quality region is deleted
– Mesh internal domains: For multiple sets of closed volumes in one model
– Flood fill after completion: For multiple volumes – Will assign tetras
within closed volume to Part designated by Body or Material Point
– Verbose output: For troubleshooting
21 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Mesh Methods – Advancing Front
• Type ‐ Tetra/Mixed
– Method ‐ Smooth (Advancing Front)
• Same as Quick (Delauney) but
• Uses advancing front method that marches tetras from surface into interior
• Algorithm from GE/CFX
• Results in more gradual change in element size
– “Better” but finer mesh, more elements than Delaunay
– Elements grow slowly for first few layers from surface, then growth rate increases into volume more
– Input surface mesh has to be of fairly high quality
• Setup Options: Do Proximity Checking
– Check to properly fill small gaps
– Longer run time
• Can create pyramids from quads
– Quads need to be a 10 aspect ratio or less
– Delaunay can handle much higher quad aspect ratios
• Respects densities
22 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Mesh Methods – ANSYS TGrid
• Tetra/Mixed
– ANSYS TGrid
• Runs Tgrid through an extension module
• Good mesh quality
• Fast mesh generation
• Setup Options:
• Flood fill after completion: Same as octree Flood fill
• Verbose output: This option writes more messages to
help in debugging any potential problem
• Will not respect densities
• Will not mesh to quads. It converts them to triangles
• Similar to Advancing Front, but does not group elements as
close near surface
23 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Compute Mesh – Delaunay, Adv. Front, TGrid
• Run Options:
– Similar options as octree except cannot mesh to part geometry
and part mesh (option: Use existing mesh parts)
– Create Prism Layers available for both
– Hexa‐Core not available for Advancing Front, ANSYS TGrid
– Volume Part Name
• For newly created tetras
• Can choose Inherited to use material
– Input
• All Geometry
– Will run shell mesh first with no user input/editing
– Using parameters from Model/Part/Surface/Curve Mesh Setup
– Review Shell Meshing chapter
– If doubtful as to shell mesh quality, run Shell Mesh first, then
use Existing Mesh
• Existing Mesh
– Most common method. Surfaces already meshed
• Part by Part
– Meshes each part separately. Nodes are not connected
• From File
– Saves memory. Surface mesh does not need to be loaded
24 © 2011 ANSYS, Inc. March 21, 2012 Release 14.0
Comparison
Adv.front
Octree
ANSYS TGrid
Delauney
Tip: Placing
material point
close to mid-plane
makes tetra
octree obey
periodictiy easier
Workshop 4.2 – Valve Model
• Build diagnostic topology
• Create parts, Create body
• Set sizes – Global, Surface, Curves, density
• Octree mesh
Workshop 4.3 – Body Fitted Cartesian
• Import Design Modeler file into ICEM
• Create Parts from Subsets
• Global, Part mesh set up
• Using ANSYS ICEM CFD Hexa to create a Cartesian initial grid with biasing
• Computing the mesh
• Viewing cut‐planes