0% found this document useful (0 votes)
63 views20 pages

Workshop 2.1 Geometry Repair - Engine Block: Introduction To ANSYS Icem CFD

Uploaded by

Petco Andrei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views20 pages

Workshop 2.1 Geometry Repair - Engine Block: Introduction To ANSYS Icem CFD

Uploaded by

Petco Andrei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Workshop 2.

1
Geometry Repair – Engine Block
14.5 Release

Introduction to ANSYS
ICEM CFD
© 2012 ANSYS, Inc. April 1, 2013 1 Release 14.5
Create a Project
– Choose File > New Project
– Browse to EngineBlock working directory
– Enter the project name
– Type in the File name as: Engine_block.prj
– Save
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.
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.
© 2012 ANSYS, Inc. April 1, 2013 2 Release 14.5
Open Geometry
• Read in the geometry:
– 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

© 2012 ANSYS, Inc. April 1, 2013 3 Release 14.5


Build Diagnostic Topology
• Build Diagnostic Topology checks the geometry for imperfections
within a user defined tolerance. Measure the size of the smallest
#1 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

#2 • Geometry > Repair Geometry > Build Diagnostic Topology


– Set Tolerance = 0.05
– Accept all other defaults
#3
– Click Apply

Measure distance

#4

© 2012 ANSYS, Inc. April 1, 2013 4 Release 14.5


Remove Holes
• Yellow curves indicate a gap or hole
• Geometry > Repair Geometry > Remove holes
– Select the four boundary curves on the holes shown
#1
– Middle mouse click, and this will perform the function
– Automatically removes holes by untrimming the surface
there
#2

#3

© 2012 ANSYS, Inc. April 1, 2013 5 Release 14.5


Sets angle of
Close Holes flood fill

• Geometry > Repair Geometry >


Close holes
– Select any one of the boundary curves
on the hole shown
#1
– Press “l” (lower case L) on the
keyboard or Select all items attached to
current selection in the Select
#2
geometry toolbar
– Selects all curves within a set
angle attached to the selected
curve (“flood fill”)
– Selection restricted to yellow
(single edge ) curves
– Middle mouse to accept
– Press “y” to accept the surface Select all items #3
attached…
– Middle mouse to exit selection

Confirm
Middle Key ‘l’
with key ‘y’ mouse

© 2012 ANSYS, Inc. April 1, 2013 6 Release 14.5


Stitch/Match Edges – Extend/Trim
• Geometry > Repair Geometry >
Stitch/Match edges
#1
– Select two opposite curves to close
the gap in the location shown
– Middle mouse to accept
#2 – When prompted press “t” to select
trim
– Press “y” to accept, if it looks
correct
– Repeat for 3 more pairs to close the
gap
– Rerun Build Topology in order to
update the connectivity (tol=0.05)
#3

3 other pairs
were done

© 2012 ANSYS, Inc. April 1, 2013 7 Release 14.5


Stitch/Match Edges – Extend/Trim
• Geometry > Repair Geometry > Stitch/Match edges
– Change method to Extend/Trim
#1
– This is the same method as previously by
pressing “t” with ‘user select’, but without
confirmation
#2
– Select the first 2 curves as shown at the
lower right picture, and middle mouse click
– Rerun Build Topology (tol=0.05) to update
the connectivity if any of these curves turn
green (unattached)
– Order is important: first curve tries to move
#3 to second curve Select
– Repeat for a total of 4 pairs of yellow curves second

Select Select
first first #3

Select
2 more curve second
pairs were
done here

© 2012 ANSYS, Inc. April 1, 2013 8 Release 14.5


Project Point to Curve
• Geometry > Create point > Project
Point to Curve
– This location is similar to what is seen with
#1
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
#2 curve ends must be fairly close or else the
surface gets greatly distorted
– The large curve will need to be segmented
at these points

#3 Two points
First select were created
the long
curve

Then select
these 2 points
and middle
mouse click
(2nd time exits
selection)
© 2012 ANSYS, Inc. April 1, 2013 9 Release 14.5
Segment Curve
• Geometry > Create/Modify Curve >
Segment Curve
– Method = Segment by point
#1 – Pick the long curve first
– Then select the two points on the curve
– Middle mouse click to finish
– Any function that highlights a curve will
show it is segmented
– Right click to cancel
First select
curve
#2
#3

Then select
the 2 points
on the curve

© 2012 ANSYS, Inc. April 1, 2013 10 Release 14.5


Stitch/Match Edges – Match
• Geometry > Repair Geometry > Stitch/Match edges
– Set Method back to User Select
– Select two opposite curves to match the surface boundaries as shown
#1 below, and middle mouse click.
– The surface of the first curve will be stretched to meet the second
curve
#2
– Increase the value of “Max gap distance” to 0.2 if it doesn’t work with
value 0.1
– When prompted press “m” to select match
– If you get an error, “can't get endpoints of curve,” build topology again
– Repeat for 2 more pairs to close the gap
– Rerun Build Topology in order to update the connectivity
#3

Select
second

Select #4
first

© 2012 ANSYS, Inc. April 1, 2013 11 Release 14.5


Close Gaps
• Geometry > Repair Geometry > Stitch/Match edges
– First change surface display to wireframe
#1
– Set Max gap distance to 2.0
#2 – Select all curves (box select and middle mouse or press “a”)
– 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:

#3

#4 Skip very tiny gaps by the option no change: key “n”. For example:
– Middle mouse click when done
In this workshop you will
have to use the fill option to
create five surfaces and
ignore two tiny gaps using no
change option
© 2012 ANSYS, Inc. April 1, 2013 12 Release 14.5
Close Gaps
Increase the gap distance to 2.5, select all curves, and search for
gaps.
• Geometry > Repair Geometry > Stitch/Match edges
#1
– 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
#2 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

#3

Press “p” for ‘set partial’ Do NOT fill this one. The wrong
Then press “f” for ‘fill’ curves will be highlighted
© 2012 ANSYS, Inc. April 1, 2013 13 Release 14.5
Build Topology: Split surfaces
• Select Geometry > Repair Geometry > Build Diagnostic
Topology
– Keep Tolerance = 0.05
#1
– Toggle on Split surface at T-connections if it is not on already
• Surfaces automatically trimmed
#2 – If build topology was already run with this option on then the surfaces
are already segmented
– Click Apply
#5
• Delete the 3 surfaces that extend outside the volume as shown

Hidden surface – see next slide

#3
The overhanging surfaces
are easily found at the blue
#4 (multiple) curves
© 2012 ANSYS, Inc. April 1, 2013 14 Release 14.5
Delete surfaces
• To select surfaces in background
• If hard to view “hidden” or background surface, turn on
Transparent mode
• RMB Surfaces in model tree
• Can’t 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 interior surface to delete

© 2012 ANSYS, Inc. April 1, 2013 15 Release 14.5


Build Topology
• RMB on curves and select Show Double. This will turn off all
double curves.
• Turn off surfaces and points
#3
• Geometry > Repair Geometry > Build Diagnostic
#4 Topology
– Set Tolerance = 0.05
#2 – Toggle on Single curve clean up and enter a tolerance
of 0.5 (always a bigger number than the first tolerance)
• Thin gap regions less than 0.5 will be ignored
• Sliver features greater than 0.05 will be retained
#1 – Toggle on Split surface at T-connections (if not ON)
#5
– Accept all other defaults
#6 – Press Apply
– Note unattached curves (green) are automatically
deleted and some yellow curves disappeared

Build
topology
#7
© 2012 ANSYS, Inc. April 1, 2013 16 Release 14.5
Close Holes
• Geometry > Repair Geometry > Close Holes
– Toggle on Multiple holes
– Select the curves that bound the two holes shown and
#1 middle mouse click
– When prompted press “y” to accept each created surface
– Middle mouse click afterward to exit selection
#2

#3 #4

© 2012 ANSYS, Inc. April 1, 2013 17 Release 14.5


Create Surfaces
• First turn surfaces back on #1

• Geometry > Create/Modify Surfaces > Curve Driven


#2 – Turn Inherit part OFF
– Enter the part name as CUTPLANE
– Select the driving and the driven curve as shown
– Only need to middle mouse click after driven curve
#4
– Middle mouse click again after the surface is created
in order to exit selection mode

#3 Driven curve

#5

#6

Driving curve

© 2012 ANSYS, Inc. April 1, 2013 18 Release 14.5


Trim Surface
• Geometry > Create/Modify Surfaces >
Segment/Trim surface
– Select the CUTPLANE surface, middle click
#1
– Select the single curves (yellow) shown to trim
the surface and middle mouse click
– The surface is split into 4 separate surfaces
• 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

#3
#5

#4

© 2012 ANSYS, Inc. April 1, 2013 19 Release 14.5


Delete Unattached
#1

• Geometry > Delete Curve


– Toggle on Delete Unattached
#2
• No curves need to be selected.
All unattached curves will be
deleted
• Press Apply
#3
• An unattached point is still left

#4
• Geometry > Point
– Toggle on Delete Unattached
#5 • Press Apply
• Both these operations can be done by
#7
Build Topology with Delete
unattached curves and points
#6 • Save Project
© 2012 ANSYS, Inc. April 1, 2013 20 Release 14.5

You might also like