Energy Increment Test: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(Created page with '{{CommandManualMenu}} 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 equati...')
 
No edit summary
Line 47: Line 47:
   
   
:<math> \Delta U^i R(U^i) < \text{tol} \!</math>
:<math> \Delta U^i R(U^i) < \text{tol} \!</math>
----
Code Developed by: <span style="color:blue"> fmk </span>

Revision as of 19:52, 8 March 2010




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 quantitity depends on the integraor 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:

test EnergyIncr $tol $iter <$pFlag>


$tol the tolerance criteria used to check for convergence
$iter the max number of iterations to check before returning failure condition
$pFlag optional print flag, default is 0. valid options:
0 print nothing
1 print information on norms each time test() is invoked
2 print information on norms and number of iterations at end of successfull test
4 at each step it will print the norms and also the <math>\Delta U</math> and <math>R(U)</math> vectors.
5 if it fails to converge at end of $numIter it will print an error message BUT RETURN A SUCEESSFULL test



NOTES:

  • When using the Penalty method additional large forces to enforce the penalty functions exist on the right had side, making

convergence using this test usually impossible (even though solution might have converged).

  • When Lagrange multipliesr are use, the soln vector contains the lagrange multiplies.

THEORY:

If the system of equations formed by the integrator is:

<math>K \Delta U^i = R(U^i)\,\!</math>

This integrator is testing:

<math> \Delta U^i R(U^i) < \text{tol} \!</math>



Code Developed by: fmk