Fixed Number of Iterations: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
This convergence test is testing:
This convergence test is testing:
   
   
 
:<math> \Delta U^i R(U^i) < \text{tol} \!</math>
:<math>\frac{\parallel \DeltaU^i \parallel}{\parallel \DeltaU^0 \parallel + ... + \parallel \DeltaU^i \parallel} < \text{tol} \!</math>
 


----
----


Code Developed by: <span style="color:blue"> Andreas Schellenberg, University of California, Berkeley. </span>
Code Developed by: <span style="color:blue"> Andreas Schellenberg, University of California, Berkeley. </span>

Revision as of 21:49, 2 September 2012




This command is used to construct a test that performs a fixed number of iterations without testing for convergence. This test is useful for hybrid simulation where the residual error is corrected for. It can only be used in combination with certain implicit integration methods that are specialized for hybrid simulation.

test FixedNumIter $iter <$pFlag> <$nType>


$iter the max number of iterations to perform
$pFlag optional print flag, default is 0. valid options:
0 print nothing
1 print information on energy norm each time test() is invoked
2 print information on energy norm and number of iterations at end of successful test
4 at each step it will print the energy norm and also the <math>\Delta U</math> and <math>R(U)</math> vectors.
$nType optional type of norm, default is 2. (0 = max-norm, 1 = 1-norm, 2 = 2-norm, ...)



THEORY:

If the system of equations formed by the integrator is:

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

This convergence test is testing:

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

Code Developed by: Andreas Schellenberg, University of California, Berkeley.