Académique Documents
Professionnel Documents
Culture Documents
14.0Release
IntroductiontoANSYS Meshing
1 2011ANSYS,Inc. December27,2011 Release14.0
MeshingMethods
Whatyouwilllearnfromthispresentation
2011ANSYS,Inc.
December27,2011
Release14.0
PreprocessingWorkflow
GeometryCreation OR GeometryImport Geometry Operations Meshing Solver
3D Operations
Boolean, Body Operations, Split, etc
Meshing Methods
Hybrid Mesh: Tet, Prisms, Pyramids
2011ANSYS,Inc.
December27,2011
Release14.0
InsertingMethods
IntheOutline,rightclickMesh,Insert>Method
SelectbodyinDetailsView Or,intheGraphicsWindow,Selectbody(s),right click,Insert>Method BodyautomaticallyselectedinDetailsView
Methodisselectableusingthedropdownbox
Select,Automatic,Tetrahedrons,HexDominant, SweeporMultizone (Automaticisusedwhereno methodhasbeenexplicitlyspecified)
4 2011ANSYS,Inc. December27,2011 Release14.0
AutomaticMethod
2011ANSYS,Inc.
December27,2011
Release14.0
AutomaticMethod
MethodBehavior
CombinationofTetrahedronPatch
ConformingandSweepMethod Automaticallyidentifiessweepable bodiesandcreatessweepmesh Allnonsweepable bodiesmeshed usingtetrahedronmethod DetailsofTetrahedronPatch Conforming&Sweepinfollowing slides
Access
DefaultMethodwherenotspecified CanspecifybyinsertingMethodand
settingtoAutomatic
6 2011ANSYS,Inc. December27,2011 Release14.0
TetrahedronsMethod
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod
MethodBehavior
Generatestetrahedralelements twoalgorithmsare
available: PatchConforming PatchIndependent
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod:PatchConforming
Method&AlgorithmBehavior
Bottomupapproach:Meshingprocessstarts
fromedges,facesandthenvolume Allfacesandtheirboundariesarerespected (conformedto)andmeshed Goodforhighquality(clean)CADgeometries Sizingisdefinedbyglobaland/orlocalcontrols
Access
InsertMethodandsettoTetrahedrons
Additionaldropdownboxforalgorithmchoice appears SetPatchConforming PatchConformingMethodlistedinOutline underMeshobject
December27,2011 Release14.0
2011ANSYS,Inc.
TetrahedronsMethod:PatchIndependent
Method&AlgorithmBehavior
Topdownapproach:Volumemeshgenerated
firstandprojectedontofacesandedges Faces,edgesandverticesnotnecessarily conformedto Controlledbytoleranceandscopingof NamedSelection,loadorotherobject Goodforgrossdefeaturingofpoorquality (dirty)CADgeometries MethodDetailscontainsizingcontrols
Access
InsertMethodandsettoTetrahedrons
10
2011ANSYS,Inc.
TetrahedronsMethod:Algorithm Comparison
Geometry containing small details Patch Conforming: All geometric detail is captured Patch Independent: Can ignore and defeature geometry
11
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod:Control
PatchConforming
Sizing
MeshsizingforthePatchConformingalgorithm isdefinedbyGlobal&LocalControls Automaticrefinementbasedoncurvature and/orproximityaccessibleinGlobalControls DetailsofGlobal&LocalControlscoveredin separatelectures Choiceofsurfacemesher algorithminglobal controls
Proximity Curvature
12
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod:Control
PatchIndependent
Sizing
SizingforthePatchIndependentalgorithm definedinPatchIndependentDetails Automaticcurvature&proximity refinementoption
13
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod:Control
PatchIndependent
Defeaturing Control
SetMeshBasedDefeaturing On SetDefeaturing Tolerance AssignNamedSelectionsto selectivelypreservegeometry
NamedSelectionassigned andDefeaturing Tolerance =0.03m.Features>0.03m respected.
Defeaturing ToleranceOff
14
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod:Inflation
AlsoreferredtoasPrism/BoundaryLayers
Usedto:
Resolvehighgradientsofflowvariablesandphysics complexitiesinclosevicinityofwallsforCFDanalysis ResolvethinairgapsinElectromagneticanalysis Resolveregionsofhighstressconcentrationsin Mechanicalanalysis
Inflation preview
CompatiblewithbothPatchConformingandPatch
Independenttetrahedronmeshingmethods InflationlayerscanbegeneratedfromTriandQuad surfacemesh InflationcanbeappliedusingGlobaland/orLocal controls
Tet + Prisms
15 2011ANSYS,Inc. December27,2011 Release14.0
TetrahedronsMethod:Application Examples
PatchConforming PatchIndependent
CleanCAD,accuratesurfacemesh
DirtyCAD,defeatured surfacemesh
16
2011ANSYS,Inc.
December27,2011
Release14.0
HexMeshing
17
2011ANSYS,Inc.
December27,2011
Release14.0
Introduction
Tet Mesh
HexMeshing
Elements: 48K
Reducedelementcount
Fasterconvergence Elementsalignedindirectionofflow ImprovedAccuracy Reducednumericalerror
Sweep Mesh Elements: 19K
MethodsAvailable
Cleangeometry
Interoperabilitybetweenmethods
18 2011ANSYS,Inc. December27,2011 Release14.0
SweepMeshing
MethodBehavior
SweepPath
Meshessourcesurface,sweepsthroughtothe
target Generateshex/wedgeelements SideFace(s) Bodymusthavetopologicallyidenticalfaceson TargetFace SourceFace twoends,(whichactassourceandtarget faces) Sidefacesmustbemappable Onlyonesourceandonetargetfaceisallowed AlternativeThinsweepmethodcanhave multiplesourceandtargetfaces covered later
Access
InsertMethodandsettoSweep
19 2011ANSYS,Inc. December27,2011 Release14.0
SweepMeshing
Source/Target(Src/Trg Selection)
Automatic
ANSYSMeshingautomaticallyfindssourceand target ManualSource&ManualSourceandTarget Userselection(requiredforinflation) AutomaticThin&ManualThin Multiplesourceandtargetfaces
Sweep Direction
20 2011ANSYS,Inc. December27,2011
Source Face
Target Face
Release14.0
SweepMeshing
Src/Trg SelectionBehaviour
Automaticselectionrequires
thattheapplicationfindthe SourceandTarget.Specifying bothSource&Targetwill acceleratemeshing
Automatic Selection Sweep Mesh No inflation
Inflation
MustspecifyatleastSource manuallywhenusing Inflation&SweepMethod Sourcesurfaceedgesare inflatedthensweptthrough volume,sourcemust thereforebespecifiedfirst
21 2011ANSYS,Inc. December27,2011
Manual Selection
SweepMeshing
RotationalSweeping
Sweepmeshescanalsobe
createdbysweepingaSource aroundanaxis Example:Src/Trg Selection Rotationalsweepforsector geometry Rotationalsweepingrequires bothSource&Targettobe selected
Target Face Source Face
Forbothrotationalandaxial
sweepingSource&Targetfaces arecolour codedwhenselected
Sweep Path
Manual Source & Target Selection Sweep Mesh: Wedge and Hex elements
22
2011ANSYS,Inc.
December27,2011
Release14.0
SweepMeshing
Src/Trg Selection:AutomaticThin &ManualThin
Selectsanalternatesweep
algorithm Advantages Capableofsweepingmultiple Source&Targets Canperformsomeautomatic defeaturing Disadvantages ForMultibody Partsonlyone divisionacrossthesweepis allowed Inflation&SweepBiasnot allowed
December27,2011
Source Faces
Target
23
2011ANSYS,Inc.
SweepMeshing
HowtoIdentifySweepable bodies
ANSYSMeshingcanidentifysweepable bodiesautomatically
RotationalSweepbodiesarenotidentified Righ clickMeshobjectinOutlineandselectShow>Sweepable Bodies
Geometry
24 2011ANSYS,Inc. December27,2011
SweepMeshing
HowtoEnsureBodiesareSweepable
Bodieswhichwillnotallowsweepingcanbedecomposedintoanumber
oftopologicallysimplersweepable bodies DecompositioncanbeperformedinCAD/DM Example1
Unsweepable body
25
2011ANSYS,Inc.
December27,2011
Release14.0
SweepMeshing
Example2
T Junction Geometry Unsweepable
26
2011ANSYS,Inc.
December27,2011
Release14.0
MultiZoneMeshing
MethodBehavior
BasedonblockingapproachusedinANSYSICEM
CFDHexa Automaticallydecomposesgeometry Usesstructured& unstructuredblocks Generatesstructuredhexmeshwherepossible, fillsremainingregionwithunstructuredmesh. Canhavemultiplesourceandtargetfaces Canselectsource&targetfacesautomatically ormanually BlockwillbemeshedbyHexa orTetra dependingontheMeshType(struct /free) CompatiblewithProgramControlledinflation
MultiZone Mesh
Access
InsertMethodandsettoMultizone
27 2011ANSYS,Inc. December27,2011 Release14.0
MultiZone Meshing
Example1
28
2011ANSYS,Inc.
December27,2011
Release14.0
MultiZoneMeshing
Example2
Blendoncentralbody,Multizone longerabletocreate
structuredregion UnstructuredregionreferredtoasFreeMesh SpecifyTypeofFreeMesh Tetra,Hexa Core,Hexa Dominant CanspecifytypeofsurfacemeshusingMapped MeshType(Hexa,Hexa/Prism,Prism)
29
2011ANSYS,Inc.
December27,2011
AssemblyMeshing
30
2011ANSYS,Inc.
December27,2011
Release14.0
AssemblyMeshing
MethodBehavior
Meshesanentiremodelassingle
process Methodscoveredsofararepartor bodybasedmethods TwoAlgorithms CutCell &Tetrahedrons Physics&SolvermustbeCFD& FLUENTrespectively
Access
Activatedbyselecting
CutCell/Tetrahedronsunder AssemblyMeshingMethod
31
2011ANSYS,Inc.
December27,2011
Release14.0
AssemblyMeshing
Controls
Physics/SolversettoCFD/Fluent SetAdvancedSizeFunctions
Edgeproximitysourcesaccessible InflationdefinedbyGlobalorLocalcontrols CombinedGlobal&Localnotsupported CutCell Meshingcontrols FeatureCapture(ProgramControlled=40) Usedropdownboxtospecifysmallerangle tocapturemorefeatures,0tocaptureall. Tessellation(faceting)refinement Applyanyrequiredlocalsizecontrols Statistics UseOrthogonalQuality
December27,2011 Release14.0
32
2011ANSYS,Inc.
AssemblyMeshing:Characteristics
CutCell MeshingCharacteristics
Createsahighfractionofhexandprismatic
cells Patchindependent: EliminatestheneedforpinchcontrolandVT operations,toleratesoverlappingbodies. Createsconformalmeshesacrosspartsin contact Eliminatestheneedformultibodypart generationinCAD Operatesonparts,multibodyparts,etc.with newoptiontodefinevirtualbodies Abilitytocreateflowvolumesfrom aclosedsetofbodies(sheetorsolid) EliminatestheneedforBoolean/Fill operationsinCAD
December27,2011 Release14.0
33
2011ANSYS,Inc.
AssemblyMeshing
VirtualBodies Example
Useofvirtualbody(materialpoint)toextractaflowregiondirectlyfromCAD
Material point
34
2011ANSYS,Inc.
December27,2011
Release14.0
AssemblyMeshing:FlowVolumeExtraction
UsingVirtualBodies
Material Point
1. DefineanewCoordinateSystem 2. 3.
insidetheFluidVoid InsertaVirtualBody AssigntheCoordinateSystemtothe MaterialPointinthedetailsofthe VirtualBody
3 1
35 2011ANSYS,Inc. December27,2011 Release14.0
AssemblyMeshing Limitations
Cannotbeusedincombinationwith
otherMeshingMethods Featurerecoverylimitations Sharptrailingedgesandacute edgeswillproduceajaggedmesh Recoveringsomefeaturesmight leadtobadquality Priortomeshingtheuserisadvised toresolvegeometryfeatures properlyCAD/DM Avoidunnecessarygeometry details Minsizeshouldbeofsmallest3D feature,checkandadjustif required.
December27,2011
Interoperability
NeitherBodyorSurfaceof Influencearesupported Inflationnotsupportedonbaffles orinternalwalls Ignoredsymmetryconditionfor meshing FailureintheCutCell meshing algorithmisalmostalwaysrelatedto facetingissuesinrelationtothe valueofMinSize.Makesurethatthe valueofMinSizetrulyrepresentsthe smallestsizethatyouwantthe curvatureandproximitysizefunction tocapture. MoreonAssemblyMeshinginthe GlobalMeshControlsLecture.
Release14.0
36
2011ANSYS,Inc.
2DMeshing
37
2011ANSYS,Inc.
December27,2011
Release14.0
Methodsfor2DMeshing
PatchConformingMethods
AutomaticMethod(Quad Dominant)&AllTriangles Advancedsizefunctionsandlocalsize controlssupported
Automatic Triangles
Uniform Quad/Tri
Uniform Quad
PatchIndependentMethods
38
2011ANSYS,Inc.
2DMeshingControl&Inflation
MappedSurfaceMeshes
Fullymappedsurfacemeshesand
specifiededgesizing/intervalscanbe obtainedbyapplyinglocalcontrols CoveredintheLocalMeshControls lecture
Mapped Control
2DmeshwithInflation
Samemethodasappliedinthe3D
39
2011ANSYS,Inc.
2DMeshSolverGuidelines
ANSYSFLUENT ANSYSCFX
Fora2DanalysisinFLUENTgenerate
themeshintheXYplane(z=0). Foraxisymmetric applicationsy 0 andmakesurethatthedomainis axisymmetric aboutxaxis InANSYSMeshing,bydefault,a thicknessisdefinedforasurface bodyandisvisiblewhentheviewis notnormaltotheXYPlane.Thisis purelygraphical nothicknesswill bepresentwhenthemeshis exportedintotheFLUENT2Dsolver
For2DanalysisinCFX,createa
volumemesh(usingSweep)thatis1 elementthickinthesymmetry direction,i.e., ThinBlockforPlanar2D ThinWedge(<5)for2DAxis symmetric
40
2011ANSYS,Inc.
December27,2011
Release14.0
MeshingMultipleBodies
41
2011ANSYS,Inc.
December27,2011
Release14.0
SelectiveMeshing
WhatisSelectiveMeshing?
Selectivelypickingbodiesandmeshingthemincrementally
WhyuseSelectiveMeshing?
Bodiescanbemeshedindividually Meshseedingfrommeshedbodiesinfluencesneighboringbodies(user
hascontrol) Automatedmeshingcanbeusedatanytimetomeshallremaining bodies Whencontrolsareadded,onlyaffectedbodymeshesrequireremeshing Selectivebodyupdating Extensivemeshmethodinteroperability
42
2011ANSYS,Inc.
December27,2011
Release14.0
SelectiveMeshing
Localmeshing
Meshorclearmeshesonindividualbodies Subsequentbodieswillusetheattachedface
mesh Themeshingresults(celltypes)willdependon themeshingorder Adjust/addcontrols abletoremesh only affectedbody Selectbody(s)rightclickforcontextmenu
Meshing first the pipe then the block Meshing first the block then the pipe
43
2011ANSYS,Inc.
December27,2011
Release14.0
SelectiveMeshing
RecordingMeshOperations
Whenusingselectivemeshingtheorder
ofmeshingcanberecordedfor automatedfutureuse RightclickMeshintheOutlinefor ContextMenu
Worksheetisgeneratedrecordingmesh
operationsasorderedsteps NamedSelectionsareautomatically createdforeachmeshedbodyfor referenceintheWorksheet Example;Meshingcylinderthenblock
December27,2011 Release14.0
44
2011ANSYS,Inc.
SelectiveMeshing
SelectiveBodyUpdating
Forlargemodels,ComparePartson
Updateoptionsavestimeremeshing only bodiesthathavechanged AccessoptionthroughTools>Options
Associatively:Accommodatesforbody topologychange(add/delete)(slower) NonAssociatively:Assumesnotopology change(faster)
Example;Geometricchangetoblock.
45
2011ANSYS,Inc.
December27,2011
Release14.0
46
2011ANSYS,Inc.
December27,2011
Release14.0
Appendix
Contents
47
2011ANSYS,Inc.
December27,2011
Release14.0
HexDominantMeshing
Themeshcontainsacombinationoftetandpyramidcellswithmajority
ofcellbeingofhextype Usefulforbodieswhichcannotbeswept UsefulforCFDapplicationsnotrequiringinflation UsefulforCFDintherangeofacceptableSkewnessorOrthogonal Qualitymeshqualitymetrics
Access
48
2011ANSYS,Inc.
December27,2011
Release14.0
HexDominantMeshing
Example:
49
2011ANSYS,Inc.
December27,2011
Release14.0
HexDominantMeshing
Free(unstructured)FaceMeshTypes
Determinestheelementshapeinthefreezone(wherestructured
meshingisnotpossible)
Options
Quad/Tri AllQuad
Mayinserttriangularelementsdependingoncomplexityofgeometry
50
2011ANSYS,Inc.
December27,2011
Release14.0
HexDominantMeshing
Example:
Higher no. of elements
51
2011ANSYS,Inc.
December27,2011
Release14.0
HexDominantMeshing
Example:HexDominantMeshElements
Hex Dominant Mesh
Pyramid
Wedge
Hex
Tet
52
2011ANSYS,Inc.
December27,2011
Release14.0
Control:
SweepMeshing
Source face elements: Only Quad Type: All Quad
Free(unstructured)MeshType
Sweepable Geometry Source face elements: Only Tri Type: All Tri
53 2011ANSYS,Inc. December27,2011 Release14.0
SweepMeshing
Control:Type
Element size in swept direction 2mm Sweep Element Size
TheNumberofDivisionscanbe>1000.Ifthisnumberis>1000thedivisionswillnotbedrawn ontheedge
54 2011ANSYS,Inc. December27,2011 Release14.0
SweepMeshing
Control:SweepBiasType
Uniform mesh No Bias
55
2011ANSYS,Inc.
December27,2011
Release14.0
SweepMeshing:Complexgeometry
56
2011ANSYS,Inc.
December27,2011
Release14.0
SurfaceMeshingwithInflation
TriangularMeshwithInflation
57
2011ANSYS,Inc.
December27,2011
Release14.0
MeshConnections
Forsheetmodels, connectionscanbe definedasMesh connections Meshconnectionscanbe usedtoextendmeshat meshlevel
Gap
ToleranceValuecanbe
specifiedtoclosegapsat meshlevel
Connected Mesh
Meshconnectionswill
becreatedatmeshtime (ratherthanasCEin solver)
58
2011ANSYS,Inc.
December27,2011
Release14.0
ShellMeshing:Example
Edge colored by the number of connected faces Automatic generation of mesh connections Mesh connectivity can be shown also after meshing Ability to find mappable faces
59
2011ANSYS,Inc.
December27,2011
Release14.0
TetrahedronsMethod:PatchIndependent
Transition
EffectofSmoothTransition Smoothtransitionusesadvanced
frontmeshingtechnique
Smooth Transition Off (default) Smooth Transition On
60
2011ANSYS,Inc.
December27,2011
Release14.0