3.2.5.3. Newton Line Search Algorithm

algorithm NewtonLineSearch <-type $typeSearch> <-tol $tol> <-maxIter $maxIter> <-minEta $minEta> <-maxEta $maxEta> <-pFlag $pFlag> <-factorOnce>

Argument

Type

Description

$typeSearch

string

line search algorithm: InitialInterpolated, Bisection, Secant or RegulaFalsi (also LinearInterpolated) (optional: default = InitialInterpolated)

$tol

float

tolerance for the line search (optional: default = 0.8)

$maxIter

integer

maximum number of line search iterations (optional: default = 10)

$minEta

float

minimum value of \(\eta\) (optional: default = 0.1)

$maxEta

float

maximum value of \(\eta\) (optional: default = 10.0)

$pFlag

integer

flag controlling the output printed by the line search (optional: default = 1)

-factorOnce

string

assemble and factor the current tangent 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 NewtonLineSearch algorithm, which adds a line search to the Newton Algorithm method. A line search makes the Newton method more effective when convergence is slow because the residual is rough.

The rationale behind line search is that:

  1. The direction \(\delta\mathbf{U}\) found by the Newton-Raphson method is often a good direction, but the step size is not.

  2. It is cheaper to compute the residual at several points along \(\delta\mathbf{U}\) than to form and factor a new tangent.

In NewtonLineSearch, the Newton-Raphson method is used to compute \(\delta\mathbf{U}\), but the update is modified to

\[\mathbf{U}_{n+1} = \mathbf{U}_n + \eta \, \delta\mathbf{U}\]

The line search algorithms use different root-finding methods to find \(\eta\), a root of the function

\[s(\eta) = \delta\mathbf{U}^T \, \mathbf{R}(\mathbf{U}_n + \eta \, \delta\mathbf{U})\]

with \(s(0) = \delta\mathbf{U}^T \, \mathbf{R}(\mathbf{U}_n)\). The search stops when \(|s(\eta)| < tol \, |s(0)|\).

Note

Newton line search normally forms the current tangent in every iteration. -factorOnce keeps the tangent of the first iteration for all later iterations and steps.

Example:

The following example creates a NewtonLineSearch algorithm using a bisection line search.

algorithm NewtonLineSearch -type Bisection

Code Developed by: fmk