Sie sind auf Seite 1von 20

Workshop 14A Short Topics

Pl t w/ Plate / Hole H l at t Center C t


(using ( g *ABBR) )

14A. Short Topics

Plate w/ Hole at Center ( (using g *ABBR) )


Description

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS ANSYS - Part P 1

Create an abbreviation called PLATE PLATE that will execute a /INPUT command to read input for the plate-with-a-hole analysis.

Height

Pressure

Width
February 7, 2006 Inventory #002269 W14-2

14A. Short Topics

Plate w/ Hole at Center ( (using g *ABBR) )


1. 2 2.

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

Enter ANSYS in the working directory specified by your instructor using plate-14a as the jobname. Create C t an abbreviation bb i ti called ll d PLATE that th t will ill execute t the th command d /INPUT,plate/INPUT l t 14a,inp:
Utility Menu > MenuCtrls > Edit Toolbar ... Enter *ABBR,PLATE,/INPUT,plate-14a,inp, then [Accept] [Close] Or issue: *ABBR,PLATE,/INPUT,plate-14a,inp -----After typing the *ABBR command above, you must go to the Edit Toolbar menu, highlight the new abbreviation, and [ACCEPT] for the button to be added to the Toolbar.

February 7, 2006 Inventory #002269 W14-3

14A. Short Topics

Plate w/ Hole at Center ( (using g *ABBR) )


3. Run the plate analysis by picking the PLATE button in the Toolbar:
[PLATE] Enter a value for plate height (default is 6 inches) inches), then [OK] Enter a value for plate width (default is 6 inches), then [OK] Enter a value for hole diameter (default is 2 inches), then [OK] Enter a value for pressure load on plate edge (default is -1000 psi), then [OK]

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

4 4.

Save the current set of abbreviations:


Utility Menu > MenuCtrls > Save Toolbar Enter plate-14a.abbr for the file name [OK] Or issue: ABBSAV,ALL,plate-14a,abbr

February 7, 2006 Inventory #002269 W14-4

14A. Short Topics

Plate w/ Hole at Center ( (using g *ABBR) )


5. Clear the ANSYS database:
Utility Menu > Clear & Start New [OK] [Yes]

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

6.

Read in the abbreviations from the file plate-14a.abbr:


Utility Menu > MenuCtrls > Restore Toolbar Select S l t the th plate-14a.abbr l t 14 bb file, fil then th [OK] Or issue: ABBRES,NEW,plate-14a,abbr

7. 8.

Run the plate analysis again by picking the PLATE button in the Toolbar:
[PLATE]

Save and exit ANSYS:


Pick the SAVE_DB button in the Toolbar Pick the QUIT QUIT button in the Toolbar

February 7, 2006 Inventory #002269 W14-5

Workshop 14B APDL Basics

2-D Bracket using Parameters

14B. APDL Basics

2-D Bracket using g Parameters


Description

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS ANSYS - Part Part 1

Build and mesh the 2 2-D D bracket shown below using parameters.

February 7, 2006 Inventory #002269 W14-8

14B. APDL Basics

2-D Bracket using g Parameters


d1 (6 in)

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

d3/2 (1 in) d3 (2 in)

rad1 (0.4 in) d2 (4 in) thick (0.5 in) r_fillet (0.4 in)

rad1 (0.4 in)

d3 (2 in)

February 7, 2006 Inventory #002269 W14-9

14B. APDL Basics

2-D Bracket using g Parameters


1. 2 2.

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

Enter ANSYS in the working directory specified by your instructor using bracket2d as the jobname. D fi the Define th parameters: t
Utility Menu > Parameters > Scalar Parameters ... d1 = 6, then [Accept] d2 = 4, then [Accept] d3 = 2, 2 then [Accept] e_size = 0.25, then [Accept] e_type=82, then [Accept] ex1 = 30e6, then [Accept] p ratio = 0 p_ratio 0.27, 27 then [Accept] r_fillet = 0.4, then [Accept] rad1 = 0.4, then [Accept] thick = 0.5, then [Accept] [Close]

February 7, 2006 Inventory #002269 W14-10

14B. APDL Basics

2-D Bracket using g Parameters


3. Enter the preprocessor and create two rectangular areas:
Main Menu > Preprocessor > Modeling > Create > Areas > Rectangle > By Centr & Cornr WP X = d1/2 WP Y = 0 Width = d1 Height = d3 [ pp y] [Apply] WP X = d1-d3/2 WP Y = -d2/2+d3/2 Width = d3 Height = d2

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

[OK] Or issue: /PREP7 BLC5, d1/2, 0, d1, d3 BLC5, d1-d3/2, -d2/2+d3/2, d3, d2

February 7, 2006 Inventory #002269 W14-11

14B. APDL Basics

2-D Bracket using g Parameters


4. Create two circular areas:
Main Menu > Preprocessor > Modeling > Create > Areas > Circle > Solid Circle WP X = 0 WP Y = 0 Radius = d3/2 [Apply] WP X = d1-d3/2 WP Y = -d2+d3/2 Radius = d3/2

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

[OK] Or issue: CYL4, , ,d3/2 CYL4, d1-d3/2, -d2+d3/2, d3/2

5.

Add all of the areas together to form a single area:


Main Menu > Preprocessor > Modeling > Operate > Booleans > Add > Areas [Pick All] Or issue: AADD,ALL

February 7, 2006 Inventory #002269 W14-12

14B. APDL Basics

2-D Bracket using g Parameters


6. Turn line numbering on and plot lines:
Utility Menu > PlotCtrls > Numbering ... Set Line numbers on, on then [OK] Utility Menu > Plot > Lines Or issue: /PNUM,LINE,1 LPLOT

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS ANSYS - Part P 1

7.

Create a line fillet at the intersection of lines 18 and 24:


Main Menu > Preprocessor p > Modeling g > Create > Lines > Line Fillet Pick lines 18 and 24, then [OK] RAD = r_fillet

[OK] Or issue: LFILLT, 18, 24, r_fillet

February 7, 2006 Inventory #002269 W14-13

14B. APDL Basics

2-D Bracket using g Parameters


8. Plot lines and then create an area bounded by lines 1, 3, and 4:
Utility Menu > Plot > Lines Main Menu > Preprocessor > Modeling > Create > Areas > Arbitrary > By Lines Pick lines 1, 3, and 4, then [OK] Or issue: LPLOT AL, , 1, , 3, , 4

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

9.

Add all of the areas together to form a single area:


Main Menu > Preprocessor > Modeling > Operate > Booleans > Add > Areas [Pick All] Or issue: AADD,ALL

February 7, 2006 Inventory #002269 W14-14

14B. APDL Basics

2-D Bracket using g Parameters


10. Create the two circular areas for the bracket holes:
Main Menu > Preprocessor > Modeling > Create > Areas > Circle > Solid Circle WP X = 0 WP Y = 0 Radius = rad1 [Apply] WP X = d1-d3/2 WP Y = -d2+d3/2 Radius = rad1

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

[OK] Or issue: CYL4, , ,rad1 CYL4, d1-d3/2, -d2+d3/2, rad1

11. Subtract the two circular areas from the bracket area:
Main Menu > Preprocessor > Modeling > Operate > Booleans > Subtract > Areas Pick the bracket (base) area, then [OK] Pick the two circular areas, then [OK] Or issue: S , 2, , ALL ASBA,

February 7, 2006 Inventory #002269 W14-15

14B. APDL Basics

2-D Bracket using g Parameters


12. Define element type 1 as PLANE82 and set keyopt(3)=3:
Main Menu > Preprocessor > Element Type > Add/Edit/Delete [Add ...] ] Select Structural Solid and Quad 8node 82, then [OK] [Options ] K3 = Plane strs w/thk [ [OK] ]

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

[Close] Or issue: ET, 1, e_type KEYOPT, 1, 3, 3 (or ET, 1, PLANE82)

13. Define the bracket thickness:


Main Menu > Preprocessor > Real Constants > Add/Edit/Delete [Add ...] [OK] THK = thick [OK]

[Close] O issue: Or ssue: R, 1, thick

February 7, 2006 Inventory #002269 W14-16

14B. APDL Basics

2-D Bracket using g Parameters


14. Define material properties:
Main Menu > Preprocessor > Material Props > Material Models Structural Linear Elastic - Isotropic EX = ex1 PRXY = p_ratio [OK]

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part Part 1

Material - Exit Or issue: MP, EX, 1, ex1 MP, PRXY, 1, p_ratio

February 7, 2006 Inventory #002269 W14-17

14B. APDL Basics

2-D Bracket using g Parameters


15. Set element size and free mesh the model with quad elements:
Main Menu > Preprocessor > Meshing > MeshTool Activate smart sizing and set its level to 4 Pick [Set] under Size Controls: Global SIZE = e_size [OK] Select Quad Q and Free under Shape: p [Mesh]

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

[Pick All] Or issue: SMRTSIZE,4 ESIZE,e_size MSHAPE,0,2D MSHKEY,0 AMESH,ALL

February 7, 2006 Inventory #002269 W14-18

14B. APDL Basics

2-D Bracket using g Parameters


16. Save the meshed model and exit ANSYS:
Utility Menu > File > Save as Enter bracket2d-mesh bracket2d mesh.db db as the database name name, then [OK] Select Quit - No Save! Pick the QUIT button in the Toolbar [OK] Or issue: SAVE,bracket2d-mesh,db FINISH /EXIT,NOSAVE

Workshop Supplement

INTRO RODUCTIO ON TO ANSYS A - Part P 1

17 For extra credit 17. credit, apply loads and solve. solve Then copy the session editor to a text file and change a parameter (like r_fillet) to see how deflection and stress are affected.

February 7, 2006 Inventory #002269 W14-19

Das könnte Ihnen auch gefallen