15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solver<br />

Typical Applications<br />

* In total means the sum of all processors.<br />

Note<br />

Ideal Model<br />

Size<br />

Memory Use<br />

memory than<br />

the sparse<br />

solver.<br />

Disk<br />

(I/O)<br />

Use<br />

To use more than 2 processors, the distributed and AMG solvers require ANSYS <strong>Mechanical</strong> HPC<br />

licenses. For detailed information on the AMG solver, see Using Shared-Memory ANSYS in the<br />

Advanced <strong>Analysis</strong> Techniques <strong>Guide</strong>. For information on the distributed solvers, see the Distributed<br />

ANSYS <strong>Guide</strong>.<br />

5.2. Types of Solvers<br />

5.2.1. The Sparse Direct Solver<br />

The sparse direct solver (including the Block Lanczos method for modal and buckling analyses) is based on<br />

a direct elimination of equations, as opposed to iterative solvers, where the solution is obtained through an<br />

iterative process that successively refines an initial guess to a solution that is within an acceptable tolerance<br />

of the exact solution. Direct elimination requires the factorization of an initial very sparse linear system of<br />

equations into a lower triangular matrix followed by forward and backward substitution using this triangular<br />

system. The space required for the lower triangular matrix factors is typically much more than the initial<br />

assembled sparse matrix, hence the large disk or in-core memory requirements for direct methods.<br />

Sparse direct solvers seek to minimize the cost of factorizing the matrix as well as the size of the factor using<br />

sophisticated equation reordering strategies. Iterative solvers do not require a matrix factorization and typically<br />

iterate towards the solution using a series of very sparse matrix-vector multiplications along with a<br />

preconditioning step, both of which require less memory and time per iteration than direct factorization.<br />

However, convergence of iterative methods is not guaranteed and the number of iterations required to<br />

reach an acceptable solution may be so large that direct methods are faster in some cases.<br />

Because the sparse direct solver is based on direct elimination, poorly conditioned matrices do not pose<br />

any difficulty in producing a solution (although accuracy may be compromised). Direct factorization methods<br />

will always give an answer if the equation system is not singular. When the system is close to singular, the<br />

solver can usually give a solution (although you will need to verify the accuracy).<br />

The ANSYS sparse solver can run completely in memory (also known as in-core) if sufficient memory is<br />

available. The sparse solver can also run efficiently by using a balance of memory and disk usage (also known<br />

as out-of-core). The out-of-core mode typically requires about the same memory usage as the PCG solver<br />

(~1 GB per million DOFs) and requires a large disk file to store the factorized matrix (~10 GB per million<br />

DOFs). The amount of I/O required for a typical static analysis is three times the size of the matrix factorization.<br />

Running the solver factorization in-core (completely in memory) for modal/buckling runs can save significant<br />

amounts of wall (elapsed) time because modal/buckling analyses require several factorizations (typically 2<br />

- 4) and repeated forward/backward substitutions (10 - 40+ block solves are typical). The same effect can<br />

often be seen with nonlinear or transient runs which also have repeated factor/solve steps.<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.2.1.The Sparse Direct Solver<br />

99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!