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...')
 
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{CommandManualMenu}}
{{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 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.
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 (such as NewmarkHSFixedNumIter, HHTHSFixedNumIter, CollocationHSFixedNumIter).


{|  
{|  
Line 7: Line 7:
|}
|}


 
----


{|
{|
Line 16: Line 16:
| || 0 print nothing
| || 0 print nothing
|-
|-
| || 1 print information on norms each time test() is invoked
| || 1 print information on energy norm each time test() is invoked
|-
|-
| || 2 print information on norms and number of iterations at end of successful test
| || 2 print information on energy norm 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.
| || 4 at each step it will print the energy norm 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, ...)
|}
|}


----
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>





Latest revision as of 14:15, 10 June 2016




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 (such as NewmarkHSFixedNumIter, HHTHSFixedNumIter, CollocationHSFixedNumIter).

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, ...)



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