zero-length:2 different nodes at the same coordinate

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Jfoyian
Posts: 22
Joined: Wed Apr 15, 2009 2:42 pm

zero-length:2 different nodes at the same coordinate

Post by Jfoyian »

I'm trying to assign 2 different nodes at the same coordinate (as is done on the examples manual), but the program doesn't allow. (doesnt run) I was trying to put zero-length elements in these nodes. Does anyone have an idea why I can't define the 2 nodes at the same coordinate?
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

do they have different node tags?
please post the part of the script that is of relevance.
what error does os give you???
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Jfoyian
Posts: 22
Joined: Wed Apr 15, 2009 2:42 pm

Post by Jfoyian »

yes, the node tags are different as follows;

node 101 0 0;
node 201 0 $h1;
node 1001 0 0;
node 2001 0 $h1;

uniaxialMaterial Hysteretic $IDshear12 1342 0.04 2721 0.624 2721 1.7 -1300 -0.04 -2700 -0.6 -2700 -1.5 0.5 0.5 0 0 0;

element zeroLength 2001 201 2001 -mat $Secshear12 -dir 2

Actually it doesnt give any error, but doesnt converge. Even if I dont include the shear spring and just run the model itself with the previously mentioned nodes (101, 1001, 201, 2001) it doesnt converge. So I guess the addition of the nodes 1001 and 2001 confuses the program. How I can solve this?
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

likely, there are not enough constraints in your system.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Jfoyian
Posts: 22
Joined: Wed Apr 15, 2009 2:42 pm

Post by Jfoyian »

Thanks Silvia but I am not sure I get it clearly. Should I be using fix command to assign fixity to the new nodes as well or do you mean to use equalDOF or any other command? Could you explain in more detail?
msa_imeg
Posts: 19
Joined: Sun Mar 09, 2008 9:15 pm
Location: Ferdowsi University of Mashhad

Post by msa_imeg »

wipe;
model BasicBuilder -ndm 2 -ndf 3
node 1 0 0
node 2 0 0
fix 1 1 1 1
fix 2 0 1 1
mass 2 5.0e3 0. 0.
uniaxialMaterial Hardening 1 $Es $Fy $Hiso $Hkin
element zeroLength 1 1 2 -mat 1 -dir 1
recorder Node -file node_disp.txt -time -node 2 -dof 1 disp

set accelSeries "Series -dt 0.01 -filePath BM68elc.acc -factor 40"; # define acceleration vector from file (dt=0.01 is associated with the input file gm)
pattern UniformExcitation 1 1 -accel $accelSeries; # define where and how (pattern tag, dof) acceleration is applied
#D = $alphaM * M + $betaK * Kcurrent +$betaKinit * Kinit + $betaKcomm * KlastCommit
rayleigh 0.0 0.0 0.0 0.00

# create the analysis
wipeAnalysis; # clear previously-define analysis parameters
constraints Plain; # how it handles boundary conditions
numberer Plain; # renumber dofs to minimize band-width (optimization), if you want to
system BandGeneral; # how to store and solve the system of equations in the analysis
algorithm Linear; # use Newtons solution algorithm: updates tangent stiffness at every iteration
integrator Newmark 0.5 0.25 ; # determine the next time step for an analysis
analysis Transient; # define type of analysis: time-dependent
analyze 4000 0.01;
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

don't know what the post above is,
but you should be using whatever constraints you need in your model, whether it is the fix command or the equaldof.
you just have to make sure you don't have a singular stiffness matrix.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Jfoyian
Posts: 22
Joined: Wed Apr 15, 2009 2:42 pm

Post by Jfoyian »

Thanks Silvia!
Now it works after using fix command for that nodes, although I still cannot get what I want. It still does not understand shear behaviour of my spring. Is it a good idea to use zerolenght element to represent shear behaviour? And as a general question, since I have faced that problem many times, how can we prevent singular stiffness matrix?
silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia »

isn't direction 2 vertical????
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Post Reply