3.2.5.2. Newton Algorithm
- algorithm Newton <-initial> <-initialThenCurrent> <-secant> <-hall <$iFactor $cFactor>> <-factorOnce>
ops.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:
Keeping only the first-order terms, and setting \(f(x_n + \Delta x) = 0\), gives the correction
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
the tangent stiffness. Each iteration then solves
Note
Newton-Raphson normally forms the tangent in every iteration.
-factorOncekeeps 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.-initialturns on-factorOnceautomatically.-factorOnceis not used with-initialThenCurrent, which forms the tangent in every iteration.In versions up to 3.8.0,
-initialThenCurrentis only accepted with the misspelling-intialThenCurrent.
Example:
The following example creates a Newton algorithm.
algorithm Newton
ops.algorithm('Newton')
Code Developed by: fmk