EnergyIncr
This command is used to construct a convergence test which uses the dot product of the solution vector and norm of the right hand side of the matrix equation to determine if convergence has been reached. The physical meaning of this quantity depends on the integrator and constraint handler chosen. Usually, though not always, it is equal to the energy unbalance in the system. The command to create a EnergyIncr test is the following:
$tol $iter < $pFlag > < $nType > test EnergyIncr
|
the tolerance criteria used to check for convergence |
||||||||||
|
the max number of iterations to check before returning failure condition |
||||||||||
|
optional print flag, default is 0. valid options: |
0 |
0 print nothing |
1 |
1 print information on norms each time |
2 |
2 print information on norms and number of iterations at end of successful test |
4 |
4 at each step it will print the norms and also the \(\Delta U\) and \(R(U)\) vectors. |
5 |
5 if it fails to converge at end of $numIter it will print an error message BUT RETURN A SUCCESSFUL test |
nType
optional type of norm, default is 2
. (0
=
max-norm, 1
= 1-norm, 2
= 2-norm, …)
NOTES:
- When using the Penalty method additional large forces to enforce the penalty functions exist on the right hand side, making
convergence using this test usually impossible (even though solution might have converged).
- When Lagrange multipliers are used, the solution vector contains the Lagrange multipliers.
Theory
If the system of equations formed by the integrator is:
\[\bm{K} \Delta \bm{u}^i = R(\bm{u}^i)\]
This integrator is testing:
\[ \Delta U^i R(U^i) < \text{tol} \!\]
Code Developed by: fmk