26
SOF101, Tutorial 2, January 2005 Copyright 2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005 Copyright 2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

Embed Size (px)

Citation preview

Page 1: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-1

TUTORIAL 2

CAD CLEANUP AND AUTOMESH

Page 2: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-2

Page 3: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-3

Table Of Contents

Section PageStep1. Import Geometry from an IGES file. 3Step2. Explore Geometry Graphics Display Options. 4Step3. Use Stitch Surface Command.. 6Step4. Extract Mid-Surface. 8Step5. Suppress Entities .(Curves) 9

Step6 . Suppress Entities .(Vertices.) 10Step7 . Force Suppression. 11Step8 . Use of (Un)Suppress One Command. 13Step9 . Trim Surfaces. 14Step10. Use Auto Mesh. 16Step11. Control Mesh Size And Shape. 17Step12. Create Washer Elements Around Hole. 19Step13. Create Hole On CAD Geometry. 21Step14. Use Quality Check Command. 22Step15. Use Enhance Quality Command. 23

Note: As in the other tutorials, all menu items that need to be selected will be preceded by a maroon right arrow: >User action. Mouse buttons are indicated as follows: -- 1B = First (left) button -- used for selecting items-- 2B = Second (middle) button -- used for "OK"-- 3B = Third (right) button -- used for View Manipulation & pop-up menusNormally 1B is used, unless otherwise.

Page 4: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-4

a. Setup the I/O options so that the MSC.SOFY IGES translator recognizes and translates appropriate IGES entities.

b. From the Top Bar (select) >Options >I/O Opts >IGES Opts >IGES Input Opts.

c. Pull down the >Detect System menu to set it to >Auto Detect.

d. Select >EXIT to Exit this Pop-up.

e. Select >File Menu >Import >IGES option.

f. In the file dialog box - go to the directory (in your home directory) .../SOFY_MASTER2/DEMOS/TUTORIALS/IGES and open the file >Bracket.igs.

g. In the CVP View menu, set the view to >Right-Frt .

b

g

c

Step1. Import Geometry from an IGES file.

Page 5: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-5

a. Zoom in at the bottom right corner of the part. >View Manip >Win.Zoom.

b. Note that the part is a sheet metal bracket with solid geometry and certain thickness to it.

c. Bottom block - > select - >Geom-Grafix menu and "tear-off" the menu by clicking on the dashed line at the top.

d. To see the surfaces better, select >Face On from the menu, or clicking the icon on the toolbar.

e. Change the color of the part: Using 3rd mouse button (3B), select the part in Collection block (3B)>LEV_1.

f. From the sub-menu select (1B)>Change Color to light Blue.

b

c

d

e

f

Step2. Explore Geometry Graphics Display Options.

Page 6: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-6

g. Select >FILL, >PLOT from CVP view menu to display the full part in the canvas.

h. Get a feel for the geometry by clicking through some of the menu items in >Geom-Grafix.

i. Try all the options under “Edge Color:"

(>Body Color, >Connectivity Color, >Part Color, and >Other Color).

g. Now, try the options in the "Face Color" part of the menu( >Body Color, >Part Color, and >Other Color)

h. Notice how the display changes as you try different options.

Step2. Explore Geometry Graphics Display Options. (Cont’d)

Page 7: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-7

Stitch Surface

a. First Assign Current part:-

1. Select -> Type -> Part in Collection Menu.

2. Use (2B) to select > LEV_1-1 part.

LEV_1 appears next to "Curr:" at the top of CVP block.

(As you create new geometry and elements, they will go into the Current part.)

Part consists of a patchwork of small surfaces. Stitch

these surfaces together, with a user defined stitch

tolerance, to have a continuous part surface.

b. In order to clearly see the effects of the stitching operation:-

Select >Geom-Grafix -> Edge Color - >Conn.Color.

Select >Geom-Grafix >Faces Off.

a

b

Step3. Use Stitch Surface Command.

Page 8: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-8

c. Turn ON:

Geom-Grafix >Boundary Edges

Geom-Grafix >Manifold Edges

Geom-Grafix >Suppressed Edge.

d. From Top Menu Bar

Select >Geometry >Stitch or

Click >Stitch icon from Toolbar

e. Select from

Pick menu > Sheet Bodies>click on >All button, at bottom of CVP block.

(The part gets highlighted in the canvas.)

g. Confirm the selection with >Done.

h. Enter the stitch tolerance (say 0.5) in the pop up panel, and confirm.

c d

d

h

g

Note that the part edge color changes to GREEN indicating that all the surface patches got stitched and that the edges are shared

Step3. Use Stitch Surface Command.(Cont’d)

Page 9: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-9

Now let us extract the Mid-surface of the part.a. Select >Geometry >Extract Surface. Or click

Extract Surface >icon on toolbar. (Note that the Pick menu at lower right changes to

reflect the current command.)b. Pick menu -> Select >Mid Surface and

Check the box for >Delete Solid. (This will delete the solid geometry, upon completion of

the Mid surface extraction. )c. Select all displayed solid bodies:

Pick Menu >All and Finalize the selection with >Done. d. Take a closer look at the bottom right corner. :- >ViewManip >Win.Zoom. (Note that the mid surface of the part has been

extracted.)e. Select Geom-Grafix >Faces On. f. Then, Click >View >FILL

to fill the part in the canvas. g. Use ViewManip > Dynamic Rotation and Zoom features to get a good look at the

stitched midsurface of the part.

The outer edges and holes change to Red color,

indicating them as boundary edges, now that the

top and bottom surfaces have been removed,

leaving only a single mid-surface .

Step4. Extract Mid-Surface.

Page 10: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-10

Suppress Entities

(Curves, those are not required for meshing of the part.)

a. For best viewing :-

1.Select >Geom-Grafix > turn >Faces Off.

2.View back to >Right-Frt.

b. Select >Geometry >(Un)Suppress Entity or Click >(Un)Suppress Many icon.

c. On Pick menu -> Select >Curves

d. Select >B.A in the Pick panel.

e. Enter > 15 degrees in the popup panel ,confirm

the selection.

f. Select > All from Pick Block.

g. Confirm with >D (Done) at bottom of Pick block.

Suppressed edges are displayed now in BLUE color. The manifold edges are highlighted in GREEN color and the boundary in RED color.

b

c

d

e

gf

Step5. Suppress Entities .(Curves)

Page 11: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-11

Suppress Entities

(Vertices, those are not required for meshing of the part.)

a. From Geom-Grafix -> turn ON: >Hard Points and >Suppressed Points.

b. Geometry > (Un)Suppress Entity command.

c. Select >Vertices >All in the pick panel.

d. Vertices get highlighted in the canvas.

e. Confirm with >D (Done) at bottom of Pick block,to suppress the highlighted vertices.

b

c

e

d

Step6. Suppress Entities .(Vertices.)

Page 12: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-12

Force Suppression

a. There may still be some small features that are not Suppressed. Let us suppress some of the entities with Force Suppression.

b. Select View Manip. >Dyn.Rot and

View Manip. >Window Zoom

to obtain a view like the picture shown.

c. Check the box for >Force Suppression and

d. Select > Curves from the Pick block.e. Select View Manip. > Window Zoom f. Select >curves that are to be suppressed.g. Then while the mouse is still in the canvas, click the middle

mouse button. (>2B) or Click >D button at bottom of Pick Block.

b

cd

f

Step7. Force Suppression.

Page 13: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-13

Now try picking curves by refine pick option.

a. Select >D on left side of Pick block.

b. Extended Pick Dialog panel pops up.

c. Change from >Default to >From Vertex.

Do not close the "Extended Pick Dialog" window until completing the next step.

e. Pick curves by selecting on the >vertex which joins three curves as shown in fig.

f. This allows selection of multiple curves which share a given vertex.

g. Repeat for 2nd set of curves.

h. Confirm the selected curves with >(2B).

i. The forced suppressed curves are now shown in BLUE.

j. Exit out of the Suppress Entity command by clicking >Ex (Exit) at bottom right corner .

c

d

e

i

Step7. Force Suppression.(Cont’d)

Page 14: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-14

Let's try a similar command that takes advantage of

part symmetry. Select >(Un)Suppress One icon from Toolbar. Select >curves at the pick entity (default) and

make sure the >Symmetry box is checked Select a few more small curves for suppression

from the canvas.

(Note how this command is a bit different from (Un)Suppress Many command.)

e. This is a toggle command and entities are immediately suppressed upon picking them.

f. If selected again, the entities will be returned to Un-suppressed state.

g. Also note that any symmetrical entities are also suppressed on the other side of the part.

h. Rotate the model >View.Manip >Dyn.Rot to get a clear view of the other end of the part.

i. Pick curves to be suppressed on the other end of the model.

b

c

d

Step8. Use of (Un)Suppress One Command.

Page 15: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-15

Trim Surfacesa. Set >Suppressed Edges >Off

to remove suppress edges from display. b. Set >Suppressed Points >Off.c. Zoom and rotate the model to obtain the view shown. d. Select >Geometry >Trim Surface By Locs (or select icon from

toolbar)e. Pick entity type of Vertices (default). f. Trim the geometry by selecting end point >vertices defining the new

curve to be placed on the surface. g. Confirm with >2B to complete the trim operation.h. In a similar fashion, trim the surface at a second location.

d

e

f

Step9. Trim Surfaces.

Page 16: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-16

j. Return to >Geometry >(Un)Supress Entity to suppress the original small

k. Rotate the model, then trim and suppress curves at the other end of the model in a similar fashion.

l. Set >Geom-Grafix >Boundary Edges On

Geom-Grafix >Manifold Edges On Geom-Grafix >Face Color >Part Color

Geom-Grafix >Edge Color >Connectivity Color

The geometry is now cleaned up and ready for meshing.

Save the model as MSC.SOFY database >File >Save As >...\Bracketclean.sof

Step9. Trim Surfaces.(Cont’d)

Page 17: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-17

a. Let us proceed to generate the finite element mesh using the automesher.

b. Select >Mesh Menu >Automesh, orPick >Automesh icon from Mesh toolbar.

MSC.SOFY can automatically decide the best meshing method based on geometry. in Pick panel.

c. In Pick Panel Select >Auto Decide

Select >Mixed (Quad Dominant) in Pick panel.Select >Surfaces to be meshed.

d. In this case select >All to mesh all displayed surfaces in the canvas.

e. Confirm with >D (Done).f. The Automesher successfully generates the mesh. g. Select >Geom-Grafix >Face Offh. Select >FE-Grafix >Fill+Edgesi. Review the mesh quality by rotating and zooming into the model for a visual inspection.

b

c

d

f

Step10. Use Auto Mesh.

Page 18: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-18

Let us take a closer look at mesh quality and update the mesh by making certain changes in the Mesh controls. Set >View >Left-Frt Select >View.Manip >Win.Zoom zoom in to the small hole in the foreground (left side of

part). c. Geom-Grafix >Mesh Points On.d. Now revise the mesh so there will be 4 nodes around the

hole, instead of 3.e. Select >Mesh Menu >Mesh Size.f. In Pick panel, change >Pitch to >Number g. Select >Curves from Pick menuh. Then on the canvas

1. Select>curve that defines the hole. 2. Confirm with <(2B).3. Then in the pop-up menu,

"Enter # Segments:" 4, then >OK. i. Notice that any part of the mesh that is affected by the

revised number of segments around the hole, is immediately removed from the display.

e

f

g

h

i

Step11. Control Mesh Size And Shape.

Page 19: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-19

j. Select >Mesh Menu >Update Mesh. Notice the revised element distribution around the hole. k. Now let us try to refine mesh around the slotted hole at the other end

of the part. l. View block >Plan viewm. Select >View.Manip >Win.Zoom >ViewManip.>Dyn.Rot to get a good look at the slotted hole

at the other end of the model.n. Set >Geom-Grafix >Hard Points ON. >Geom-Grafix >MeshPoints ON.o. Now create a hard point on the hole to seed the nodes in a desired

fashion: 1. Select >Geometry >Create Hard Points.

2. Select >Pt. on Curve from pick menu. 3. Select >curve that defines the hole followed by a

>new point on the curve. 4. For instance select a point on the hole nearest the edge of the part. 5. Click >Exit button in Pick block.

p. To redefine the number of points around the elliptical hole: 1. Select >Mesh Menu >Mesh Size, or Mesh Size

icon. 2. Pick menu> Curve (Entity type ).3. Select the hole edge. 4. Confirm the selection with >(2B).5. Enter # Segments >6 and >OK, on the pop up menu .

q. Update the mesh :Select >Mesh Menu >Update Mesh.

Later on we will make some further improvements to the mesh quality.

j

o

p.5

Step11. Control Mesh Size And Shape. (Cont’d)

Page 20: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-20

Now let us look at a quick way to create a washer around a

hole.

a. Set >View >Left-Frt

b. Select >View.Manip >Win.Zoom

to zoom in on the hole on the top of the part, where we will create a washer (concentric rings of elements).

c. Toolbar> Geometry Cleanup menu >Create Washer icon.

d. On canvas, Select >curve at the hole where washer is desired.

e. Confirm with >(2B).

f. Enter width (say 5 mm) of the washer in the pop up menu.

b

c

fd

Step12. Create Washer Elements Around Hole.

Page 21: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-21

g. Toolbar > Select >Link Curves.

h. It will prompt to pick Master Link Curve

i. Select >hole from canvas.

j. For Dependent curve :

Choose the newly created >washer curve.

k. Click >Ex at lower right corner to exit the Link Curves command.

By linking the curves, the mesh quality is better controlled.

l. Select >Mesh Size icon from Toolbar.

m. Pick Menu > Curves is highlighted

n. Select >hole from the canvas.

o. Confirm curve selection with >(2B).

p. In the pop up menu,

1. Enter # Segments: 6.

2. Click >OK.

q. Click >Ex in Pick block to exit the command.

r. Use the >Update Mesh icon on the Toolbar to update the mesh at the washer.

g

i

j

l

m

q

p

Step12. Create Washer Elements Around Hole. (Cont’d)

Page 22: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-22

a. Set >View >Left-Frt. and Zoom in to corner where hole is to be placed.

b. Select >Mesh Menu >Create Hole (or select icon from Toolbar).

c. Select >Pt. on Surface from Pick menu (default).

d. Pick >surface from canvas,

e. Select >point on the surface at which hole will be created.

f. Confirm with (2B).

g. Enter the radius of the hole (say 12 mm) in the pop up menu.

h. Select >Mesh Menu >Mesh Size to define number of nodes on the hole, as done above.

If desired, create a curve defining a washer around the hole, and link the two curves, as above.

i. Select >Mesh Menu >Update Mesh

(or select icon)

to recreate the mesh .

j. >Exit any active commands,

k. Click >F4 key to clear

the unreferenced nodes.

b

c

g

Step13. Create Hole On CAD Geometry.

Page 23: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-23

Now let us check and Enhance the Quality of the mesh.

a. Turn off all geometry by un-checking the box in Bottom block. >Fill the canvas.

b. Select >FE-Grafix >Fringes On to quickly look at the mesh quality

c. Default display is the Quality Index, which is a weighted average of several quality criteria.

d. Pink color indicates the elements that failed in one or more quality checks.

b

a

Step14. Use Quality Check Command.

Page 24: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-24

a. To automatically enhance the mesh qualitySelect >Element >Quality

>Enhance Quality.

b. In the pick menu >Select >All to select all displayed elements

c. Confirm with >Done.

d. In the dialog box, use the default settings, and Select >Enhance to proceed.

e. The progress of the operation will be displayed in the lower left corner of your screen.

f. When the quality enhancement is completed you can see the improved element quality in the fringes.

g. Any elements that could not be fixed in the specified number of passes are highlighted.

Detailed Quality checks and Automatic Mesh Quality Enhancement are discussed in Tutorial 5.

a

b

d

c

Step15. Use Enhance Quality Command.

Page 25: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-25

Yes, We finished Tutorial 2.

Time for a break.!!!!

Page 26: SOF101, Tutorial 2, January 2005 Copyright  2005 MSC.Software Corporation T2-1 TUTORIAL 2 CAD CLEANUP AND AUTOMESH

SOF101, Tutorial 2, January 2005Copyright 2005 MSC.Software Corporation T2-26