Professional Documents
Culture Documents
Connecting Rod: Workshop 13A Postprocessing
Connecting Rod: Workshop 13A Postprocessing
Connecting Rod
13A. Postprocessing
Connecting g Rod
Description
Workshop Supplement
Postprocess the connecting rod from Workshop 10B using query picking and path operations. Check the error level, then refine the mesh and re-solve. Compare the two sets of results results.
13A. Postprocessing
Connecting g Rod
1. 2. Resume the conn-rod.db database file from workshop 10B:
Utility Menu > File > Resume from Select the conn-rod.db database file, then [OK] Or issue: RESUME,conn-rod,db If you have not saved the database from workshop 10B Select the conn-rod.db2 database file, then [OK] Or issue:RESUME,conn-rod,db
Workshop Supplement
Enter ANSYS in the working directory specified by your instructor using conn-rod as the jobname.
3.
4.
Enter the general postprocessor and plot the von Mises stress:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress >von Mises stress stress, then [OK] Utility Menu > PlotCtrls > Pan, Zoom, Rotate [Fit] Or issue: /POST1 PLNSOL,S,EQV /AUTO,1 /REPLOT
13A. Postprocessing
Connecting g Rod
5. Query the von Mises stress results:
Main Menu > General Postproc > Query Results > Subgrid Solu
Select Stress and von Mises SEQV, , then [OK] [ ] Pick various grid locations on the model [Reset] [Min] [Max] [O ] [OK]
Workshop Supplement
6.
Main Menu > General Postproc p > Path Operations p > Define Path > By y Nodes
13A. Postprocessing
Connecting g Rod
6b. Map von Mises, SX, SY, and SZ stresses onto path2 (current path):
Main Menu > General Postproc > Path Operations > Map onto Path Set lab = p2-seqv p2 seqv Select Stress and von Mises SEQV, then [Apply] Set lab = p2-sx Select Stress and X-direction SX, then [Apply] Set lab = p2-sy p y Select Stress and Y-direction SY, then [Apply] Set lab = p2-sz
Workshop Supplement
Select Stress and Z-direction SZ, then [OK] Or issue: PDEF,P2-SEQV,S,EQV,AVG PDEF,P2-SX,S,X,AVG PDEF,P2-SY,S,Y,AVG PDEF,P2-SZ,S,Z,AVG
13A. Postprocessing
Connecting g Rod
6c. Plot path2 items on graph:
Workshop Supplement
Main Menu > General Postproc > Path Operations > Plot Path Item > On Graph Select P2-SEQV, then [Apply] Select P2-SX and unselect P2-SEQV, then [Apply] Select P2-SY and unselect P2-SX, then [Apply] Select P2-SZ and unselect P2-SY, then [Apply] Select all four path2 items, then [OK] Utilit M Utility Menu > Pl PlotCtrls tCt l > Style St l > Graphs G h > Modify M dif Axes A X-axis label = Path2 Distance Y-axis label = Stress, psi Select Specified range for Y-Axis range Set YMIN = -1000 and YMAX = 1900, , then [OK] [ ] Utility Menu > Plot > Replot Or issue: PLPATH,P2-SEQV PLPATH,P2-SX PLPATH,P2-SY 2 PLPATH,P2-SZ PLPATH,P2-SEQV,P2-SX,P2-SY,P2-SZ /YRANGE,-1000,1900 $ /AXLAB,X,Path2 Distance $ /AXLAB,Y,Stress, psi /REPLOT /
13A. Postprocessing
Connecting g Rod
Workshop Supplement
13A. Postprocessing
Connecting g Rod
6d. Set path1 to be the current path and set graph axes to default values:
Main Menu > General Postproc > Path Operations > Recall Path Select PATH1, then [OK] Utility Menu > PlotCtrls > Style > Graphs > Modify Axes X-axis label =____ Y-axis label = ____ Select Auto calculated for Y-Axis range, then [OK] O i Or issue: PATH,PATH1 PDEF,STAT /YRANGE,DEFAULT $ /AXLAB,X $ /AXLAB,Y
Workshop Supplement
6e Repeat steps 6b 6e. 6b. and 6c. 6c for path1 and replace p2 p2 with p1 p1 for the path labels: modify the axes as follows***:
Utility Menu > PlotCtrls > Style > Graphs > Modify Axes X-axis label = Path1 Distance Y-axis Y a is label = Stress, Stress psi Select Specified range for Y-Axis range Set YMIN = -1100 and YMAX = 1800, then [OK] Utility Menu > Plot > Replot
13A. Postprocessing
Connecting g Rod
6e. (the easy way)
Open the Session Editor Cut and paste the commands used to map the results onto paths into a Text Editor. Editor Remove the unimportant commands and make the appropriate changes. Save the file as mypath.txt in your working directory. Read in the file with /input,mypath,txt
Workshop Supplement
Note: Cutting and Pasting into the Input Window is not a supported feature.
13A. Postprocessing
Connecting g Rod
Workshop Supplement
13A. Postprocessing
Connecting g Rod
7. Plot the paths on the model:
Utility Menu > PlotCtrls > Style > Colors > Entity Colors Change Outline Outline color color to black black, then [OK] Utility Menu > Plot > Elements Main Menu > General Postproc > Path Operations > Plot Paths Utility Menu > PlotCtrls > Style > Colors > Entity Colors Change g Outline color to white, , then [OK] [ ] Or issue: /COLOR,OUTL,BLAC EPLOT /PBC,PATH,1 /REPLOT /PBC,PATH,0 /COLOR,OUTL,WHIT
Workshop Supplement
13A. Postprocessing
Connecting g Rod
8. Plot error estimations:
Workshop Supplement
13A. Postprocessing
Connecting g Rod
8b. Plot the Structural Elemental Energy Error (SERR):
In the input window, type: PLESOL SERR PLESOL,SERR
Workshop Supplement
13A. Postprocessing
Connecting g Rod
8c. Plot the Element Solution Stress Deviation Error (SDSG):
In the input window, type: PLESOL,SDSG
Workshop Supplement
13A. Postprocessing
Connecting g Rod
8d. Plot the Structural Percentage Error (SEPC):
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > DOF solution > Displacement vector sum sum, then [OK] Or issue: PLNSOL,U,SUM
Workshop Supplement
13A. Postprocessing
Connecting g Rod
8e. Plot the maximum stress bound for SEQV:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution >Stress > von Mises stress stress, then [OK] Or issue: PLNSOL,S,EQV
Workshop Supplement
13A. Postprocessing
Connecting g Rod
9. Change the title to Connecting Rod Postprocessing with ESIZE=0.1
Issue: /title,Connecting Rod Postprocessing with ESIZE=0.1
Workshop Supplement
10 Refine the mesh using an ESIZE=0 10. ESIZE=0.1 1 and re-solve: re solve:
Main Menu > Preprocessor > MeshTool Pick [Set] under Size Controls: Global SIZE = 0.1, then [OK] Select Hex and Sweep, then [Sweep] [Pick All] [OK] (to remesh previously meshed volumes) Main Menu > Solution > Define Loads > Apply > Structural > Displacement > On Nodes Enter node number 3292 in the Apply U,ROT on Nodes window followed by Enter, then [OK] Select UZ, UZ then [OK] Main Menu > Solution > Solve > Current LS [OK] Or issue: /PREP7 ESIZE,0.1 VCLEAR,1 VSWEEP,ALL /SOLU D,3292,UZ 3292 SOLVE
13A. Postprocessing
Connecting g Rod
11. Plot error estimations and compare the results to the ones from step 6:
Workshop Supplement
11a. Enter the general postprocessor and plot the Structural Elemental Energy Error (SERR): (SERR)
In the input window, type: /post1 PLESOL,SERR
13A. Postprocessing
Connecting g Rod
11b. Plot the Stress Deviation Error (SDSG):
In the input window, type: PLESOL SDSG PLESOL,SDSG
Workshop Supplement
13A. Postprocessing
Connecting g Rod
11c. Plot the Structural Percentage Error (SEPC):
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution >DOF Solution > Displacement vector sum sum, then [OK] Or issue: PLNSOL,U,SUM
Workshop Supplement
13A. Postprocessing
Connecting g Rod
11d. Plot the maximum and minimum stress bounds for SEQV:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution >Stress > von Mises stress stress, then [OK] Or issue: PLNSOL,S,EQV
Workshop Supplement
13A. Postprocessing
Connecting g Rod
12. Save the results with ESIZE=0.1 and exit ANSYS:
Utility Menu > File > Save as Enter conn-rod2 conn rod2.db db as the database name, name then [OK] Select Quit - No Save! Pick the QUIT button in the Toolbar [OK] Or issue: SAVE,conn-rod2,db FINISH /EXIT,NOSAVE
Workshop Supplement
Spherical Shell
13B. Postprocessing
Spherical Shell
Description
Workshop Supplement
Review the results of a spherical shell analysis using both global Cartesian and spherical coordinate systems. Check results at the top and bottom as well as the middle of the shell. The model consists of 1/8th of a sphere sphere, and input for the analysis is provided.
13B. Postprocessing
Spherical Shell
Loads
Workshop Supplement
13B. Postprocessing
Spherical Shell
1. 2 2.
Workshop Supplement
Enter ANSYS in the working directory specified by your instructor using shell as the jobname. R di Read input t from f the th shell.inp h ll i file: fil
Utility Menu > File > Read Input from Select the shell.inp file, then [OK] Or issue: /INPUT shell inp /INPUT,shell,inp
3.
Enter the general postprocessor and set the number of facets per element edge to two for PowerGraphics displays:
Main Menu > General Postproc Utility Menu > PlotCtrls > Style > Size and Shape Set /EFACET = 2 facets/edge Or issue: /POST1 /EFACET 2 /EFACET,2
13B. Postprocessing
Spherical Shell
4a. Plot the nodal solution for the X component stress in rsys=0:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > X-Component X Component of stress
Workshop Supplement
Expand the Additional options and select Number of facets per element edge to be corner + midside, then [OK] Or issue: PLNSOL,S,X,0,1
13B. Postprocessing
Spherical Shell
4b. Plot the nodal solution for the Y component stress in rsys=0:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > Y-Component Y Component of stress, stress then [OK] Or issue: PLNSOL,S,Y
Workshop Supplement
13B. Postprocessing
Spherical Shell
4c. Plot the nodal solution for the Z component stress in rsys=0:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > Z-Component Z Component of stress, stress then [OK] Or issue: PLNSOL,S,Z
Workshop Supplement
13B. Postprocessing
Spherical Shell
4d. Plot the nodal solution for the von Mises stress (SEQV) in rsys=0:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > von Mises stress stress, then [OK] Or issue: PLNSOL,S,EQV
Workshop Supplement
13B. Postprocessing
Spherical Shell
Main Menu > General Postproc > Options for Output Set SHELL = Middle Middle layer layer , then [OK] Utility Menu > Plot > Replot Or issue: SHELL,MID /REPLOT
Workshop Supplement
4f. Plot the nodal solution for the von Mises stress (SEQV) at middle of shell in rsys=0:
13B. Postprocessing
Spherical Shell
5.
Workshop Supplement
Set the results coordinate system to be global spherical and set the shell layer location to be top or bottom. In addition, turn off element outlines and display RSYS in the Text Legend: g
Main Menu > General Postproc > Options for Outp Set RSYS = Global spherical Set SHELL = Top layer (or Bottom layer), then [OK] Set /ESHAPE = On, then [OK] Set /GLINE = None, then [OK]
Utility Menu > PlotCtrls > Style > Size and Shape Utility Menu > PlotCtrls > Style > Edge Options ... Utility Menu > PlotCtrls > Style > Multilegend Options > Text Legend Set Class = Miscellaneous, then [OK] Or issue: RSYS,2 SHELL,TOP /ESHAPE,1 /GLINE,1,-1 /UDOC,1,MISC,LEFT (or SHELL,BOT)
13B. Postprocessing
Spherical Shell
6a. Plot the nodal solution for the X component stress in rsys=2 (radial stress):
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > X-Component X Component of stress, stress then [OK] Or issue: PLNSOL,S,X
Workshop Supplement
13B. Postprocessing
Spherical Shell
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > Y-Component Y Component of stress, stress then [OK] Or issue: PLNSOL,S,Y
Workshop Supplement
6b. Plot the nodal solution for the Y component stress in rsys=2 (stress in theta dir.):
13B. Postprocessing
Spherical Shell
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > Z-Component Z Component of stress, stress then [OK] Or issue: PLNSOL,S,Z
Workshop Supplement
6c. Plot the nodal solution for the Z component stress in rsys=2 (stress in phi dir.):
13B. Postprocessing
Spherical Shell
6d. Plot the nodal solution for the von Mises stress (SEQV) in rsys=2:
Main Menu > General Postproc > Plot Results > Contour Plot > Nodal Solu Select Nodal Solution > Stress > von Mises stress stress, then [OK] Or issue: PLNSOL,S,EQV
Workshop Supplement
13B. Postprocessing
Spherical Shell
7. Save results and exit ANSYS:
Pick the QUIT button in the Toolbar Select Save Save Everything Everything [OK] Or issue: FINISH , /EXIT,ALL
Workshop Supplement
13C. Postprocessing
Workshop Supplement
Add the two load step results in the postprocessor using load case combinations.
13C. Postprocessing
Workshop Supplement
13C. Postprocessing
Workshop Supplement
Enter ANSYS in the working directory specified by your instructor using multi-ls as the jobname. R di Read input t from f the th multi-ls.inp lti l i file. fil
multi-ls.inp runs the analysis from the thermal workshop and creates a multi-ls.rth thermal results file. Next, the thermal results are applied as temperature loads on the structural analysis (this process is discussed in Intro Part 2). multi-ls.inp will apply all of the loads necessary for the first loadstep. Utility Menu > File > Read Input from Select the multi-ls.inp file, then [OK] Or issue: /INPUT,multi-ls,inp
3 3.
13C. Postprocessing
Workshop Supplement
[ [Close] ] - to close the message g window after the solution is completed p Or issue: /TITLE, 2D AXI-SYMM STRUCTURAL ANALYSIS WITH THERMAL LOAD SOLVE
5 5.
Delete the thermal body force loads from load step 1 (NOTE (NOTE, DO NOT EXIT THE SOLUTION PROCESSOR):
Main Menu > Solution > Define Loads > Delete > Structural > Temperature > On Nodes [Pick All] Utility Menu > List > Loads > Body Loads > On All Nodes Verify that the BFLIS window does not list any body force loads and then close it Or issue: BFDELE,ALL,TEMP BFLIS,ALL
13C. Postprocessing
Workshop Supplement
7.
[Close] - to close the message window after the solution is completed Or issue: /TITLE, 2D AXI-SYMM STRUCTURAL ANALYSIS WITH INTERNAL PRESSURE SOLVE
13C. Postprocessing
Workshop Supplement
Enter the general postprocessor and plot von Mises stress (SEQV) from load step 2:
13C. Postprocessing
Workshop Supplement
13C. Postprocessing
Workshop Supplement
13C. Postprocessing
Workshop Supplement
11. Add together load step 1 and load step 2 results using load case combinations: 11a. Create a Load Case using a reference number of 2. Load Case 2 will point to Load St 2 results: Step lt
Main Menu > General Postproc > Load Case > Create Load Case Select Results file, then [OK] Set LCNO = 2 Set LSTEP = 2
13C. Postprocessing
Workshop Supplement
11b. Add Load Case 2 (i.e. Load Step 2 results) to what is currently stored in the memory database (i.e. Load Step 1 results):
13C. Postprocessing
Workshop Supplement
12. Plot the von Mises stress (SEQV) from the Load Case combination results (I.e. load step 1 + load step 2):
13C. Postprocessing
Workshop Supplement
13. Expand the axisymmetric von Mises stress 90 degrees about Y axis and reflect about the x-z plane. Then turn off the element outline:
13C. Postprocessing
Workshop Supplement
13C. Postprocessing
Workshop Supplement
13C. Postprocessing
Workshop Supplement
14b. Plot radial stress from the Load Case combination results (I.e. load step 1 + load step 2):
13C. Postprocessing
Workshop Supplement
14c. Plot longitudinal stress from the Load Case combination results (I.e. load step 1 + load step 2):
13C. Postprocessing
Workshop Supplement
14d. Plot tangential stress from the Load Case combination results (I.e. load step 1 + load step 2):
13C. Postprocessing
Workshop Supplement
15. Save the Load Case combination results as Load Step 3 in the multi-ls.rst results file:
Results Viewer
13D. Postprocessing
Results Viewer
Description
Workshop Supplement
Use the Results Results Viewer Viewer to postprocess the model solved in Workshop 13C.
13D. Postprocessing
Results Viewer
1. Enter ANSYS in the working directory specified by your instructor using multi-ls as the jobname. 2 Resume the multi-ls 2. multi ls.db db database file from workshop 13C:
Utility Menu > File > Resume from Select the multi-ls.db database file, then [OK] Or issue: RESUME,multi-ls,db Main Menu > General Postproc > Read Results > First Set Or issue: /POST1 SET,1 Main Menu > General Postproc > Write PGR File Write data for all sets Select Stress [OK] Or issue: POUTRES,S SET, , , , , , ,1 PGSAVE,'multi-ls','pgr','.',0, 0,0 SET , , , , , ,2 SET, 2 PGSAVE,'multi-ls','pgr','.',0, 0,0 SET, , , , , , ,3 PGSAVE,'multi-ls','pgr','.',0, 0,0
Workshop Supplement
13D. Postprocessing
Results Viewer
4. Open the Results Viewer:
Main Menu > General Postproc > Results Viewer
Workshop Supplement
13D. Postprocessing
Results Viewer
5. Use the viewer to plot the Equivalent Stress for Load Step 2:
1. 2 2. 3. Move the scroll bar to Load Step 2. Use the pulldown list to select von von Mises Stress Stress. Use the contour plot button to display nodal results.
Workshop Supplement
13D. Postprocessing
Results Viewer
6. Move the contour legend to the right side of the graphics window.
1. 2 2. Right click on legend, pick Contour Right. Right click in graphics window window, select Replot Replot .
Workshop Supplement
Right click
Right click
13D. Postprocessing
Results Viewer
7. Animate the X-Component of Displacement:
1. 2 2. 3. 4. Use the pulldown list to select X-Component of Displacement. Select the animate button. button Select Deformed Results, then [OK] [OK]
Workshop Supplement
4 3
13D. Postprocessing
Results Viewer
8. Stop the animation and exit the Results Viewer:
1. [Stop] [ p] 2. [Close] Select File -> Close
Workshop Supplement
9. Exit ANSYS:
Pick Pi k the th QUIT button b tt from f the th Toolbar (or select: Utility Menu > File > Exit...) Select Quit No Save [OK] Or issue: FINISH /EXIT,NOSAV
1 2
Report Generator
13E. Postprocessing
Report Generator
Description Use the Report Report Generator to create an HTML Internet Ready report.
Workshop Supplement
13E. Postprocessing
Report Generator
2 Read input from the plate-13e 2. plate-13e.inp inp file:
Utility Menu > File > Read Input from Select the plate-13e.inp file, then [OK] Or issue: / /INPUT,plate-13e,inp U ,p ate e, p
Workshop Supplement
1. Enter ANSYS in the working directory specified by your instructor using report as the jobname.
13E. Postprocessing
Report Generator
4. Capture images: 4a. Plot elements:
Utility Menu > Plot > Elements Or issue: EPLOT Report Generator: [Image Capture] button Caption Plot of Elements, then [OK] Or issue: ~tcl,'ansys::report::imagecapture Plot of Elements '
Workshop Supplement
13E. Postprocessing
Report Generator
4b. Plot Stress in X-direction:
General Postproc > Plot Results > Contour Plot > Nodal Solution Select Nodal Solution > Stress > X-Component X Component of stress, stress then [OK] Or issue: /POST1 PLNSOL,S,X,0,1 Report Generator: [Image Capture] button Caption X-Direction Stress, then [OK] Or issue: ~tcl 'ansys::report::imagecapture ~tcl, ansys::report::imagecapture X-Direction X-Direction Stress Stress '
Workshop Supplement
13E. Postprocessing
Report Generator
4c. Plot Stress along a path:
General Postproc > Path Operations > Plot Path Item > On Graph Select L-SX L SX , then [OK] Or issue: PLPATH,L-SX Report Generator: [Image Capture] button Caption Graph of SX Stress on Path L-SX , then [OK] Or issue:
Workshop Supplement
13E. Postprocessing
Report Generator
5. Capture an animation:
Report Generator: [Animation Capture] button Caption Animation of Deformed Results - SX Stress Select Deformed Results, then [OK]
Workshop Supplement
Select Stress, X-direction SX, then [OK] Or issue: /REPLOT,RESIZE PLNSOL,S,X ANCNTR,10,0.5
13E. Postprocessing
Report Generator
6. Capture Tables:
Report Generator: [Table Capture] button Caption Material Properties Select Material properties [Apply] Caption p Reaction Forces Select Sum of reaction forces
Workshop Supplement
[OK] Or issue: ~tcl,'ansys::report::tablecapture 2 "Material Properties 1' ~tcl,'ansys::report::tablecapture 4 "Reaction Forces"' fsum,,1
13E. Postprocessing
Report Generator
7. Capture Lists:
Report Generator: [Listing Capture] button Caption List of Stress along Path L-SX. Type PRPATH,L-SX in command line. [OK] Caption List of Constraints on Selected Items. Type SBCLIS in command line.
Workshop Supplement
[OK] Or issue:
~tcl,'ansys::report::outputcapture "List of Stress along Path L-SX" "prpath,l-sx"' prpath,l-sx ~tcl,'ansys::report::outputcapture "List of Constraints on Selected Items" "sbclis"' sbclis
13E. Postprocessing
Report Generator
8. Create the HTML report using all the captured information:
Report Generator: [HTML Report Assembler] button
Workshop Supplement
13E. Postprocessing
Report Generator
8b. Insert Text:
Select TEXT Type in the following, following The The purpose of this analysis was to analyze a plate with a hole.
Workshop Supplement
13E. Postprocessing
Report Generator
8e. Insert captured images:
Select the following images under Report Images Plot of Elements Plot of Stress in X-direction Animation of Deformed Results Graph of Plot
Workshop Supplement
13E. Postprocessing
Report Generator
8f. Insert Lists and Tables:
Select the following images under Report Lists List of Stress along Path List of Constraints on Selected Items Material Properties Reaction Forces
Workshop Supplement
13E. Postprocessing
Report Generator
9. Preview the Report
Select the Preview Report button
Workshop Supplement
13E. Postprocessing
Report Generator
10. Save and Close the Report Generator:
Select File, Save and Close
Workshop Supplement