Using Steel01 and Steel02 command with cyclic loading

If you have a script you think might be useful to others post it
here. Hopefully we will be able to get the most useful of these incorporated in the manuals.

Moderators: silvia, Moderators

Using Steel01 and Steel02 command with cyclic loading

Postby Edwardsimm » Mon Jul 02, 2018 6:18 am

Hi everyone!

I am new to OpenSees and using the software as part my MSc dissertation and would love to have your input with this problem. My project involves modelling the hysteretic behaviour of a spring and I have started off by experimenting with the Steel01 and Steel02 functions with cyclic loading. However, I am unable to print my results using the Node recorder function. I hope someone can help.

The script does generate the .out files, but there is literally nothing in those files.

I have tried the exact same code with using the time timeSeries Linear function and the .out file work great, but they don't work for the timeSeries Trig function.

Would someone be able to run these script and see if the scripts generate results, as my computer may not be running the program correctly. -- Thank-you so much!

#Steel01 cyclic loading
wipe

model BasicBuilder -ndm 1 -ndf 1
node 1 0.0
node 2 1.0

set E 30000.0
set b 0.1
set Fy 60.0
uniaxialMaterial Steel01 1 $Fy $E $b

set A 1.0
element Truss 1 1 2 $A 1

set P 100.0
timeSeries Trig 1 0 100 10
pattern Plain 1 1 {
load 2 $P
}


constraints Transformation
numberer RCM
test NormDispIncr 1.0e-6 10 1
algorithm Newton
system BandGen
integrator LoadControl 0.001
analysis Static

recorder Node -file DispSteel01.out -time -node 2 -dof 1 disp
recorder Node -file Force Steel01.out -time -node 2 -dof 1 reaction

#Steel02 cyclic loading

wipe

model BasicBuilder -ndm 1 -ndf 1
node 1 0.0
node 2 1.0

set E 30000.0
set b 0.1
set Fy 60.0
set R0 18
set cR1 0.925
set cR2 0.15
uniaxialMaterial Steel02 1 $Fy $E $b $R0 $cR1 $cR2

set A 1.0
element Truss 1 1 2 $A 1

set P 100.0
timeSeries Trig 1 0 100 10
pattern Plain 1 1 {
load 2 $P
}

constraints Transformation
numbered RCM
test NormDispIncr 1.0e-6 10 1
algorithm Newton
system BandGen
integrator LoadControl 0.001
analysis Static

recorder Node -file DispSteel02.out -time -node 2 -dof 1 disp
recorder Node -file Forcessteel02.out -time -node 2 -dof 1 reaction


Thanks again, :D :D
Edwardsimm
 
Posts: 11
Joined: Mon May 21, 2018 8:01 am

Re: Using Steel01 and Steel02 command with cyclic loading

Postby ahlqzlei » Fri Jul 20, 2018 5:30 am

put the recorder command ahead of the line 'constraints Transformation'
ahlqzlei
 
Posts: 1
Joined: Wed Jul 11, 2018 5:28 pm
Location: SCUT


Return to Useful Scripts.

Who is online

Users browsing this forum: No registered users and 1 guest

cron