Escolar Documentos
Profissional Documentos
Cultura Documentos
Preparing Geometry
for a Hex Mesh
Objectives:
10-1
10-2
LESSON 10
Model Description:
In this exercise, you will create a new database and then
import CAD geometry. You will create several new surfaces
by decomposing and editing some existing surfaces to
complete the model.
Decomposition of the CAD geometry is required when
IsoMeshing a solid. IsoMeshing requires that the solids must
have 5 or 6 faces. Thus, one needs to decompose the n-edged
surface into a number of 3- or 4-edged surfaces to create 5or 6-faced solids.
Shown on next page is a drawing of the surfaces you will be
decomposing and suggested steps for their constructions.
Session files will also be used to complete some of the
geometry. You will also create curves using the Point
method, edit surfaces using the Break and Edge Match
option.
After the solid model is completely decomposed into
triparametric solids, you will mesh the completed solid
model with hex elements.
10-3
Surface 8
Surface 14
Surface 7
Z
Y
Surface 11
10-4
LESSON 10
Files:
All the files used in this exercise are listed below. Each listing includes
the file, where it originated, its format (text/binary) and summary
information as to how it relates to this exercise.
File
Supplied/CreateDescription
Hex.db
Created
Gadget.igs
setup.ses
10-5
Exercise Procedure:
Open a New
Database
1.
File/New ...
New Database Name:
Hex.db
OK
In the New Model Preference form set the model preference as default.
Tolerance:
Default
Analysis Code:
MSC/NASTRAN
Analysis Type:
Structural
OK
2.
Import an
IGES file
File/Import...
Object:
Model
Source:
IGES
Import File:
Gadget.igs
Apply
Click OK on the IGES Import Summary Form
OK
3.
10-6
LESSON 10
Y
Z
4.
File/Session/Play ...
Play from file:
Running a
*.ses
Session File
setup.ses
Apply
The function of this session file is to use the curve method
to create surfaces to bound the whole model.
10-7
After you run the file, the following should appear in your
viewport.
Y
Z
5.
Post Base
Part of Model
Group/Post
Select Groups to Post
Apply
Cancel
Change the view to isometric 2.
10-8
geo_base
LESSON 10
Tip (point 8)
Surface 16.3
Y
X
Z
6.
First you must create a curve to enclose the gap on the right
side of the model. This wil be done by translating the existing
curve on the left side of the model
Geometry
Action:
Transform
Object:
Curve
Method:
Translate
Translation Vector
Click in the Traslation Vector databox and then select the tip
and base icon
10-9
Auto Execute
Apply
You need to trim the curve to fit the gap
Action:
Edit
Object:
Curve
Method:
Trim
Curve/Point List
Apply
Repeat this procedure for the top half of the curve
Action:
Edit
Object:
Curve
Method:
Trim
Curve/Point List
Apply
Create
Surface
Using Curve
Method
10-10
Geometry
Action:
Create
Object:
Surface
LESSON 10
Curve
Method:
Option:
2 Curve
Curve 1
Surface 14.2
Figure 8-2 Note: Geometric ID numbers may not match exactly in this
exercise. Refer to a figure whenever possible
Curve 1
New surface
30
Surface 14.2
Y
7.
Viewing/Angles...
Angles
15 50 0
Apply
Cancel
8.
Create Curve
Using Point
Method
Geometry
Action:
Create
10-11
Object:
Curve
Method:
Point
Option:
2 Point
Point 17
For the end point, first select the Point on a Curve icon in
the select menu:
After that, select the Edge icon and then select the edge of
surface 11 as follows:
17
11
Y
X
Z
Con..(Point 17)..(Surface
11.2)
LESSON 10
New Curve
11
Y
X
Z
9.
Geometry
Action:
Create
Object:
Curve
Method:
XYZ
<-15 0 0>
Create Curve
using XYZ
Method
Apply
10-13
Figure 8-3:
New Curve
3
43
11
Y
X
Z
Surface 26
10.
Edit Surface
Using Break
Method
Geometry
Action:
Edit
Object:
Surface
Method:
Break
Option:
Curve
Surface List
Surface 26
Curve 2
10-14
LESSON 10
New Surface
32
3
31
Y
X
Z
Surface 11
Geometry
Action:
Edit
Object:
Surface
Method:
Break
Option:
Curve
Surface List
Surface 11
Curve 3
10-15
New Surface
33
32
34
31
Y
X
Z
11.
Geometry
Action:
Delete
Object:
Any
Curve 2 3
Apply
12.
Create Solid
Using B-rep
Method
Geometry
Action:
Create
Object:
Solid
Method:
B-rep
10-16
LESSON 10
Surface 21.2
Edges not
matched due
to missing
surface
Surface 30.3
Y
X
Z
13.
Geometry
Action:
Create
Object:
Surface
Method:
Glide
Surface 21.2
Surface 16.3
Apply
Now you will trim the surface you just created
Action:
Create
Object:
Surface
Method:
Trimmed
Auto Chain...
Select a Start Curve
Surface 30.3
PATRAN 302 Exercise Workbook - Release 8.0
10-17
Surface 29.2
OK
Click on next if the curve in the box is not the curve you want to select.
If it is press OK. Continue around the edge of the surface clockwise
until it is completely enclosed.
Cancel
Outer Loop List
Curve 2
Surface List
Surface 32
Apply
Respond Yes to both when promted to delete the original surface and
curves
14.
Edge Match
the Model
Geometry
Action:
Edit
Object:
Surface
Method:
Edge Match
Option:
2 Surface
Surface 1 List
Surface 30
Surface 2 List
Surface 33
Apply
15.
Create Solid
by B-rep
Method
Geometry
Action:
Create
Object:
Solid
Method:
B-rep
LESSON 10
Apply
A message should come up in the command window to state
that solid 6 is created.
16.
Create Mesh
Seeds on
Model
Finite Elements
Action:
Create
Object:
Mesh Seed
Method:
Uniform
4
24
30
32
33
21
16
14
31
34
1
13
6
15
12
17
20
4
8
10-19
Create Group
17.
Create
Group
Group/Create...
New Group Name
fem_base
Make Current
Apply
Cancel
Create Mesh
18.
Finite Elements
Action:
Create
Object:
Mesh
Method:
Surface
Element Topology
Quad4
Mesher
Paver
Surface List
Surface 14
Apply
and
Global Edge Length
Element Topology
Quad4
Mesher
Isomesh
Surface List
Surface 30
Apply
10-20
LESSON 10
Turn off all the entity labels and your model should appear as
shown below.
19.
Finite Elements
Action:
Sweep
Object:
Element
Method:
Extrude
Sweep
Elements
Mesh Control
Number of Elements
Number
OK
Now click the Direction Vector databox and then select the
following icons in the select menu:
First select this icon:
10-21
Sweep Elements
Surface 30
Surface 14
Point 22
Direction Vector
Point 38
Apply
10-22
Elm 1:74
(Select all the elements on
surface 14 and 30)
LESSON 10
20.
Mesh Control
Number of Elements
Number
OK
Use the beam, point, and node icons to select the Direction
Vector.
10-23
Sweep Elements
Node 323
Point 23
Click in the Base Entity List databox and then select the
element face icon:
10-24
LESSON 10
Con..(Node323)..(Point 23)..
Direction Vector
Apply
Now change the view angle back to 15 50 0 and the following should
appear in your viewport.
10-25
Create Mesh
New Mesh
Create Mesh
21.
22.
Finite Elements
Action:
Create
Object:
Mesh
Method:
Surface
Element Topology
Quad4
Mesher
Paver
Surface List
Surface 6
Apply
10-26
LESSON 10
New Mesh
23.
Finite Elements
Action:
Sweep
Object:
Element
Method:
Extrude
Sweep
Elements
Mesh Control...
Number of Elements
Number
OK
Use the same direction vector as last time (node 323 to point
23) and use the following select menu icons to select all the
new created elements on surface 6 as the base entities.
10-27
Sweep Elements
Direction Vector
Surface 6
Apply
A message should show up in the command window to state
that 4 elements have been created.
24.
Change the view to Top view and then perform the sweep
element procedure again for the following entities:
Mesh Control...
Number of Elements
Number
OK
10-28
LESSON 10
Point 8
Point 1
Select the element
faces here
Direction Vector
Elm 297.5..370.5
375.5..378.5
Apply
10-29
Create Mesh
Finite Elements
Action:
Create
Object:
Mesh
Method:
Surface
Element Topology
Quad4
Mesher
Paver
Surface List
Surface 33 34
(The two unmeshed surfaces at the left of the
model)
Apply
10-30
Create Mesh
LESSON 10
25.
Finite Elements
Action:
Sweep
Object:
Element
Method:
Extrude
Sweep
Elements
Mesh Control...
Number of Elements
Number
OK
10-31
Sweep Elements
Elm 1003:1038
Apply
The model should appear as follows:
26.
Display/
Entity Color/Label/Render...
Render Style:
Apply
10-32
Element Fill
LESSON 10
and
Display/Plot Erase...
Erase All Geometry
Click the repaint button in the Main window and your model
should appear as shown below.
27.
Create Finite
Element
Finite Elements
Action:
Associate
Object:
Element
Method:
Solid
10-33
Element List
Solid List
Solid 6
Apply
When the process is done, the number of nodes that have been
associated to the solid will be shown in the command window.
28.
Post
Extension
Part of Model
Group/Post ...
Select Groups to Post
geo_extension
Apply
Cancel
29.
30.
10-34
LESSON 10
Geometry
Action:
Create
Object:
Surface
Method:
Curve
Option:
2 Curve
Curve 1
Surface 3.4
Apply
Now Create the solids
Geometry
Action:
Create
Object:
Solid
Method:
Surface
Option:
2 Surface
Surface 34
Surface 5
Create
Solids Using
Surface
Method
Apply
10-35
24
Solid 1
2 Surface
Surface 3
Surface 4
Apply
Solid 2
Z
10-36
LESSON 10
31.
Geometry
Action:
Create
Object:
Surface
Method:
Decompose
Surface
Surface 25
Point 16
Point 25
Point 26
Decompose
Surfaces
For the fourth vertex, first select the second icon in the select
menu, edge point:
10-37
Decompose Surfaces
16
Select a
point on
this curve
25
26
Surface 25 (u 0.744...
New Surface
27
10-38
Surface 25
LESSON 10
For the first, second and third vertex, use the point pick icon
in the select menu to pick the point.
Again, to pick the fourth vertex, use the second icon in the
select menu.
Point 9
Point 16
Point 43
Apply
9
16
Point to
Pick
43
Y
10-39
Decompose Surfaces
New
Surface
28
Once again,
Surface Vertex 1 List
Point 44
Point 27
Point 12
Point 9
Apply
New
Surface
28
44
29
Y
27
27
Z
X
12
10-40
27
LESSON 10
32.
Geometry
Action:
Create
Object:
Solid
Method:
Extrude
Create Solid
Using
Extrude
Method
Now click the Translation Vector databox and then select the
following icons in the select menu:
10-41
28
27
29
Y
12
11
Autoexecute
Translation Vector
Surface List
Surface 27 28 29
Apply
Your model should appear as shown below.
5
Y
New Solids
X
5
10-42
LESSON 10
33.
Group/Create
New Group Name
fem_extension
Make Current
Create
Group
Apply
Cancel
34.
Create Mesh
Finite Elements
Action:
Create
Object:
Mesh
Method:
Solid
Element Topology
Hex 8
Isomesh
Solid List
Solid 1:5
(Select all solids on screen)
Apply
10-43
Create Group
Create
Group
35.
Group/Create
New Group Name
geo
Group Contents:
Apply
After that, create a group for all the finite elements of the
model.
New Group Name
fem
Make Current
Unpost all other groups
Group Contents:
Apply
Cancel
10-44
LESSON 10
36.
Equivalence
the Model
Finite Elements
Action:
Equivalence
Object:
All
Method:
Tolerance Cube
Apply
37.
Verify the
Model
Finite Elements
Action:
Verify
Object:
Element
Test:
Boundaries
Display Type
Free Edges
Apply
10-45
38.
Display/
Entity Color/Label/Render...
Render Style:
Apply
10-46
Element Fill
LESSON 10
File/Quit
10-47
10-48