2.3 Solution
In the solution phase of an analysis, the computer takes over and solves the simultaneous set of equations that the finite element method generates. The results of the solution are: The element solution is usually calculated at the elements' integration points. The program writes the results to the database as well as to the results file (.RST, .RTH, or .RMG files). 2.3.1 Selecting a Solver
Several methods for solving the system of simultaneous equations are available in the program: sparse direct solution, Preconditioned Conjugate Gradient (PCG) solution, Jacobi Conjugate Gradient (JCG) solution, Incomplete Cholesky Conjugate Gradient (ICCG) solution, and Quasi-Minimal Residual (QMR) solution. In addition, distributed versions of the sparse, PCG, and JCG solvers are available for use in Distributed ANSYS.
Select a solver using: Main Menu> Preprocessor> Loads> Analysis Type> Analysis Options or Main Menu> Solution> Load Step Options> Sol'n Control (: Sol'n Options Tab) or Main Menu> Solution> Analysis Options or Main Menu> Solution> Unabridged Menu> Analysis Options 2.3.2 Obtaining the Solution
Use Main Menu> Solution> Current LS to initiate the solution. Because the solution phase generally requires more computer resources that the other phases of an analysis, it is better suited to batch mode than interactive mode.
The solver writes output to the output file (Jobname.OUT) and the results file. If the solution is run interactively, the output ‘file’ is actually the screen. By using one of the following before issuing SOLVE, the output can be diverted to a file instead of the screen: Utility Menu> File> Switch Output to> File or Output Window
Data written to the output file consist of the following: In interactive mode, much of the output is suppressed. The results file (.RST, .RTH, or .RMG) contains all results data in binary form, which can be reviewed in the postprocessors.
Another useful file produced during solution is Jobname.STAT, which gives the status of the solution. This file can be used to monitor an analysis while it is running. It is particularly useful in iterative analyses such as nonlinear and transient analyses. The SOLVE command calculates the solution for the load step data currently in the database. 2.3.3 Solving Multiple Load Steps
There are three ways to define and solve multiple load steps: 2.3.3.1 Using the Multiple SOLVE Method
This method is the most straightforward. It involves issuing the SOLVE command after each load step is defined. The main disadvantage, for interactive use, is that the analyst has to wait for the solution to be completed before defining the next load step. 2.3.3.2 Using the Load Step File Method
The load step file is a convenient method to solve problems while the analyst is away from the terminal. It involves writing each load step to a load step file (via the LSWRITE command or its GUI equivalent) and, with one command, reading in each file and obtaining the solution.
Issue Main Menu> Solution> From LS Files to solve multiple load steps. This reads in the load step files sequentially and initiates the solution for each load step. 2.3.3.3 Using the Array Parameter Method
This method, mainly intended for transient or nonlinear static analyses, requires knowledge of array parameters and do-loops, which are part of ANSYS Parametric Design Language (APDL). The array parameter method involves building tables of load versus time using array parameters.