Mechanical APDL Basic Analysis Guide - Ansys
Mechanical APDL Basic Analysis Guide - Ansys Mechanical APDL Basic Analysis Guide - Ansys
Chapter 5: Solution The PCG solver primarily solves for displacements/rotations (in structural analysis), temperatures (in thermal analysis), etc. The accuracy of other derived variables (such as strains, stresses, flux, etc.) is dependent upon accurate prediction of primary variables. Therefore, ANSYS uses a very conservative setting for PCG tolerance (defaults to 1.0E-8) The primary solution accuracy is controlled by the PCG. For most applications, setting the PCG tolerance to 1.0E-6 provides a very accurate displacement solution and may save considerable CPU time compared with the default setting. Use the EQSLV command to change the PCG solver tolerance. Direct solvers (such as the sparse direct solver) produce very accurate solutions. Iterative solvers, such as the PCG solver, require that a PCG convergence tolerance be specified. Therefore, a large relaxation of the default tolerance may significantly affect the accuracy, especially of derived quantities. The PCG solver does not support SOLID62 elements. With all iterative solvers you must verify that the model is appropriately constrained. No minimum pivot is calculated and the solver will continue to iterate if any rigid body motion exists. In a modal analysis using the PCG solver (MODOPT,LANPCG), the number of modes should be limited to 100 or less for efficiency. PCG Lanczos modal solutions can solve for a few hundred modes, but with less efficiency than Block Lanczos (MODOPT,LANB). When the PCG solver encounters an indefinite matrix, the solver will invoke an algorithm that handles indefinite matrices. If the indefinite PCG algorithm also fails (this happens when the equation system is ill-conditioned; for example, losing contact at a substep or a plastic hinge development), the outer Newton-Raphson loop will be triggered to perform a bisection. Normally the stiffness matrix will be better conditioned after bisection and the PCG solver can eventually solve all the nonlinear steps. The solution time grows linearly with problems size for iterative methods so huge models can still be solved within very reasonable times. For modal analyses of large models (e.g., 10 million DOF or larger), MOD- OPT,LANPCG is a viable solution method if the number of modes is limited to approximately 100. Use MSAVE,ON (the default in most cases) for memory savings of up to 70 percent. The MSAVE command causes an element-by-element approach (rather than globally assembling the stiffness matrix) for the parts of the structure using SOLID185, SOLID186, SOLID187, SOLID272, SOLID273, and/or SOLID285 elements that have linear material properties. This feature applies only to static analyses or modal analyses using the PCG Lanczos method. (You specify these analysis types using the commands ANTYPE,STATIC, or ANTYPE,MODAL; MODOPT,LANPCG respectively.) When using SOLID186 and/or SOLID187, only small strain (NLGEOM,OFF) analyses are allowed. The solution time may be affected depending on the processor speed and manufacturer of your computer, as well as the chosen element options. 5.2.3. The Jacobi Conjugate Gradient (JCG) Solver The JCG solver also starts with element matrix formulation. Instead of factoring the global matrix, the JCG solver assembles the full global stiffness matrix and calculates the DOF solution by iterating to convergence (starting with an initial guess solution for all DOFs). The JCG solver uses the diagonal of the stiffness matrix as a preconditioner. The JCG solver is typically used for thermal analyses and is best suited for 3-D scalar field analyses that involve large, sparse matrices. For some cases, the tolerance default value (set via the EQSLV,JCG command) of 1.0E-8 may be too restrictive, and may increase running time needlessly. The value 1.0E-5 may be acceptable in many situations. The JCG solver is available only for static analyses, full harmonic analyses, or full transient analyses. (You specify these analysis types using the commands ANTYPE,STATIC, HROPT,FULL, or TRNOPT,FULL respectively.) You cannot use this solver for coupled-field applications (SOLID5 or PLANE13). 102 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
With all iterative solvers, be particularly careful to check that the model is appropriately constrained. No minimum pivot is calculated and the solver will continue to iterate if any rigid body motion is possible. 5.2.4. The Incomplete Cholesky Conjugate Gradient (ICCG) Solver The ICCG solver operates similarly to the JCG solver with the following exceptions: • The ICCG solver is more robust than the JCG solver for matrices that are not well-conditioned. Performance will vary with matrix conditioning, but in general ICCG performance compares to that of the JCG solver. • The ICCG solver uses a more sophisticated preconditioner than the JCG solver. Therefore, the ICCG solver requires approximately twice as much memory as the JCG solver. The ICCG solver is typically used for unsymmetric thermal analyses and electromagnetic analyses and is available only for static analyses, full harmonic analyses [HROPT,FULL], or full transient analyses [TRNOPT,FULL]. (You specify the analysis type using the ANTYPE command.) The ICCG solver is useful for structural and multiphysics applications, and for symmetric, unsymmetric, complex, definite, and indefinite matrices. You cannot use this solver for coupled-field applications (SOLID5 or PLANE13). 5.2.5. The Quasi-Minimal Residual (QMR) Solver The QMR solver is used for electromagnetic analyses and is available only for full harmonic analyses [HROPT,FULL]. (You specify the analysis type using the ANTYPE command.) You use this solver for symmetric, complex, definite, and indefinite matrices. The QMR solver is more robust than the ICCG solver. 5.2.6. The Algebraic Multigrid (AMG) Solver The Algebraic Multigrid (AMG) solver, which is based on the multi-level method, is an iterative solver that you can use in single- and multiprocessor shared-memory environments. To use more than two processes with this solver, you must have a license for the ANSYS Mechanical HPC advanced task (add-on) for each processor beyond the first two. In a multiprocessor environment, the AMG solver provides better performance than the PCG and ICCG solvers on shared-memory parallel machines. It also handles indefinite matrix problems for nonlinear analyses. However, the AMG solver typically uses 50 percent more memory than the PCG solver. The AMG solver is also intended for problems in which the PCG and ICCG solvers would have difficulty converging (for example, large, ill-conditioned problems where the ill-conditioning is due to large element aspect ratios within a mesh, or cases in which shell or beam elements are attached to solid elements). In terms of CPU time when used in a single-processor environment, the AMG solver performs better than the PCG and ICCG solvers for illconditioned problems, and it delivers about the same level of performance for ordinary problems. The AMG solver is available only for static analyses and full transient analyses. (These analyses can be linear or nonlinear.) In addition, the efficiency of the AMG solver is limited to single-field structural analyses in which the solution DOFs are combinations of UX, UY, UZ, ROTX, ROTY, and ROTZ. For analyses such as singlefield thermal analyses in which the solution DOF is TEMP, the AMG solver is less efficient than the PCG or ICCG. The AMG solver is accessible from shared-memory parallel ANSYS. 5.3. Solver Memory and Performance You will get the best performance from ANSYS if you first understand the individual solvers' memory usage and performance under certain conditions. Each solver uses different methods to obtain memory; under- Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 5.3. Solver Memory and Performance 103
- Page 67 and 68: Boundary Condition Heat Flux Film C
- Page 69 and 70: This problem consists of a thermal-
- Page 71 and 72: 2.6. Specifying Load Step Options A
- Page 73 and 74: - All loads changed in later load s
- Page 75 and 76: Main Menu> Preprocessor> Loads> Loa
- Page 77 and 78: Command GUI Menu Paths Main Menu> S
- Page 79 and 80: ! Load Step 1: D, ... ! Loads SF, .
- Page 81 and 82: Modeling> Create> Elements> Auto Nu
- Page 83 and 84: Figure 2.22 Pretension Section Samp
- Page 85 and 86: cylind,0.35,1, 0.75,1, 0,180 wpstyl
- Page 87 and 88: 11. Select Utility Menu> PlotCtrls>
- Page 89 and 90: 24. Select Utility Menu> Plot> Comp
- Page 91 and 92: Chapter 3: Using the Function Tool
- Page 93 and 94: Hint: A common error is a divide-by
- Page 95 and 96: 3.3. Using the Function Loader When
- Page 97 and 98: 2. Define the convection boundary c
- Page 99 and 100: 7. Optional: Enter comments for thi
- Page 101 and 102: 3.6.1. Graphing a Function From the
- Page 103 and 104: Chapter 4: Initial State The term i
- Page 105 and 106: inis,defi,,,1,,100,200,150 inis,def
- Page 107 and 108: applies an equal stress of SX = 100
- Page 109 and 110: 4.7.2. Example: Initial Stress Prob
- Page 111 and 112: inis,defi,all,all,all,all,0.1,,, in
- Page 113 and 114: Chapter 5: Solution In the solution
- Page 115 and 116: Solver Typical Applications * In to
- Page 117: used. Running the distributed spars
- Page 121 and 122: 5.3.3. Disk Space (I/O) and Postpro
- Page 123 and 124: If your analysis is either static o
- Page 125 and 126: Note Whether you make changes to on
- Page 127 and 128: Figure 5.2 PGR File Options From th
- Page 129 and 130: GUI: Main Menu> Solution> Current L
- Page 131 and 132: Figure 5.3 Examples of Time-Varying
- Page 133 and 134: Requirements for Performing an Anal
- Page 135 and 136: *dim,temtbl,table,4,1,,time ! Defin
- Page 137 and 138: 5.9.1.1.1. Multiframe Restart Limit
- Page 139 and 140: prnsol finish 5.9.2. VT Accelerator
- Page 141 and 142: 5.12. Stopping Solution After Matri
- Page 143 and 144: Chapter 6: An Overview of Postproce
- Page 145 and 146: each element. Derived data are also
- Page 147 and 148: Chapter 7: The General Postprocesso
- Page 149 and 150: Although not required for postproce
- Page 151 and 152: The ETABLE command documentation li
- Page 153 and 154: • Path plots • Reaction force d
- Page 155 and 156: The PLETAB command contours data st
- Page 157 and 158: PLDISP,1 ! Deformed shape superimpo
- Page 159 and 160: 7.2.1.6. Particle Flow and Charged
- 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
With all iterative solvers, be particularly careful to check that the model is appropriately constrained. No<br />
minimum pivot is calculated and the solver will continue to iterate if any rigid body motion is possible.<br />
5.2.4. The Incomplete Cholesky Conjugate Gradient (ICCG) Solver<br />
The ICCG solver operates similarly to the JCG solver with the following exceptions:<br />
• The ICCG solver is more robust than the JCG solver for matrices that are not well-conditioned. Performance<br />
will vary with matrix conditioning, but in general ICCG performance compares to that of the JCG<br />
solver.<br />
• The ICCG solver uses a more sophisticated preconditioner than the JCG solver. Therefore, the ICCG<br />
solver requires approximately twice as much memory as the JCG solver.<br />
The ICCG solver is typically used for unsymmetric thermal analyses and electromagnetic analyses and is<br />
available only for static analyses, full harmonic analyses [HROPT,FULL], or full transient analyses<br />
[TRNOPT,FULL]. (You specify the analysis type using the ANTYPE command.) The ICCG solver is useful for<br />
structural and multiphysics applications, and for symmetric, unsymmetric, complex, definite, and indefinite<br />
matrices. You cannot use this solver for coupled-field applications (SOLID5 or PLANE13).<br />
5.2.5. The Quasi-Minimal Residual (QMR) Solver<br />
The QMR solver is used for electromagnetic analyses and is available only for full harmonic analyses<br />
[HROPT,FULL]. (You specify the analysis type using the ANTYPE command.) You use this solver for symmetric,<br />
complex, definite, and indefinite matrices. The QMR solver is more robust than the ICCG solver.<br />
5.2.6. The Algebraic Multigrid (AMG) Solver<br />
The Algebraic Multigrid (AMG) solver, which is based on the multi-level method, is an iterative solver that<br />
you can use in single- and multiprocessor shared-memory environments. To use more than two processes<br />
with this solver, you must have a license for the ANSYS <strong>Mechanical</strong> HPC advanced task (add-on) for each<br />
processor beyond the first two.<br />
In a multiprocessor environment, the AMG solver provides better performance than the PCG and ICCG<br />
solvers on shared-memory parallel machines. It also handles indefinite matrix problems for nonlinear analyses.<br />
However, the AMG solver typically uses 50 percent more memory than the PCG solver. The AMG solver is<br />
also intended for problems in which the PCG and ICCG solvers would have difficulty converging (for example,<br />
large, ill-conditioned problems where the ill-conditioning is due to large element aspect ratios within a mesh,<br />
or cases in which shell or beam elements are attached to solid elements). In terms of CPU time when used<br />
in a single-processor environment, the AMG solver performs better than the PCG and ICCG solvers for illconditioned<br />
problems, and it delivers about the same level of performance for ordinary problems.<br />
The AMG solver is available only for static analyses and full transient analyses. (These analyses can be linear<br />
or nonlinear.) In addition, the efficiency of the AMG solver is limited to single-field structural analyses in<br />
which the solution DOFs are combinations of UX, UY, UZ, ROTX, ROTY, and ROTZ. For analyses such as singlefield<br />
thermal analyses in which the solution DOF is TEMP, the AMG solver is less efficient than the PCG or<br />
ICCG.<br />
The AMG solver is accessible from shared-memory parallel ANSYS.<br />
5.3. Solver Memory and Performance<br />
You will get the best performance from ANSYS if you first understand the individual solvers' memory usage<br />
and performance under certain conditions. Each solver uses different methods to obtain memory; under-<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 />
5.3. Solver Memory and Performance<br />
103