3.2.5.5. Krylov-Newton Algorithm
- algorithm KrylovNewton <-iterate $tangIter> <-increment $tangIncr> <-maxDim $maxDim> <-factorOnce>
ops.algorithm('KrylovNewton', '-iterate', tangIter, '-increment', tangIncr, '-maxDim', maxDim, '-factorOnce')
Argument |
Type |
Description |
|---|---|---|
$tangIter |
string |
tangent to iterate on: current, initial or noTangent (optional: default = current) |
$tangIncr |
string |
tangent to increment on: current, initial or noTangent (optional: default = current) |
$maxDim |
integer |
maximum number of iterations before the tangent is formed again and the acceleration restarts (optional: default = 3) |
-factorOnce |
string |
assemble and factor the increment tangent in the first step, and keep it for all later steps, until the domain changes, e.g. nodes or elements are added or removed (optional). Also accepted as |
Discussion
This command is used to construct a KrylovNewton algorithm, which uses a modified Newton method with Krylov subspace acceleration [1]. The tangent is held fixed for several iterations, as in the Modified Newton Algorithm method, and the information from the previous iterations is used to accelerate convergence.
Note
Krylov-Newton already uses one increment tangent for all the iterations of each step. -factorOnce keeps that same tangent for the later steps, instead of forming it again at each step. Using -increment initial with -iterate noTangent or -iterate initial turns on -factorOnce automatically. If -factorOnce is given without -iterate, OpenSees warns and uses -iterate noTangent. If -factorOnce conflicts with the -iterate tangent (e.g. -iterate current), OpenSees warns and turns -factorOnce off.
Example:
The following example creates a KrylovNewton algorithm.
algorithm KrylovNewton
ops.algorithm('KrylovNewton')
Code Developed by: Michael H. Scott