warning in runnig a program shown error in convergence

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
tusharkantimandal
Posts: 73
Joined: Fri Jun 17, 2011 7:05 am
Location: IIT Bombay

warning in runnig a program shown error in convergence

Post by tusharkantimandal »

hi all. I previously found some error regarding "test for convergence" when I use $tol=1e-08 and $step=1000 or even more. now I'm using "test NormDispIncr 1.0e-06 1000" and the algorithm used for the OpenSeeswiki example for "EQ analysis of Portal frame" as:
#####################
# set some variables
#set tFinal [expr $nPts * $dt]
set tFinal 78.0;
set tCurrent [getTime]
set ok 0

# Perform the transient analysis
while {$ok == 0 && $tCurrent < $tFinal} {

set ok [analyze 1 0.02]

# if the analysis fails try initial tangent iteration
if {$ok != 0} {
puts "regular newton failed .. lets try an initial stiffness for this step"
test NormDispIncr 1.0e-06 1000
algorithm ModifiedNewton -initial
set ok [analyze 1 0.02]
if {$ok == 0} {puts "that worked .. back to regular newton"}
test NormDispIncr 1.0e-06 1000
algorithm Newton
}

set tCurrent [getTime]
}

# Print a message to indicate if analysis succesfull or not
if {$ok == 0} {
puts "Transient analysis completed SUCCESSFULLY";
} else {
puts "Transient analysis completed FAILED";
}
#######################################
but it results in the following warning:
#################WARNING #########################################
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 50(dW: << 32.3753)
Domain::update - domain failed in update
Newmark::update() - failed to update the domain
############ ERROR ####################################
NewtnRaphson::solveCurrentStep() -the ConvergenceTest object failed in test()
DirectIntegrationAnalysis::analyze() - the Algorithm failed at time 0.08
OpenSees > analyze failed, returned: -3 error flag
regular newton failed .. lets try an initail stiffness for this step
WARNING: CTestNormDispIncr::test() - failed to converge
after: 1000 iterations
ModifiedNewton::solveCurrentStep() -the ConvergenceTest object failed in test()
DirectIntegrationAnalysis::analyze() - the Algorithm failed at time 0.08
OpenSees > analyze failed, returned: -3 error flag
Transient analysis completed FAILED
###########################################################
can anyone tell me what I should do to get rid of these things???...just increasing no of iterations...or any other things can be done???
thanks a lot....................
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: warning in runnig a program shown error in convergence

Post by vesna »

There is a problem with element 50. The element has problem converging. It fails at the forth step of analysis which indicates that something is wrong with that element. Check if the section of that element is defined well. Make sure that the fibers are defined well. If it is ok and it is still not converging try adding -iter option to the element. Also make sure that number of integration points is not too big (it should be 5 to 7). If none of this is working you can think of replacing it with displacement-based element or beamWithHinges element.
Post Reply