problem on constraint and initial deformation

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

Moderators: silvia, selimgunay, Moderators

Post Reply
lkang6
Posts: 36
Joined: Mon Nov 15, 2010 7:09 pm
Location: GEORGIA INSTITUTE OF TECHNOLOGY

problem on constraint and initial deformation

Post by lkang6 »

Hi Vesna,
I have a problem:
I have a cantilever beam,
node 1 0 0 0; #left point
node 2 0 0.5 0; #middle point
node 3 0 1 0; #right point
#step one: initial deformation#
fix 1 1 1 1;
pattern Plain 1 Linear {
load 3 0.0 -1.0 0.0
}
system BandGeneral
constraints Plain
integrator DisplacementControl 1 2 -0.002
test NormDispIncr 1e-5 5
algorithm Newton
#algorithm Linear
numberer RCM
analysis Static
analyze 5
loadConst -time 0.0
puts "Initial deformation done"
#step two: concentrate force in the middle of the beam#
fix 1 1 1 0; #or fix 1 1 1 1
fix 3 0 1 0;
pattern Plain 2 Linear {
load 2 0.0 -1000 0.0
}
system BandGeneral
constraints Plain
integrator LoadControl 0.1
test NormDispIncr 1e-5 5
algorithm Newton
numberer RCM
analysis Static
analyze 10
loadConst -time 0.0
puts "Vertical force done"

The analysis can run, but there are warnings:multiple single pointconstraint at DOF 1 at Node 1
When I check the results it seems reasonable.

Could you please tell me how can I correct this?? Thank you!!
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: problem on constraint and initial deformation

Post by vesna »

You are defining constraints at node 1 twice and they are different. If you want to change constraints at a node you first have to remove the existing constraints and then you can define a new one.

To remove constraints use remove command:
remove sp $nodeTag $dof
Post Reply