3.2.4.5. Relative Norm Displacement Increment
This command constructs a convergence test that uses the norm of the solution, \(x\) vector, of the matrix equation, \(Ax=b\). It compares the current norm to the norm at the first step, i.e. \(\frac{\sqrt({x_i}^T{x_i})}{\sqrt({x_1}^T{x_1})}\). What the right-hand-side of the matrix equation is depends on integrator and constraint handler chosen. Usually, though not always, it is equal to the change in nodal displacements in the system due to the current unbalance.
- test RelativeNormDispIncr $tol $iter <$pFlag> <$nType>
Argument |
Type |
Description |
|---|---|---|
$tol |
float |
the tolerance criteria used to check for convergence |
$iter |
integer |
the max number of iterations to check before returning failure condition |
$pFlag |
integer |
|
$nType |
integer |
type of norm (optional: default is 2 (0 = max-norm 1 = 1-norm 2 = 2-norm …)) |
Note
The convergence test compares the current norm of the displacement increment with the norm of the first step to determine if convergence has been achieved. As a consequence it will always take at least two steps to achieve convergence.
Example
The following examples demonstrate the command to create a RelativeNormDispIncr test which allows 10 iterations till failure with a 2-norm in the \(x\) vector of 1.0e-2.
Tcl Code
test RelativeNormDispIncr 1.0e-2 10 2
Python Code
test('RelativeNormDispIncr', 1.0e-2, 10, 2)
Code Developed by: fmk