Sie sind auf Seite 1von 77

Chapter 1

Introduction

ICEM CFD Introductory


Course

Muhammad Saeed
Saeed.aarib@gmail.com

1-1

Introduction

Schedule

Training Manual

Day 1

Introduction
Geometry Handling
Shell Meshing
Volume Meshing
Output to Solver

Day 2
Prism meshing
Intro to Hexahedral meshing

Muhammad Saeed
Saeed.aarib@gmail.com.

1-2

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Purpose/Goals

Training Manual

Gain understanding of basic functionality for

Geometry import/editing
Meshing (surface meshing, tetra, prism, hexa)
Mesh Editing (smoothing, checks, individual element editing)
Solver setup

Propose best meshing practices

Muhammad Saeed
Saeed.aarib@gmail.com.

1-3

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

What is a Mesh?

Training Manual

Mesh
Volume comprised of elements
used to discretize a domain for
numerical solution

2D Surface/Shell

Structural
Fluid dynamics
Electromagnetics
Other

3D - Volume

Elements
0D Node element
Point mass
Constraint, load location

Tetra
Pyramid
Penta (prism)
Hexa
Solid modeling
3D fluid modeling

Formats

1D Lines

Unstructured
Block Structured

Bars, beams, rods, springs


2D mesh boundary

Muhammad Saeed
Saeed.aarib@gmail.com.

Quads
Tris
Thin sheet modeling
2D volume
3D mesh boundary

Nodes
Point locations of element
corners
1-4

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Ansys ICEM CFD Features

Training Manual

Geometry Creation/Repair/Simplification
Including Mid-Plane Extractions/Extensions
Most geometry intended to be imported

Powerful Meshing tools


Tetra/Prism from CAD and/or existing surface
mesh
Shell meshing: structured, unstructured
Hex-dominant, swept, Structured hexa,
Extruded quads, Body-fitted and stair-step
Cartesian
Hybrid meshing (merging, multi-zone)

Advanced mesh editing


Solver Setup
Output to 100+ Solvers
Post processing
Scripting and much more

Muhammad Saeed
Saeed.aarib@gmail.com.

1-5

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Ansys ICEM CFD Product Purchasing

Training Manual

ICEM CFD
Full capabilities (all meshers, CFD and FEA)
Enables Ansys meshing in Workbench

ICEM CFD Tetra/Prism


Includes hexa core, but not other hexa methods
Enables Ansys meshing in Workbench

ICEM CFD hexa


No tetra/prism
Includes Body-fitted Cartesian (BFC) and Hexdominant

ICEM CFD Add-on


Lower cost, added to Ansys solver bundles
Full capabilities
Only writes to Ansys solvers (Ansys, CFX, Fluent)

CAD interfaces sold separately


Settings->Product filters what options are seen in the application, but
the licensing determines which ones can be used
Muhammad Saeed
Saeed.aarib@gmail.com.

1-6

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

GUI and Layout

Training Manual

Utility Menu
Function Tabs

Utility
Icons
Selection Toolbar
Model
Tree

Data Entry
Panel

Muhammad Saeed
Saeed.aarib@gmail.com.

Display
Triad
Message
Window

1-7

Histogram
Window

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

File and Directory Structure

Training Manual

Use of many files


Not one large common database
For faster input/output

All files are usually associated within a Project


Establishes working directory
Settings (*.prj) file

Primary file types:


Tetin (.tin): Geometry plus

.prj

Geometry entities and material points


Part association
Global and entity mesh sizes
Created in Ansys ICEM CFD or Direct Cad Interface

Domain file (.uns)

.tin

Unstructured mesh

.blk

Blocking file (.blk)

.uns

Blocking topology

Attribute file (.fbc, .atr)


Boundary conditions, local parameters & element types

Parameter file (.par)

.fbc

solver parameters & element types


.rpl

Journal and replay file(.jrf, .rpl)


Record of performed operations (echo file)
Muhammad Saeed
Saeed.aarib@gmail.com.

1-8

.par

.jrf
Department of Mechanical Engineering
Muhammad Ali Jinnah University

Introduction

Mouse Usage

Training Manual

Dynamic viewing mode (click and drag)


left:
middle:
right:
Wheel

rotate (about a point)


translate
zoom(up-down)
screen Z-axis rotation (sideways)
zoom

Selection mode (click)


left:
middle:
right:

select (click and drag for box select)


apply operation
unselect

F9 toggles the mouse control to Dynamic


mode while in Select mode
Spaceball allows for dynamic motion even
while in select mode
Muhammad Saeed
Saeed.aarib@gmail.com.

1-9

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

File menu

Training Manual

To open/save/close

Most common
functions are
duplicated as utility
icons:

Projects
Will open/save/close all
associated files including
Geometry (*.tin)
Mesh (*.uns)
Attributes (*.fbc, *.atr)
All file types can be
opened/saved/closed
independently

Open Project

Also to
Read in results data
Import/Export
Geometry/Mesh
Invoke scripting

Exit
Muhammad Saeed
Saeed.aarib@gmail.com.

Save Project

Open/Save/Close
Geometry
Open/Save/Close
Mesh
Open/Save/Close
Blocking

Save frequently!
1-11

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Other Commonly Used Utilities

Training Manual

Edit > Undo/Redo


Local Coordinate System

View
Fit
Fit active entities into screen

Box Zoom
Standard views
Top, Bottom, Left, etc.
Can also select X, Y, Z axis of display triad
in lower right hand corner of main view
screen to orient to standard view, e.g.
selecting X will orient right
Isometric select blue dot within triad

Used by:
Select location
Measuring
Node/point movement/creation
Alignment
Loads
Transformation

Surface display
Wireframe
Solid
Transparent

Measure
Distance
Angle
Location

Muhammad Saeed
Saeed.aarib@gmail.com.

1-12

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Help

Training Manual

Menu Driven
Searchable
Includes tutorials
Programmers guide
(for ICEM CFD/Tcl
scripting procedures)

Hyper-link to specific
topic

Bubble explanation with


cursor positioning

Muhammad Saeed
Saeed.aarib@gmail.com.

1-13

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Function Tabs

Training Manual

Geometry

Create/Modify geometry

Set mesh sizes, types and methods


Set options
Auto create Shell, Volume, Prism meshes

Mesh

Initialize a block
Split/modify blocks
Generate structured hexa
mesh
Check, Smooth
Refine/Coarsen
Merge, Auto
repair,
Manual edit
Transform, etc.
Set Boundary Conditions
and Parameters
Write mesh for 100+
solvers.

Blocking

Edit Mesh

Output
Muhammad Saeed
Saeed.aarib@gmail.com.

1-14

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Primary Function Tabs

Training Manual

Create, read, write out


material properties
Apply to geometry/elements

Properties

Set constraints,
displacements,
define contacts,
initial velocity, rigid
walls

Constraints

Set force, pressure


and temperature
loads

Loads

Set parameters,
attributes, create
subcases, write out input
file, run solver

Solve
options

Visualize results: cut


plane, streams, animation,
calculate integral and
more.

Post
Processing
Muhammad Saeed
Saeed.aarib@gmail.com.

1-15

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Selection Toolbar

Training Manual

During select mode, popup selection toolbar appears


Some tools are common to all, others are contextual
Linked to select mode hotkeys
By Part
Filtering of entities
Cancel
Geometry
Polygon

Select all

Only visible

Flood fill to Angle

Flood fill to Curve

Entity Filter
Mesh on Geom

Mesh
Circle

Entire/Partial toggle

Blocks
Toggle
Dynamic
Mode (F9)
Muhammad Saeed
Saeed.aarib@gmail.com.

By Subset

From
Corners

Set FF angle

All Shells

Faceted
Geometry
Segments

1-16

In between
segments
Department of Mechanical Engineering
Muhammad Ali Jinnah University

Introduction

Model Tree

Training Manual

To toggle on/off various sections


of the model
Main Categories for:
Geometry, Mesh, Blocking, Parts
Element Properties, Connectors,
Displacements, Loads and Material
Properties

Toggle check boxes to


blank/unblank
Blanked/inactive
Visible/active
Partially visible/active: some sub
members turned on, some turned off

Click on plus sign to expand tree


Expose sub members

Right mouse click for display


options
Muhammad Saeed
Saeed.aarib@gmail.com.

1-17

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Model Tree: Parts

Training Manual

Parts
Grouping of mesh and geometry entities

Based on boundary condition/property


Based on mesh size (can set mesh size by part)
Based on material property
Just to partition large model

Select to blank/unblank all entities within part


Color coded: Part name matches entity screen
display
Right Mouse Button on Parts to access:

Create Part
Create Assembly
Delete Empty Parts
Etc.

RMB on specific parts branches allows options


to modify or delete the parts
Properties are shown as a sub branch of the
part
Double Left Click or RMB > Modify to modify
element properties

Muhammad Saeed
Saeed.aarib@gmail.com.

1-18

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Workflow

Training Manual

Typical ICEM CFD Workflow:


Create/open new project
Import/Create geometry
Build topology/Clean geometry
Mesh model (Possibly Hex Blocking)
Check/edit mesh
Output to Solver
Postprocess

Workflow
Muhammad Saeed
Saeed.aarib@gmail.com.

1-19

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Overall Meshing Process


Open/Create Project

Training Manual

Geometry Import/Creation
Geometry Manipulation/Clean Up
Set Parts

Create Mesh
Auto sizing
Default method/type

Set Mesh Sizes,


Methods and Types

Blocking (Quad/Hexa)
View/Edit Pre-Mesh

Shell Mesh

Auto Volume
Mesh
View/Edit Mesh
Solver Setup
Output to Solver
Post process

Muhammad Saeed
Saeed.aarib@gmail.com.

1-20

Run
Solver
Department of Mechanical Engineering
Muhammad Ali Jinnah University

Introduction

Accessing from Workbench

Training Manual

Ansys ICEM CFD 12 is no longer a module inside Workbench


Export files from Mechanical Model (Simulation) to open in ICEM CFD

Many ICEM CFD capabilities


have been integrated into
the Meshing Application
Tetra octree
Patch dependent surface
mesher
Multizone
Muhammad Saeed
Saeed.aarib@gmail.com.

1-21

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Workbench Interactive Link

Training Manual

Ansys ICEM CFD can still be accessed in Workbench 12 by setting


the environment variable:
ICEM_CFD_INTERACTIVE = 1

Insert a meshing method


MultiZone
Patch Independent
Autoblock

Generate Mesh
Edit within ICEM CFD, save
project, then exit ICEM CFD

Muhammad Saeed
Saeed.aarib@gmail.com.

1-22

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Lets Explore the GUI with a simple practice part

Training Manual

File > Import Geometry (parasolid or acis)


Show menu locations
Mouse controls
Change display options
Shading/Wire, simple/full
Views/Save view

Create Part
Parts concept

Overview process

Create/open/Save Project
Build topology
Define global and local mesh sizes
Create volume mesh
Edit/check quality, smooth
Set up and write out to solver

Muhammad Saeed
Saeed.aarib@gmail.com.

1-23

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Chapter 2
Geometry

ICEM CFD Introductory


Course

Muhammad Saeed
Saeed.aarib@gmail.com

1-24

Introduction

Geometry handling

Training Manual

ANSYS ICEM CFD was designed to mainly import geometry, not create
complicated geometries, although many geometry tools are provided
An accurate solution reflects the
underlying geometry. To get such,
ICEM CFD provides:
Geometry import
Directly from CAD package
3rd party formats (step, acis, etc)
via Workbench/Design Modeler

Surface geometry kernel


Imported solids are converted to
surfaces

Many internal CAD tools


Geometry creation
Geometry modification
Geometry fixing
Muhammad Saeed
Saeed.aarib@gmail.com.

This Jet engine model was built solely


with ICEM CFD geometry tools
1-25

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Geometry Import

Training Manual

CAD from just about any source


Direct CAD Interfaces
Set up ICEMCFD/AI*E meshing requirements
within CAD environment
Saved within CAD part
Retained for parametric geometry changes
Directly write out ICEM formatted geometry (tetin
file)
No 3rd party exchange (clean!)
ProE
Catia V4
Unigraphics
IDEAS
SolidWorks

Direct import
ACIS (.sat)
CATIA V4
DWG/DXF

Muhammad Saeed
Saeed.aarib@gmail.com.

GEMS

STEP/IGES

IDEAS (IDI)

Pro/E

Parasolid

Unigraphics

Pro/E, UG, and Solidworks direct import requires actual CAD


libraries; actual CAD software and licensing must be available
1-26

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Geometry Import - other sources

Training Manual

When CAD is not available, an old legacy model


or the x-ray scan of the part can be imported
as geometry. This input is a collection of
facets (triangulated surfaces).
Faceted Data

Nastran
Patran
STL (most common)
VRML
Other solver formats (indirectly from mesh
conversion)

Formatted Point Data


Auto curve/surface creation from regular points

Workbench Readers
Anything that Workbench can import can also be
imported into ICEM CFD using Workbench readers
Requires Workbench to be installed
Muhammad Saeed
Saeed.aarib@gmail.com.

1-27

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Open Geometry

Training Manual

Geometry saved as tetin (*.tin file)


Legacy name as an abbreviation of
tetra input.
Surface geometry kernel
Any imported solid models are represented
as a series of watertight surfaces

Surfaces are internally represented as


triangulated data
Resolution or approximation of true spline
surface data set by Triangulation Tolerance
Smaller value = better resolution
0.001 works best for most models
Use a high tri tolerance to work with a large
model, but lower the tolerance when it
comes time to compute the mesh
Not used if surfaces are already facetized
(e.g. STL, VRML)
Tri tolerance =
0.1
Muhammad Saeed
Saeed.aarib@gmail.com.

1-28

Tri tolerance =
0.001
Department of Mechanical Engineering
Muhammad Ali Jinnah University

Introduction

Geometry Creation Tools

Training Manual

Screen Select
Explicit Coordinates
Base Point and Delta
Center of 3 Points
Parameter Along a
Vector
Curve Ends
Curve-Curve
Intersection
Parameter along a
Curve
Project Point to Curve
Project Point to
Surface
Muhammad Saeed
Saeed.aarib@gmail.com.

From Points
Arc Through 3 Points
Arc from Center Point/2
Points on Plane
Surface Parameter
Surface-Surface Intersection
Project Curve on Surface
Segment Curve
Concatenate Curves
Surface Boundary
Modify Curves

Reverse direction
Extend
Match curves
Bridge curves
1-29

From Curves
Curve Driven
Sweep Surface
Surface of Revolution
Offset Surface
Midsurface
Adjust varying
thickness
Loft Surface Over
Several Curves
Curtain Surface

Segment/Trim
Surface
Merge/Reapproxi
mate Surface
Geometry
Simplification

Convex Hull
Cartesian
Shrinkwrap

Create Std
Geometry

Sphere
Box
Cylinder
Plane
Disc
Trim normal to
curve

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Faceted Geometry Handling

Training Manual

Create/Modify Faceted

Convert from Bspline


Create Curve
Move nodes
Merge nodes
Create segment
Delete segment
Split segment
Restrict segments
Move to new curve
Move to existing
curve

Convert from Bspline


Coarsen Surface
Create Surface
Merge Edges
Split Edges
Swap Edges
Move Nodes
Merge Nodes

Create Triangles
Delete Triangles

Split Triangles

Restrict Triangles

Move to
new/existing Part

Merge Surfaces

Align Edge to Curve


Close Faceted Holes
Trim by Screen Loop
Trim by Surface Loop

Facetted (triangulated)
surfaces
Muhammad Saeed
Saeed.aarib@gmail.com.

1-30

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Geometry Handling

Training Manual

Repair Geometry
Transformation Tools

Build Diagnostic
Topology
Close Holes
Remove Holes
Stitch/Match Edges
Surface extension
Un-trim surface
Split by curvature
Modify surface
normals
Bolt hole detection
Button detection
Fillet detection

Muhammad Saeed
Saeed.aarib@gmail.com.

Restore Dormant
Entity
Curves/points
originally made
Translate
inactive - ignored
Rotate
by meshing tools
Mirror
Restore to
Scale
activate again seen as
Translate & Rotate
constraints by
Three Points
meshing tools
Curve to Curve

Delete
Points
Curves
Surfaces
Bodies
Any Entity

Build
topology
with
filtering
1-31

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Building Topology Determine Connectivity

Training Manual

Geometry -> Repair Geometry -> Build Diagnostic


Topology
To diagnose potential geometry problems

Shows potential leakage (tetra octree)


Shows where surface mesh may not be connected
Patch dependent surface mesher requires build topology
Tolerance
Specifies allowable gap between surfaces
Size should be set reasonably to ignore small gaps, but not
allow leakage (tetra octree) or remove important features
Connectivity is set up between surface edges that meet within
the tolerance
Filtering should be off when using to determine connectivity
Edge 1
Edge 2
Tolerance

Muhammad Saeed
Saeed.aarib@gmail.com.

1-32

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Building Topology Color Coding

Training Manual

Color coding

Topology curves are color coded to indicate their surface connection status
green = unconnected, yellow = single, red = double, blue = multiple, Grey =
dormant (filtered out)
Turn color coding off on in Model tree > Geometry > Curves > Color by count
Red curves indicate two surfaces meet within the tolerance, This is what you want
for a solid model.
Yellow curves will usually indicate some repair is required
Can you spot the
hole in the solid?

Now you can find


the hole

Red curves indicate


that surfaces meet
within the tolerance
setting

Build Topology

Muhammad Saeed
Saeed.aarib@gmail.com.

Yellow curves
indicate that the
surface is
probably missing
or the gap is
greater than the
tolerance

1-33

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Build Topology Extract Curves and Points

Training Manual

Automatically extracts curves and points


from the surfaces
Filter by angle (default 30 degrees)
Filter Points: Points between two curves whose tangency is
below the feature angle will be filtered out (made dormant)
Filter Curves: Curves between two surfaces whose tangency is
below the feature angle will be filtered out (made dormant)

No
filtering

Tetra octree and


patch dependent
surface mesher
enforce nodes on the
curves

Muhammad Saeed
Saeed.aarib@gmail.com.

Filtering

Needs smaller
mesh size at
fillets
1-34

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Build Topology Segment Surfaces

Training Manual

Automatically segments all surfaces where


curves either make a complete loop on the
surface or span across the surface
Turn Split surface at T-connections off to
turn off segmenting
You can then delete
any surfaces you want

Build
topology

Check off to disable


segmenting
Muhammad Saeed
Saeed.aarib@gmail.com.

1-35

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Tolerance setting

Training Manual

Set adequate tolerance!


Example: some multiple (blue) edges. This
indicates that more then two surfaces meet
within the tolerance setting
Turning on the surfaces reveals one surface
is now missing.
In this case, the tolerance was set to greater
than the thickness, one of the surfaces was
seen as a duplicate within the tolerance and
removed. UNDO
You will need to exercise care not to damage
your model with build topology
Rule of thumb: tolerance should be about
1/10th smallest foreseen mesh size or
smallest feature that you wish to capture

0.09

Build topology with delete duplicate geometry


because its tolerance is zero
Muhammad Saeed
Saeed.aarib@gmail.com.

1-36

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Building Topology Other Options


Training Manual

New Part Name


Inherited: Default: new curves and points
will inherit the part names from surfaces
they are extracted from

Check off Inherit Part to type a new name


or choose from the list

Single curve cleanup


Merges single edge curves with a second
tolerance while resolving sliver surfaces
(normally larger than base tolerance)

Split Surface at T-connections


Resulting mesh will conform to common
edge even though the surface is not split
into two separate surfaces
Will also split a surface into separate
surfaces if the curves form a closed loop
or span across the surface

Split Surface at Interior Curves


Surfaces trimmed along curves that dont
span surface or form a closed loop
Resulting mesh will conform to curve
Muhammad Saeed
Saeed.aarib@gmail.com.

1-37

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Building Topology Other Options

Training Manual

Method
All parts, default method
Only visible parts
Build topology is only run on active Parts in the model
tree
Inactive Parts are not affected

Selection
Build topology on one or more surface entities

Part by part
Build topology is run on one part at a time
Use with assemblies to keep parts separate
Otherwise build topology may fix gaps, create T-connections or
remove duplicates across Parts

Delete unattached curves and points


Removes unattached curves (green) and points after running build
topology
Easy clean-up of unwanted curves/points
Users may, however, wish to keep these curves/points for
construction purposes (turn option off)
Muhammad Saeed
Saeed.aarib@gmail.com.

1-38

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Demo

Training Manual

Watch the instructor demo this stamped part

Mid surfacing
Build topology
Filtering curves and points
Close multiple holes

Muhammad Saeed
Saeed.aarib@gmail.com.

1-39

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Workshop

Training Manual

Engine Part

Build topology
Retrim surfaces
Match surfaces
Fill gaps
Close holes
Remove holes
Extruded surface
Delete unattached

Muhammad Saeed
Saeed.aarib@gmail.com.

1-40

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Chapter 2
Geometry
Workshop 1
Engine Block

ICEM CFD Introductory


Course

Muhammad Saeed
Saeed.aarib@gmail.com

1-41

Introduction

Create a Project

Training Manual

Choose File > New Project


Browse to EngineBlock working directory
Enter the project name
Type in the File name as: engine_block.prj

Tips:
The pull down next to the file name
can be used to quickly locate
recently used projects.
In Windows, The File browser is a
standard Windows file browser
offering all the functionality of
windows explorer.
In Unix or Linux, similar functionality
is also available.

The Project file contains information about project settings, the working folder and file associations.
Once the geometry, mesh, boundary conditions, parameter files etc. are saved with the project file,
simply loading the project file will also load these associated files.
Muhammad Saeed
Saeed.aarib@gmail.com.

1-42

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Open Geometry

Training Manual

Read in the geometry:

Muhammad Saeed
Saeed.aarib@gmail.com.

File > Geometry > Open Geometry..


Select: engine_block.tin using the
File Browser and Open
RMB on surfaces in the Model tree
and select Solid
Rotate the model and you can see
that this geometry has missing
surfaces, holes, gaps, overlapping
surfaces and untrimmed surfaces

1-43

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Build Diagnostic Topology

Training Manual

Checks the geometry for imperfections within a user defined tolerance.


Measure the size of the smallest feature on the geometry. Make sure
that the tolerance is small enough to keep important details in the
geometry. Rule of thumb: 1/10th to 1/5th of the smallest mesh size, or
1/10th of the smallest geometry feature

Geometry > Repair Geometry > Build Diagnostic Topology


Set Tolerance = 0.05
Accept all other defaults
Hit Apply

Measure distance

Muhammad Saeed
Saeed.aarib@gmail.com.

1-44

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Remove Holes

Training Manual

Yellow curves indicate a gap or hole


Geometry > Repair Geometry > Remove holes
Select the four boundary curves on the holes shown

Hit Apply
Automatically removes holes by untrimming the surface
there

Muhammad Saeed
Saeed.aarib@gmail.com.

1-45

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Close Holes

Training Manual

Geometry > Repair Geometry > Close


holes
Select any one of the boundary
curves on the hole
Press l (lower case L) on the
keyboard or Select all items attached
to current selection in the Select
geometry toolbar
Selects all curves tangentially
attached to the selected curve

(flood fill)
Selection restricted to yellow
(single edge ) curves
Middle mouse, then hit Apply

Select all items


attached

Press y to accept the surface

Confirm
with key
y
Muhammad Saeed
Saeed.aarib@gmail.com.

Key l

Middle
mouse
1-46

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Stitch/Match Edges Extend/Trim

Training Manual

Geometry > Repair Geometry >


Stitch/Match edges
Select two opposite curves to
close the gap
When prompted press t to
select trim
Press y to accept
Repeat for 3 more pairs to close

the gap
Rerun Build Topology in order
to update the connectivity

Muhammad Saeed
Saeed.aarib@gmail.com.

1-47

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Stitch/Match Edges Extend/Trim

Training Manual

Geometry > Repair Geometry >


Stitch/Match edges
This location is similar to what is
seen with IGES import often
Change method to Extend/Trim
This is the same method as
previously by pressing t with
user select, but with confirmation

Rerun Build Topology to update


the connectivity if any of these
curves turn green (unattached)
Order is important: first curve tries
to move to second curve
Select
first

Select
second

Select
first

Select
second

Muhammad Saeed
Saeed.aarib@gmail.com.

1-48

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Project Point to Curve

Training Manual

Geometry > Create point > Project


Point to Curve
This location is similar to what is seen with
IGES import often
The surfaces will next be matched which
will bend the surface of the first curve to
match the second curve. Therefore, the
curve ends must be fairly close or else the
surface gets greatly distorted
The large curve will need to be segmented
at these points

First select
the long
curve

Two points
were created

Then select
these 2
points
Muhammad Saeed
Saeed.aarib@gmail.com.

1-49

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Segment Curve

Training Manual

Geometry > Create/Modify Curve >


Segment Curve
Pick the long curve first
Then select the two points
Middle mouse click

Any function that highlights a curve


will show it is segmented

Right click to cancel


First select
curve

Then select
the 2 points

Muhammad Saeed
Saeed.aarib@gmail.com.

1-50

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Stitch/Match Edges Match

Training Manual

Geometry > Repair Geometry > Stitch/Match edges


Set Method back to User Select
Select two opposite curves to match the surface boundaries
The surface of the first curve will be stretched to meet the
second curve
When prompted press m to select match
Repeat for 2 more pairs to close the gap

Rerun Build Topology in order to update the connectivity


Select
second

Select
first

Muhammad Saeed
Saeed.aarib@gmail.com.

1-51

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Close Gaps

Training Manual

Geometry > Repair Geometry > Stitch/Match edges


Set Max gap distance to 2.0
Select all curves
All single curve pairs within the defined gap distance
will be presented automatically. Choose the option fill
surfaces, key f and confirm with y. For example,

Skip very tiny gaps by the option no change: key n. For example:
In this workshop you will
have to use the fill option to
create five surfaces and
ignore two tiny gaps using no
change option
Muhammad Saeed
Saeed.aarib@gmail.com.

1-52

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Close Gaps

Training Manual

Increase the gap distance to 2.5, select all curves, and search for
gaps.

Geometry > Repair Geometry > Stitch/Match edges


Set Max gap distance to 2.5
Select all curves a
When presented, skip the 2 tiny gaps by option n, no
change, until a larger gap appears between a longer and a
shorter curve. Use the option set partial - key p, and then
fill - key f, confirm with y.
Use the option no change, n when presented with more
curves

Press p for set partial


Then press f for fill
Muhammad Saeed
Saeed.aarib@gmail.com.

1-53

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Build Topology: Split surfaces

Training Manual

Select Geometry > Repair Geometry > Build Diagnostic


Topology
Keep Tolerance = 0.05
Toggle on Split surface at T-connections if it is not on already

Surfaces automatically trimmed

If build topology was already run with this option on then the surfaces
are already segmented
Hit Apply
Delete the surfaces that extend outside the volume as shown

Hidden surface see next slide

The overhanging surfaces


are easily found at the blue
(multiple) curves
Muhammad Saeed
Saeed.aarib@gmail.com.

1-54

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Delete surfaces

Training Manual

To select surfaces in background


If hard to view hidden or background surface, turn on
Transparent mode
RMB Surfaces in model tree
Cant select through solid surface in foreground
Even when transparent
Turn on Wire Frame
You can select through foreground surfaces by
selecting parametric line of background surface
Or blank surface in foreground in solid display
Then select to delete

Muhammad Saeed
Saeed.aarib@gmail.com.

1-55

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Build Topology

Training Manual

RMB on curves and select Show Double. This will turn off all
double curves.
Turn off surfaces and points

Geometry > Repair Geometry > Build Diagnostic


Topology
Set Tolerance = 0.05
Toggle on Single curve clean up and enter a tolerance

of 0.5

Thin gap regions less than 0.5 will be ignored

Sliver features greater than 0.05 will be retained

Toggle on Split surface at T-connections


Accept all other defaults
Hit Apply
Note unattached curves (green) are automatically deleted

Build
topology

Muhammad Saeed
Saeed.aarib@gmail.com.

1-56

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Close Holes

Training Manual

Geometry > Repair Geometry > Close


Holes
Toggle on Multiple holes
Select the curves that bound the two holes
shown
When prompted press y to accept the
surface

Muhammad Saeed
Saeed.aarib@gmail.com.

1-57

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Create Surfaces

Training Manual

Geometry > Create/Modify Surfaces > Curve


Driven

#1

Turn Inherit part off


Enter the part name as CUTPLANE
Select the driving and the driven curve as
shown
#2

Driven curve

#3
#4

Driving curve
Muhammad Saeed
Saeed.aarib@gmail.com.

1-58

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Trim Surface

Training Manual

Geometry > Create/Modify Surfaces >


Segment/Trim surface
Select the CUTPLANE surface
Select the single curves (yellow) to trim the
surface
The surface is split into 4 separate surfaces

#1

The surface segmenting can also be done by


running Build Topology with Split surface at
T-connections toggled on
Delete the 3 unwanted surfaces afterward
#2

#5

#3

#4

Muhammad Saeed
Saeed.aarib@gmail.com.

1-59

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Delete Unattached

Training Manual

Geometry > Delete Curve


Toggle on Delete Unattached

No curves need to be selected.


All unattached curves will be
deleted
Press Apply
An unattached point is still left

Geometry > Point


Toggle on Delete Unattached

Press Apply
Both these operations can be done by
Build Topology with Delete
unattached curves and points
Save Project
Muhammad Saeed
Saeed.aarib@gmail.com.

1-60

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Chapter 6
Introduction to Hexa
Workshop 2
3D Pipe Junction

ICEM CFD Introductory


Course

Muhammad Saeed
Saeed.aarib@gmail.com

1-61

Introduction

3D Pipe Junction

Training Manual

3D Pipe Junction
In this workshop contains 3D
geometry
Here we will initialize a 3D
block for this geometry
Generation of mesh after
blocking

Muhammad Saeed
Saeed.aarib@gmail.com.

1-62

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Set Working Directory

Training Manual

Set Working Directory


File > Change Working Directory
This will pop up a window. Select
the directory where geometry has
placed.
It provides access to selected
directory directly
All output files will be saved in
same folder until user change the
location

Muhammad Saeed
Saeed.aarib@gmail.com.

1-63

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Open Geometry

Training Manual

Open Geometry
File > Open Geometry
Choose geometry.tin
file
Click Open

Muhammad Saeed
Saeed.aarib@gmail.com.

1-64

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Blocking Strategy

Training Manual

Muhammad Saeed
Saeed.aarib@gmail.com.

Blocking strategy

Here we will be going for Top Down


approach of blocking.

3D pipe junction has a simple blocking


strategy to follow

User need to cut two blocks from initial


block to create L-shape configuration to
capture both the cylinder.

Create Cartesian blocking.

1-65

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Initialize Blocking

Training Manual

#1

#2

Begin blocking

Select Blocking > Create Block > Initialize


Blocks

Change Type to 3D Bounding Box

Click Apply

This creates one block which encloses the


entire geometry

Curves automatically change color (colored


separately instead of by part) to allow you to
see where the ends of curves are

#3

#4

Muhammad Saeed
Saeed.aarib@gmail.com.

1-66

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Split to Create Topology

Training Manual

#1

#2

#3

Splitting blocks

Select Split Block > Split Block

Left click on the edge to split

The new edge will be normal


to the edge that you select

Hold left mouse button and


drag the split to desired
location

Middle mouse button to


complete or Apply

Split this edge


for the vertical
splits

#4

Split this edge for


the horizontal
split

Muhammad Saeed
Saeed.aarib@gmail.com.

1-67

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Deleting Blocks

Training Manual

#1

Delete Block
Select Delete Block
Select top right corner block as shown
Selected block turns Black
Apply or middle mouse

#2

This doesnt actually delete the blocks. It


moves them to the part, VORFN, so they can
be used again, if desired
To actually delete the blocks, select Delete
permanently

By default VORFAN part is always disable

Muhammad Saeed
Saeed.aarib@gmail.com.

1-68

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Split to Create Topology


#1

#2

#3

Training Manual

Splitting selected blocks only

Select Split Block > Split Block

Click on Selected button

Select the blocks to split then middle click to confirm


selection

Left click on the edge to split

The new edge will be normal to the edge that you select

Hold left mouse button and drag the split to desired


location

Middle mouse to complete or Apply

Repeat the procedure for second split

Delete unwanted blocks

#4

After deletion
Muhammad Saeed
Saeed.aarib@gmail.com.

1-69

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Associate Edges to Curves

Training Manual

Select Associate > Associate Edge to


Curve
Select 3 edges as shown

#1

Select 3 inner curves as shown to left


Middle mouse or Apply
Curves automatically grouped to one

Note single color of grouped curve

#2
#3

Curves in
green, yellow
and pink color

Note color change of edges


White (boundary) to green
(constrained to curve)
Repeat for 3 edges and 3 outer curves
as shown below
After complete

Edges

association

Muhammad Saeed
Saeed.aarib@gmail.com.

1-70

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Move Vertices onto Geometry

Training Manual

Move required vertices

Select Move Vertex > Move Vertex


Select Multiple as method

#1

Left click, hold, and drag to select multiple


vertices in rectangular drag box
Middle click, hold and drag vertices to desire
location and leave button when finished
moving all vertices

#2

#3

Selection
box

In selected set one vertex and edges attached


to it are not associated to any curve but when
we middle click to move vertices it follows the
path of vertex of associated edge.

#4

After move vertex


Muhammad Saeed
Saeed.aarib@gmail.com.

1-71

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Move Vertices onto Geometry

Training Manual

Repeat previous move vertex


operation on the vertices shown
below

vertices
Muhammad Saeed
Saeed.aarib@gmail.com.

After move vertex


1-72

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Global Mesh & Pre-Mesh setting

Training Manual

#5

#1

Mesh Setup
Select Global Mesh Setup > Global
Mesh Size

#2
#6

Set Max element to 3.5


Click Apply

#7

Select Pre-Mesh Params >


Meshing Parameters

#3

Select Update All


Click Apply

This will update all the parameters


for Hex Meshing
#4

Muhammad Saeed
Saeed.aarib@gmail.com.

#8

1-73

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Compute Mesh

Training Manual

Compute Mesh
Select Pre-Mesh in tree
This will pop up and
window asking for recompute mesh
Click on Yes
This will generate and
display Pre-Mesh
Try changing the max size
to 2.5 and re-compute mesh
again

Mesh with 3.5 size


Muhammad Saeed
Saeed.aarib@gmail.com.

Mesh with 2.5 size


1-74

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Edge Params

Training Manual
#1

Edge Params
Select Pre-Mesh Params > Edge
params
Select Edge
Set Nodes and middle click to confirm
Click Apply

#2
#3
#4

Fine mesh vertically

#5
Muhammad Saeed
Saeed.aarib@gmail.com.

1-75

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Quality Check

Training Manual

#1

#2

Quality Check
Select Blocking > Pre-Mesh
Quality Histogram
Select Quality in Criterion
Click Apply
Right click on Histogram and
select Show. This will display the
selected elements.

Bad quality elements


are displayed
#3

Elements selected
to display

Muhammad Saeed
Saeed.aarib@gmail.com.

1-76

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Quality Check

Training Manual

Quality Check
Select Blocking > Pre-Mesh Quality
Histogram
Select Determinant 2*2*2 in
Criterion
Click Apply

Muhammad Saeed
Saeed.aarib@gmail.com.

1-77

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Introduction

Save File

Training Manual

Save Project As
Select File > Save Project As..
This will directly open
3DPipeJuct directory as we
have set working directory
already
Enter project name
3DPipeJunct
Save files.

Muhammad Saeed
Saeed.aarib@gmail.com.

1-78

Department of Mechanical Engineering


Muhammad Ali Jinnah University

Das könnte Ihnen auch gefallen