I adjust my model,and a new problen occured.opensees says"WARNING no -dirn flag encountered - element ZeroLength eleTag? iNode? jNode? -mat matID1? ... -dir dirMat1? .. <-orient x1? x2? x3? y1? y2? y3?>"
I dont know where is wrong,What does -dirn mean?I searched it and seems noone has met my problem.The zerolength elements should be correct.ANyway i will put my script.
wipe
puts "System"
model basic -ndm 3 -ndf 6
puts "restraint"
node 1 0.000E+000 0.000E+000 3.000E+003
node 2 3.600E+003 0.000E+000 3.000E+003
node 3 3.600E+003 0.000E+000 0.000E+000
node 4 0.000E+000 0.000E+000 0.000E+000
node 5 0.000E+000 0.000E+000 3.000E+003
node 6 3.600E+003 0.000E+000 3.000E+003
node 7 3.600E+003 0.000E+000 0.000E+000
node 8 3.600E+003 0.000E+000 3.000E+003
node 9 0.000E+000 0.000E+000 0.000E+000
node 10 3.600E+003 0.000E+000 0.000E+000
node 11 0.000E+000 0.000E+000 0.000E+000
node 12 0.000E+000 0.000E+000 3.000E+003
node 13 0.000E+000 5.200E+003 3.000E+003
node 14 3.600E+003 5.200E+003 3.000E+003
node 15 3.600E+003 5.200E+003 0.000E+000
node 16 0.000E+000 5.200E+003 0.000E+000
node 17 0.000E+000 5.200E+003 3.000E+003
node 18 3.600E+003 5.200E+003 3.000E+003
node 19 3.600E+003 5.200E+003 0.000E+000
node 20 3.600E+003 5.200E+003 3.000E+003
node 21 0.000E+000 5.200E+003 0.000E+000
node 22 3.600E+003 5.200E+003 0.000E+000
node 23 0.000E+000 5.200E+003 0.000E+000
node 24 0.000E+000 5.200E+003 3.000E+003
node 25 0.000E+000 0.000E+000 3.000E+003
node 26 0.000E+000 5.200E+003 3.000E+003
node 27 0.000E+000 5.200E+003 0.000E+000
node 28 0.000E+000 0.000E+000 0.000E+000
node 29 3.600E+003 0.000E+000 3.000E+003
node 30 3.600E+003 5.200E+003 3.000E+003
node 31 3.600E+003 5.200E+003 0.000E+000
node 32 3.600E+003 0.000E+000 0.000E+000
node 33 1.800E+003 2.600E+003 3.000E+003
puts "rigidDiaphragm"
rigidDiaphragm 3 33 1 2 13 14
puts "mass"
mass 3 4.344E+001 4.344E+001 4.344E+001 0.000E+000 0.000E+000 0.000E+000
mass 4 4.344E+001 4.344E+001 4.344E+001 0.000E+000 0.000E+000 0.000E+000
mass 9 1.528E+000 1.528E+000 1.528E+000 0.000E+000 0.000E+000 0.000E+000
mass 10 1.528E+000 1.528E+000 1.528E+000 0.000E+000 0.000E+000 0.000E+000
mass 15 4.344E+001 4.344E+001 4.344E+001 0.000E+000 0.000E+000 0.000E+000
mass 16 4.344E+001 4.344E+001 4.344E+001 0.000E+000 0.000E+000 0.000E+000
mass 21 1.528E+000 1.528E+000 1.528E+000 0.000E+000 0.000E+000 0.000E+000
mass 22 1.528E+000 1.528E+000 1.528E+000 0.000E+000 0.000E+000 0.000E+000
mass 27 2.271E+000 2.271E+000 2.271E+000 0.000E+000 0.000E+000 0.000E+000
mass 28 2.271E+000 2.271E+000 2.271E+000 0.000E+000 0.000E+000 0.000E+000
mass 31 2.271E+000 2.271E+000 2.271E+000 0.000E+000 0.000E+000 0.000E+000
mass 32 2.271E+000 2.271E+000 2.271E+000 0.000E+000 0.000E+000 0.000E+000
mass 33 2.036E+002 2.036E+002 2.036E+002 0.000E+000 0.000E+000 0.000E+000
puts "node"
fix 33 0 0 1 1 1 0;
fix 3 1 1 1 0 0 0;
fix 4 1 1 1 0 0 0;
fix 15 1 1 1 0 0 0;
fix 16 1 1 1 0 0 0;
puts "Equal DOF"
equalDOF 1 5 1 2 3
equalDOF 2 6 1 2 3
equalDOF 3 7 1 2 3
equalDOF 2 8 1 2 3
equalDOF 4 11 1 2 3
equalDOF 1 12 1 2 3
equalDOF 13 17 1 2 3
equalDOF 14 18 1 2 3
equalDOF 15 19 1 2 3
equalDOF 14 20 1 2 3
equalDOF 16 23 1 2 3
equalDOF 13 24 1 2 3
equalDOF 1 25 1 2 3
equalDOF 13 26 1 2 3
equalDOF 2 29 1 2 3
equalDOF 14 30 1 2 3
equalDOF 4 9 1 2 3
equalDOF 3 10 1 2 3
equalDOF 16 21 1 2 3
equalDOF 15 22 1 2 3
equalDOF 16 27 1 2 3
equalDOF 4 28 1 2 3
equalDOF 15 31 1 2 3
equalDOF 3 32 1 2 3
puts "material"
uniaxialMaterial Elastic 1 1.999E+0010
uniaxialMaterial Elastic 2 1
uniaxialMaterial Elastic 3 3.000E+004
uniaxialMaterial Pinching4 8 28600 3.8 55800 13 71500 27.8 60700 44.4 0.1 0.25 0.05 0.5 0.5 1.1 1.1 0.65 0.45 0.45 1.5 1.5 0.15 0.4 0.4 1.5 1.5 0.2 10 energy
uniaxialMaterial Pinching4 9 30900 3.8 54300 11 68100 21.1 5800 100 0.1 0.25 0.05 0.5 0.5 1.1 1.1 0.65 0.45 0.45 1.5 1.5 0.15 0.4 0.4 1.5 1.5 0.2 10 energy
puts "transformation"
geomTransf Linear 1 0.640 0.000 0.768
geomTransf Linear 2 0.640 0.000 0.768
geomTransf Linear 3 -0.640 0.000 0.768
geomTransf Linear 4 -0.640 0.000 0.768
geomTransf Linear 6 0.000 0.000 1.000
geomTransf Linear 9 1.000 0.000 0.000
geomTransf Linear 12 1.000 0.000 0.000
geomTransf Linear 14 0.640 0.000 0.768
geomTransf Linear 15 0.640 0.000 0.768
geomTransf Linear 16 -0.640 0.000 0.768
geomTransf Linear 17 -0.640 0.000 0.768
geomTransf Linear 19 0.000 0.000 1.000
geomTransf Linear 22 1.000 0.000 0.000
geomTransf Linear 25 1.000 0.000 0.000
geomTransf Linear 27 0.000 -0.500 0.866
geomTransf Linear 28 0.000 -0.500 0.866
geomTransf Linear 29 0.000 0.500 0.866
geomTransf Linear 30 0.000 0.500 0.866
geomTransf Linear 32 0.000 0.000 1.000
geomTransf Linear 34 0.000 -0.500 0.866
geomTransf Linear 35 0.000 -0.500 0.866
geomTransf Linear 36 0.000 0.500 0.866
geomTransf Linear 37 0.000 0.500 0.866
geomTransf Linear 39 0.000 0.000 1.000
geomTransf Linear 42 0.000 0.000 1.000
geomTransf Linear 45 0.000 0.000 1.000
geomTransf Linear 48 0.000 0.000 1.000
geomTransf Linear 51 0.000 0.000 1.000
puts "element"
element twoNodeLink 1 1 3 -mat 8 -dir 1 -orient 3000 0 3600
element twoNodeLink 2 2 4 -mat 8 -dir 1 -orient 3600 0 3000 -3000 0 3600
element zeroLength 5 1 5 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element elasticBeamColumn 6 5 6 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 6
element zeroLength 7 6 2 -mat 2 -dir 6 -orient -1 0 0 0 0 1
element zeroLength 8 3 7 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element elasticBeamColumn 9 7 8 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 9
element zeroLength 10 8 2 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element zeroLength 11 4 11 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element elasticBeamColumn 12 11 12 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 12
element zeroLength 13 12 1 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element twoNodeLink 14 15 13 -mat 8 -dir 1 -orient -3600 0 3000 3000 0 3600
element twoNodeLink 15 16 14 -mat 8 -dir 1 -orient 3600 0 3000 -3000 0 3600
element zeroLength 18 13 17 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element elasticBeamColumn 19 17 18 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 19
element zeroLength 20 18 14 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element zeroLength 21 15 19 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element elasticBeamColumn 22 19 20 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 22
element zeroLength 23 20 14 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element zeroLength 24 16 23 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element elasticBeamColumn 25 23 24 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 25
element zeroLength 26 24 13 -mat 2 2 -dir 5 6 -orient 0 0 1 1 0 0
element twoNodeLink 27 4 13 -mat 9 -dir 1 -orient 0 0.866 0.5 0.000 -0.500 0.866
element twoNodeLink 28 16 1 -mat 9 -dir 1 -orient 0 -0.866 0.5 0.000 0.500 0.866
element zeroLength 31 1 25 -mat 2 -dir 6 -orient 0 1 0 0 0 1
element elasticBeamColumn 32 25 26 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 32
element zeroLength 33 26 13 -mat 2 -dir 6 -orient 0 1 0 0 0 1
element twoNodeLink 34 3 14 -mat 9 -dir 1 -orient 0 0.866 0.5 0.000 -0.500 0.866
element twoNodeLink 35 15 2 -mat 9 -dir 1 -orient 0 -0.866 0.5 0.000 0.500 0.866
element zeroLength 38 2 29 -mat 2 -dir 6 -orient 0 1 0 0 0 1
element elasticBeamColumn 39 29 30 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 39
element zeroLength 40 30 14 -mat 2 -dir 6 -orient 0 1 0 0 0 1
element zeroLength 41 4 9 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element elasticBeamColumn 42 9 10 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 42
element zeroLength 43 10 3 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element zeroLength 44 16 21 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element elasticBeamColumn 45 21 22 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 45
element zeroLength 46 22 15 -mat 2 -dir 6 -orient 1 0 0 0 0 1
element zeroLength 47 16 27 -mat 2-dir 6 -orient 0 1 0 0 0 1
element elasticBeamColumn 48 27 28 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 48
element zeroLength 49 28 4 -mat 2 -dir 6 -orient 0 1 0 0 0 1
element zeroLength 50 15 31 -mat 2 -dir 6 -orient 0 1 0 0 0 1
element elasticBeamColumn 51 31 32 1.161E+005 1.999E+0010 7.690E+004 1.630E+009 2.023E+009 6.243E+008 51
element zeroLength 52 32 3 -mat 2 -dir 6 -orient 0 1 0 0 0 1
puts "recorder"
recorder Node -file eigen1_node0.out -time -nodeRange 1 37 -dof 1 2 3 "eigen 1"
set numModes 1
set lambda [eigen $numModes]
set period "Periods.txt"
set Periods [open $period "w"]
puts $Periods " $lambda"
close $Periods
record
I encountered a new problem,i searched it and i cant find any answer
Moderators: silvia, selimgunay, Moderators
-
- Posts: 5
- Joined: Mon Nov 01, 2021 12:17 am
-
- Posts: 5
- Joined: Mon Nov 01, 2021 12:17 am
Re: I encountered a new problem,i searched it and i cant find any answer
And another question.I know this(https://portwooddigital.com/2021/09/12/ ... -to-solve/)explain (ProfileSPDLinDirectSolver::solve() - aii < 0 (i, aii): (3, 0)......return-3 eooro flag)
but if my script can run the modal analysis,and it can give period,it still give three lines of this(ProfileSPDLinDirectSolver::solve() - aii < 0 (i, aii): (3, 0)),what could caused this problem?is this conformed to the explaination from the website?
but if my script can run the modal analysis,and it can give period,it still give three lines of this(ProfileSPDLinDirectSolver::solve() - aii < 0 (i, aii): (3, 0)),what could caused this problem?is this conformed to the explaination from the website?