Mesh-Intro 19R2 WS5.4 CFD Workshop Instructions Manifold

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Workshop 5.

4 CFD: Meshing
of Manifold Model
Introduction to ANSYS Meshing

Release 2019 R2

1 © 2019 ANSYS, Inc.


Introduction

Background
• This workshop illustrates how to mesh a fluid domain with acceptable
quality using defeaturing tools
Inlets
Objectives
• Creating virtual entities
Porous
• Setting local refinements on surfaces media
of interest
• Defining program-controlled inflation
• Checking mesh quality / influence of
defeaturing / pinch settings
Outlet

2 © 2019 ANSYS, Inc.


Project Startup
Create the Project
• Start Workbench
• Drag and drop a Mesh Component
System into the Project Schematic
• Right click on the Geometry cell (A2) and
select Import Geometry → Browse
• Locate the file “exhaust.scdoc” in the
Meshing workshop input files (Module05)
folder and select it. The geometry cell will
show a check mark indicating it is up to
date

• Double click the mesh cell (A3) to start


Meshing

3 © 2019 ANSYS, Inc.


Unit

Set Units
• From the main menu select Units and, if it is not already set, specify
Metric (mm...)

4 © 2019 ANSYS, Inc.


Preparation
• We are now going to split virtual entities by splitting a cylindrical face to help the
automatic block decomposition used by the MultiZone method

• For displaying vertices turn ON “Show Vertices” option in the Display tab

• Select all the bodies in the geometry and change the transparency to 0.5

5 © 2019 ANSYS, Inc.


Defining Virtual Entities (1)

• Change the Edge Coloring to ‘By connectivity’

• Right Click on Model in the Project Tree and insert ‘Virtual Topology’

6 © 2019 ANSYS, Inc.


Defining Virtual Entities (2)
• With ‘Virtual Topology’ selected in the Outline, choose the vertex 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

7 © 2019 ANSYS, Inc.


Defining Virtual Entities (3)

• Repeat the operation for the two corresponding points on the other side : two
virtual faces will be created on the initial lateral face, providing two edges to base
the mesh creation on

8 © 2019 ANSYS, Inc.


MultiZone Method

• The first step is to define a MultiZone method for the two cylindrical bodies. Turn
off Show Vertices. With ‘Mesh’ selected in the Outline, select both of them, right
click, Insert → Method and choose MultiZone
– Set Surface Mesh Method to ‘Uniform’
– Keep Source/Target selection to ‘Automatic’

9 © 2019 ANSYS, Inc.


Global Sizing Controls (1)

• The two other bodies will be meshed using the default Patch Conforming
Tetrahedron algorithm. Therefore no further method definition is needed here
– However, in the ‘Mesh’ details view, switch the ‘Triangle Surface Mesher’ option to ‘Advancing
Front’. This algorithm generally provides a smoother surface mesh

10 © 2019 ANSYS, Inc.


Global Sizing Controls (2)
• In the details view of ‘Mesh’ in the Outline : make sure that
‘CFD’ and ‘Fluent’ are selected for the Physics and Solver
Preferences respectively

• Expand the Sizing box. Make sure ‘Capture Curvature’is set on


Yes and set the following global sizing values :
- Curvature Normal Angle : 12°
- Defeature Size : 0.5 mm
- Curvature Min Size : 2 mm
- Element Size : 8 mm
- Max Size : 16 mm
- Growth Rate : 1.2

• Make sure the values of Defeaturing and Pinch Tolerances are


set as shown (right). Activation of automatic defeaturing
enables the Meshing application to automatically defeature
small features and dirty geometry according to the Defeaturing
Tolerance specified here

11 © 2019 ANSYS, Inc.


Local Sizing Controls (1)

• 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 (you
may need to hide some faces before). Right click, Insert → Sizing. Define a 1 mm
sizing on this face, selecting ‘Hard’ as behaviour since this size is smaller than the
global min size and will be ignored if otherwise

12 © 2019 ANSYS, Inc.


Local Sizing Controls (2)

• Select the two edges created with


the virtual face split. Define a 6
mm sizing on them, with a
symmetric bias (refined close to
the cylinder ends) and a bias factor
of 2

• Select the second cylindrical body


near the outlet, and define a 4 mm
body sizing on it

13 © 2019 ANSYS, Inc.


Inflation Controls
• For this workshop, we will activate automatic program-
controlled inflation. This will inflate the mesh on every
surface, except those linked to extra properties (Named
Selections, Mechanical load, ...)

• In the ‘Mesh’ detail view, expand the Inflation box and set
the ‘Use Automatic Inflation’ option to ‘Program
Controlled’. Set Maximum Layers to 3 leaving other
parameters to default values

• Select the four inlet surfaces,


RMB → Create Named Selection inlets
and name it: “inlets”. Repeat the
operation by naming the outlet
surface “outlet” outlet

• Generate the mesh

14 © 2019 ANSYS, Inc.


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 to which each mesh cell
varies from an ideal shape
• In the Details of Mesh panel expand Quality.
Click in the box to the right of Mesh Metric and
select Orthogonal Quality
• The minimum value for Orthogonal Quality is
important and should not fall below 0.05. The
minimum for this mesh is approximately 0.20
which is good. (Quality in your case may vary
slightly)

15 © 2019 ANSYS, Inc.


Save the Project

• 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 the project as “AMWS5.5_cfd.wbpj” to your working
folder

16 © 2019 ANSYS, Inc.

You might also like