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!!
problem on constraint and initial deformation
Moderators: silvia, selimgunay, Moderators
Re: problem on constraint and initial deformation
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
To remove constraints use remove command:
remove sp $nodeTag $dof