i have a problem about model of cantilever beam

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Mohammadafshar
Posts: 11
Joined: Tue Jan 29, 2013 5:16 am

i have a problem about model of cantilever beam

Post by Mohammadafshar »

hi body,i wanna model a simple cantilever beam under lateral load,i do it but it is out of work and i dont know why.pls help me.tnx :)


model BasicBuilder -ndm 2 ndf 2;
node 1 0 0
node 2 0 5
node 3 0 10
fix 1 1 1
fix 2 0 0
fix 3 0 0
element elasticBeamCoulumn 1 0 5 3600 4227 1080000
element elasticBeamCoulumn 2 0 10 3600 4227 1080000
load 3 100 0 ;
recorder Node -file Node2.out -time -node 2 -dof 1 2 disp
recorder Node -file Node3.out -time -node 3 -dof 1 2 disp
hnaderi
Posts: 15
Joined: Sat May 25, 2013 11:44 am

Re: i have a problem about model of cantilever beam

Post by hnaderi »

Your model has many Problems.
What is Point 2 for?
I think material and load units are not correct.....Check them.

I think your model is something like below...

# Cantilever Beam under concentrated load at the end of it.
# ******************************************************************
model BasicBuilder -ndm 2 ndf 3;
node 1 0 0
node 2 5 0
node 3 10 0

fix 1 1 1 1

geomTransf Linear 1

element elasticBeamColumn 1 1 2 3600 4227 1080000 1
element elasticBeamColumn 2 2 3 3600 4227 1080000 1

# Load Definition
pattern Plain 1 Linear {
load 3 0.0 -100.0 0.0
}

recorder Node -file Node2.out -time -node 2 -dof 1 2 disp
recorder Node -file Node3.out -time -node 3 -dof 1 2 disp


# Gravity Analysis
constraints Plain
numberer Plain
system BandGeneral
test NormDispIncr 1.e-8 60
algorithm Newton
integrator LoadControl 0.1
analysis Static
analyze 10
# *****************************************************************
Mohammadafshar
Posts: 11
Joined: Tue Jan 29, 2013 5:16 am

Re: i have a problem about model of cantilever beam

Post by Mohammadafshar »

tnx hnaderi
but
when i wrote your codes in opensees.exe &Tcleditor i face to problem!
when i wrote in opensees.exe it showed me outputs (node2.out node3.out) but both of them were blank!!
and when i wrote in Tcleditor and ran it showed me in the blackpage something like this"couldnt read file :no such file or directory end of script reached,press any key to continue" with no output!!
pls help me :roll:

I acknowledge im beginner in using opensees.
hnaderi
Posts: 15
Joined: Sat May 25, 2013 11:44 am

Re: i have a problem about model of cantilever beam

Post by hnaderi »

Just copy the code and paste it on Tcleditor.
first you must save the file and then run it.
it works.
Mohammadafshar
Posts: 11
Joined: Tue Jan 29, 2013 5:16 am

Re: i have a problem about model of cantilever beam

Post by Mohammadafshar »

tnx my friend.
i wish best for you.
Post Reply