Upload
sudhingeorge
View
214
Download
0
Embed Size (px)
Citation preview
8/6/2019 3 Introductory Examples v81 601
1/14
Nyquist/Haghighi
1
ANSYS Problem #1(Beam Deflection)
Find the deflection of the beam given below.
8/6/2019 3 Introductory Examples v81 601
2/14
Nyquist/Haghighi
2
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 istyped bold and type everything that is italicizedbelow.
(Go To ANSYS/Faculty Utility Menu)File
Change Jobname then type Beam_Deflection
(Go To Main Menu)Preprocessor
Element TypeAdd/Edit/Delete
AddStructural & Beam & 2D elastic 3 & OK
Close Element Type window
Real ConstantsAdd/Edit/Delete
Add
OK(Click inside the AREA box and type) 8(IZZ) 10.667(Height) 4OKClose
Material PropsMaterial Models & Structural & Linear& Elastic & Isotropic
(Click inside the EX box and type) 20e6OKA message will appear (Note: PRXY will be set to 0.0). Click OK
Close Material Models window
PreprocessorModeling
CreateNodes
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)
PlotCtrlsNumbering
(Go to NODE and click) OFF (then OFF will be toggled to ON)OK
PlotNodes
(GoTo Main Menu)Preprocessor
Create
8/6/2019 3 Introductory Examples v81 601
3/14
Nyquist/Haghighi
3
ElementsAuto-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)
FileSave as Jobname.db (Check the working directory)
(GoTo Main Menu)Solution
Define LoadsApply
StructuralDisplacement
On Nodes(Pick node number) 1 & OK (Node1 is on the origin)(Lab2) All DOF (DOFs to be constrained)
(Value) 0OK
Force/MomentOn Nodes
(Pick node number) 3 & OK(Click arrow box inside of the Lab box and choose) FY(Value) -100OK
(GoTo Utility Menu)PlotCtrls
NumberingElem/Attrib numbering
Click arrow box to choose Element numbers & OKPlot
Click Elements
(GoTo Main Menu)Solution
SolveCurrent LS
(Read Message and click) OKClick OK on the information message Solution is Done!
Close STATUS command window
(GoTo Utility Menu)File
Save as Jobname.db
8/6/2019 3 Introductory Examples v81 601
4/14
Nyquist/Haghighi
4
(GoTo Main Menu)General Postproc
Plot ResultsContour Plot
Nodal SoluDOF Solution &Y-Component of displacement(Undisplaced shape key, choose) Deformed shape with undeformed model
OK
List ResultsNodal Solution
DOF Solution &Y-Component of displacementOK
Close PRNSOL command window
(GoTo Utility Menu)File
Exit & Save everything & OK
The following is the ANSYS commands and their descriptions ofbeam.log.
/BATCH * When batch mode is used, use this command./FILNAM, beam * Instructs Ansys to save all information in files starting with *beam*/PREP7 * Enters the preprocessing phase of the analysisET,1,3 * Sets Element Type 3 (beam element)R,1,8,10.667,4 * Defines geometry, cross section area, inertia, and height.MP,EX,1,20e6 * Defines material property, Youngs modulusN,1 * node 1 => x=0, y=0N,2,60 * node 2 => x =60, y=0N,3,120 * node 3 => x=120, y=0
/PNUM, NODE,1 * Prints node number when using plot commands.NPLOT * Plots nodesE,1,2 * Generate element 1 connecting node 1 and node 2.E,2,3 * element 2 connecting node 2 and node 3SAVE,beam,db * Saves model database as created to this pointFINISH * Finishes /prep7, go to begin level/SOLU * Starts Solution phase of analysisD,1,ALL,0 * known displacement dx=0, dy=0 at node 1F,3,FY,-100 * Defines a force on node 3 in the y-direction/PNUM,ELEM,1 * Prints element number when using plot commands.EPLOT * Plots elements.SOLVE * Solves the model as defined
FINISH * Finishes solution process, go to begin level./POST1 * Post-processingPLDISP,1 * Plots displacementsPRNSOL,U * Prints displacements (UX,UY,UZ)FINISH * Finishes /post1, go to begin level/EXIT * Exit
8/6/2019 3 Introductory Examples v81 601
5/14
Nyquist/Haghighi
5
ANSYS Problem #2Stress 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 stressdistribution around the hole using ANSYS. You will learn a Boolean operation (Subtract) to draw thegeometry and use the symmetry boundary conditions to simplify the problem. The von Mises stress
Seqv() will be used for the stress contour plot.
8/6/2019 3 Introductory Examples v81 601
6/14
Nyquist/Haghighi
6
Analysis Type(s): Static analysis (ANTYPE = 0), submodelingElement Type(s): 2-D 6-node triangular solid elements (PLANE2)
2-D isoparametric solid elements (PLANE42)2-D structural solid p-elements (PLANE146)
Test CaseDetermine the maximum stress as a circular hole cut into a square plate loaded with uniform
tension P.
8/6/2019 3 Introductory Examples v81 601
7/14
Nyquist/Haghighi
7
The following is the step-by-step procedure for the Plate with a hole stress concentration problem usingthe ANSYS GUI (Graphic User Interface) environment. Using the left button of the mouse, click oneverything that is typed bold and type everything that is italicizedbelow.
(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 TypeAdd/Edit/Delete
AddStructural Solid & Triangle 6node 2 & OK
Options(Element behavior, K3) Plane Strs w/ thk & OK
Close
Real ConstantsAdd/Edit/Delete & Add & OK
THK : 1& OKClose
Material PropsMaterial Models & Structural & Linear& Elastic & Isotropic
OK(Click inside the EX box) 3e7(Click inside the NUXY box) 0.3& OKClose Material Models window
ModelingCreate
AreasRectangle
By Dimensions(Click X1 box) 0(Click X2 box) 6(Click Y1 box) 0(Click Y2 box) 6OK (Defines a rectangle by two opposite corner points (0,0) and (6,6))
CircleBy Dimensions
(Click RAD1 Box) 0.5OK (Defines a circle centered at the origin with radius=0.5)
OperateBooleans
SubtractAreas
(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.)
8/6/2019 3 Introductory Examples v81 601
8/14
Nyquist/Haghighi
8
(GoTo Utility Menu)
PlotCtrlsNumbering
(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
MeshingMeshTool
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
SolutionDefine Loads
Apply
StructuralDisplacement
Symmetry B.COn Lines
(Pick lines X=0 & Y=0 and then click) OK
PressureOn Lines
(Pick the line with pressure (L2) and then click) OK(Click Pressure value box VAL1)1000& OK
(GoTo Utility Menu)
FileSave as Jobname.db (Check the working directory)
(Go To Main Menu)Solution
SolveCurrent LS
(Read Message) OK(Solution is done) CloseClose the/STATUS command window
8/6/2019 3 Introductory Examples v81 601
9/14
Nyquist/Haghighi
9
(Go To Main Menu)General Postproc
Plot ResultsContour Plot
Nodal SoluStress & (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 ResultsPercent 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)
8/6/2019 3 Introductory Examples v81 601
10/14
Nyquist/Haghighi
10
The following is the ANSYS commands and their descriptions ofplate.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 analysisET,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,000RECTING,,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 allsubsequent plot commands
/PBC,ALL,,1 * Plots boundary conditionsKPLOT * Plots keypointsDL,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 linesSAVE,plate,db * Saves model database as created to this pointSOLVE * 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 outlinePLNSOL,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
8/6/2019 3 Introductory Examples v81 601
11/14
Nyquist/Haghighi
11
ANSYS Problem # 3Thermal Analysis
Determine the temperature distribution in the cross-section of the conducting bar.
Properties: L = 50 cmT1 = 100 CH = 2 W/m2KK = 0.1 W/mKT0 = 0 C
8/6/2019 3 Introductory Examples v81 601
12/14
Nyquist/Haghighi
12
The following is the step-by-step procedure for the Conducting bar temperature distribution problemusing the ANSYS GUI (Graphic User Interface) environment. Using the left button of the mouse, clickon everything that is typed bold and type everything that is italicizedbelow.
(Go To Utility Menu)File
Change Jobname: Conduction-Bar, OK
Change Title: Thermal Analysis, OK
(Go To Main Menu)Preferences
Thermal , OK
PreprocessorElement Type
Add/Edit/DeleteAdd
Thermal Solid : Quad 4node 55 & OKClose
Material PropsMaterial Model & Thermal & Conductivity
IsotropicThermal Conductivity Kxx : 0.1 & OKClose
PreprocessorModeling
CreateAreas
Rectangle
By dimensionsX1 , X2 X-coordinates : 0 , 0.25Y1 , Y2 Y-coordinates : 0, 0.5& OK
CreateKeypoints
In Active CSX,Y,Z Location in active CS : 0.5, 0& ApplyX,Y,Z Location in active CS : 0.5 , 0.25& OK
(Go To Utility Menu)PlotCtrls
NumberingClick KP, LINE, AREA to toggle them to On.OK
PlotKeypoints
8/6/2019 3 Introductory Examples v81 601
13/14
Nyquist/Haghighi
13
(Go To Main Menu)Preprocessor
ModelingCreate
AreasArbitrary
Through KPs
Click Keypoints 2, 5, 6, 3 & OK
(Go To Utility Menu)Plot
Lines
(Go To Main Menu)Preprocessor
MeshingMeshTool
Click on the Lines SET button(Pick Line 1)& OK
NDIV 10& SPACE -0.3 & Apply
(Pick Line 4)& OKNDIV 10& SPACE 3 & Apply
(Pick Line 2)& OKNDIV 10& SPACE 0.3& Apply
(Pick Line 5)& OKNDIV 5& SPACE 3& Apply
(Pick Line 6)& OK
NDIV 5& SPACE 0.6& Apply
(Pick Line 7)& OKNDIV 8& SPACE 0.3& Apply
(Pick Line 3)& OKNDIV 8& SPACE 3& OK
Click the Mesh ButtonClick on Pick All
(Go To Main Menu)
SolutionDefine Loads
ApplyThermal
ConvectionOn lines
Pick Lines 3 and 7 & OKFilm Coefficient: 2Bulk Temperature: 100& OK
8/6/2019 3 Introductory Examples v81 601
14/14
Nyquist/Haghighi
14
TemperaturesOn nodes
Pick nodes (select nodes along line 1) & OKTemperature: 0& OK
(Go To Main Menu)Solution
Analysis TypeNew Analysis
Steady State & OK
SolveCurrent LS
(Read Message) OK(Solution is done) Close
(Go To Main Menu)General Postproc
Plot Results
Contour PlotNodal Solution
DOF Solution: Temperature & OK
(Go To Utility Menu)PlotCtrls
Hard CopyPrint to: click ABE116h1 & OK
(Go To Main Menu)General Postproc
Plot Results
Vector PlotPredefined
Flux and Gradient: Thermal flux TF & OK
(Ansys Utility Menu)PlotCtrls
Capture ImageFilePrint
Print to & click ABE116h1 & OK
(Close this window)
(Ansys Main Menu)General Postproc
List ResultsPercent Error(Click PowerGraph offat the Ansys Tool Bar Menu)Close
(Ansys Tool Bar)Save DBQuit & Save Everything & OK