Vous êtes sur la page 1sur 15

Customer Training Material

W k h 4.2
Workshop 42

Volume Meshingg–
Valve Meshing

Introduction to ANSYS
ICEM CFD

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-1 December 2010
Introduction to ANSYS ICEM CFD

Set Working Directory Customer Training Material

• Set working directory


– File > Change Working
Dir…
– Choose Valve
– OK
• To Import The Geometry
– File ->
> Import Geometry ->
>
ParaSolid
– Select: Valve.x_t using
File Browser and Open
– Set
S t Units
U it to
t Millimeter
Milli t and d
click Apply

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-2 December 2010
Introduction to ANSYS ICEM CFD

Build Topology Customer Training Material

• Geometry
G t > Repair
R i Geometry
G t > Build
B ild
Diagnostic Topology
– Accept all defaults
– Click Apply
• Display the geometry
– Display: activate Surfaces by left mouse
clicking in the check box
– Di l
Display: S lid & Wire
Solid Wi mode d thru
th right
i ht mouse
click on Surfaces in Display Tree

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-3 December 2010
Introduction to ANSYS ICEM CFD

Create Parts Customer Training Material

• Break the Geometry


G into Parts
– Turn off Curves visibility to more easily pick surfaces
– RMB on Parts and select Create Part from the pull down
– The Create Part panel appears
– Change the Part name to INLET
– Accept the default Create Part by Selection
– Select the appropriate Inlet Surfaces
– Repeat the above steps for the other surface parts as
shown
INLET

VA VESPHERE
VALVESPHERE

OUTLET

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-4 December 2010
Introduction to ANSYS ICEM CFD

Create Parts Customer Training Material

• Break the Geometry into Parts


– Turn off the VALVESPHERE part in the Model tree. This will expose the Valve
Inside
– Create a new Part,, VALVE and add the 4 surfaces of the valve head to this Part

• The model tree and these separate parts makes it easier to visualize segments of the model
• Separate INLET and OUTLET Parts are essential to apply individual boundary conditions
• Note:
N t ththe P
Parts
t are color
l matched
t h d with
ith th
their
i names iin th
the model
d l ttree
INLET

Model Tree VALVESPHERE


VALVE

OUTLET

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-5 December 2010
Introduction to ANSYS ICEM CFD

Create Material Point Customer Training Material

• We want to create a Body in order to define the Part that


the volume mesh will be assigned to
• This is done by defining a point inside of the volume and
assigning a part to this point
• Select Geometry > Create Body
– Enter FLUID_MATL as the Part name
– Click on Material Point
– Select 2 screen locations as shown,
shown then middle click
– Right click to exit operation
– Turn on Geometry > Bodies in model tree
– Rotate the geometry on the screen to ensure the material point is inside the
region to mesh – inside the main cylinders and outside the rod

2
ANSYS, Inc. Proprietary Release 13.0
© 2010 ANSYS, Inc. All rights reserved. WS4.2-6 December 2010
Introduction to ANSYS ICEM CFD

Build Topology Customer Training Material

• Remember that curves and points act as constraints


to the mesher, so let’s remove curves and points
which are not required to define geometry
– Geometry -> > Repair Geometry -> > Build Diagnostic
Topology
– Default: Tolerance is auto-calculated as 0.1
– Filter by angle: Turn on Filter points and Filter curves
– Set
S t Feature
F t angle
l to
t 15
– Default: New Part Name is set to Inherited
– Accept other defaults and Click Apply

Many curves
are filtered out

Only essential
feature curves
remain

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-7 December 2010
Introduction to ANSYS ICEM CFD

Global Mesh Size Customer Training Material

• Set the max volume element size in the


domain

• Mesh > Global Mesh Setup > Global Mesh Size


– Set Max element = 64
– Click Apply

• This is a very large element size but the mesh


will be refined based on surface sizing performed
in the next step

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-8 December 2010
Introduction to ANSYS ICEM CFD

Surface Mesh Size Customer Training Material

Set Surface Mesh Size


– Mesh -> Surface Mesh Setup
– Click the Select surface(s)
( )ppicker
– The Select geometry popup tool bar appears,
use the Select All icon to select all the
surfaces

– Set the Maximum element size to 4


– Click Apply

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-9 December 2010
Introduction to ANSYS ICEM CFD

View Tetra Sizes Customer Training Material

• Display icons representing the sizes on


the model
– M
Model
d l Tree
T > Geometry
G t > Surfaces
S f > RMB
> Tetra Sizes

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-10 December 2010
Introduction to ANSYS ICEM CFD

Curve Mesh Size Customer Training Material

Go to Mesh ->
> Curve Mesh Set up
– Method -> General
– Select the indicated curves
– Set Maximum Size to 2
– Set Tetra Width to 3
– Increases the radius of influence of
this sizing control
– Click Apply
#4
Display Curve Mesh Size
– RMB on Curves and
select Tetra Sizes
from the pull down

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-11 December 2010
Introduction to ANSYS ICEM CFD

Create Density Region Customer Training Material

C t D
Create Density
it BBox tto llocally
ll control
t l volume
l mesh
h size
i
– Mesh -> Create Mesh Density
– Set the Size to 2
– Set the Type to Entity bounds
– Use the Select geometry picker
– The Select geometry popup tool bar appears, use the
p
Select Items in a Part Icon to select the ValveSphere
Part, Accept

– Click Apply

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-12 December 2010
Introduction to ANSYS ICEM CFD

Compute Mesh Customer Training Material

• Select Mesh > Compute Mesh > Volume Mesh


– Set Mesh Method > Robust (Octree) (default)
• Click Compute

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-13 December 2010
Introduction to ANSYS ICEM CFD

Cutplane View Customer Training Material


The Surface Tetra Sizes affect
Cutplane View: the mesh near the surface
– RMB on Mesh in the model tree and
activate the Cut plane The Curve Size and
– Change the Cut Plane Method to width set to 3 affect
Middle X Plane the mesh size within
at least three
– Adjust the Fraction Value to display elements of the
this image curves
– Activate Volumes from the Mesh
branch

The Density region


controls the max
element size
within the valve
sphere

The Global max size limits the largest element


possible, but it may not be reached

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-14 December 2010
Introduction to ANSYS ICEM CFD

Check Mesh Quality Customer Training Material

• Check mesh quality


– Select Edit Mesh > Display Mesh Quality
• Set the Criterion to quality (default)
• Click
Cli k Apply
A l

Check the quality histogram. Smooth mesh if


needed
File ->
> Save Project as Valve.prj

ANSYS, Inc. Proprietary Release 13.0


© 2010 ANSYS, Inc. All rights reserved. WS4.2-15 December 2010