Beruflich Dokumente
Kultur Dokumente
14.5 Release
Introduction
To grow a high quality Tet or Hexcore volume mesh, Fluent Meshing needs as input a high quality, watertight boundary mesh Boundary modification tools exist to allow the user to arrive at such an input boundary mesh. Boundary Tools allow you to: Diagnose and locate problems with the boundary mesh Fix problems with the boundary mesh Improve and refine the boundary mesh
Agenda
Tools for macro repair i.e. at boundary level Tools for micro repair i.e. at node/facet level Refinement of surface meshes Manipulation of surface meshes
December 21, 2012
Agenda
Tools for macro repair i.e. at boundary level Tools for micro repair i.e. at node/facet level Manipulation of surface meshes
boundary operations
These terms include:
Face and Boundary zones
Edge zones
Free and multiply connected edges Mesh quality measures such as skewness Delaunay violations and Swapping
2011 ANSYS, Inc. December 21, 2012 5
Face zone
An edge zone refers to a group of edges of the mesh elements which form the defining features of the face zones
Can be based upon a sharp change in angle or the boundary between
Face Zones
Also called edge loops or feature lines Used for remeshing or imprinting operations among others
2011 ANSYS, Inc. December 21, 2012 6
Agenda
Tools for macro repair i.e. at boundary level Tools for micro repair i.e. at node/facet level Manipulation of surface meshes
High skewness faces in red, displayed with the full mesh, by selecting the All and Quality options and setting the Minimum skewness to 0.9
For a water tight boundary, the edges should be connected to two triangles or quadrilaterals. Can be due to holes in the mesh or zero thickness walls (baffles or fins)
Free nodes are the nodes bounding the free edges.
Faces with free edges (blue) will show the presence of holes or zero thickness geometry
Valid T-Junction
2011 ANSYS, Inc. December 21, 2012 10
Max tri skewness should be ~< 0.9 to get a valid tet mesh Max tri skewness should aim to be < 0.8 to get a good quality tet mesh with tet skewness < 0.9 In general, the further you drop tri max skew the better the quality of the tet mesh. E.g. Max skew < 0.5 would give excellent tet quality ~ < 0.8 skew and generally very good solver convergence
2011 ANSYS, Inc. December 21, 2012 11
12
Agenda
Tools for macro repair i.e. at boundary level Tools for micro repair i.e. at node/facet level Manipulation of surface meshes
13
User can choose to connect up non-free nodes also by deselecting only free nodes When nodes are poorly matched the aggressive Boundary -> Mesh -> Faceted Stitch command can be used
2011 ANSYS, Inc. December 21, 2012 14
Merge Nodes
Left and right faces of the cube are disconnected. There is a gap of 0.01 here so a node merge with a very small tolerance would not succeed.
2011 ANSYS, Inc. December 21, 2012 15
Faceted Stitch
Repair surfaces having internal cracks or very poorly mismatched facets using Faceted Stitch
Eliminate Delaunay violations by swapping Eliminate high skewness faces by smoothing Removing distortions in surface mesh by projecting face zones
2.
17
Mesh
Improve...
18
Angle above which smooth/swap/improve cannot occur. This will preserve critical features and disallow movement from geometry!
20
Boundary Smooth
Boundary Improve
Boundary Mesh Improve... Smooth allows you to improve the selected zones by smoothing. Max Angle specifies the maximum allowable angle between two
adjacent face normals.
21
SWAP
Many tools in Fluent Meshing automatically detect and remove Delaunay violations using edge swapping while preserving features
2011 ANSYS, Inc. December 21, 2012 22
Boundary Swap
Boundary Improve
Boundary Mesh Improve... Swap allows you to improve the selected zones by edge swapping. Skew reports the face with the
maximum skewness and the corresponding skewness value in the Fluent Meshing console.
23
24
Agenda
Tools for macro repair i.e. at boundary level Tools for micro repair i.e. at node/facet level Manipulation of surface meshes
26
Click on First -> Graphics will display a zoom on the face with the highest skewness (must be displayed in the Display -> Grid panel)
Next Skew will step to the face with the next highest skewness Reset Skew will reset the skewness value back to the highest skewness Mark allows you to cycle through any premarked faces instead of by quality
At each step the user can use any Operation available to fix the problem
2011 ANSYS, Inc. December 21, 2012 29
Ctrl + V : Move
Ctrl + W : Delete Without Confirm Ctrl + X : Position Filter Ctrl + Z : Zone Filter Ctrl + ~ : Collapse
*Advanced usage (tgsetvar! hole/separate-thread? #t) puts each patched surface into separate face zone (tgsetvar! hole/remesh? #t) remeshes new surfaces with CFD mesh
31
32
Agenda
Tools for macro repair i.e. at boundary level Tools for micro repair i.e. at node/facet level Manipulation of surface meshes
34
The groups will be added to the standard Face Zone Groups in all Boundary
Panels
Only the Face Zones in the groups will appear in all Boundary Panels
35
Boundary Separate
Two boxes in a single Boundary Zone
Box1
Box2
Change (Boundary Condition) type of zone (wall, inlet, outlet etc.) Copy zones Delete zones Merge zones, where master decided by
Alphabetical order Largest zone
Rename
Rename individual zones Change Prefix for multiple zones
Flip Normals:
Reverses direction for growing prisms/pyramids from the face zones
Translate List will print to the console information about the current selection including zone type, ID
number, # of elements, face types present (quad, tri or mixture)
2011 ANSYS, Inc. December 21, 2012 37
Zone Creation
Fluent Meshing has some useful tools to create simple geometries
Bounding box Plane surface Cylinder (includes frustrum and annular cap) Swept surface (from feature edges) Periodic
Traditional Workflow
New Workflow
38
Triangulate
The Triangulate Zones panel enables triangulation by splitting of quad zones
39
Tolerance sets the maximum distance between nodes for the operation.
Three operations are available:
Intersect: Intersect the boundaries that are touching each other but are non-conformal
with distance between them less than the Tolerance.
Join: Connect overlapping surfaces. Stitch: Connect two surfaces, at their free edges, by specifying required Tolerance value.
Other options:
Absolute tolerance
Default tolerance is relative based on local cell size
Intersect
Connects cylinders
Intersect
Before After
42
43
44
45
46
Summary
The boundary mesh generally determines success of volume mesh generation and resulting quality of volume mesh Boundary meshes may need to be repaired and improved before volume mesh generation
Fix Free nodes, large size changes, high skewness, etc
48
0 best
1 worst
49
Aspect Ratio Width to height ratio (convention in Tgrid flat cells have high AR, tall cells have low AR)
Squish Measures the non-orthogonality of a cell with respect to its faces.
Warp Applies only to quad elements and quantifies the deviation from a best-fit plane containing the element.
Dihedral Angle The angle between the planes at the apex of a pyramid or at the corners of a tetrahedron. Orthoskew Measure of the angle between the vector connecting the centroid of the cell to the centroid of the face and the face normal
2011 ANSYS, Inc. December 21, 2012 50
This tool is needed to connect surface meshes to volume meshes or other surface meshes. E.g. we have the ability to connect a structured hex mesh into a triangular surface mesh before filling the tri shell with unstructured mesh
Wrapper surface
51
2.
This forces the zone wrapper to conform to the specified edge loop. Note that sometimes edge loops may require separation to extract the portion you wish to imprint.
2011 ANSYS, Inc. December 21, 2012 52
/boundary/mark-face-proximity
Note: If there is gap between them, you can project one zone onto the other first.
53
Specify the Mesh Size using Edge Length Draw will allow you to preview the dimensions of the box graphically Click on Create to create the box.
2011 ANSYS, Inc. December 21, 2012 54
Edge Length specifies the size of the cells to be created for the cylindrical surface mesh.
Caps allows user to choose to create the circular end parts or not. For gap filling sometimes only curved surface is required. Preview allows you to preview graphically the cylinder to be created.
2011 ANSYS, Inc. December 21, 2012 55
Create Cylinder
Closing an annular narrow gap using Cylinder Panel
Easer to close annular region New option
3 arc +1 Height node
Click on Select nodes Pick three nodes on one circle Pick one node on the other Adjust Edge length Un-tick caps Include Objects Preview Create
56
57
Plugging holes or gaps in the model before wrapping or as a tool to cut symmetry plane Options using Axis Direction
Specify the axis normal to the plane Specify the Location and on the Axis. Compute will calculate the size of the plane based on selected face zones.
Common options
Edge length dictates the mesh size Draw will create a preview of the face Scale +/- can grow or shrink the face Click on Create to create the surface.
2011 ANSYS, Inc. December 21, 2012 58
59
Feature Modify
Feature Modify is used to extract and modify geometric features, i.e. the edge zones or edge loops, bounding the surface mesh. This is critical for meshing algorithms which create surfaces which must adhere to features i.e. surface remeshing, cutcell and surface wrapper Key Option:
Create: Extract the edge zones from face zones based on fixed angle (default 40 degree feature angle) or semiintelligent adaptive angle criteria.
Select Boundaries Choose option Create Choose Angle Criterion Hit Apply
December 21, 2012 60
Apply
Surface Retriangulation
Surface Retriangulation allows the user to remesh face zones using edge zones as a starting point.
1. Create feature lines or edge zones from selected face zones using Fixed or Adaptive angle. 2. Choose whether to invoke Advanced Size Functions to apply smoother growth rates and allow refinement by e.g. curvature and proximity. 3. Click Remesh to remesh a selected face zone
3.
1.
2.
Note that remeshed faces are new, disconnected face zones and nodes must be merged prior to volume meshing
61
Size Function Types Curvature: Specify Min, Max size, Max Angle between
normals and Growth Rate. (Can be applied to edge or face zones.) Proximity: As above except you specify the number of cells per gap instead of the max angle between normals. (Can be applied to edge or face zones.) Meshed: The size is determined from the mesh size on the geometry (not suitable for CAD STL). (Can be applied to edge or face zones.) Soft: Specify the Max size and the growth rate. The local size is allowed get smaller based on other size functions (e.g. curvature and proximity). (Can be applied to edge or face zones.) Hard: Specify a fixed min size for the zone. The local size fixed and is not allowed to get smaller or larger. (Can be applied to edge or face zones.) BOI (Body of Influence): Select a zone from the list of zones to serve as a body of influence. Defines the max size of cells within that volumetric region and acts as an arbitrarily shaped refinement region for capture of flow features such as turbulent wakes. (Can be applied to face zones, generally forming a closed volume).
2011 ANSYS, Inc. December 21, 2012 62
63
64
With ignore orientation OFF the remeshed surface is not refined along the groove length
With ignore orientation ON the remeshed surface is refined along the groove length
66
67
68
Other Options:
Remesh: Remesh edge zones as a precursor to remeshing the face zones. Project: project the edge zone onto another face zone. Intersect: Intersect overlapping edge zones.
69
Proximity-based Refinement
Zones which are close together can be refined by the proximity-based refinement using either the Refine Boundary Zones panel or the TUI command: /boundary/refine/auto-refine. This operation refines all adjacent faces in the same domain close to the refined zones. The TUI command provides more control of the refinement process: /boundary/refine/auto-refine
zone id/name [ ] 1
Iterations [5] Relative Distance [1]
70
This is useful for reducing gaps between nonconformal interfaces and for boundary mesh manipulations (project and retriangulate).
Methods:
Normal (Normal to a face zone) Direction (x,y,z)
71
By default any feature edges present when the above TUI command is used remain fixed i.e. Edges will not be remeshed and it is assumed the size functions set for remeshing surfaces agree with the edge mesh!
To invoke edge remeshing as well
(tgsetvar! 'surfer/implicit-edge-remesh? #t) to enable remesh edges (tgsetvar! 'surfer/implicit-edge-remesh? #f) to disable remesh edges NOTE: Adjacent boundary edge threads are not connected and after remeshing can have mis-matched nodes. A combination of large tolerance node-merge and faceted stitch can be used to work around this current limitation.
72
73
Separate by Angle of 90
74
Fluid zone 1
Fluid zone 2
Region : separates non-contiguous boundary face zones (i.e. zones that are split into two
or more isolated groups) into multiple zones
Because of free nodes
75
76
Seed triangle
77