CFD-Intro 14.0 L-04 Introduction To Ansys Meshing
CFD-Intro 14.0 L-04 Introduction To Ansys Meshing
Introduction to ANSYS
14.0 CFD
1 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Preprocessing Workflow
Geometry Creation
Geometry
OR Meshing Solver
Operations
Geometry Import
Outline Graphics
Window
Details
View
Message
Window
Status/Info
Bar Units Bar
6 © 2011 ANSYS, Inc. April 25, 2012 Entity Details Bar Release 14.0
Outline
Multizone CutCell
Meshing Meshing
When to use?
• To merge together a number of small
(connected) faces/edges
• To simplify small features in the
model
• To simplify load abstraction for
mechanical analysis
• To create edge splits for better
control of the surface mesh control
Virtual cells modify topology
• Original CAD model remains
unchanged
• New faceted geometry is created
with virtual topology
Length = 1m Divisions = 10
14. 0 Release
Introduction to ANSYS
14.0 CFD
31 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Preprocessing Workflow
Geometry Creation
Geometry
OR Meshing Solver
Operations
Geometry Import
34 © 2011 ANSYS, Inc. April 25, 2012 Smart defaults ! Release 14.0
Global Mesh Controls (2)
Physics Based Settings
• Physics and Solver Preferences
Global Mesh Sizing Controls
• Relevance and Relevance Center
• Advanced Size Functions
• Smoothing and Transition
• Span Angle Center
• Curvature Normal Angle
• Proximity Accuracy and Cells Across Gap
Inflation
• Inflation Option, Inflation Algorithm
• Collision Avoidance
• Maximum Angle, Fillet Ratio, Smoothing
Assembly Meshing
• Activation of CutCell/Tetrahedrons Meshing
Patch Confirming Options
• Activation of Advancing Front Method
Advanced
• Shape Checking
• Element midside nodes
Defeaturing
• Pinch based
• Automatic Mesh Based
Statistics
• Mesh statistics, Quality criteria
35 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Global Mesh Controls (3)
Relevance Center
Coarse Medium Fine
• Five Options:
– Off. Unavailable for Assembly
Meshing
– Proximity and Curvature
– Curvature
– Proximity
– Fixed
ASF: Proximity & Curvature ASF: Fixed ASF: Fixed + Local Sizings
• Combines the effect of • Constant mesh size through • Mesh is refined locally due to
‘Proximity’ and ‘Curvature’ out sizing (on 2 edges for that
size function • No refinement due to example)
curvature or proximity in the • Elsewhere size is defined by
model Max (Face) Size
More computational time • Surface mesh is generated • Transition of cell size is
with specified Max Face defined by Growth Rate
Size
• Volume mesh is generated
with specified Max Size
Min Size
Mesh size:
GR = 1.1 : 1,263,297 cells
GR = 1.2 : 587,026 cells
GR = 1.3 : 392,061 cells
Fast Slow
Fine
Medium
Coarse
• Inflation layers can be generated from tri and quad surface mesh
• Can be combined with other meshing methods. Hexa Dominant
meshing method can not be inflated
• Variety of options to control the growth and quality of inflation
layers
Preview Inflation
is available only
with Pre Algorithm
Pre
• Surface mesh is inflated first, then rest of the volume mesh grows
• Default method for Patch Conforming Tetrahedrons
MultiZone Cutcell
Generates combination
of Pyramids and Tets
to fill the stair step
53 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Inflation : Collision Avoidance Example
Example
14. 0 Release
Introduction to ANSYS
14.0 CFD
61 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Preprocessing Workflow
Geometry Creation
Geometry
OR Meshing Solver
Operations
Geometry Import
Only Sizing and Inflation local controls are The latest control added on a particular entity
available for CutCell meshing overrides any prior controls
Sizing Type:
Number of Divisions
• Bias Factor: is the ratio of the largest element to the smallest element
Influenced by global
Proximity advanced
Soft size function.
Edge curvature is
resolved
Without Without
body sizing body sizing
Without BOIs
E E
E E E S
E
E
E E
E S
E
E EE E
Matching face
mesh
Selected Faces
for Match control
Matching face
mesh
14. 0 Release
Introduction to ANSYS
14.0 CFD
84 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Preprocessing Workflow
Geometry Creation
Geometry
OR Meshing Solver
Operations
Geometry Import
Mesh 1
VzMIN≈-90ft/min
VzMAX≈600ft/min
VzMIN≈-100ft/min
VzMAX≈400ft/min
DP 0 DP 1 DP 2 DP 3 DP 4
Nb Cells 500 3 000 24 000 190 000 1.5 M
x8
DP 0 DP 3
2%
max
max e e min
Skewness = max ,
180 e e min
Recommendation:
• Expansion Factor in CFX Good: 1.0 < σ < 1.5
– Checked during mesh import Fair: 1.5 < σ < 2.5
– Ratio of largest to smallest element volumes Poor: σ > 5 … 20
surrounding a node
For large meshes, it is advisable to switch to geometry mode (click on geometry in the
Tree Outline), create the section plane and then go back to mesh model
103 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Mesh Quality Check for CFX
The CFX solver calculates 3 important measures of mesh
quality at the start of a run and updates them each time the
mesh is deformed
• Mesh Orthogonality
• Aspect Ratio
• Expansion Factor
+--------------------------------------------------------------------+
| Mesh Statistics |
+--------------------------------------------------------------------+
Domain Name: Air Duct
Good
Minimum Orthogonality Angle [degrees] = 20.4 ok (OK)
Maximum Aspect Ratio = 13.5 OK
Maximum Mesh Expansion Factor = 700.4 !
Domain Name: Water Pipe
Minimum Orthogonality Angle [degrees] = 32.8 ok
Acceptable
Maximum Aspect Ratio = 6.4 OK (ok)
Maximum Mesh Expansion Factor = 73.5 !
Global Mesh Quality Statistics :
Minimum Orthogonality Angle [degrees] = 20.4 ok Questionable
Maximum Aspect Ratio = 13.5 OK
Maximum Mesh Expansion Factor = 700.4 ! (!)
Creates VT automatically
Creates VT manually
108 © 2011 ANSYS, Inc. April 25, 2012 Release 14.0
Automatic Virtual Topology
Automatically creating Virtual Faces
• Left Click Virtual Topology in Model Tree
• Set Behaviour in Details
– Controls aggressiveness of automatic VT algorithm
– Low: merges only the worst faces (and edges)
– Medium & High: try to merge more faces
• Select if Face Edges shall be merged
• Right Click Virtual Topology and click Generate Virtual
Cells
Automated
Manual