Lecture 3: Geometry Description and Volume Meshing: ANSYS Fluent Getting Started
Lecture 3: Geometry Description and Volume Meshing: ANSYS Fluent Getting Started
Lecture 3: Geometry Description and Volume Meshing: ANSYS Fluent Getting Started
Release 2019 R1
1
Geometry to Mesh in Watertight Geometry Workflow
Describe
Import Switch to
Surface Mesh Geometry / Volume Mesh
Geometry Solution
Create Regions
This module
2
Part 1: Geometry Description
• Describe Geometry
‐ Capping surfaces
‐ Fluid-Fluid boundary types
‐ Share Topology task
• Regions
‐ Fluid/Solid/Dead
▪ Fluid region identification criteria
‐ Create Regions task
‐ Update Regions task
• Boundary-related Tasks
‐ Add Boundary Type
‐ Update Boundaries
‐ Setup Rotational Periodic Boundaries
3
Geometry Description and Region Creation
4
Geometry and Regions: Instructor Demo
Following slides are included for future reference, instructor will not present all slides
5
Only Solid Regions with Capping Surfaces
6
Capping Surfaces by Label
7
Labels for Capping Surfaces
• Named selections used to create labels for capping surfaces should not include "inlet" or
"outlet"
‐ Will result in conversion of solid regions to fluid
Incorrect
Correct
8
Capping Surfaces by Zone
9
Capping Surfaces Must be Closed
10
Additional Considerations for Capping Surfaces
11
Surface Caps
Inlet Outlet
12
Create Regions Task
13
Update Regions Task
• By default, all bodies are considered solid regions and all voids
are considered dead regions
• A region will be converted to a fluid if any of the following
criteria are satisfied
‐ Any meshed surface (including capping surfaces) forming a boundary of an
enclosed region is assigned a boundary type of inlet or outlet
‐ A body is named "*fluid*", "air*" or “*enclosure*"
▪ Or a named selection with these strings is assigned to the body
▪ Any regions sharing "internal" boundaries will change to fluid regions
15
Solid Region No Capping Surface
Solenoid Geometry
16
Apply Shared Topology Task
• It is recommended to perform shared topology in
SpaceClaim on all models before importing into Fluent
• However, in certain cases, that might not be possible
‐ For instance share topology fails, or SpaceClaim is not available
• In some cases, the Apply Share Topology workflow
task in Fluent can be used instead
‐ The share topology task is not a geometry repair tool – the CAD
geometry still has to be clean even though topology has not been
shared
• If a multibody part is imported without shared
topology, it will be detected by Fluent and an Apply
Shared Topology Task will be added in the workflow
after the surface mesh has been created
17
Apply Shared Topology Task
• Click Mark Gaps to visualize the areas that
will be shared
• Confirm that all shared surfaces have been
properly marked
‐ If necessary increase or Max Gap Distance and click
Mark Gaps again
‐ The Max Gap Distance should be no larger than
one-half of the value specified for the Minimum Size
in the Create Surface Mesh task
• Click Apply Share Topology when satisfied
• Successful topology share produces a
successful surface mesh
‐ Shared topology surfaces must be remeshed to
share a common mesh
18
Only Fluid Regions
20
Fluid and Solid Regions
1.
2.
3.
21
Fluid-Fluid Boundary Types
Upper: Fluid-fluid boundaries are walls. Flow cannot pass. Undesirable in this
example. Boundary layers reveal presence of walls
Lower: Fluid-fluid boundaries are internal. Flow can pass.
No BL mesh on internals
22
Labels at Fluid-Fluid Boundaries
• Images on previous slide apply when no named selection or label has been
assigned to the fluid-fluid boundary
‐ Type is automatically assigned by Fluent
• Care must be taken if named selections are to be applied to these boundaries
‐ For instance maybe it is desired to name these for later use in postprocessing
• Rules
‐ Use "internal" for beginning of names of any fluid-fluid interfaces that are not walls
or
‐ Set wall-to-internal option to "yes" in Describe Geometry task
23
Add Boundary Type
24
Rotational Periodic Boundaries
25
Part 2: Create Volume Mesh Task
26
Boundary Layer Settings
• Select Offset Method Type and enter Number of Layers
‐ Default Number Of Layers is 3
▪ Ok to ensure a few cells are aligned with surfaces or for models with
small gaps
▪ For cases with high accuracy requirements for boundary layer effects,
consider using 10-20 layers for high fidelity resolution
‐ Other inputs in the panel depend on choice of offset method
• Added to walls of all fluid regions**
‐ Imprinted on the faces of inlet, outlet, symmetry and internal
boundaries
• The same boundary layer settings are applied to all
fluid regions
‐ Advanced custom journal task can overcome this
• All cells have same first layer • All cells have same first layer
height height and same ratio of last
• Pros: control of 1st layer height prism
and consistent total height • Pros: control of 1st layer height
• Cons: can lead to problems with and smooth transition from prism
high or low aspect ratio cells to cell at b.l. edge
uniform last-ratio • Cons: growth rate varies to satisfy
other inputs
28
Volume Meshing: Review
29
Volume Meshing: Polyhedra
30
Volume Meshing: Poly-hexcore
In most cases, poly-hexcore uses less RAM during solve and achieves faster time to solution than
comparable standard hexcore or polyhedral meshes
31
Volume Meshing: Hexcore
*Additional Improve Volume Mesh task was required, initial quality was 0.01
32
Hexcore Parameters and Shape Transitions
33
Hexcore Growth in Volume
*Additional Improve Volume Mesh task was required, initial quality was 0.01
35
Summary: Volume Meshing of Arcjet
36
Volume Mesh Quality
37
Improve Volume Mesh Task
38
Parallel Meshing
• Parallel Meshing is supported in Fluent
for the following volume fill methods >11x
‐ Poly-Hexcore
‐ Tetrahedral
▪ Only prism layers are meshed in parallel with
tetrahedral
• The meshing effort is shared by multiple
processes operating simultaneously, e.g. >7x
in parallel
‐ Reduces the time needed to complete the mesh
compared to meshing with just one process
‐ Performance gains are higher for larger meshes
(several millions of cells or more)
▪ 5X to 11X speedup on industrial test cases >6x
39
Launching Parallel Meshing
40
Meshing in Parallel
• If volume fill method is poly-hexcore, or
tetrahedral, and Fluent was launched with
number of meshing processes > 1, Enable Parallel
Meshing will be activated
‐ Remember with the tetrahedral method, only the boundary
layer prisms are meshed in parallel
• It is recommended to add a BOI or body sizing
when using parallel meshing for poly-hexcore in
the watertight geometry workflow in 2019
Release 1
‐ This will ensure consistency between serial and parallel
meshing
or
‐ In later releases this will not be necessary
• For local sizing controls, try to maintain 2^N ratio
for the sizes with respect to the global min size,
especially for BOIs
‐ Standard practice for octree approaches
‐ Helps to ensure close match between size control value and
resulting mesh sizes
41
Switch to Solution
• Use GUI
• Or TUI
‐ switch-to-solution-mode
42
Summary: Describe Geometry and Related Tasks
43
Summary: Create Volume Mesh Task
44
Watertight Geometry Workflow Limitations**
45