I am trying to apply a distributed load to an elasticBeamColumn. I've used the manual and have seen the eleLoad command. However I can't get it to work.
This is what I am writing:
eleLoad -ele 1 -type -beamUniform 0.41667 compared to
eleLoad -ele $eleTag1 <$eleTag2 ....> -type -beamUniform $Wz <$Wx>
I want to apply a distributed load of .41667 k/in on element 1.
How do make it work? what am I doing wrong?
Uniform loads
Moderators: silvia, selimgunay, Moderators
I got the simple frame to work, however this 3 story frame is not. Why?silvia wrote:how is it not working?
please post yo0ur script.
thanx
Here is my script. when I source it in it replies:
Warning bad command - want: nodeID 3 forces
Input Command: load
Warning- error reading load pattern information in{}
# Defining Units and Constants
set in 1.;
set sec 1.;
set kip 1.;
set ksi [expr $kip/pow($in,2)];
set psi [expr $ksi/1000.];
set ft [expr 12.*$in];
set g [expr 32.2*$ft/pow($sec,2)];
set PI [expr 2*asin(1.0)];
set U 1.e10;
set u [expr 1/$U];
set Fy [expr 68.*$ksi];
set Es [expr 29000.*$ksi];
set Acole 101; # all exeterior columns are same
set Icole 4900;
set Acoli 117; # all interior columns are same
set Icoli 6000;
set Agird1 22.4; # 1 story girder
set Igird1 2100;
set Agird2 38.3; # 2 story girder
set Igird2 6710;
set Agird3 31.7; # 3 story girder
set Igird3 4470;
model BasicBuilder -ndm 2 -ndf 3
node 1 0.0 0.0
node 2 0.0 156.0
node 3 0.0 156.0
node 4 0.0 312.0
node 5 0.0 312.0
node 6 0.0 468.0
node 7 0.0 468.0
node 8 360.0 0.0
node 9 360.0 156.0
node 10 360.0 156.0
node 11 360.0 156.0
node 12 360.0 312.0
node 13 360.0 312.0
node 14 360.0 312.0
node 15 360.0 468.0
node 16 360.0 468.0
node 17 360.0 468.0
node 18 720.0 0.0
node 19 720.0 156.0
node 20 720.0 156.0
node 21 720.0 156.0
node 22 720.0 312.0
node 23 720.0 312.0
node 24 720.0 312.0
node 25 720.0 468.0
node 26 720.0 468.0
node 27 720.0 468.0
node 28 1080.0 0.0
node 29 1080.0 156.0
node 30 1080.0 156.0
node 31 1080.0 156.0
node 32 1080.0 312.0
node 33 1080.0 312.0
node 34 1080.0 312.0
node 35 1080.0 468.0
node 36 1080.0 468.0
node 37 1080.0 468.0
node 38 1440.0 0.0
node 39 1440.0 156.0
node 40 1440.0 156.0
node 41 1440.0 312.0
node 42 1440.0 312.0
node 43 1440.0 468.0
node 44 1440.0 468.0
fix 1 1 1 1
fix 8 1 1 1
fix 18 1 1 1
fix 28 1 1 1
fix 38 1 1 1
uniaxialMaterial ElasticPP 1 26290 0.005
source rotspring2D.tcl
geomTransf Linear 1
element elasticBeamColumn 25 1 2 $Acole $Es $Icole 1; # Exterior columns
element elasticBeamColumn 26 38 39 $Acole $Es $Icole 1
element elasticBeamColumn 27 2 4 $Acole $Es $Icole 1
element elasticBeamColumn 28 39 41 $Acole $Es $Icole 1
element elasticBeamColumn 29 4 6 $Acole $Es $Icole 1
element elasticBeamColumn 30 41 43 $Acole $Es $Icole 1
element elasticBeamColumn 31 7 16 $Agird3 $Es $Igird3 1; # 3 story girders
element elasticBeamColumn 32 17 26 $Agird3 $Es $Igird3 1
element elasticBeamColumn 33 27 36 $Agird3 $Es $Igird3 1
element elasticBeamColumn 34 37 44 $Agird3 $Es $Igird3 1
element elasticBeamColumn 35 5 13 $Agird2 $Es $Igird2 1; # 2 story girders
element elasticBeamColumn 36 14 23 $Agird2 $Es $Igird2 1
element elasticBeamColumn 37 24 33 $Agird2 $Es $Igird2 1
element elasticBeamColumn 38 34 42 $Agird2 $Es $Igird2 1
element elasticBeamColumn 39 3 10 $Agird1 $Es $Igird1 1; # 1 story girders
element elasticBeamColumn 40 11 20 $Agird1 $Es $Igird1 1
element elasticBeamColumn 41 21 30 $Agird1 $Es $Igird1 1
element elasticBeamColumn 42 31 40 $Agird1 $Es $Igird1 1
element elasticBeamColumn 43 8 9 $Acoli $Es $Icoli 1; # all same interior columns
element elasticBeamColumn 44 18 19 $Acoli $Es $Icoli 1
element elasticBeamColumn 45 28 29 $Acoli $Es $Icoli 1
element elasticBeamColumn 46 9 12 $Acoli $Es $Icoli 1
element elasticBeamColumn 47 19 22 $Acoli $Es $Icoli 1
element elasticBeamColumn 48 29 32 $Acoli $Es $Icoli 1
element elasticBeamColumn 49 12 15 $Acoli $Es $Icoli 1
element elasticBeamColumn 50 22 25 $Acoli $Es $Icoli 1
element elasticBeamColumn 51 32 35 $Acoli $Es $Icoli 1
pattern Plain 1 Constant {
eleLoad -ele 39 -type -beamUniform -0.009
eleLoad -ele 40 -type -beamUniform -0.009
eleLoad -ele 41 -type -beamUniform -0.009
eleLoad -ele 42 -type -beamUniform -0.009
eleLoad -ele 35 -type -beamUniform -0.0108333
eleLoad -ele 36 -type -beamUniform -0.0108333
eleLoad -ele 37 -type -beamUniform -0.0108333
eleLoad -ele 38 -type -beamUniform -0.0108333
eleLoad -ele 31 -type -beamUniform -0.0063333
eleLoad -ele 32 -type -beamUniform -0.0063333
eleLoad -ele 33 -type -beamUniform -0.0063333
eleLoad -ele 34 -type -beamUniform -0.0063333
} # constant Gravity load
pattern Plain 2 Linear {
load 2 33.333 0 0
load 4 66.667 0 0
load 6 100.0 0 0
}
thank you for posting your file.
the only mistake in your input file is that you didn't put a ; at the end of a command before you put in the comment, where you close your load pattern.
you have:
} # constant Gravity load
should have:
}; # constant Gravity load
if you concatenate two commands into one line (even where the command may be a comment), you must imponse an end-of-line character. in tcl this is the ;
hope this helps
the only mistake in your input file is that you didn't put a ; at the end of a command before you put in the comment, where you close your load pattern.
you have:
} # constant Gravity load
should have:
}; # constant Gravity load
if you concatenate two commands into one line (even where the command may be a comment), you must imponse an end-of-line character. in tcl this is the ;
hope this helps
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
silvia wrote:thank you for posting your file.
the only mistake in your input file is that you didn't put a ; at the end of a command before you put in the comment, where you close your load pattern.
you have:
} # constant Gravity load
should have:
}; # constant Gravity load
if you concatenate two commands into one line (even where the command may be a comment), you must imponse an end-of-line character. in tcl this is the ;
hope this helps
Thank You, it helped