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,
Search found 11 matches
- Mon Jul 02, 2018 6:18 am
- Forum: Useful Scripts.
- Topic: Using Steel01 and Steel02 command with cyclic loading
- Replies: 1
- Views: 8753
- Fri Jun 29, 2018 4:09 am
- Forum: Framework
- Topic: Problem with running disp.out and force.out command :) :?
- Replies: 3
- Views: 4253
Re: Problem with running disp.out and force.out command :)
I'm running the most up to date Version of OpenSees on a windows desktop computer. I am not sure what is happening? What would you recommend, because every time I run a recorder function all I receive is the Note-Pad file with zero inside...
When you run the code, are numbered results present within the .out files?
When you run the code, are numbered results present within the .out files?
- Thu Jun 07, 2018 4:28 am
- Forum: Useful Scripts.
- Topic: Simple Truss with cyclic loading - Need help
- Replies: 0
- Views: 7652
Simple Truss with cyclic loading - Need help
Hi Everyone
I have encountered a problem with my Recorder Node - function, when I run the code, the program generates an .out file but nothing appears within the file?
Have I written the function in an incorrect way? or is there something wrong with my PATH set-up?
Could someone run the script and see if they get the same outcome?
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 Steel02 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
}
recorder element -file u.out -time -node 2 -dof 1 disp
recorder element -file r.out -time -node 1 -dof 1 reaction
constraints Transformation
numberer RCM
test NormDispIncr 1.0e-6 10 1
algorithm Newton
system BandGen
integrator LoadControl 0.1
analysis Static
Kindest regards,
Edward
I have encountered a problem with my Recorder Node - function, when I run the code, the program generates an .out file but nothing appears within the file?
Have I written the function in an incorrect way? or is there something wrong with my PATH set-up?
Could someone run the script and see if they get the same outcome?
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 Steel02 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
}
recorder element -file u.out -time -node 2 -dof 1 disp
recorder element -file r.out -time -node 1 -dof 1 reaction
constraints Transformation
numberer RCM
test NormDispIncr 1.0e-6 10 1
algorithm Newton
system BandGen
integrator LoadControl 0.1
analysis Static
Kindest regards,
Edward
- Tue Jun 05, 2018 3:59 am
- Forum: Useful Scripts.
- Topic: Linear Elastic Pushover help needed! please :) :)
- Replies: 5
- Views: 12033
Re: Linear Elastic Pushover help needed! please :) :)
Hi Emrani,
Just quick Q, do you have any of the extensions installed? or just OpenSEES.exe?
Thanks a-lot
Just quick Q, do you have any of the extensions installed? or just OpenSEES.exe?
Thanks a-lot
- Mon Jun 04, 2018 8:45 am
- Forum: Useful Scripts.
- Topic: Linear Elastic Pushover help needed! please :) :)
- Replies: 5
- Views: 12033
Re: Linear Elastic Pushover help needed! please
Thank-you so much for running the code and placing it in a drop-box file.
I will have to get it sorted, i have trying to install the OpenSEES.exe with the folder, but still comes up with the same problem.
I am running it on a mac, but surely, that shouldn't make a difference?
Also did you path the file after you installed it, because I have done that? and not sure if I need to?
I will have to get it sorted, i have trying to install the OpenSEES.exe with the folder, but still comes up with the same problem.
I am running it on a mac, but surely, that shouldn't make a difference?
Also did you path the file after you installed it, because I have done that? and not sure if I need to?
- Wed May 30, 2018 2:31 am
- Forum: Framework
- Topic: Problem with running disp.out and force.out command :) :?
- Replies: 3
- Views: 4253
Problem with running disp.out and force.out command :) :?
Hi, I hope someone can help.
I trying to perform a linear elastic pushover simulation but when i run the code in OpenSees.exe it does not create the Disp.out file or the Force.out file?
I hope someone can help as i really need this simulation to work for my Dissertation.
#Define model parameter
model Basic -ndm 2 -ndf 3
# Create nodes
set L 5000.0
set H 4000.0
# node set up
node 1 0.0 0.0
node 2 $L 0.0
node 3 0.0 $H
node 4 $L $H
#Define boundary conditions
fix 1 1 1 1
fix 2 1 1 1
#DEfine geometric transformation
geomTransf Linear 1
# Create element
set E 200
set A 2.0e4
set I 2.0e9
element elasticBeamColumn 1 1 2 $A $E $I 1
element elasticBeamColumn 2 2 4 $A $E $I 1
element elasticBeamColumn 3 3 4 $A $E $I 1
# Define Gravity Loads
set P 15000
timeSeries Constant 1
pattern Plain 1 1 {
load 3 0.0 -$P 0.0
load 4 0.0 -$P 0.0
}
#Define analysis parameters
constraints Transformation
numberer RCM
algorithm Linear
system ProfileSPD
integrator LoadControl 1.0
analysis Static
#Apply gravity loads
analyze 1
#Define Lateral load profile
timeSeries Linear 2
pattern Plain 2 2 {
load 3 0.5 0.0 0.0
load 4 0.5 0.0 0.0
}
#Define recorder
recorder Node -file disp.out -time -node 3 -dof 1 disp
recorder Element -file force.out -time -eleRange 1 3 globalForces
#Rederfine integrator for pushover analysis
integrator DisplacementControl 3 1 0.1
#Run pushover analysis to 200mm in 2000steps
analyze 2000
#-----
I have re-installed active TCL and checked with using puts $tcl_version and the version is up to date -8.5. I have also checked my OpenSees terminal and it is up to date using 2.5 version
When I run the file - pushover, using the source command, the only feedback I receive is the following- a single 0 ?
"
OpenSees > source /Users/edward/Desktop/untitled\ folder/Example/Pushover.tcl
0
"
I am not sure where to go from this considering the code is correct.
I hope someone can help as i need this code to run for my dissertation!
Thanks
I trying to perform a linear elastic pushover simulation but when i run the code in OpenSees.exe it does not create the Disp.out file or the Force.out file?
I hope someone can help as i really need this simulation to work for my Dissertation.
#Define model parameter
model Basic -ndm 2 -ndf 3
# Create nodes
set L 5000.0
set H 4000.0
# node set up
node 1 0.0 0.0
node 2 $L 0.0
node 3 0.0 $H
node 4 $L $H
#Define boundary conditions
fix 1 1 1 1
fix 2 1 1 1
#DEfine geometric transformation
geomTransf Linear 1
# Create element
set E 200
set A 2.0e4
set I 2.0e9
element elasticBeamColumn 1 1 2 $A $E $I 1
element elasticBeamColumn 2 2 4 $A $E $I 1
element elasticBeamColumn 3 3 4 $A $E $I 1
# Define Gravity Loads
set P 15000
timeSeries Constant 1
pattern Plain 1 1 {
load 3 0.0 -$P 0.0
load 4 0.0 -$P 0.0
}
#Define analysis parameters
constraints Transformation
numberer RCM
algorithm Linear
system ProfileSPD
integrator LoadControl 1.0
analysis Static
#Apply gravity loads
analyze 1
#Define Lateral load profile
timeSeries Linear 2
pattern Plain 2 2 {
load 3 0.5 0.0 0.0
load 4 0.5 0.0 0.0
}
#Define recorder
recorder Node -file disp.out -time -node 3 -dof 1 disp
recorder Element -file force.out -time -eleRange 1 3 globalForces
#Rederfine integrator for pushover analysis
integrator DisplacementControl 3 1 0.1
#Run pushover analysis to 200mm in 2000steps
analyze 2000
#-----
I have re-installed active TCL and checked with using puts $tcl_version and the version is up to date -8.5. I have also checked my OpenSees terminal and it is up to date using 2.5 version
When I run the file - pushover, using the source command, the only feedback I receive is the following- a single 0 ?
"
OpenSees > source /Users/edward/Desktop/untitled\ folder/Example/Pushover.tcl
0
"
I am not sure where to go from this considering the code is correct.
I hope someone can help as i need this code to run for my dissertation!
Thanks
- Wed May 30, 2018 2:25 am
- Forum: Useful Scripts.
- Topic: Linear Elastic Pushover help needed! please :) :)
- Replies: 5
- Views: 12033
Re: Linear Elastic Pushover help needed! please :) :)
Hi, Thank-you for the quick response!
I have re-installed active TCL and checked with using puts $tcl_version and the version is up to date -8.5. I have also checked my OpenSees terminal and it is up to date using 2.5 version
When I run the file - pushover, using the source command, the only feedback I receive is the following- a single 0 ?
OpenSees > source /Users/edward/Desktop/untitled\ folder/Example/Pushover.tcl
0
I am not sure where to go from this considering the code is correct.
I have re-installed active TCL and checked with using puts $tcl_version and the version is up to date -8.5. I have also checked my OpenSees terminal and it is up to date using 2.5 version
When I run the file - pushover, using the source command, the only feedback I receive is the following- a single 0 ?
OpenSees > source /Users/edward/Desktop/untitled\ folder/Example/Pushover.tcl
0
I am not sure where to go from this considering the code is correct.
- Tue May 29, 2018 1:25 pm
- Forum: Useful Scripts.
- Topic: Linear Elastic Pushover help needed! please :) :)
- Replies: 5
- Views: 12033
Linear Elastic Pushover help needed! please :) :)
Hi, I hope someone can help.
I trying to perform a linear elastic pushover simulation but when i run the code in OpenSees.exe it does not create the Disp.out file or the Force.out file?
I hope someone can help as i really need this simulation to work for my Dissertation.
#Define model parameter
model Basic -ndm 2 -ndf 3
# Create nodes
set L 5000.0
set H 4000.0
# node set up
node 1 0.0 0.0
node 2 $L 0.0
node 3 0.0 $H
node 4 $L $H
#Define boundary conditions
fix 1 1 1 1
fix 2 1 1 1
#DEfine geometric transformation
geomTransf Linear 1
# Create element
set E 200
set A 2.0e4
set I 2.0e9
element elasticBeamColumn 1 1 2 $A $E $I 1
element elasticBeamColumn 2 2 4 $A $E $I 1
element elasticBeamColumn 3 3 4 $A $E $I 1
# Define Gravity Loads
set P 15000
timeSeries Constant 1
pattern Plain 1 1 {
load 3 0.0 -$P 0.0
load 4 0.0 -$P 0.0
}
#Define analysis parameters
constraints Transformation
numberer RCM
algorithm Linear
system ProfileSPD
integrator LoadControl 1.0
analysis Static
#Apply gravity loads
analyze 1
#Define Lateral load profile
timeSeries Linear 2
pattern Plain 2 2 {
load 3 0.5 0.0 0.0
load 4 0.5 0.0 0.0
}
#Define recorder
recorder Node -file disp.out -time -node 3 -dof 1 disp
recorder Element -file force.out -time -eleRange 1 3 globalForces
#Rederfine integrator for pushover analysis
integrator DisplacementControl 3 1 0.1
#Run pushover analysis to 200mm in 2000steps
analyze 2000
I hope someone can help
I trying to perform a linear elastic pushover simulation but when i run the code in OpenSees.exe it does not create the Disp.out file or the Force.out file?
I hope someone can help as i really need this simulation to work for my Dissertation.
#Define model parameter
model Basic -ndm 2 -ndf 3
# Create nodes
set L 5000.0
set H 4000.0
# node set up
node 1 0.0 0.0
node 2 $L 0.0
node 3 0.0 $H
node 4 $L $H
#Define boundary conditions
fix 1 1 1 1
fix 2 1 1 1
#DEfine geometric transformation
geomTransf Linear 1
# Create element
set E 200
set A 2.0e4
set I 2.0e9
element elasticBeamColumn 1 1 2 $A $E $I 1
element elasticBeamColumn 2 2 4 $A $E $I 1
element elasticBeamColumn 3 3 4 $A $E $I 1
# Define Gravity Loads
set P 15000
timeSeries Constant 1
pattern Plain 1 1 {
load 3 0.0 -$P 0.0
load 4 0.0 -$P 0.0
}
#Define analysis parameters
constraints Transformation
numberer RCM
algorithm Linear
system ProfileSPD
integrator LoadControl 1.0
analysis Static
#Apply gravity loads
analyze 1
#Define Lateral load profile
timeSeries Linear 2
pattern Plain 2 2 {
load 3 0.5 0.0 0.0
load 4 0.5 0.0 0.0
}
#Define recorder
recorder Node -file disp.out -time -node 3 -dof 1 disp
recorder Element -file force.out -time -eleRange 1 3 globalForces
#Rederfine integrator for pushover analysis
integrator DisplacementControl 3 1 0.1
#Run pushover analysis to 200mm in 2000steps
analyze 2000
I hope someone can help
- Sat May 26, 2018 5:42 am
- Forum: Useful Scripts.
- Topic: Plot mode shapes
- Replies: 0
- Views: 7685
Plot mode shapes
Hi i am having trouble plotting mode shapes, I hope someone can help,
So far this is the code I am using for setting a plot of a multi-storey frame:
set h 120
recorder display “Mode Shape 1” 10 10 500 500
prp $h $h 1
vup 0 1 0
vpn 0 0 1
viewWindow -200 200 -200 200
display -1 5 20
I receive no feedback from opensees.exe. Or is there a certain function I can use in OpenSees.exe to run a mode shape plot?
I hope someone can push me in the right direction to plot mode shapes.
Regards,
So far this is the code I am using for setting a plot of a multi-storey frame:
set h 120
recorder display “Mode Shape 1” 10 10 500 500
prp $h $h 1
vup 0 1 0
vpn 0 0 1
viewWindow -200 200 -200 200
display -1 5 20
I receive no feedback from opensees.exe. Or is there a certain function I can use in OpenSees.exe to run a mode shape plot?
I hope someone can push me in the right direction to plot mode shapes.
Regards,
- Sat May 26, 2018 5:37 am
- Forum: OpenSees.exe Users
- Topic: Writing code and running code
- Replies: 3
- Views: 3645
Re: Writing code and running code
Great!
Thank you so much for the reply and help!
Thank you so much for the reply and help!
- Mon May 21, 2018 8:10 am
- Forum: OpenSees.exe Users
- Topic: Writing code and running code
- Replies: 3
- Views: 3645
Writing code and running code
Hi,
I hope someone can help me - I am new so i am not sure if i am doing it correctly.
I am encountering a few problems regarding Opensees.exe. firstly where do I write my tcl scripts, in opensees?
secondly, I am trying to run tcl scripts in my Opensees.exe using the source function, but all i get is
"couldn't read file "EiganAnal.twoStoreyFrame.tcl": no such file or directory child process exited abnormally"
I have placed the file in the same folder as the Opensees.exe and still nothing appears to happen.
I hope someone can help me.
Kindest regards,
Edward.
I hope someone can help me - I am new so i am not sure if i am doing it correctly.
I am encountering a few problems regarding Opensees.exe. firstly where do I write my tcl scripts, in opensees?
secondly, I am trying to run tcl scripts in my Opensees.exe using the source function, but all i get is
"couldn't read file "EiganAnal.twoStoreyFrame.tcl": no such file or directory child process exited abnormally"
I have placed the file in the same folder as the Opensees.exe and still nothing appears to happen.
I hope someone can help me.
Kindest regards,
Edward.