Documente Academic
Documente Profesional
Documente Cultură
com
5-1
Meshing - General
To reduce overall mesh size, confine smaller cells to areas where they are needed
Locations of large flow field gradients. Locations of geometric details you wish to resolve.
Edge Meshing
Edge mesh distribution is controlled through the spacing and grading parameters on the Mesh Edges form.
Picking
Temporary graphics Links, Directions
Options
5-3
Edge Meshing
Sense
Sense is used to show direction of grading Every picked edge will show its sense direction using an arrow The sense can be reversed by a shift+middle-click on the last edge picked (this is in addition to the next functionality) or by clicking the Reverse button
Grading
Controls mesh density distribution along an edge. Grading can produce single-sided or double-sided mesh
Doubled-sided mesh can be symmetric or asymmetric.
Symmetric schemes produce symmetric mesh about edge center. Asymmetric schemes can produce asymmetric mesh about edge center.
Single-sided grading
Symmetric grading
Single-sided grading:
Uses a multiplicative constant, R, to describe the ratio of the length of two adjacent mesh elements:
Asymmetric grading
R can be a user-specified value (Successive Ratio) or calculated by GAMBIT. GAMBIT also uses edge length and spacing information to determine R.
5-5
5-6
Soft Links
Picking and soft links
Pick with links
By enabling this option, soft-linked edges can be selected in a single pick Linked edges share the same information and can be picked in a single pick
By default, GAMBIT will form links between unmeshed edges that are picked together By default, GAMBIT will maintain links between meshed edges that are picked together
5-7
Spacing
In all meshing forms, the following spacing functions can be specified:
Interval Count (recommended for edge mesh only)
Example Entering a value of 5 will create 5 intervals along the selected edge(s) (6 nodes, including end nodes)
Shortest Edge %
Meshes the selected edge according to a percentage of the length of the shortest edge in the model. Example Shortest edge in model has length of 1. Entering a value of 20 will create a mesh with interval size 0.2.
5-8
If disabled:
Use this setting any time you pick two or more meshed edges where there is a difference in type or spacing. The local Apply button for that option will be turned off This allows you to maintain pre-existing grading and/or spacing settings for each edge. Enforce a change in grading and/or spacing by enabling Apply button.
5-9
Meshing Options
Mesh
This option is useful in cases where you want to impose a scheme without prescribing the number of intervals The higher level meshing scheme will decide (and match) the intervals
3 Generate
face mesh.
Face Mesh Generated Using Quad Pave Scheme (Pave face meshing schemes require an even number of elements on edge meshes)
Face Meshing
Mesh Faces form
Upon picking a face:
GAMBIT automatically chooses quad elements GAMBIT chooses the type based on the solver/face
vertex types
5-12
Quad: Submap
Quad: Tri-Primitive
Quad: Pave
5-13
Quad/Tri Pave
Triangular cell Quad cells Triangular cell
Tri Pave
5-14
Alternatively, existing mesh can be deleted by selecting the Remove Old Mesh option
Remove old mesh alone will leave all lower topology mesh Remove old mesh + remove lower mesh will delete all lower topology mesh that is not shared with another entity
5-15
5-16
5-17
Manually
By direct modification in the Face Vertex Type form. Select Face
symbols appear in graphics window
Select New Vertex Type Select Vertices to be affected Vertex Types can be applied to just Boundary Layers as option.
A vertex can have multiple types; one for each associated face. For a given set of face vertex types, GAMBIT will choose which meshing scheme to use based on predefined formulae.
5-18
E S
5-19
(4 End ) + (n Side )
E S + E
E E
E E
Periodic Map n Side Project intervals can be specified for more control.
5-20
E E
2006 Fluent Inc.
Periodic Submap (n Side ) + m(End + Corner ) where m > 2. (additional terms when interior loops exist)
S C C C C
C C
E E
5-22
(3 End ) + (n Side )
S
E E
5-23
Quad/Tri: Pave
All vertex types are ignored except Trielement (T) and Notrielement (N) Trielement (T) will force a triangular element. Notrielement (N) will avoid a triangular element.
E C
Quad/Tri: Wedge
Used for creating cylindrical/polar type meshes The Vertex marked (T) is where rectangular elements are collapsed into triangles
N E
5-24
E
2006 Fluent Inc.
Hard Links
Mesh linked entities have identical mesh
Created for periodic boundary conditions Applicable to edge, face, and volume entities
Best to use soft links for edge meshing To link volume meshes, all faces must be hard linked first.
Meshing one of the faces either before or after hard linking will generate an identical mesh on the linked face.
Mesh Smoothing
Smoothing can increase mesh quality beyond that of the default meshing algorithms
Most noticable in complicated geometry. May have little or no effect in simple geometries.
Mesh smoothing algorithms adjust interior node locations to obtain marginal improvement in mesh quality. Boundary meshes are not altered.
The mesh at the boundary is not altered. Face and volume meshes are smoothed using a default scheme.
Range
View mesh elements within quality range. Histogram shows quality distribution. Show worst element zooms the view to the worst element
Display Mode Change cell display attributes Show Worst Element Automatically zooms the display to the worst element (based on current settings). Update button Will update values reported in the panel when options are changed.
5-27 2006 Fluent Inc.
The most important of these quality metrics are EquiAngle Skew and Size Change.
5-28
QEAS
max
max
min min
max = Largest angle in face or cell min = Smallest angle in face or cell e = Angle for equiangular face or cell
Quad/Hex e = 90o
Tri/Tet e = 60o
QSC = max[r1, r2 , K, rn ]
ri = Area or Volume of element i Area or Volume of neighbor element j
V j =2
V j =3
Vi
V j =1
V j =4
QSC = 0 describes an element whose neighbor elements have exactly the same volume as the element of interest (i.e. uniform mesh).
5-30
Minimize local variations in cell size, such as large jumps in size between adjacent cells. If Examine Mesh shows such violations:
Determine the reason(s) for the violations
Differences in spacing and grading on adjacent edges Geometry with small features or other defects Geometric complexity and size Mesh that grows too rapidly
Delete mesh completely or partially. Clean and/or decompose geometry, premesh edges and faces or adjust meshing parameters Remesh the domain.
5-31 2006 Fluent Inc.
Appendix
5-32
Quad/Hex
Q AR =
f is a scaling factor R and r are radii of circles (tri elements) or spheres (tet elements) that inscribe and circumscribe the mesh element. f = 1/2 for tri elements and f = 1/3 for tet elements.
ei is the average length of edges in a coordinate system local to the element. N is the number of coordinate directions associated with the element
N = 2 for quad elements N = 3 for hex elements
r
Inscribed circle
e1 = b
a+c 2
Circumscribed circle
5-33
e2 =
b+d 2
2006 Fluent Inc.
The di are the diagonals of the element. N is the total number of diagonals for a given element
N = 2 for quad elements N = 4 for hex elements.
d3
d1
d2
d1
d2
d4
5-34
The si are the edge lengths of the element. N is the total number of edges for the element of interest.
Tri N=3
Quad N=4
Tet N=6
Pyramid N=8
Wedge N=9
Hex N = 12
5-35
S is the area (2D) or volume (3D) of the element of interest. Seq is the maximum area (2D) or volume (3D) of an equilateral cell the circumscribing radius of which is identical to that of the mesh element.
Actual element Area = S 0 < QEVS < 1
Bisectors
5-37
di is the length of diagonal i sj is the length of the element edge j, n and m are the total numbers of diagonals and edges, respectively.
Quad elements: n = 2, m = 4, and K = 2; Hex elements: n = 4, m = 12, and K = 3.
5-38
T T2
T1 Corner node
Bisectors
Element edge
The Taper quality metric is defined as the normalized maximum of all such components for the element. By definition, 0 < QT < 1.
QT = 0 describes an equilateral element QT = 2 describes a degenerate element
Warpage
The Warpage (QW ) applies only to quad elements and is defined as follows:
QW = Z min[a, b]
Z is the deviation from a best-fit plane that contains the element a and b are the lengths of the line segments that bisect the edges of the element. Bisectors By definition, 0 < QW < 1
Element edge