Analyze Command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:


{|  
{|  
| style="background:yellow; color:black; width:800px" | '''analyze $numIncr <$dt> <$dtMin $dtMax $Jd>'''
| style="background:lime; color:black; width:800px" | '''analyze $numIncr <$dt> <$dtMin $dtMax $Jd>'''
|}
|}


Line 12: Line 12:
|  style="width:150px" | '''$numIncr ''' || number of analysis steps to perform.
|  style="width:150px" | '''$numIncr ''' || number of analysis steps to perform.
|-
|-
|  '''$dt ''' || time-sep increment. Required ig transient or variable transient analysis
|  '''$dt ''' || time-step increment. Required if transient or variable transient analysis
|-
|-
| '''$dtMin $dtMax''' || minimum and maximum time steps Required if a variable time step transient analysis was specified.
| '''$dtMin $dtMax''' || minimum and maximum time steps. Required if a variable time step transient analysis was specified.
|-
|-
| '''$Jd''' || number of iterations user would like performed at each step. The vraibele transient analysis will change current time step if last analysis step took more or less iterations than this to converge.
| '''$Jd''' || number of iterations user would like performed at each step. The variable transient analysis will change current time step if last analysis step took more or less iterations than this to converge.


Required if a variable time step transient analysis was specified.
Required if a variable time step transient analysis was specified.
Line 23: Line 23:
RETURNS:
RETURNS:


'''0''' if successfull
'''0''' if successful


'''<0''' if NOT successfull
'''<0''' if NOT successful





Latest revision as of 00:49, 1 June 2013




This command is used to perform the analysis.

analyze $numIncr <$dt> <$dtMin $dtMax $Jd>

$numIncr number of analysis steps to perform.
$dt time-step increment. Required if transient or variable transient analysis
$dtMin $dtMax minimum and maximum time steps. Required if a variable time step transient analysis was specified.
$Jd number of iterations user would like performed at each step. The variable transient analysis will change current time step if last analysis step took more or less iterations than this to converge.

Required if a variable time step transient analysis was specified.

RETURNS:

0 if successful

<0 if NOT successful


EXAMPLE:

set ok [anlayze 10]; # perform 10 static analysis steps

set ok [analyze 2000 0.01]; # perform 2000 transient time steps at 0.01 increments



Code Developed by: fmk



UML

<uml> footbox off actor StaticAnalysis participant Integrator participant SolutionAlgorithm

 loop numIncr times
    StaticAnalysis -> Integrator : newStep()
    Integrator -> StaticAnalysis : Success/Failure
    StaticAnalysis -> SolutionAlgorithm : solveCurrentStep()
    SolutionAlgorithm -> StaticAnalysis : Success/Failure 
    StaticAnalysis -> Integrator : commit()
    Integrator-> StaticAnalysis : Sucess/Failure
 end

</uml>