You are on page 1of 18

Chapter 5 Prism Meshing Workshop 1 Waterjacket Section

ICEM CFD Introductory Course

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

WS5.1-1

July 2009 Inventory #002664

Prism Meshing Workshop 1

Change Working Directory File > Change Working Dir


Choose WaterjacketSection OK

Training Manual

Use the quick icon to open geometry


Choose WaterJacketExtraction.tin Open

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

WS5.1-2

July 2009 Inventory #002664

Prism Meshing Workshop 1

Build Topology
Diagnostic Topology

Training Manual

Geometry > Repair Geometry > Build



Accept default Tolerance Filter points = on Filter curves = on Feature angle = 30 (default) Filtering curves/points works well with tetra octree to filter unnecessary constraints Apply

Build topology with filtering


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

WS5.1-3

July 2009 Inventory #002664

Prism Meshing Workshop 1

Set Mesh Sizes for Tetra Meshing Training Manual Mesh > Global Mesh Setup > Global Mesh Size

Max element = 5 Enable Curvature/Proximity Based Refinement Min Size limit = 0.5 Elements in gap = 2 Apply

Mesh > Global Mesh Setup > Volume Meshing


Parameters


Mesh sizes only set globally on this model
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Mesh Type = Tetra/Mixed Mesh Method = Robust(Octree) Smooth mesh = on Iterations = 5 Min quality = 0.4 Apply

WS5.1-4

July 2009 Inventory #002664

Prism Meshing Workshop 1

Tetra Mesh

Training Manual

Mesh > Compute mesh > Volume Mesh


Leave all the defaults Mesh Type = Tetra/Mixed Mesh Method = Robust(Octree) Create Prism Layers = off Better to run prism separately so you can check quality/errors in the input mesh Compute Produces a
tetra volume mesh

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

WS5.1-5

July 2009 Inventory #002664

Prism Meshing Workshop 1

Check Errors and Quality Training Manual It is good practice to check errors and
quality in the input mesh before prism Edit Mesh > Check Mesh

Leave all the defaults, Apply If it finds Unconnected vertices, it is


always safe to delete them The definitions of each check can be found in the Help inside ICEM CFD

Edit Mesh > Smooth Mesh


Globally

This will show a histogram Target is most mesh above 0.2 Smooth if necessary Mesh is already smoothed well

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

WS5.1-6

July 2009 Inventory #002664

Prism Meshing Workshop 1

Check Surface Mesh for Extrusion Training Manual It is also good practice to inspect the surface mesh
of the parts intended for prism Turn on only shells and the part WJ

Only WJ will have prisms later The boundary elements should be smoothly on the
curves Check for elements in the adjacent part and move to the correct part

If you see this kind of thing, move the surface element to the correct part

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

WS5.1-7

July 2009 Inventory #002664

Prism Meshing Workshop 1

Save Input Mesh Save the input mesh

Training Manual

In case we want to run prism multiple


times with different parameters Use the quick Save Mesh as.. in the pulldown Save

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

WS5.1-8

July 2009 Inventory #002664

Prism Meshing Workshop 1

Set Prism Global Parameters Training Manual Mesh > Global Mesh Setup > Prism Meshing
Parameters

Min prism quality = 0.00001 Fillet ratio = 0.2 Prism height limit factor = 3 Number of surface smoothing steps = 0 Apply

It is usually best to set a low


quality to limit the areas that may end the prism layers and cap with pyramids Smoothing results in better quality if pyramids are limited Surface smoothing steps only smooths before prism This input mesh has already been smoothed
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS5.1-9

July 2009 Inventory #002664

Prism Meshing Workshop 1

Define Prism Parts and Compute

Training Manual

Mesh > Compute Mesh > Prism Mesh



Press Select Parts for Prism Layer Check prism for part WJ Height = 0.4 Height ratio = 1 Num layers = 3 Apply, Dismiss Compute

We will extrude 3 fat


layers and split and redistribute later so height ratio can be 1
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS5.1-10

July 2009 Inventory #002664

Prism Meshing Workshop 1

Inspect Pyramids

Training Manual

The problem locations will have prism layers capped off


with pyramids, so inspect where the pyramids form to find where there are problems

Turn on all Parts Turn on only Pyramids in the Mesh section Turn on only Surfaces in wireframe (in Geometry section)
to have a reference for where these pyramids have formed

Layers are colliding

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

WS5.1-11

July 2009 Inventory #002664

Prism Meshing Workshop 1

Set Local Heights Smaller

Training Manual

Mesh > Surface Mesh Setup


Select the surfaces around the collision
region Height = 0.2 (half the previous height) Apply

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

WS5.1-12

July 2009 Inventory #002664

Prism Meshing Workshop 1

Load Previous Input mesh and Run Prism


tetra mesh Compute the prism mesh again

Training Manual

Use the quick icon to load the previous


Mesh > Compute Mesh > Prism Mesh Compute

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

WS5.1-13

July 2009 Inventory #002664

Prism Meshing Workshop 1

Inspect the Mesh

Training Manual

The model tree no longer shows pyramids present It is not always possible to get rid of all pyramids but
these are the low quality regions and you should try to reduce them Pyramids also show up where mesh errors occur Info > mesh Info

This will also print out mesh information


No PYRA_5 listed

No more collisions in this area


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

WS5.1-14

July 2009 Inventory #002664

Prism Meshing Workshop 1

Smooth

Training Manual

Edit mesh > Smooth Mesh Globally


Smoothing iterations = 5 Up to value = 0.2 Criterion = Quality PENTA_6 = Freeze Press Apply until no more improvement
Should take 4 times

Now smooth everything


PENTA_6 = Smooth Lower Up to value to 0.1 Press Apply twice (2 times of
5 iterations)

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

WS5.1-15

July 2009 Inventory #002664

Prism Meshing Workshop 1

Split Prisms
Prisms

Training Manual

Edit mesh > Split Mesh > Split



Method = Fix ratio Prism ratio = 1 Number of layers = 2 Apply

Specifying a prism ratio or initial height is


only practical if there is 1 fat layer to split

It only splits the first layer We will redistribute afterward anyway

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

WS5.1-16

July 2009 Inventory #002664

Prism Meshing Workshop 1

Redistribute Prism Nodes

Training Manual

Edit mesh > Move Nodes >


Redistribute Prism Edge

Method = Fix ratio Prism ratio = 1.4 Apply

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

WS5.1-17

July 2009 Inventory #002664

Prism Meshing Workshop 1

Save Mesh and Geometry


icons

Training Manual

Save mesh and geometry using the quick


Mesh size parameters are saved to the
geometry The global mesh setup parameters are saved to a .prism_params file at the time prism is run

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

WS5.1-18

July 2009 Inventory #002664

You might also like