How to apply an incremental displacement using sp command?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
aminamini
Posts: 24
Joined: Thu Jun 06, 2013 10:14 am
Location: SUT

How to apply an incremental displacement using sp command?

Post by aminamini »

Hi dear friends;
I am performing a displacement-based adaptive pushover analysis. I need to apply an incremental displacement in every step of analysis instead of an absolute displacement. if I use sp command, an absolute displacement will be applied. can anyone help me, please?
Thanks
newarrived
Posts: 14
Joined: Sat Aug 16, 2014 11:14 am
Location: Iran, Shiraz

Re: How to apply an incremental displacement using sp comman

Post by newarrived »

salam,
You can use "for loop" to overcome this issue. First define displacement increment using sp command. In for loop specify "integrator LoadControl $dLambda1". set dLambda1 to desire quantity.
This is a simple example:

...
sp 1001 1 1
...
for {set i 1} {$i<10} {incr i} {
set dLambda1 [expr 0.1*$i]
integrator LoadControl $dLambda1
analyze 1
}

This example would apply displacement increments: 0.1 0.2 0.3 ...
Post Reply