Professional Documents
Culture Documents
Gambit 2.2 Tips & Tricks: Thomas Scheidegger June 8, 2004
Gambit 2.2 Tips & Tricks: Thomas Scheidegger June 8, 2004
1 / 75
Outline
2 / 75
3 / 75
Geometry
Mesh
Faceted Geometry
ACIS (R12)
I-DEAS UNV
I-DEAS FTL
Parasolid (v15.0)
FLUENT/TGRID
STL
Catia V4
CGNS (v2.0)
VRML
STEP (AP203/214)
PLOT3D (formatted)
Optegra visualizer
IGES
ANSYS
PATRAN
Geometry (Faceted)
NASTRAN
Geometry (Real/Virtual)
Geometry (Faceted)
4 / 75
Checking Connectivity
5 / 75
Checking Connectivity
Color by entity
Color by connectivity
6 / 75
Geometry not C1 or G1
7 / 75
Tolerant Modeling
Tolerant Modeling
Maximum tolerance
0.0001
0.001
0.01
0.1
1.0
Stitch faces
Repair geometry
Heals inaccuracies in model
10 / 75
11 / 75
Heal model
globally during geometry import
all entities can be connected
no control over heal options
12 / 75
Face
smoothing
13 / 75
15 / 75
17 / 75
Non-coplanar edges
Any 3 or 4 sided non-planar loop can be stitched into real face
Loops with 5 or more non-planar edges can be stitched into real face if
Edge loop is convex
Edges dont turn excessively
New planar tolerant real face creation in Gambit 2.2 for non-coplanar
edge loops
18 / 75
19 / 75
20 / 75
Single volume
Searches automatically for missing (connected) faces
Builds smallest possible volume from selected faces
Multiple volumes
Builds volumes for each watertight set of faces found
Discards extra faces not belonging to a closed set
21 / 75
Intersection/Subtraction option
Intersect A with B while retaining A
Subtract the result (intersection) from A while retaining the tool
Connect before meshing
22 / 75
Global imprinting
GEOMETRY.VOLUME.BOOLEAN_METHOD = 0
Local imprinting
GEOMETRY.VOLUME.BOOLEAN_METHOD = 1
23 / 75
Virtual Geometry
Overlay technology
Tool of choice to clean-up and simplify imported geometry
Needed when tolerant modeling and healing/smoothing are not
sufficient
Modifies size and shape of boundary surfaces while being
constrained by underlying host geometry definition
Represents same geometry but different topology
Can be derived from real, virtual, or faceted geometry
25 / 75
Clean Up Cracks
Clean Up Sharp Angles
Clean Up Large Angles
Clean Up Small Faces
Clean Up Hard Edges
Clean Up Fillets
Clean Up Duplicate Geometry in Gambit 2.2
27 / 75
Centroid based
Less accurate, but helpful in detecting duplicate
faces with different lower topology
28 / 75
29 / 75
30 / 75
31 / 75
GEOMETRY.EDGE.CONNECT_REMOVE_DEGENERATE_FACE = 1
33 / 75
34 / 75
35 / 75
36 / 75
Face splits by
Face (Virtual)
Set GEOMETRY.FACE.VIRTUAL_FACE_FACE_SPLIT to 1 in defaults
Bi-directional option
Try exporting surface meshes and splitting imported faceted faces if virtual face
split fails
Edges (Virtual)
Endpoints of splitting edge need to be connected to edges of face
Tolerance for edge proximity to face
Vertices (Virtual)
Tolerance option for vertex proximity to face
Can produce dangling edges
Shaped edge option
Locations (Virtual)
Locations snap to edges near boundaries
Manually drag and position temporary Locations
Shaped edge option
37 / 75
Volume splits by
Faces (Virtual)
All split tool faces must be connected together
Must share boundary edges with volume boundary
If volume split fails (rarely), make volume invisible (keep lower topology
visible) and stitch together desired volumes
Locations (Virtual)
Easy tool to split virtual volumes
Manually drag and position temporary Locations
Splitting volumes with voids not supported
38 / 75
39 / 75
40 / 75
Meshing Tools
Size Functions
Boundary Layers
Miscellaneous meshing tools
Meshing tips
41 / 75
Size Functions
42 / 75
Fixed
Controls mesh element size in a region as a function of distance
from a given location
Curvature
Controls mesh element size as a function of geometric curvature of
a face or edge and growth of mesh away from source
Good for highly curved surfaces or edges
Proximity
Controls the number of of mesh elements in a gap (edge gaps and
face gaps) and growth of mesh away from gap
Meshed
Uses existing mesh as initial size on source entity
New Size Function type in Gambit 2.2
43 / 75
Component sources
44 / 75
Attachment face
Parameter specification
Start size
Mesh element size at source
Growth rate
Geometric stretching of mesh away from source
Cannot be less than 1.0
Size limit
Maximum allowable mesh size for attachment
No further growth if size limit is reached
45 / 75
Source specification
Curvature of source entities (edges, faces) used
to determine start size
No Size Function
Parameter specification
Angle
Maximum allowable angle between any two
adjacent face normals on source
5-30 degrees is reasonable value
Growth rate
Size limit
Edges as source entities
new in Gambit 2.2
46 / 75
Source specification
Source entities which contain gap
Cells/gap
Minimum number of mesh cells in gap
Growth rate
Size limit
47 / 75
Parameter specification
Only growth rate and size limit are required
48 / 75
Background Grid
49 / 75
Background Grid
Underresolved BGRID
Resolved BGRID
50 / 75
51 / 75
52 / 75
Boundary Layers
53 / 75
2D Boundary Layers
E
E
E
S
Wedge corner shape option for corner (C) and reversal (R) vertices
Wedge corner shape applies to 2D BL only
Can be combined with Cooper tool for quasi-3D BL
Wedge corner shape off
54 / 75
3D Boundary Layers
Internal continuity
Allows boundary layers to be formed without
crossover region
Internal continuity on
Default MESH.BLAYER.PROJECT_ADJACENT_ANGLE
removed in Gambit 2.2
55 / 75
3D Boundary Layers
Different 3D BL settings allowed on
adjacent surfaces in Gambit 2.2
56 / 75
Gambit 2.2
Consistent for 2D BL and 3D BL
Can grow many layers with good quality
57 / 75
Gambit 2.2
HEIGHT_TRANSIT_RATIO consistent for
2D and 3D BL
58 / 75
Offset Smoothing
Eliminates dips in the advancing layers
OFFSET_SMOOTH_ITER (default = 0)
OFFSET_SMOOTH_CONVERGED (default = 0.01)
59 / 75
60 / 75
Meshing of Periodic BC
Export mesh
Fluent 6 correctly recognizes node pairing of
periodic boundary conditions
Default periodic type is translational in Fluent 6
61 / 75
62 / 75
Meshing Tips
Meshing Tips
64 / 75
Meshing Tips
65 / 75
Meshing Tips
66 / 75
Meshing Tips
Mesh delete
Delete volume or face mesh using Remove unused
lower mesh removes edge mesh, but does not reset
assigned edge grading and spacing
Delete edge mesh without using Reset to default values
deletes the edge mesh, but retain the assigned grading
and spacing
Reset to default values restores the default spacing
specified in
MESH.INTERVAL.COUNT
MESH.INTERVAL.SIZE
67 / 75
Mesh Export
68 / 75
69 / 75
GEOMETRY.EDGE.MAX_NUM_FACETS = 500
GEOMETRY.TOLERANCE.EDGE_FACET = 0.000001
70 / 75
1 color by type
71 / 75
Picking Entities
Journal Files
73 / 75
74 / 75
Summary
GAMBIT continues to improve pre-processing
efficiency
Improved robustness and speed
Improved real geometry tools
Extended automatic clean-up
Improved meshing tools
Go try this at home.
Thank You!
75 / 75