3.2.5.2. Newton Algorithm

algorithm Newton <-initial> <-initialThenCurrent> <-secant> <-hall <$iFactor $cFactor>> <-factorOnce>

Argument

Type

Description

-initial

string

use the initial stiffness in every iteration (optional)

-initialThenCurrent

string

use the initial stiffness in the first iteration of each step, and the current tangent in the others (optional)

-secant

string

use the current secant stiffness instead of the current tangent (optional)

$iFactor $cFactor

float

with -hall, use the combination \(iFactor \, \mathbf{K}_{init} + cFactor \, \mathbf{K}_{current}\) of the initial and current stiffness (optional: default = 0.1 and 0.9)

-factorOnce

string

assemble and factor the matrix in the first iteration of the first step, and keep it for all later iterations and steps, until the domain changes, e.g. nodes or elements are added or removed (optional)

Discussion

This command is used to construct a Newton algorithm, which uses the Newton-Raphson method to solve the nonlinear equilibrium equations. The Newton-Raphson method is the most widely used and most robust method for solving nonlinear algebraic equations.

The method is a root-finding algorithm. For a single unknown, it uses the first terms of the Taylor series of a function \(f(x)\) about a point \(x_n\) near a root:

\[f(x_n + \Delta x) = f(x_n) + f'(x_n) \, \Delta x + \frac{1}{2} f''(x_n) \, \Delta x^2 + \dots\]

Keeping only the first-order terms, and setting \(f(x_n + \Delta x) = 0\), gives the correction

\[\Delta x = - \frac{f(x_n)}{f'(x_n)}\]

and the next estimate \(x_{n+1} = x_n + \Delta x\). Starting from a good initial guess, this is repeated until the convergence test is satisfied.

For the n equilibrium equations of a model, the scalar function is replaced by the residual (unbalanced force) vector \(\mathbf{R}(\mathbf{U})\), and its derivative by the matrix

\[\mathbf{K} = \frac{\partial \mathbf{R}(\mathbf{U}_n)}{\partial \mathbf{U}}\]

the tangent stiffness. Each iteration then solves

\[\mathbf{K} \, \Delta \mathbf{U} = - \mathbf{R}(\mathbf{U}_n), \qquad \mathbf{U}_{n+1} = \mathbf{U}_n + \Delta \mathbf{U}\]

Note

  1. Newton-Raphson normally forms the tangent in every iteration. -factorOnce keeps the matrix of the first iteration for all later iterations and steps. The matrix is the current tangent by default, or the initial stiffness with -initial. -initial turns on -factorOnce automatically. -factorOnce is not used with -initialThenCurrent, which forms the tangent in every iteration.

  2. In versions up to 3.8.0, -initialThenCurrent is only accepted with the misspelling -intialThenCurrent.

Example:

The following example creates a Newton algorithm.

algorithm Newton

Code Developed by: fmk