remove loadPattern in adaptive pushover analysis

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

Moderators: silvia, selimgunay, Moderators

Post Reply
caosasa
Posts: 26
Joined: Sat Aug 07, 2010 5:31 am
Location: tongji

remove loadPattern in adaptive pushover analysis

Post by caosasa » Sun Jan 20, 2013 12:12 am

Dear Vesna,
in adaptive pushover analysis,
lateral force patterns is updated in every step.
here is part of my code:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
wipe;
model Basic -ndm 3 -ndf 6;
file mkdir Data;
source unit.tcl
source grouppilesfoundationmodal.tcl

recorder Node -file Data/Disp46.out -time -node 33 -dof 1 disp;
recorder Node -file Data/RBase.out -time -node 1 -dof 1 reaction;
source gravityloads.tcl

puts "定义分析"
constraints Plain
numberer RCM
system BandGeneral
test EnergyIncr 1e-2 20 0;
algorithm Newton
analysis Static
puts "Model Built!"

#-----------------------------------------------------------------------------------------------
#first pushover step, 0.05m at node 33
pattern Plain 1 Linear {
for {set i 7} {$i<13} {incr i 1} {
load $i 2.92898E-05 0.0 0.0 0.0 0.0 0.0;
}
for {set i 13} {$i<19} {incr i 1} {
load $i 9.98072E-05 0.0 0.0 0.0 0.0 0.0;
}
for {set i 19} {$i<25} {incr i 1} {
load $i 0.000185545 0.0 0.0 0.0 0.0 0.0;
}
load 25 0.000130275 0.0 0.0 0.0 0.0 0.0 # model侧向力模式
load 27 0.000130275 0.0 0.0 0.0 0.0 0.0
load 28 0.000130275 0.0 0.0 0.0 0.0 0.0
load 30 0.000130275 0.0 0.0 0.0 0.0 0.0
load 31 0.000130275 0.0 0.0 0.0 0.0 0.0
load 33 0.000130275 0.0 0.0 0.0 0.0 0.0
};
integrator DisplacementControl 33 1 0.001;
analyze 50;

#-----------------------------------------------------------------------------------------------
#second pushover step, 0.05m at node 33, with new lateral load pattern based on the updated mode shape
pattern Plain 2 Linear {

for {set i 7} {$i<13} {incr i 1} {
load $i 2.1273E-05 0.0 0.0 0.0 0.0 0.0;
}
for {set i 13} {$i<19} {incr i 1} {
load $i 6.56799E-05 0.0 0.0 0.0 0.0 0.0;
}
for {set i 19} {$i<25} {incr i 1} {
load $i 0.000116503 0.0 0.0 0.0 0.0 0.0;
}
load 25 8.01919E-05 0.0 0.0 0.0 0.0 0.0
load 27 8.01919E-05 0.0 0.0 0.0 0.0 0.0
load 28 8.01919E-05 0.0 0.0 0.0 0.0 0.0
load 30 8.01919E-05 0.0 0.0 0.0 0.0 0.0
load 31 8.01919E-05 0.0 0.0 0.0 0.0 0.0
load 33 8.01919E-05 0.0 0.0 0.0 0.0 0.0
};
integrator DisplacementControl 33 1 0.001;
analyze 50;
source period2.tcl
analyze 1
exit
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
the second lateral force pattern has nothing to to with the first pattern.
two questions:
1.do you think it is necessary to delete the loadPattern1 before pattern 2 being defined?
2.if loadpattern1 are not removed, in the second pushover step,are the results of loadpattern1 and loadpattern2 linear added?
Thanks a lot!

vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: remove loadPattern in adaptive pushover analysis

Post by vesna » Tue Jan 22, 2013 10:43 am

For your script to work you need the following command after you analyze your system using the 1st load pattern:

loadConst -time 0.0

This will keep your 1st load pattern constant when you analyze your system using the 2nd load pattern. If you do not issue "loadConst" command the 1st load pattern will continue to linearly increase for each step of analysis defined after the 2nd load pattern.

Post Reply