Patran Hex Mesh
Patran Hex Mesh
Patran Hex Mesh
Objectives:
s s s Create surfaces by Decomposing and Editing existing surfaces Create triparametric solids. Mesh triparametric solid with hex elements.
8-1
8-2
LESSON 8
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 les 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.
8-3
Surface 8
Surface 14
Surface 7
Z Y
Surface 11
8-4
LESSON 8
Files:
All the les used in this exercise are listed below. Each listing includes the le, where it originated, its format (text/binary) and summary information as to how it relates to this exercise. File Supplied/CreateDescription Hex.db Created This is a P3/PATRAN database (binary) that is created in this exercise.The geometry of the model is imported from an IGES le.
Gadget.igs
Supplied This is an IGES le which contains the geometry of the model for this exercise.
Ex_5_setup.ses Supplied This is a session le which perform bounding of some surfaces of the model.
8-5
Exercise Procedure:
Open a New Database
1. Create a new database called Hex.db.
File/New ... New Database Name: OK In the New Model Preference form set the following: Tolerance: Analysis Code: Analysis Type: OK 2. Import the IGES le Gadget.igs. Hex.db
x Default
MSC/NASTRAN Structural
Import an IGES le
3.
If the model is not visible, change the view by selecting the t view icon in the toolbar:
8-6
LESSON 8
Y Z X
4.
Run the session le ex_5_setup.ses to complete the model with bounded surfaces.
File/Session/Play ... Play from le: Apply The function of this session le is to use the curve method to create surfaces to bound the whole model. Ex_8_setup.ses
8-7
After you run the le, the following should appear in your viewport.
Y Z X
5.
Group/Post Select Groups to Post Apply Cancel Change the view to isometric 2. geo_base
8-8
LESSON 8
Surface 14.2
Y X Z
6.
First you must create another curve to enclose the surface by translating an existing curve
x Geometry
Action: Object: Method: Translation Vector Click in the Traslation Vector databox and then select the tip and base icon
Transform Curve Translate
8-9
Apply You need to trim the curve to t the gap Action: Object: Method: Trim Point List Curve/Point List
Edit Curve Trim Point 42
Curve 1 (and the end point on the side of the curve that you want to trim
Apply Repeat this procedure for the top half of the curve Action: Object: Method: Trim Point List Curve/Point List
Edit Curve Trim Point 5
Curve 1 (and the end point on the side of the curve that you want to trim
Apply
x Geometry
Action: Object: Method:
Create Surface Curve
8-10
LESSON 8
Note: Geometric ID numbers may not match exactly in this exercise. Refer to a gure whenever possible
30
Surface 14.2
Y
7.
x Geometry
Action: Object: Method:
Create Curve Point PATRAN 302 Exercise Workbook - Release 7.5
8-11
2 Point Point 17
For the end point, rst select the following icon in the select menu:
After that, click the following icon and then select the edge of surface 11 as follows:
17 11
Y X Z
Lastly, click the following icon and screen pick point 17 again.
8-12
LESSON 8
New Curve
11 Y X Z
9.
x Geometry
Action: Object: Method: Vector Coordinates List Origin Coordinates List Apply
Create Curve XYZ
8-13
New Curve
3 43 2
11 Y X Z
Surface 26
10.
x Geometry
Action: Object: Method: Option: Surface List Break Curve List
Curve Surface 26 Curve 2 Edit Surface Break
8-14
LESSON 8
New Surface
32 3 2
31 Y X Z
Surface 11
x Geometry
Action: Object: Method: Option: Surface List Break Curve List
Edit Surface Break
8-15
New Surface
33 3 32 2
34 Y X Z
31
11.
x Geometry
Action: Object: Geometric Entity List Apply 12. Now, try to change the geometry into a solid.
Delete Any
Curve 2 3
x Geometry
Action: Object: Method:
Create Solid B-rep
8-16
LESSON 8
Surface 30.3
Y X Z
13.
x Geometry
Action: Object: Method: Director Curve List Base Curve List Apply Now you will trim the surface you just created Action: Object: Method: Auto Chain... Select a Start Curve Surface 30.3
PATRAN 302 Exercise Workbook - Release 7.5 8-17 Create Surface Trimmed Create Surface Glide
Surface 29.2
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 Surface List Apply Respond Yes to both when promted to delete the original surface and curves 14. Edit surface using edge match method:
Curve 2 Surface 32
x Geometry
Action: Object: Method: Option: Surface 1 List Surface 2 List Apply 15. Now try to create solid using B-rep method again.
Edit Surface Edge Match
x Geometry
Action: Object: Method:
Create Solid B-rep
LESSON 8
16.
x Finite Elements
Action: Object: Method:
Create Mesh Seed Uniform
Put the mesh seeds on the model by following the illustration shown below.
4
24 30 33 32 21
16 14
34
31
1
13 6 15
12 20
17
4 8
8-19
Create Group
Create Group
17.
Create a group for the nite elements of the base part of model.
s Make Current
Apply Cancel
Create Mesh
18.
x Finite Elements
Action: Object: Method: Global Edge Length Element Topology Mesher Surface List Apply and Global Edge Length Element Topology Mesher Surface List Apply 4 Quad4 4 Quad4
Create Mesh Surface
x Paver
Surface 14
x Isomesh
Surface 30
8-20
LESSON 8
19.
x Finite Elements
Action: Object: Method: Mesh Control
Sweep Element Extrude
Sweep Elements
x 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: 3
8-21
Sweep Elements
Surface 30
Surface 14
Point 22
Point 38
Direction Vector
Apply
8-22
LESSON 8
20.
Mesh Control
x Number of Elements
Number OK Use the beam, point, and node icons to select the Direction Vector. 1
8-23
Sweep Elements
Point 23
Node 323
Now change the view to Top view by select the following icon in the toolbar:
Click in the Base Entity List databox and then select the element face icon:
8-24
LESSON 8
Direction Vector
Con..(Node323)..(Point 23)..
8-25
Create Mesh
New Mesh
21.
Change the view to default view by select the following icon in the toolbar.
22.
Create Mesh
x Finite Elements
Action: Object: Method: Global Edge Length Element Topology Mesher Surface List Apply 4 Quad4
Create Mesh Surface
x Paver
Surface 6
8-26
LESSON 8
New Mesh 23. Again, sweep elements using the extrude method.
x Finite Elements
Action: Object: Method: Mesh Control...
Sweep Element Extrude
Sweep Elements
x 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. 1
8-27
Sweep Elements
Direction Vector
24.
Change the view to Top view and then perform the sweep element procedure again for the following entities:
Mesh Control...
x Number of Elements
Number OK 8
8-28
LESSON 8
Point 8
Direction Vector
8-29
Create Mesh
Change the view angle to 10 10 0 and your model should appear as follows:
Create Mesh
x Finite Elements
Action: Object: Method: Global Edge Length Element Topology Mesher Surface List 4 Quad4
Create Mesh Surface
x Paver
Surface 33 34 (The two unmeshed surfaces at the left of the model)
Apply
8-30
LESSON 8
25.
x Finite Elements
Action: Object: Method: Mesh Control...
Sweep Element Extrude
Sweep Elements
x Number of Elements
Number OK 8
8-31
Sweep Elements
Again, use point 1 to point 8 as the Direction Vector and click on the following select menu icon to select the elements on the surface 33 and 34 as base entities.
26.
Element Fill
LESSON 8
27.
Associate the nite elements of the base part of model to the geometric solid.
x Finite Elements
Action: Object: Method:
Associate Element Solid
8-33
When the process is done, the number of nodes that have been associated to the solid will be shown in the command window. 28. Now, post only the extension part of the model.
Group/Post ... Select Groups to Post Apply Cancel 29. Change the display of your viewport as follows: Select the following icon: Iso 1 View geo_extension
Y 1
30.
8-34
LESSON 8
x Geometry
Action: Object: Method: Option: Starting Curve List Ending Curve List Apply Now Create the solids
Create Surface Curve
x Geometry
Action: Object: Method: Option: Starting Surface List Ending Surface List Apply
Create Solid Surface
8-35
24
Solid 1
X
Using Surface 3 and 4, perform the above procedure again to create solid 2. Option: Starting Surface List Ending Surface List Apply 2 Surface Surface 3 Surface 4
Solid 2
Z X
8-36
LESSON 8
x Geometry
Action: Object: Method: Surface Surface Vertex 1 List Surface Vertex 2 List Surface Vertex 3 List
Create Surface Decompose
Decompose Surfaces
For the fourth vertex, rst select the second icon in the select menu, edge point:
8-37
Decompose Surfaces
16
Surface 25 (u 0.744...
New Surface
27
Perform the above procedure again using the following 2D elements entities: Surface Surface 25
8-38
LESSON 8
Again, to pick the fourth vertex, use the second icon in the select menu.
Surface Vertex 1 List Surface Vertex 2 List Surface Vertex 3 List Surface Vertex 4 List Apply
9 16
Point to Pick
43 Y
8-39
Decompose Surfaces
New Surface
28
Once again, Surface Vertex 1 List Surface Vertex 2 List Surface Vertex 3 List Surface Vertex 4 List Apply Point 44 Point 27 Point 12 Point 9
New Surface
28
29 Y
44
27
27 27 Z X 12
8-40
LESSON 8
x Geometry
Action: Object: Method:
Create Solid Extrude
Now click the Translation Vector databox and then select the following icons in the select menu:
8-41
28
27 29 Y
12 11
t Autoexecute
Translation Vector Surface List Apply Your model should appear as shown below.
Con..(Point 12)..(point 11).. Surface 27 28 29
4 5 Y
X 5
New Solids
8-42
LESSON 8
s Make Current
Apply Cancel 34. Change the view to Iso 1 View and then create a mesh on the model as follows:
Create Group
Create Mesh
x Finite Elements
Action: Object: Method: Global Edge Length Element Topology
4 Hex 8 Create Mesh Solid
x Isomesh
Solid List Apply
Solid 1:5 (Select all solids on screen)
8-43
Create Group
Create Group
35.
Group/Create New Group Name Group Contents: Apply After that, create a group for all the nite elements of the model. New Group Name fem geo Add All Geometry
8-44
LESSON 8
36.
x Finite Elements
Action: Object: Method: Apply 37. Verify the model.
Equivalence All Tolerance Cube
x Finite Elements
Action: Object: Test: Display Type Apply
Verify Element Boundaries
x Free Edges
8-45
38.
8-46
LESSON 8
Reset the Render Style back to Wireframe. 39. Close the database and quit PATRAN to complete this exercise.
File/Quit
8-47
8-48