Mechanical APDL Basic Analysis Guide - Ansys
Mechanical APDL Basic Analysis Guide - Ansys Mechanical APDL Basic Analysis Guide - Ansys
Chapter 8:The Time-History Postprocessor (POST26) 1. Specify a variable in the variable name input area. This must be a unique name, otherwise you will be prompted to overwrite the existing variable of that name. 2. Define the desired variable expression by clicking on the appropriate keys, or selecting time-history variables or APDL parameters from the drop down lists. Result: The appropriate operators, APDL parameters or other variable names appear in the Expression Input Area. 3. Click the “Enter” button on the calculator portion of the Variable viewer Notes: Result: The data is calculated and the resultant variable name appears in the variable list area. The expression will be available in the variable viewer for the variable name until the variable viewer is closed. • To find the derivative of a variable “UYBLOCK” with respect to another variable VBLOCK = deriv ({UYBLOCK} , {TIME}) • To find the amplitude of a complex time-history variable “PRESMID” AMPL_MID = abs ({PRESMID}) OR, AMPL_MID = sqrt (real ({PRESMID}) ^2 + imag ({PRESMID}) ^2) • To find the phase angle of a complex time-history variable “UYFANTIP” PHAS_TIP = atan ({UYFANTIP}) * 180/pi Where pi = acos (-1) • To multiply a complex time-history variable “PRESMID” with a factor (2 + 3i) SCAL_MID = cmplx (2,3)* {PRESMID} • To fill a variable with ramped data use the following equation RAMP_.25BY_0.5 = .25 + (.05 * ({nset} - 1)) • To fill a variable as a function of time use the following equation FUNC_TIME_1 = 10 * ({TIME} - .25) • To find the relative acceleration response PSD for a variable named UZ_4, use the following equation RPSD_4 = RPSD({UZ_4},{UZ_4},3,2) 8.4.2. Batch In batch mode, you use combinations of commands. Some identify the variable and the format for the output, while others identify the variable data to be used to create the new variable. The calculator operations themselves are performed by specific commands. • To find the derivative of a variable “UYBLOCK “ with respect to another variable “TIME” 196 NSOL,2,100,u,y,UYBLOCK !Variable 2 is UY of node 100 DERIV, 3,2,1,,VYBLOCK !Variable 3 is named VYBLOCK It is the Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
!derivative of variable 2 with respect !to variable 1 (time) • To find the amplitude of a complex time-history variable PRESMID NSOL,2,123,PRES,,PRESMID !Variable 2 is the pressure at node 123 ABS, 3,2,,,AMPL_MID !Absolute value of a complex variable !is its amplitude. • To find the phase angle (in degrees of a complex time-history variable “UYFANTIP” Pi = acos(-1) ATAN,4,2,,,PHAS_MID,,,180/pi !ATAN function of a complex !variable (a + ib) gives atan (b/a) • To multiply a complex POST 26 variable “PRESMID” with a factor (2+3i): CFACT,2,3 !Scale factor of 2+3i ADD,5,2,,,SCAL_MID !Use ADD command to store variable 2 into !variable 5 with the scale factor of (2+3i) • To fill a variable with ramped data FILLDATA,6,,,.25,.05,ramp_func !Fill a variable with !ramp function data. The following commands are used to process your variables, develop computed relationships and store the data. See the specific command reference for more information on processing your time-history variables. ABS ADD ATAN CLOG CONJUG DERIV EXP Variable processing commands IMAGIN INT1 LARGE NLOG PROD QUOT REALVAR 8.5. Importing Data SMALL SQRT RPSD CVAR RESP This feature allows the user to read in set(s) of data from a file into time history variable(s). This enables the user, for instance, to display and compare test results data against the corresponding ANSYS results data. 8.5.1. Interactive The "Import Data” button in the variable viewer leads the user through the interactive data import process. Clicking on "Import Data" allows the user to browse and select the appropriate file. The data must be in the format below: # TEST DATA FILE EXAMPLE # ALL COMMENT LINES BEGIN WITH # # Blank lines are ignored # # The first line without # sign must contain the variable names to be used # for each column of data read into POST26. NOTE that for complex data only # one variable name should be supplied per (real, imaginary) pair as shown below. Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 8.5.1. Interactive 197
- Page 161 and 162: • Particle flow traces occasional
- Page 163 and 164: The surfaces you create fall into t
- Page 165 and 166: You can opt to archive all defined
- Page 167 and 168: 19 41.811 51.777 .00000E+00 -66.760
- Page 169 and 170: Sample PRETAB and SSUM Output *****
- Page 171 and 172: 7.2.5. Mapping Results onto a Path
- Page 173 and 174: Command(s): PDEF GUI: Main Menu> Ge
- Page 175 and 176: To retrieve path information from a
- Page 177 and 178: 7.2.6. Estimating Solution Error On
- Page 179 and 180: Write Results - You can use the dat
- Page 181 and 182: NOTE: When you append data to your
- Page 183 and 184: EMF - Windows Enhanced Metafile For
- Page 185 and 186: Figure 7.20 The PGR File Options Di
- Page 187 and 188: 7.4.8. Comparing Nodal Solutions Fr
- Page 189 and 190: the effect of the rigid body rotati
- Page 191 and 192: The SADD command (Main Menu> Genera
- Page 193 and 194: To view correct mid-surface results
- Page 195 and 196: To get usable results combine the r
- Page 197 and 198: 7.4.4. Mapping Results onto a Diffe
- Page 199 and 200: • EMF (Main Menu> General Postpro
- Page 201 and 202: 7.4.8.1. Matching the Nodes The Mec
- Page 203 and 204: 7.4.8. Comparing Nodal Solutions Fr
- Page 205 and 206: Chapter 8: The Time-History Postpro
- Page 207 and 208: enables the alternate selections sh
- Page 209 and 210: 1. Click on the Add Data button. Re
- Page 211: APPEND Appends data to previously s
- Page 215 and 216: The above command assumes that you
- Page 217 and 218: When plotting complex data such as
- Page 219 and 220: Sample Output from EXTREM time-hist
- Page 221 and 222: 5. Select the variables to be opera
- Page 223 and 224: RESP requires two previously define
- Page 225 and 226: Chapter 9: Selecting and Components
- Page 227 and 228: Note Crossover commands for selecti
- Page 229 and 230: would put UX and UZ constraints on
- Page 231 and 232: The Command Reference describes the
- Page 233 and 234: Chapter 10: Getting Started with Gr
- Page 235 and 236: Remote Network Access Hidden Line R
- Page 237 and 238: 10.4.1. Adjusting Input Focus To en
- Page 239 and 240: • If the environment variable SB_
- Page 241 and 242: 10.5.5. Erasing the Current Display
- Page 243 and 244: Chapter 11: General Graphics Specif
- Page 245 and 246: 11.3.1. Changing the Viewing Direct
- Page 247 and 248: 11.4. Controlling Miscellaneous Tex
- Page 249 and 250: 11.4.3. Controlling the Location of
- Page 251 and 252: Chapter 12: PowerGraphics Two metho
- Page 253 and 254: The subgrid approach affects both t
- Page 255 and 256: Chapter 13: Creating Geometry Displ
- Page 257 and 258: Figure 13.1 Element Plot of SOLID65
- Page 259 and 260: 13.2.1.12. Vector Versus Raster Mod
- Page 261 and 262: Figure 13.2 Create Best Quality Ima
!derivative of variable 2 with respect<br />
!to variable 1 (time)<br />
• To find the amplitude of a complex time-history variable PRESMID<br />
NSOL,2,123,PRES,,PRESMID !Variable 2 is the pressure at node 123<br />
ABS, 3,2,,,AMPL_MID !Absolute value of a complex variable<br />
!is its amplitude.<br />
• To find the phase angle (in degrees of a complex time-history variable “UYFANTIP”<br />
Pi = acos(-1)<br />
ATAN,4,2,,,PHAS_MID,,,180/pi !ATAN function of a complex<br />
!variable (a + ib) gives atan (b/a)<br />
• To multiply a complex POST 26 variable “PRESMID” with a factor (2+3i):<br />
CFACT,2,3 !Scale factor of 2+3i<br />
ADD,5,2,,,SCAL_MID !Use ADD command to store variable 2 into<br />
!variable 5 with the scale factor of (2+3i)<br />
• To fill a variable with ramped data<br />
FILLDATA,6,,,.25,.05,ramp_func !Fill a variable with<br />
!ramp function data.<br />
The following commands are used to process your variables, develop computed relationships and store the<br />
data. See the specific command reference for more information on processing your time-history variables.<br />
ABS<br />
ADD<br />
ATAN<br />
CLOG<br />
CONJUG<br />
DERIV<br />
EXP<br />
Variable processing commands<br />
IMAGIN<br />
INT1<br />
LARGE<br />
NLOG<br />
PROD<br />
QUOT<br />
REALVAR<br />
8.5. Importing Data<br />
SMALL<br />
SQRT<br />
RPSD<br />
CVAR<br />
RESP<br />
This feature allows the user to read in set(s) of data from a file into time history variable(s). This enables the<br />
user, for instance, to display and compare test results data against the corresponding ANSYS results data.<br />
8.5.1. Interactive<br />
The "Import Data” button in the variable viewer leads the user through the interactive data import process.<br />
Clicking on "Import Data" allows the user to browse and select the appropriate file. The data must be in the<br />
format below:<br />
# TEST DATA FILE EXAMPLE<br />
# ALL COMMENT LINES BEGIN WITH #<br />
# Blank lines are ignored<br />
#<br />
# The first line without # sign must contain the variable names to be used<br />
# for each column of data read into POST26. NOTE that for complex data only<br />
# one variable name should be supplied per (real, imaginary) pair as shown below.<br />
Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />
of ANSYS, Inc. and its subsidiaries and affiliates.<br />
8.5.1. Interactive<br />
197