Mesh-Intro 14.5 WS05e Applications Manifold

Embed Size (px)

Citation preview

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    1/25

    2012 ANSYS, Inc. November 20, 2012 1 Release 14.5

    14. 5 Release

    Introduction to ANSYSMeshing

    Workshop 5e Applications Manifold

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    2/25

    2012 ANSYS, Inc. November 20, 2012 2 Release 14.5

    Introduction

    Background This workshop illustrates how to use DM to create fluid domain from imported

    complex solid geometry, and mesh the model with acceptable quality usingdefeaturing tools.

    Objectives Creating fluid domain Cleaning and decomposing geometry

    to match physical analysis Creating virtual entities Setting local refinements on surfaces

    of interest Defining program controlled inflation Checking mesh quality / influence of

    defeaturing / pinch settings

    Porousmedia

    Inlets

    Outlet

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    3/25

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    4/25

    2012 ANSYS, Inc. November 20, 2012 4 Release 14.5

    Geometry Cleanup

    To prepare the fluid volumeextraction, we need to remove theunnecessary details from the originalsolid body. On this geometry, thechamfer at the outlet can be

    removed.

    Select one of the chamfer surfaces,then click on Extend to Limits

    Go to Create Face Delete, clickApply to validate the selection(7 faces should have been selected).

    Generate.

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    5/25

    2012 ANSYS, Inc. November 20, 2012 5 Release 14.5

    Fluid Extraction The definition of an internal fluid

    domain is typically done by filling theexisting solid body.

    This can be done either by selecting thewetted surfaces, either by definingcapping surfaces. In this case the lattersolution is easier and will be chosen.

    Select one inner edge on eachinlet/outlet surfaces and click onExtend to Limits to get edges loops.

    Select Concept Surfaces from Edges.Click apply to validate the selection(47 edges) and generate to create the 5surface capping bodies (added in thetree under the solid body).

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    6/25

    2012 ANSYS, Inc. November 20, 2012 6 Release 14.5

    Fluid Extraction

    Go to Tools Fill and select ByCaps. Let the Target to All Bodiesand set both Preserve CappingBodies and Preserve Solids to No.

    Generate.

    The extracted body has been createdand the other bodies have beendeleted. Check that the new body is

    recognized as a fluid zone.

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    7/25 2012 ANSYS, Inc. November 20, 2012 7 Release 14.5

    Domain Extension

    We are going to extrude the outlet toprevent the backflow issues.

    Select the outlet surface, click CreateExtrude, and create a 50mm long frozenbody (set values as shown on the right).The Direction Vector is set to FaceNormal by clicking again on the outletface (check extrusion preview)

    Generate. The outlet cylindrical body hasbeen added to the tree. Define it as afluid body in the detail view.

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    8/25 2012 ANSYS, Inc. November 20, 2012 8 Release 14.5

    Domain Decomposition We aim now to simplify the topology around the porous zone so as to create a

    separated, cylindrical porous body. We will use a cylinder based on an existing

    face to slice the original main fluid.

    In one operation we will separate the unwanted volumes near the porous zone(they will be deleted afterwards) and create the porous volume (to be able to setporous in the solver).

    Click on the surface highlighted in the image here, then Click on New Plane andpress Generate.

    Select the newly created plane, add anew sketch.

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    9/25 2012 ANSYS, Inc. November 20, 2012 9 Release 14.5

    Domain Decomposition

    Switch to the Sketching tab, go toModify panel and select Duplicate

    Select the inner dotted circle(2 edges). RMB and Duplicate

    Selection.

    Go to the Modeling tab and selectthe sketch in the tree.

    Select Create Extrude with thefollowing settings :- Operation : Slice Material- Direction : Reversed- Extend Type : To Surface, with

    selection of the surface shown onthe right.

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    10/25 2012 ANSYS, Inc. November 20, 2012 10 Release 14.5

    Domain Decomposition

    Finally, to delete the two unwantedbodies as highlighted in image here,

    select them and go to CreateBody Operation. Set Type as Delete

    and press Generate.

    We now have a fully decomposed fluid domain, with 4 bodies.

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    11/25

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    12/25

    2012 ANSYS, Inc. November 20, 2012 12 Release 14.5

    Close DM. Then, in the Workbench projectpage, double- click on the Mesh box toopen ANSYS Meshing.

    Set the units to millimeters and color theedges by Connection.

    Model (B3) being selected, click onVirtual Topology to add it in the Outline.

    Mesh Initialisation

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    13/25

    2012 ANSYS, Inc. November 20, 2012 13 Release 14.5

    We are now going to create two kinds of virtual entities (VE) :

    - split VEs : splitting a cylindrical face to help the automatic blockdecomposition used by the MultiZone method.

    - merge VEs : gathering small neighboring cells to avoid skewed features.

    For the split VE operation : with Virtual Topology selected in the Outline, choose thevertex selection filter and select the two points next to the cylindrical porous body(press Ctrl for multiple selection). Select Split Face at Vertices in the toolbar.

    Repeat the operation for the two corresponding points on the other side : two virtualfaces will be created on the initial lateral face, providing two edges to base the meshcreation on.

    Defining Virtual Entities

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    14/25

    2012 ANSYS, Inc. November 20, 2012 14 Release 14.5

    For the merge VE operation : zoom in to the inlet as shown below. Select all the

    faces highlighted (7 faces) and click Merge Cells in the toolbar : one single virtualcell will created on the existing 7 faces enabling the mesh to be unconstrained bythe original small faces.

    Defining Virtual Entities

    12 4

    37

    5

    6

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    15/25

    2012 ANSYS, Inc. November 20, 2012 15 Release 14.5

    The final stage of the virtual cell creation is to make sure that the virtual cellmatches the real geometry.

    Select the virtual cell, and click Edit in the toolbar. In the Virtual TopologyProperties box, select Yes for the Project to underlying geometry option.

    Defining Virtual Entities

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    16/25

    2012 ANSYS, Inc. November 20, 2012 16 Release 14.5

    The first step is to define a MultiZonemethod for the two cylindrical bodies.With Mesh selected in the Outline,select both of them, right click, InsertMethod and choose MultiZone. Set Surface Mesh Method to

    Uniform

    Keep Source/Target selection toAutomatic

    The two other bodies will be meshedusing the default Patch ConformingTetrahedron algorithm. Therefore nofurther method definition is neededhere. However, in the Mesh details view,

    switch the Triangle Surface Mesher option to Advancing Front. Thisalgorithm generally provides asmoother surface mesh.

    Defining Meshing Methods

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    17/25

    2012 ANSYS, Inc. November 20, 2012 17 Release 14.5

    In the details view of Mesh in the Outline : make sure

    that CFD and Fluent are selected for the Physics andSolver Preferences respectively.

    Expand the Sizing box. Make sure Curvature isselected as Advanced Size Function and set thefollowing global sizing values :

    - Curvature Normal Angle : 12 - Min Size : 2 mm- Max Face Size : 8 mm- Max Size : 16 mm- Growth Rate : 1.2

    Expand Defeaturing in the Mesh details view. Makesure the values are set as shown (right). Activation ofautomatic defeaturing enables the Meshing applicationto automatically defeature small features and dirtygeometry according to the Defeaturing Tolerancespecified here.

    Defining Mesh Global Sizing Controls

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    18/25

    2012 ANSYS, Inc. November 20, 2012 18 Release 14.5

    To properly refine the zones of interest, we need to define local sizing on them.

    These will locally over-rule global sizing values.

    With Mesh selected in the Outline, select the cross face as shown highlighted.Right click, Insert Sizing. Define a 1 mm sizing on this face, selecting Hard asbehaviour since this size is smaller than the global min size and will be ignoredotherwise.

    Defining Mesh Local Sizing Controls

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    19/25

    2012 ANSYS, Inc. November 20, 2012 19 Release 14.5

    Select the two edges created with

    the virtual face split. Define a 6mm sizing on them, with asymmetric bias (refined close tothe cylinder ends) and a bias factorof 2

    Select the second cylindrical bodynear the outlet, and define a 4 mmbody sizing on it.

    Defining Mesh Local Sizing Controls

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    20/25

    2012 ANSYS, Inc. November 20, 2012 20 Release 14.5

    For this workshop, we will activate automatic

    program controlled inflation. This will inflate themesh on every surface, except those linked toextra properties (Named Selections, Mechanicalload, ...).

    In the Mesh detail view, expand the Inflation boxand set the Use Automatic Inflation option toProgram Controlled. Set Maximum Layers to 3leaving other parameters to default values.

    Select the four inlet surfaces,

    RMB Create Named Selectionand name it inlets. Repeat theoperation by naming the outletsurface outlet.

    Generate the mesh.

    Defining Inflation Controls

    inlets

    outlet

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    21/25

    2012 ANSYS, Inc. November 20, 2012 21 Release 14.5

    Mesh Statistics

    Check Quality Before using a mesh in any solver it is

    important to check the mesh quality. Quality is defined through various

    metrics which measure the degree towhich each mesh cell varies from anideal shape.

    In the Details of Mesh panel expandStatistics. Click in the box to the rightof Mesh Metric and selectOrthogonal Quality.

    The minimum value for OrthogonalQuality is important and should notfall below 0.05. The minimum for thismesh is approximately 0.14 which isacceptable. (Quality in your case may

    vary slightly)

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    22/25

    2012 ANSYS, Inc. November 20, 2012 22 Release 14.5

    Optional tasks

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    23/25

    2012 ANSYS, Inc. November 20, 2012 23 Release 14.5

    Influence of Defeaturing

    Expand the Defeaturing box in the

    Mesh detail view, turn off theAutomatic Mesh Based Defeaturing.

    Generate again the mesh and checkthe quality of the mesh.

    The quality has decreased to about0.09, which would still be acceptable.However, we can see several skewedcells near the inlets as a result of thedeactivation of automatic defeaturing.

    These can alternatively be fixed usingPinch controls (see next slide).

    (Quality in your case may vary slightly)

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    24/25

  • 8/10/2019 Mesh-Intro 14.5 WS05e Applications Manifold

    25/25

    2012 ANSYS Inc November 20 2012 25 Release 14 5

    This completes the workshop. From the main menu select File Close Meshing

    Workbench will save any application data.

    From the Workbench Project Page use the file menu and save theproject as AMWS5e.wbpj to your working folder.

    Save the Project