You are on page 1of 38

Chapter 7

Introduction to MultiZone Meshing

ANSYS Meshing Application Introduction

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-1

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Overview
Comparing Sweep and MultiZone Comparing Thin Sweep and MultiZone Example for Sweep, Thin Sweep, and Multizone Methods Approach for the MultiZone Method MultiZone Method Settings
Mapped Mesh Type Free Mesh Type Source Selection Defeaturing

Training Manual

Inflation and MultiZone Workshop 7.1 MultiZone Meshing for a Block Geometry with Pipes Workshop 7.2 MultiZone Meshing for a Tank Geometry with Piping

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-2

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Comparing the Sweep and MultiZone Methods


Some models can be meshed with either approach

Training Manual

Sweep Method:
Sweeps a single source/face to a single target/face. Does a good job of handling multiple side faces along sweep Geometry needs to be decomposed so that each sweep path is represented by 1 body.

MultiZone Method:
Free decomposition approach Multiple sources to multiple targets

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-3

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Sweep or MultiZone?

Training Manual

Use Sweep Method when: You have a multibody part where some bodies should be meshed with Sweep, and some with Patch Conforming Tet
If you want to use advanced size function

Preview Sweepable bodies shows that all bodies are sweepable

Use MultiZone when: You are meshing single body parts that are too complicated for traditional sweep approach. You have multiple sources and targets you need to respect (cant use VTs to group into a single source/target) You need to inflate off source and side faces

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-4

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Comparing Thin Sweep and MultiZone

Training Manual

Thin Sweep Method:


Sweeps multiple sources to paired multiple targets Good substitute for midsurfacing shell models to get a pure hex mesh

Some models can be meshed with either approach MultiZone Method:


Free decomposition approach Multiple sources to multiple targets

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-5

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Thin Sweep or MultiZone?

Training Manual

Use Thin Sweep Method when: You have a thin solid part where the source and target faces dont exactly match, and you dont care about the features on the target side. Use MultiZone When: You have a thin solid part where the source and target faces dont exactly match, and you care about the features on both sides.

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-6

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Different Sweep Methods Example

Training Manual

Thin Sweep Method:

For Example

Sweep Method: MultiZone Method:

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-7

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Sweep Method Treatment


Use VTs to merge multiple sources into 1 source

Training Manual

Use VTs to merge multiple targets into 1 target

Multiple sources ignored

Multiple targets ignored

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-8

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Thin Solid Sweep Treatment


Multiple source Multiple target

Training Manual

Multiple sources captured

Multiple targets ignored

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-9

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

MultiZone Method Sweep treatment

Training Manual

Multiple source

Multiple target

Multiple sources captured

Multiple targets captured

Note, MultiZone will ignore the internal cutouts unless they are in a Named Selection
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-10

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Multizone Method Approach


Multizone features automatic geometry decomposition which avoids the need to slice a body up into sweepable bodies to get a hex mesh with the sweep method For example, the geometry shown at right would need to be sliced into three bodies to get a hex mesh with sweep. With the Multizone method, a hex mesh could be generated directly
Based on ICEM CFD Hexa blocking O-grids can be extruded to create inflation Unstructured regions can be filled with hexdominant, hex-core, or tetrahedral mesh

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-11

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Multizone Method Settings


Multizone will not utilize the Advanced Size Function (Patch Conforming Tet and Sweep Methods only) Source selection is not mandatory, but may be helpful Can exclude or allow free mesh blocks

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-12

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Multizone Method Settings


Mapped Mesh Type
Hexa Hexa/Prism

Training Manual

Free Mesh Type


Not Allowed Tetra Hexa Dominant Hexa Core

Source/Target Selection
Automatic Manual Source

Advanced
Defeaturing Tolerance Minimum Edge length

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-13

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Multizone Method and Inflation


Algorithm different from other inflation methods (extruded ogrid) Scoped to bodies, defined for faces Only First Layer or Total Thickness options

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-14

April 28, 2009 Inventory #002645

Workshop 7.1
Multizone Meshing for a Block Geometry with Pipes

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-15

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Goals
This tutorial will illustrate basic use of the Multizone method to create a Hex mesh for a simple geometry with the addition of an inflation layer.
Source selection for the multizone sweep will be done automatically by the mesher when the mesh is generated.

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-16

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Importing Geometry
1. Copy the blockandpipes.agdb file from the Tutorial Files folder to your working directory
2. Start Workbench and doubleclick the Mesh entry in the Component Systems panel 3. Right-click on Geometry in the Mesh entry in the Project Schematic and select Import Geometry/Browse 4. Browse to the block and pipes.agdb file you copied and click Open. Note that the Geometry entry in the Project Schematic now has a green check mark.
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Training Manual

7-17

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Insert Multizone Method


5. Double click the Mesh entry in the Mesh object on the Project Schematic to open ANSYS Meshing 6. Close the Meshing Options Panel at the right without setting anything. 7. Right-click on Mesh and insert a Method. Select the body and set the method to Multizone. Leave the settings as the defaults as shown

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-18

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Mesh Sizing and Metric


8. Click on Mesh in the Outline 9. Change the Physics Preference to CFD and the Solver Preference to Fluent 10. Expand the Sizing Entry and turn off the Advanced Size Function (it will not be used for Multizone anyway) 11. Set the Element Size to 0.20 [in]. (Note: if the units are set to some other system, click on Units in the Menu Bar and change to U.S. Customary (in, lbm, ) 12. Expand the Statistics entry and set the Mesh Metric to Skewness

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-19

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Mesh and Mesh Quality


13. Generate the Mesh. Note the Mesh count and Skewness metric

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-20

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Inflating the Multizone Method


14. Insert Inflation for the Multizone Method. Pick the outer cylindrical faces of the pipes and the 4 side faces of the block as the Boundary. Set the Inflation Option to Total Thickness with a value of 0.20 [in]. 15. Generate the mesh.

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-21

April 28, 2009 Inventory #002645

Workshop 7.2
Multizone Meshing for a Tank Geometry with Piping

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-22

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Goals
This tutorial will show how to use the Meshing Application in ANSYS 12 to generate a mesh suitable for a CFD simulation of a chemical process flow.
The geometry, consists of three bodies representing a tank together with a single inlet and outlet pipe. The goal is to produce an Hex mesh throughout the domain without any further decomposition of the geometry using the Multizone Method.
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Training Manual

7-23

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Creating a Standalone Meshing System


1. Launch ANSYS 12.0 Workbench from the START menu

Training Manual

2. Open the Component Systems section of the Toolbox on the LHS of the WB GUI. 3. Double click the Mesh option

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-24

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Importing the Geometry

Training Manual

4. Right click on the Geometry button in the RHS of the WB panel and select Import geometry (the question mark on the button turns to a tick once a geometry file is imported)

5. Import the 2-pipe-tank.agdb file 6. Double click on the Mesh button to launch the Meshing Application
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-25

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Geomety
7. The original geometry was modified in DesignModeler

Training Manual

The tank was split into three bodies and some simplification was made to remove small faces that are not important to the analysis One multi-body Part was created and a given the name Fluid and the material type Fluid Individual bodies were re-named

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-26

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Meshing Options

Training Manual

8. In the Meshing Options panel to the RHS of the main window select the following meshing options:
Physics Preference CFD Mesh Method Automatic Click OK after you made the selections In Units, make sure it is set to Metric, mm

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-27

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Named Selections
Set the Cursor Mode to Face selection Select the inlet face RMB select Create Named Selection Assign the name Inlet Repeat for Outlet A naming convention has been established to automatically assign zone types in Fluent For example Inlet
Velocity-inlet zone

Training Manual

9. Named Selections are used to assign Fluent name and zone types

Outlet
Pressure-outlet zone

See Fluent Mesh export section of the manual for all options.
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-28

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Global Mesh Settings


10. Set Global Size and Quality control
Click on Mesh in the Model Tree to open up the Details of Mesh panel Sizing
Turn Off Use Advanced Size Function
Multizone does not use this option

Training Manual

Change the Relevance Center


Fine
Recommended for most CFD applications that apply the Multizone Method

Statistics
Assign Mesh Metric

Option Skewness Maintain all other defaults

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-29

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Inserting a Multizone Method


11. Insert Mutizone Meshing control
Set the Cursor Mode to Body selection RMB (in Window) Select All the bodies RMB (in Tree) Insert Method Select Multizone

Training Manual

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-30

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Setting Multizone Sources


12. Select Mutizone Source faces
Change Src/Trg Selection Manual Source
To ensure the middle section can be swept

Training Manual

Set the Cursor Mode to Face Pick the five green source faces (see top image) Rotate the model to look at the rear of the tank Pick the additional five red source faces (see bottom image) Apply

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-31

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Generating the Initial Mesh


13. Create an initial Mesh of the model

Training Manual

RMB (in Tree) Generate Mesh The mesh is successfully created but refinement is clearly needed
The mesh at the inlet and outlet pipes and close to the pipe/tank intersection is insufficient to capture the physics correctly This can be achieved by inserting some additional meshing instructions such as Inflation, Sizing and Biased Sizing to improve the pipe/tank meshing

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-32

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Face Sizing
14. Add Face Sizing for the pipes to control the size of elements
Start by removing the mesh
RMB (in Tree) Clean and confirm

Training Manual

Make sure youre using Face Selection and pick the four faces shown in Green RMB (in Tree) Insert Sizing Set Sizing Details: Set Element Size
1 mm

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-33

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Adding Inflation
15. Add Inflation (boundary layers)
Set the Cursor Mode to Body Selection Select the central green body RMB (in Tree) Insert Inflation

Training Manual

16. Set Inflation Details


Switch to Face selection Select the four green cylindrical faces and Apply Set Inflation Control
Number of Layers
2 1 mm
7-34
April 28, 2009 Inventory #002645

Maximum thickness
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Introduction to MultiZone Meshing

Edge Sizing
17. Add Edge Sizing
Change Cursor Mode to Edge Selection Select two green edges on one side Rotate the model Repeat the selection RMB (in Tree) Insert Sizing

Training Manual

18. Set Sizing Details


Element Size
1mm

Behaviour
Hard

Bias type
_ __ ___ __ _

Bias Factor
6
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-35

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Generating the Final Mesh


19. Generate the mesh
RMB (in Tree) Generate Mesh Statistics
Elements ~45,000 Max Skewness Below 0.8

Training Manual

Overall a good Quality mesh

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-36

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Examining the Mesh


20. Examine the Mesh

Training Manual

Inflation on the pipe walls

Sizing 4 elements on face

Sizing element size 1mm across pipe and biasing to increase density at transition
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-37

April 28, 2009 Inventory #002645

Introduction to MultiZone Meshing

Saving the Project


21. The mesh is now complete
RMB (Tree) select Update Select File > Close Mesh to close the Mesh application

Training Manual

In the WB panel select File > Save Project As and give the project a name Exit from ANSYS Workbench by selecting File > Exit

22. Further Work


Change the mesh settings for each of the additional parameters
How do each of these parameters influence the mesh?

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

7-38

April 28, 2009 Inventory #002645

You might also like