• An analysis of a half-symmetric of a pipe junction will be performed in Mechanical APDL. Creep material properties are present, and the onset of buckling is examined
Workshop Objectives
• In this workshop, the following will be covered:
– – – – – Defining additional material properties in Mechanical APDL Examining the element coordinate systems Using the Mechanical APDL log file Using the General Postprocessor Using the Time-History Postprocessor
Training Manual
• Informative text in this workshop is preceded by bullet point whereas steps to perform are designated with numbers numbers.
– This applies to top-level bullet/numbered items only
… Review Model Setup in Mechanical
1. Launch ANSYS Workbench 12.0
• • • • Windows Start menu > Programs > ANSYS 12.0 > Workbench
Training Manual
2. Restore archive “workshop 3a.zip” p p
“File menu > Restore Archive…” Select “workshop 3a.zip” from the location specified by your instructor Save the “pipe” project to a directory specified by your instructor pp p j y p yy
4. Change the unit system using “Units menu > Metric (mm, kg, N…)” 5. Review the model – note that a single surface body is present. Right-click on the “Mesh” branch and use “Generate Mesh” to see the mesh. Check the loads and supports on this model.
• In the next steps, the following will be performed in Mechanical APDL:
– Specifying creep material properties – Solving the model – Postprocessing creep results
… Open the Model in Mechanical APDL
1. Return to the Workbench Project Schematic 2. Right-click on cell B5 (“Setup” cell of “Creep Analysis for Workshop” system) and select “Update” 3. Right-click on cell B5 and select “Transfer Data To New > Mechanical APDL”
4. Right-click on the cell C5 (“Analysis” cell of “Mechanical APDL” system) and select “Edit in Mechanical APDL …”
– The Mechanical APDL GUI will open with the model
5. Use “Utility Menu > Plot > Elements” to plot the mesh
6. Use “Main Menu > Preprocessor > Element Type > Add/Edit/Delete” to list defined element types.
• Click on [Close] when done
The pipe structure is represented with fournode quad shell elements (SHELL181). The internal pressure loading is applied g pp using surface effect elements (SURF154).
7. Review the section properties for the shell elements by selecting “Main Menu > Preprocessor > Sections > Shell > Lay-up > Add/Edit”
• • The Shell Sections dialog box will appear, as shown below. Click on [OK] to close the dialog box when done
… Hide Element Coordinate Systems
10. Select “Utility Menu > PlotCtrls > Symbols …”
– –
Training Manual
Select “ESYS Element coordinate sys” to “Off” (Optional) If the boundary condition symbols are to also be hidden, at the top of the dialog box, change “[/PBC] Boundary condition symbol” to the “None” radio button
11. Turn off wireframe mode via “Utility Menu > PlotCtrls > Device Options …” O ti ”
– Select “[/DEVI] Vector mode (wireframe)” to “Off”
12. “Main Menu > Preprocessor > Material Props > Material Models”
In the Material Models dialog box, expand the right column: “Structural > Nonlinear > Inelastic > Rate Dependent > Creep > Creep only > Mises Potential Implicit 10 N t (S P t ti l > I li it > 10: Norton (Secondary)” d )”
… Add Creep Material Property
• The Norton law is a very simple creep law, as shown below:
Training Manual
& ε cr = C1σ e
C2
− C3 T
– εcr is equivalent creep strain (the dot denotes time derivative, or the creep c strain rate) – σ is the equivalent stress – T is the absolute temperature
• To allow users to specify temperatures in Celsius or Fahrenheit, the TOFFST command is used to specify the offset that is used for the creep equation
– C1 through C3 are the material constants input by the user – For details on available creep laws see the following Help section: laws,
• “Mechanical APDL (formerly ANSYS) > Element Reference > 2.5 Material Data Tables (Implicit Analysis) > 2.5.13.1 Implicit Creep Equations”
13. In the Creep dialog box, enter the constants as shown below:
C1 is 9.18e-13 C2 is 5.54 C3 is 0 (no temperature effects for this example) Click on [OK] when done. Notice that “Creep: Implicit (10: Norton-S)” will be added under “Material Model Number 1” on the left side of the Material Models GUI. Use “Material menu > Exit” to close the GUI. M i l M d l GUI U “M i l E i” l h GUI
• The log file records all actions that were performed by the user. 14. “Utility menu > List > Files > Log File …”
• Scroll to the bottom of the text window that appears. The commands to pp define the creep model are shown in the listing.
• Understanding which APDL commands correspond to the actions the user performs can be difficult for those unfamiliar with APDL. • A helpful tip is to ‘annotate’ the log file:
– A comment can be inserted in the log file by preceding it with an exclamation mark “!” – Comments and commands can be typed in the Command Prompt
– By taking advantage of comments, one can type a comment in the Command Prompt prior to performing an action in the GUI. Then, after the ti is th action i completed, typing another comment will then annotate the l t d t i th t ill th t t th log file. – An example will be performed in the next steps.
1. In the Command Prompt, type “! Start of changing solution options” (do not include the double quotes) and hit the Enter key
2. 2 Select “Main Menu > Solution > Analysis Type > Sol n Controls Main Sol’n Controls”
– – A warning will appear indicating current solution options are not supported. Click on [OK]. The Solution Controls dialog box will appear, as shown on the right
Since Mechanical does not support creep material input, it does not request saving the creep strain output. In the next steps, all results (including creep strain) will be saved every 3 timesteps 3. On the left side, ensure that “All solution items” is selected. Change “Frequency” to “Write every Nth substep”, then enter “3” in the text area. Click on [OK] when done.
4. In the Command Prompt, type “! End of changing solution options” and hit the Enter key
5. “Utility menu > List > Files > Log File …”
– Notice that the comments entered earlier separate the commands used to save all results every 3 timesteps This allows users unfamiliar with timesteps. APDL to isolate required commands to perform specific tasks
… Solve First Step
6. “Main Menu > Solution > Solve > Current LS”
•
Training Manual
A text window giving a summary of the solution options will be shown. Notice that “Load Step Number” is 1 (first Step), and the simulation ending time is 1e-6. Close the t t window, then click on [OK] to solve. di ti i 1 6 Cl th text i d th li k t l
Two warning messages will appear. One can bring up the Output Window to see the messages in detail.
–
–
One warning is related to element shape checking not being performed, but this can be ignored since shape testing has already been done in the meshing phase in Mechanical. The th Th other warning notes that 3 integration points through the thickness i t th t i t ti i t th h th thi k of shells may not give accurate results, so the number of integration points has been increased to 5.
8. Another warning will appear. Click on [Yes] to initiate the solution.
The second warning appears after Mechanical APDL does a material check. Reviewing the contents of the Output Window and looking for the l t th last occurrence of the word *** WARNING *** will show that this f th d G ill h th t thi warning message is related to some elements not having material properties associated with them. The surface effect elements that are p present in the model are used to apply pressure loads – since they do pp y p y not represent a physical structure, they have no material properties, so this warning message can be safely ignored. After the solution completes, click on [Close] to close the notification dialog box, but do not click on anything else.
• The previous step only solved the first step, and it should be a relatively fast solution. • Creep analyses are time-dependent analyses. For this pipe model, an internal pressure of 0.25 MPa is applied. The first step is used to establish initial conditions (e.g., stress). The simulation time is set very low (1e-6) so as not to influence the time-dependent creep effects. ff • Once this initial step is completed, we will now solve the analysis until time=28000 seconds for the second Step.
– Mechanical APDL treats consecutive “solves” as continuation of steps. – If, on the other hand, the user clicks on “Preprocessor” or “General Postproc” in the Main Menu, the user is ‘leaving’ the Solution processor. When a user returns to the Solution processor to solve a new analysis solve, will be assumed (solving Step 1) unless the user performs a restart.
… Solve Second Step
1. “Main Menu > Solution > Analysis Type > Sol’n Controls”
– – – –
Training Manual
In the “Time Control” section, specify “Time at end of loadstep” to be “28000” Set “Automatic time stepping” to “On” With “Time increment” selected, enter “1e-6” for both “Time step size” and “Minimum time step” while “Maximum time step” is “1000” (Do (D not close the di l box yet) l h dialog b )
2. Select the “Nonlinear” tab in the Solution Controls dialog box. Click on “Include strain rate effect” to turn creep effects on. 3. Click on [OK] to close the Solution Controls dialog box
… Solve Second Step
4. “Main Menu > Solution > Solve > Current LS”
•
Training Manual
•
•
Review the text window with the solution summary. Note that the “Load Step Number” is now “2”. The ending time and timestep settings should be b consistent with what was input earlier. i t t ith h t i t li Close the text window, then click on [OK] to initiate the solution. A warning will appear (check the Output Window to see that this is related to material properties not being defined for some elements – this warning can be safely ignored), and click on [Yes] to continue The solution may take 3-10 minutes, depending on the hardware used. While the solution is running, please read the next slides. (When the solution is completed, the [Close] button can be clicked to remove the notification dialog box.)
• During solution, the force and moment residuals from the NewtonRaphson iterations will be plotted on the screen.
– This is the same output as “Force Convergence” and “Moment Convergence” in Mechanical, under the “Solution Information” branch
• The solution takes over 300 iterations to solve
– As will be seen shortly, this is a creep buckling problem. During the solution, large creep strains are encountered near the end time, so smaller timesteps are required to accurately predict the deflections.
1. To review the results available, select “Main Menu > General Postproc > Read Results > By Pick”
• Note that there are 39 result sets available (every 3rd timestep was saved). Select the last result set, click [Read], then [Close].
2. Plot creep strains via “Main Menu > General Postproc > Plot Results > Contour Plot > Element Solu”
– – In the “Contour Element Solution Data” dialog box, select “Element Solution > Creep Strain > von Mises creep strain” and click [OK] Equivalent APDL command is PLESOL,EPCR,EQV
3. Because surface effect elements exist on top of shell elements, only SHELL181 elements should be selected. Use “Utility Menu > Select > Entities …”, then fill out the widget as shown below.
• • Click on [Apply], then [Replot] to replot the creep strains APDL Command is ESEL,S,ENAME,,181
• In Mechanical APDL, nodal solution represents averaged stress results, along with nodal DOF results (e.g., displacements). On the other hand, element solution is unaveraged stress/strain results.
– This is similar to the “Use Average” option in the Details view for contour results in Mechanical
•PLNSOL or PLESOL plot contour results. A helpful reminder of this syntax i “PLot Nodal/Element SOLution”. t is “PL t N d l/El t SOL ti ”
– The first argument is the type of result, and the second is the component – PLNSOL,S,EQV plots nodal solution of EQuiValent Stress (“S”=sigma) – PLESOL,EPCR,EQV plots element solution of EQuiValent CReep strain (“EP”=epsilon). – See the Commands Reference for syntax on PLESOL and PLNSOL. PLVECT for vector plotting is also available and PRESOL/PRNSOL list available, (PRint) the values. – Chapter 7 “The General Postprocessor (POST1)” of the Basic Analysis Guide is also a good reference for postprocessing in Mechanical APDL g p p g
4. In the Command Prompt, type “HELP,SHELL181”. The online help for SHELL181 will appear. Scroll to the bottom to Table 181.2
– Notice that the ‘average thickness’ has a name called “THICK”
• There are results which may be element-specific. For example, the current “thickness” of an element would only be applicable for shell elements, not solid or beam elements. These element-specific output are stored in summable and non-summable miscellaneous data. (“NMISC” = non-summable miscellaneous data, “SMISC” = summable miscellaneous data) •R i Review the El h Element Reference f a particular element type to (a) see R f for i l l ( ) what type of output is available and (b) determine how to retrieve that data, if the result is element-specific
– I this example, Table 181.2 showed what kinds of output data are In thi l T bl 181 2 h d h t ki d f t t d t available. The last column with a “Y” indicates this output is available in the results file for postprocessing – Table 181.3 shows how to retrieve element-specific results The current, 181 3 results. current average thickness of the shell elements are output using “SMISC,17”
6. Plot shell thicknesses via “Main Menu > General Postproc > Plot Results > Contour Plot > Element Solu”
– – – In the “Contour Element Solution Data” dialog box, select “Element Solution > Miscellaneous Items > Summable data (SMISC,1)” When prompted, enter “17” for the sequenc number. Click on [OK] twice Equivalent APDL command is PLESOL,SMISC,17
• The resulting plot of shell thickness is shown below. Note that the initial thickness was 10 mm – thickness increases in some regions due to the negative applied pressure. With large deflection effects turned on, the change in thickness is calculated based on incompressibility considerations.
8. To retrieve the minimum z-displacement as a parameter, use “Utility menu > Parameters > Get Scalar Data…”
Select “Results Data” from the left column and “Global measures” from the right area. Click on [OK] to continue – In the next dialog box, select “DOF solution” on the right, then “UZ” on the left. Type “Min_Deflection” in the text area, and change the pulldown menu to “Minimum value . Click on [OK] Minimum value” – Equivalent APDL commands are NSORT,U,Z followed by *GET,Min_Deflection,SORT,,MIN –
… General Postprocessor
• Notice in the Output Window that the following is displayed:
Training Manual
• The previous step automatically retrieved the minimum z-deflection from the selected nodes and assigned the value to a parameter (variable) called “Min_Deflection” • The usefulness of APDL parameters will be discussed later, but this is an introduction to the APDL *GET command which allows users to GET command, retrieve information about the model or results automatically.
… General Postprocessor
9. In the Command prompt, type the following: *get,Min_UZ_Node,sort,,imin and hit the Enter key when done.
Training Manual
Look at the Output Window, and notice that the parameter “MIN_UZ_NODE” has been assigned a value of 1406. This means that node number 1406 has the minimum z-deflection reported z-deflection, earlier as -53.5.
•
Note that if differences in the meshing algorithm may make the node number ID and values different from above.
WS3-45
June 2009 Inventory #002669
• The plot of deflection at the node with the largest –z displacement may be of interest. • In the next section, the z-deflection as a function of time will be plotted in the Time-History Postprocessor
4. In the “Picker” dialog box, type “min_uz_node” in the text area. Be sure to hit the Enter key. The node should then be highlighted on the screen.
• Hint: If the Time History Variable Viewer is obstructing the view, click on the “Variable List” and “Calculator” titles to collapse those sections.
5. After the Enter key is pressed, the Picker should indicate 1 node selected, and the Graphics window will show that node highlighted. Click on [OK] on the picker to continue.
6. If the Variable List was collapsed, click on the title bar to expand it again, as shown below. With the “UZ_2” item highlighted, click on the “Graph Data” icon to plot z-displacement as a function of time
• The plot of deflection vs. time indicates that, as time increases past 24000 seconds, the deflection quickly increases dramatically, indicating geometric instability (creep buckling):
7. Use “Utility menu > File > Exit …” to exit Mechanical APDL
You can save the database or exit without saving. The Mechanical APDL data is no longer required for the rest of this exercise.
• Everything that was performed in Mechanical APDL can actually be accomplished with the use of Commands objects. This will be discussed in the next section.
3. Expand the “Geometry > Surface Body” branches. Note the Commands object named “Material Properties”
• Look at the contents of the file. This defines the section properties (optional) as well as adds the creep material properties (required)
• The steps manually performed earlier can be incorporated directly in the Mechanical model.
– APDL commands are case-insensitive. Also, APDL commands only require the first 4 letters, as long as those first 4 letters are unique. – There is a term called “MATID” used in this Command object. This is a parameter that substitutes the actual material ID for that part. Hence, if we have an assembly with many parts we do not have to know the actual parts, material ID for each part but just use the parameter “MATID” whenever an ID number input is required in an APDL command argument – The parameters “ARG1” and “ARG2” are special. Note in the Details view p p that a user can specify the value for ARG1 and ARG2. These values are then substituted wherever ARG1 and ARG2 are used in the Commands object.
… Creep Analysis in Mechanical
5. Select the “Turn on Creep Effects from Step 2” branch
– –
Training Manual
Earlier, creep effects were turned on in load step 2 in Mechanical APDL. This is done with the RATE,ON command The Details view shows that this command will only be active in Step 2
6. Select the “Save all (creep) results every 3 timesteps” branch
Refer back to earlier steps in this workshop – when the log file was annotated with our comments, the same commands are used here to save results every 3 ti lt timesteps, also ensuring creep strains are stored t l i t i t d (creep strains are not stored by Mechanical by default)
… Creep Analysis in Mechanical
8. Review the “Equivalent Creep Strain” branch.
•
Training Manual
This is a user-defined result. Notice in the Details view that “Expression” is “EPCREQV”, the same notation used earlier in Mechanical M h i l APDL ( ith t th comma). U (without the ) Unaveraged results are shown d lt h and should match with results reviewed earlier in Mechanical APDL
10. In the Details view of the newly-added “User Defined Result” branch, enter “SMISC17” for “Expression” and change “Use Average” to “No”. Right-click and “Evaluate Results” to see the thickness of shells, similar to what was done in Mechanical APDL: f
• The use of parameters and APDL commands allows users to incorporate additional, advanced features such as creep, to a Mechanical analysis. • The use of “User Defined Results” in Mechanical also exposes many types of results that can be postprocessed directly in Mechanical • However, it is very helpful to the user to understand how the process in Mechanical APDL works.
– Understanding how Mechanical APDL references element attributes is important to incorporating advanced material models or element options – Verification of the mesh, such as composite layer or element coordinate system orientation, may need to be performed in Mechanical APDL – Postprocessing of esoteric results may not be available in Mechanical’s “User Defined Results” and may need to be done in Mechanical APDL. APDL – Moreover, if elements were added in Mechanical APDL, the postprocessing would need to be done in Mechanical APDL as well.