Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Nyquist/Haghighi

ABE 601

ANSYS Problem #1(Beam Deflection)


Find the deflection of the beam given below.

Nyquist/Haghighi

ABE 601

The following is the step-by-step procedure for the beam deflection problem using the ANSYS GUI
(Graphic User Interface) environment. Using the left button of the mouse, click on everything that is
typed bold and type everything that is italicized below.
(Go To ANSYS/Faculty Utility Menu)
File
Change Jobname then type Beam_Deflection
(Go To Main Menu)
Preprocessor
Element Type
Add/Edit/Delete
Add
Structural & Beam & 2D elastic 3 & OK
Close Element Type window
Real Constants
Add/Edit/Delete
Add
OK
(Click inside the AREA box and type) 8
(IZZ) 10.667
(Height) 4
OK
Close
Material Props
Material Models & Structural & Linear & Elastic & Isotropic
(Click inside the EX box and type) 20e6
OK
A message will appear (Note: PRXY will be set to 0.0). Click OK
Close Material Models window
Preprocessor
Modeling
Create
Nodes
In Active CS
(Click inside the NODE box and type) 1 (then click) Apply
(Click inside the NODE box and type) 2 (X=) 60 (then click) Apply
(Click inside the NODE box and type) 3 (X=) 120 (then click) OK
(Go To Utility Menu)
PlotCtrls
Numbering
(Go to NODE and click) OFF (then OFF will be toggled to ON)
OK
Plot
Nodes
(GoTo Main Menu)
Preprocessor
Create

Nyquist/Haghighi

ABE 601

Elements
Auto-Numbered
Thru Nodes
(Pick nodes) 1 & 2 (then click) Apply (Node 1 is on the origin of Coord. axis)
(Pick nodes) 2 & 3 (then click) OK
(GoTo Utility Menu)
File
Save as Jobname.db (Check the working directory)
(GoTo Main Menu)
Solution
Define Loads
Apply
Structural
Displacement
On Nodes
(Pick node number) 1 & OK (Node1 is on the origin)
(Lab2) All DOF (DOFs to be constrained)
(Value) 0
OK
Force/Moment
On Nodes
(Pick node number) 3 & OK
(Click arrow box inside of the Lab box and choose) FY
(Value) -100
OK
(GoTo Utility Menu)
PlotCtrls
Numbering
Elem/Attrib numbering
Click arrow box to choose Element numbers & OK
Plot
Click Elements
(GoTo Main Menu)
Solution
Solve
Current LS
(Read Message and click) OK
Click OK on the information message Solution is Done!
Close STATUS command window
(GoTo Utility Menu)
File
Save as Jobname.db

Nyquist/Haghighi

ABE 601

(GoTo Main Menu)


General Postproc
Plot Results
Contour Plot
Nodal Solu
DOF Solution & Y-Component of displacement
(Undisplaced shape key, choose) Deformed shape with undeformed model
OK
List Results
Nodal Solution
DOF Solution & Y-Component of displacement
OK
Close PRNSOL command window

(GoTo Utility Menu)


File
Exit & Save everything & OK
The following is the ANSYS commands and their descriptions of beam.log.
/BATCH
/FILNAM, beam
/PREP7
ET,1,3
R,1,8,10.667,4
MP,EX,1,20e6
N,1
N,2,60
N,3,120
/PNUM, NODE,1
NPLOT
E,1,2
E,2,3
SAVE,beam,db
FINISH
/SOLU
D,1,ALL,0
F,3,FY,-100
/PNUM,ELEM,1
EPLOT
SOLVE
FINISH
/POST1
PLDISP,1
PRNSOL,U
FINISH
/EXIT

* When batch mode is used, use this command.


* Instructs Ansys to save all information in files starting with *beam*
* Enters the preprocessing phase of the analysis
* Sets Element Type 3 (beam element)
* Defines geometry, cross section area, inertia, and height.
* Defines material property, Youngs modulus
* node 1 => x=0, y=0
* node 2 => x =60, y=0
* node 3 => x=120, y=0
* Prints node number when using plot commands.
* Plots nodes
* Generate element 1 connecting node 1 and node 2.
* element 2 connecting node 2 and node 3
* Saves model database as created to this point
* Finishes /prep7, go to begin level
* Starts Solution phase of analysis
* known displacement dx=0, dy=0 at node 1
* Defines a force on node 3 in the y-direction
* Prints element number when using plot commands.
* Plots elements.
* Solves the model as defined
* Finishes solution process, go to begin level.
* Post-processing
* Plots displacements
* Prints displacements (UX,UY,UZ)
* Finishes /post1, go to begin level
* Exit

Nyquist/Haghighi

ABE 601

ANSYS Problem #2
Stress Concentration at a Hole in a Plate

A plate having a hole is uniformly loaded at its ends. The objective of this example is to obtain stress
distribution around the hole using ANSYS. You will learn a Boolean operation (Subtract) to draw the
geometry and use the symmetry boundary conditions to simplify the problem. The von Mises stress
Seqv () will be used for the stress contour plot.

Nyquist/Haghighi

ABE 601

Analysis Type(s): Static analysis (ANTYPE = 0), submodeling


Element Type(s): 2-D 6-node triangular solid elements (PLANE2)
2-D isoparametric solid elements (PLANE42)
2-D structural solid p-elements (PLANE146)
Test Case
Determine the maximum stress as a circular hole cut into a square plate loaded with uniform
tension P.

Nyquist/Haghighi

ABE 601

The following is the step-by-step procedure for the Plate with a hole stress concentration problem using
the ANSYS GUI (Graphic User Interface) environment. Using the left button of the mouse, click on
everything that is typed bold and type everything that is italicized below.
(Go to Utility Menu)
File
Change Jobname : Plate
Change Title
(click inside the box) A square plate with a round hole
(Go to Main Menu)
Preprocessor
Element Type
Add/Edit/Delete
Add
Structural Solid & Triangle 6node 2 & OK
Options
(Element behavior, K3) Plane Strs w/ thk & OK
Close
Real Constants
Add/Edit/Delete & Add & OK
THK : 1 & OK
Close
Material Props
Material Models & Structural & Linear & Elastic & Isotropic
OK
(Click inside the EX box) 3e7
(Click inside the NUXY box) 0.3 & OK
Close Material Models window
Modeling
Create
Areas
Rectangle
By Dimensions
(Click X1 box) 0 (Click X2 box) 6
(Click Y1 box) 0 (Click Y2 box) 6
OK (Defines a rectangle by two opposite corner points (0,0) and (6,6))
Circle
By Dimensions
(Click RAD1 Box) 0.5
OK (Defines a circle centered at the origin with radius=0.5)
Operate
Booleans
Subtract
Areas
(Click on base area from which to subtract) Click A1 (rectangle) & Apply
(Click on area to be subtracted) Click A2 (circle) & OK
(Subtract the circle from the rectangle to make the problem domain.)

Nyquist/Haghighi

ABE 601

(GoTo Utility Menu)


PlotCtrls
Numbering
(GoTo KP and click) OFF (then you will have ON)
(GoTo LINE and click) OFF (then you will have ON) & OK
Plot
Lines
(GoTo Main Menu)
Preprocessor
Meshing
MeshTool
Click on the Keypts SET button
(Pick keypoints 2 and 4) & OK
(Click the SIZE box) 1 & OK
Click on the Keypts SET button
(Pick keypoints 3) & OK
(Click the SIZE box) 1.5 & OK
Click on the Keypts SET button
(Pick keypoints 5 and 6) & OK
(Click the SIZE box) 0.3 & OK
Click the Mesh button
(Pick the problem area) & OK
Solution
Define Loads
Apply
Structural
Displacement
Symmetry B.C
On Lines
(Pick lines X=0 & Y=0 and then click) OK
Pressure
On Lines
(Pick the line with pressure (L2) and then click) OK
(Click Pressure value box VAL1) 1000 & OK
(GoTo Utility Menu)
File
Save as Jobname.db (Check the working directory)
(Go To Main Menu)
Solution
Solve
Current LS
(Read Message) OK
(Solution is done) Close
Close the /STATUS command window

Nyquist/Haghighi

ABE 601

(Go To Main Menu)


General Postproc
Plot Results
Contour Plot
Nodal Solu
Stress & (Scroll down upper left box until you see) von Mises stress
(Undisplaced shape key, choose) Deformed shape with undeformed model & OK
(Go To ANSYS Toolbar Menu)
Click POWRGRPH, then click PowerGraphics to Off & OK
(Go To Main Menu)
General Postproc
List Results
Percent Error & Close
(Go To Utility Menu)
File
Write DB Log File
(Write Database Log to) plate.log (This will make an ANSYS command input file.)
Exit : Save Everything & OK (Same as QUIT in ANSYS Toolbar Menu)

Nyquist/Haghighi

ABE 601

The following is the ANSYS commands and their descriptions of plate.log.


/BATCH
* When batch mode is used, use this command.
/FILNAM,plate
* Instructs Ansys to save all information in files starting with plate
/TITLE,Square Plate
with a Round Hole
* Titles the analysis
/PREP7
* Enters the preprocessing phase of the analysis
ET,1,82
* Sets Element Type 1 to 82, 2-D, 8 Node Quadrilateral
MP,EX,1,3e7
* Sets a Youngs modulus (in X direction) to 3,000,000
RECTING,,6,,6
* Defines a rectangle by two opposite corner keypoints,
in this case (0,0) and (6,6)
PCIRC,.5
* Defines a circle with a radius of 0.5. By default,
the center of the circle is at the origin.
ASBA,1,2
* Subtracts area 2 from area 1 generating area 3.
KESIZE,ALL,1.5
* Specifies element edge length 1.5 near all the keypoints.
KESIZE,5,.3
* Specifies element edge length 0.3 near keypoint 5.
KESIZE,6,.1
* Specifies element edge length 0.1 near keypoint 6.
AMESH,3
* Meshes area 3.
SAVE,plate,db
* Saves model database as created to this point
/SOLU
* Starts Solution phase of analysis
/PNUM,KPOI,1
* Instructs Ansys to display keypoint numbers for all
subsequent plot commands
/PBC,ALL,,1
* Plots boundary conditions
KPLOT
* Plots keypoints
DL,10,3,SYMM
* Defines the symmetry constraints by choosing line number 10 for area 3.
DL,9,3,SYMM
* Defines the symmetry constraints by choosing line number 9 for area 3.
SFL,2,PRES,1000
* Defines surface loading on line 2 with the value of 1000.
/PSF,PRES,,2
* Adds pressure symbols to the display.
lplot
* Plots lines
SAVE,plate,db
* Saves model database as created to this point
SOLVE
* Solves the model as defined
/POST1
* Starts Post Processor phase of analysis
/psf,pres,,0
* Removes pressure symbols from the display.
PLDISP,1
* Plots the analysis results for the displaced model overlaid with
the undeformed model outline
PLNSOL,S,X
* Plots the X-stress within the model
/EXIT,ALL,plate
* Exits Ansys and saves the entire model database and results
to files previously defined

10

Nyquist/Haghighi

ABE 601

ANSYS Problem # 3
Thermal Analysis
Determine the temperature distribution in the cross-section of the conducting bar.

Properties:

L = 50 cm
T1 = 100 C
H = 2 W/m2K
K = 0.1 W/mK
T 0 = 0 C

11

Nyquist/Haghighi

ABE 601

The following is the step-by-step procedure for the Conducting bar temperature distribution problem
using the ANSYS GUI (Graphic User Interface) environment. Using the left button of the mouse, click
on everything that is typed bold and type everything that is italicized below.
(Go To Utility Menu)
File
Change Jobname: Conduction-Bar, OK
Change Title: Thermal Analysis, OK
(Go To Main Menu)
Preferences
Thermal , OK
Preprocessor
Element Type
Add/Edit/Delete
Add
Thermal Solid : Quad 4node 55 & OK
Close
Material Props
Material Model & Thermal & Conductivity
Isotropic
Thermal Conductivity Kxx : 0.1 & OK
Close
Preprocessor
Modeling
Create
Areas
Rectangle
By dimensions
X1 , X2 X-coordinates : 0 , 0.25
Y1 , Y2 Y-coordinates : 0, 0.5 & OK
Create
Keypoints
In Active CS
X,Y,Z Location in active CS : 0.5 , 0 & Apply
X,Y,Z Location in active CS : 0.5 , 0.25 & OK
(Go To Utility Menu)
PlotCtrls
Numbering
Click KP, LINE, AREA to toggle them to On.
OK
Plot
Keypoints

12

Nyquist/Haghighi

ABE 601

(Go To Main Menu)


Preprocessor
Modeling
Create
Areas
Arbitrary
Through KPs
Click Keypoints 2, 5, 6, 3 & OK
(Go To Utility Menu)
Plot
Lines
(Go To Main Menu)
Preprocessor
Meshing
MeshTool
Click on the Lines SET button
(Pick Line 1) & OK
NDIV 10 & SPACE -0.3 & Apply
(Pick Line 4) & OK
NDIV 10 & SPACE 3 & Apply
(Pick Line 2) & OK
NDIV 10 & SPACE 0.3 & Apply
(Pick Line 5) & OK
NDIV 5 & SPACE 3 & Apply
(Pick Line 6) & OK
NDIV 5 & SPACE 0.6 & Apply
(Pick Line 7) & OK
NDIV 8 & SPACE 0.3 & Apply
(Pick Line 3) & OK
NDIV 8 & SPACE 3 & OK
Click the Mesh Button
Click on Pick All
(Go To Main Menu)
Solution
Define Loads
Apply
Thermal
Convection
On lines
Pick Lines 3 and 7 & OK
Film Coefficient: 2
Bulk Temperature: 100 & OK

13

Nyquist/Haghighi

ABE 601

Temperatures
On nodes
Pick nodes (select nodes along line 1) & OK
Temperature: 0 & OK
(Go To Main Menu)
Solution
Analysis Type
New Analysis
Steady State & OK
Solve
Current LS
(Read Message) OK
(Solution is done) Close
(Go To Main Menu)
General Postproc
Plot Results
Contour Plot
Nodal Solution
DOF Solution: Temperature & OK
(Go To Utility Menu)
PlotCtrls
Hard Copy
Print to: click ABE116h1 & OK
(Go To Main Menu)
General Postproc
Plot Results
Vector Plot
Predefined
Flux and Gradient: Thermal flux TF & OK
(Ansys Utility Menu)
PlotCtrls
Capture Image
File
Print
Print to & click ABE116h1 & OK

(Close this window)


(Ansys Main Menu)
General Postproc
List Results
Percent Error (Click PowerGraph off at the Ansys Tool Bar Menu)
Close
(Ansys Tool Bar)
Save DB
Quit & Save Everything & OK

14

You might also like