Fixed Number of Iterations: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(Created page with '{{CommandManualMenu}} 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 simulat...')
 
No edit summary
Line 21: Line 21:
|-
|-
| || 4 at each step it will print the norms and also the <math>\Delta U</math> and <math>R(U)</math> vectors.
| || 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 SUCCESSFUL test
|-
|-
| '''$nType''' || optional type of norm, default is 2. (0 = max-norm, 1 = 1-norm, 2 = 2-norm, ...)
| '''$nType''' || optional type of norm, default is 2. (0 = max-norm, 1 = 1-norm, 2 = 2-norm, ...)

Revision as of 21:37, 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 norms each time test() is invoked
2 print information on norms and number of iterations at end of successful test
4 at each step it will print the norms 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>\frac{\parallel \DeltaU^i \parallel}{\parallel \DeltaU^0 \parallel + ... + \parallel \DeltaU^i \parallel} < \text{tol} \!</math>



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