Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Solution
Chapter 9 Solution
Solvers
A linear static analysis with one load step requires only one such
solution, but a nonlinear or transient analysis may require tens,
hundreds, or even thousands of solutions.
Therefore, the type of solver you choose for solution can be quite
important.
Chapter 9 Solution
Solvers
Sparse (default)
Frontal
2) Iterative solvers
Chapter 9 Solution
Solvers
3) Distributed ANSYS (D-ANSYS) (all of the ANSYS /SOLUTION phase is in
parallel which includes stiffness matrix generation, linear equation
solving and results calculation)
Chapter 9 Solution
Solvers
Formulate element
matrices
Assemble
global matrix
.full
file
Solve matrix
equation
.rst /.rth
file
Chapter 9 Solution
Solvers
Direct solver vs. Iterative solver (simplified discussion)
If given the linear static case of [K]{x} = {F}, Direct solvers factorize [K] to solve for
[K]-1. Then, {x} = [K]-1{F}.
This factorization is computationally expensive but is done once.
Iterative solvers use a preconditioner [Q] to solve the equation [Q][K]{x} = [Q]{F}.
Assume that [Q] = [K]-1. In this trivial case, [I]{x} = [K]-1{F}. However, the
preconditioner is not usually [K]-1. The closer [Q] is to [K]-1, the better the
preconditioning is. However, the preconditioner is not usually [K]-1, so this process is
repeated - hence the name, iterative solver.
For iterative solvers, matrix multiplication (not factorization) is performed. This is
much faster than matrix inversion if done entirely in RAM, so, as long as the
number of iterations is not very high (which happens for well-conditioned
matrices), iterative solvers can be more efficient than sparse solvers.
The main difference between the iterative solvers in ANSYS PCG, JCG, ICCG
is the type of pre-conditioner used.
Chapter 9 Solution
Solvers
Chapter 9 Solution
Solvers
Parallel Performance solvers (special license required)
Based on the PCG solver. Preserves all of the merits of the PCG solver and can
be run on either shared memory or distributed memory machines with superior
scalability to the PCG solver.
Iterative equation solver based on the JCG solver. Scalability of this solver is
superior to the JCG solver with little extra memory required. DJCG solver is
available only for static and full transient analyses where the stiffness is
symmetric.
Chapter 9 Solution
Solvers
To choose a solver:
Main Menu > Solution > Analysis Type > Soln Controls, then choose Soln
Options tab
Or use EQSLV command
Definitions
Loadstep 2
Loadstep 3
Loadstep 4
Loadstep 5
Force
25
Force (lbs)
20
15
10
Substep 1 of Loadstep 2
0
0
10
20
30
40
50
60
time (seconds)
70
80
90
100
Chapter 9 Solution
Multiple Loadsteps
The procedure to solve for one set of loading conditions (i.e, one
load step) is as follows:
Chapter 9 Solution
Multiple Loadsteps
Chapter 9 Solution
Multiple Loadsteps
There are two ways to define and solve multiple load steps:
Multiple solve method
Load step file method
Chapter 9 Solution
Multiple Loadsteps
Multiple Solve Method
Chapter 9 Solution
Multiple Loadsteps
Load Step File Method
Main Menu > Solution > Load Step Opts > Write
LS File
Or use LSWRITE command.
Chapter 9 Solution
Multiple Loadsteps
The advantage of the load step file method is that you can
interactively set up all load steps even for a large model and then
solve them while you are away from the computer.
Note: The loading commands on the load step file are always in
terms of nodes and elements, even if you apply loads on the solid
model.
Chapter 9 Solution
Multiple Loadsteps
Chapter 9 Solution
Workshops