Closed vasudeochaudhari closed 5 years ago
The error message appears because you have not assigned any editor (e.g. notepad) to .tcl files. Please do so and retry. It seems that there are some problems with your model, so the editor can show you the model file.
Thanks for your reply
By default .tcl file is opening with Wish Application in Windows 10, which is not getting change. I have recreated the truss model with elastic material properties, loads at top nodes and pin support at the bottom till getting the same error. Herewith I am pasting the .tcl file that is generating. it would be great if you can go through it and help me to fix the issue
Thanks and Regards Vasudeo
#
#
#
#
#
#
#
#
#
#
#
#
#
model BasicBuilder -ndm 3 -ndf 3
node 1 8.2388 64.7388 80 node 2 22.7388 64.7388 80 node 3 8.2388 45.6388 80 node 4 10.3809 62.5967 100.8 node 5 22.7388 62.5967 100.8 node 6 10.3809 45.6388 100.8 node 7 37.2388 64.7388 80 node 8 35.0967 62.5967 100.8 node 9 37.2388 45.6388 80 node 10 8.2388 27.3388 80 node 11 12.1934 60.7842 118.4 node 12 35.0967 45.6388 100.8 node 13 22.7388 60.7842 118.4 node 14 10.3809 27.3388 100.8 node 15 12.1934 45.6388 118.4 node 16 33.2842 60.7842 118.4 node 17 37.2388 27.3388 80 node 18 33.2842 45.6388 118.4 node 19 35.0967 27.3388 100.8 node 20 12.1934 27.3388 118.4 node 21 13.7588 59.2188 133.6 node 22 22.7388 59.2188 133.6 node 23 8.2388 8.2388 80 node 24 13.7588 45.6388 133.6 node 25 10.3809 10.3809 100.8 node 26 22.7388 8.2388 80 node 27 31.7188 59.2188 133.6 node 28 33.2842 27.3388 118.4 node 29 22.7388 10.3809 100.8 node 30 31.7188 45.6388 133.6 node 31 37.2388 8.2388 80 node 32 35.0967 10.3809 100.8 node 33 12.1934 12.1934 118.4 node 34 13.7588 27.3388 133.6 node 35 22.7388 12.1934 118.4 node 36 15.1388 57.8388 147 node 37 22.7388 57.8388 147 node 38 31.7188 27.3388 133.6 node 39 33.2842 12.1934 118.4 node 40 15.1388 45.6388 147 node 41 30.3388 57.8388 147 node 42 30.3388 45.6388 147 node 43 13.7588 13.7588 133.6 node 44 22.7388 13.7588 133.6 node 45 15.1388 27.3388 147 node 46 31.7188 13.7588 133.6 node 47 30.3388 27.3388 147 node 48 15.1388 15.1388 147 node 49 22.7388 15.1388 147 node 50 30.3388 15.1388 147
fix 1 1 1 1 fix 2 1 1 1 fix 3 1 1 1 fix 7 1 1 1 fix 9 1 1 1 fix 10 1 1 1 fix 17 1 1 1 fix 23 1 1 1 fix 26 1 1 1 fix 31 1 1 1
uniaxialMaterial Elastic 11 2e+08
element truss 1 23 25 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 2 25 33 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 3 33 43 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 4 43 48 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 5 10 14 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 6 14 20 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 7 20 34 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 8 34 45 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 9 3 6 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 10 6 15 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 11 15 24 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 12 24 40 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 13 1 4 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 14 4 11 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 15 11 21 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 16 21 36 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 17 7 8 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 18 8 16 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 19 16 27 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 20 27 41 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 21 9 12 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 22 12 18 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 23 18 30 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 24 30 42 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 25 17 19 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 26 19 28 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 27 28 38 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 28 38 47 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 29 31 32 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 30 32 39 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 31 39 46 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 32 46 50 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 33 48 49 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 34 49 50 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 35 50 47 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 36 47 42 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 37 42 41 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 38 41 37 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 39 37 36 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 40 36 40 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 41 40 45 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 42 45 48 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 43 43 44 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 44 44 46 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 45 46 38 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 46 38 30 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 47 30 27 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 48 27 22 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 49 22 21 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 50 21 24 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 51 24 34 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 52 34 43 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 53 33 35 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 54 35 39 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 55 39 28 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 56 28 18 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 57 18 16 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 58 16 13 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 59 13 11 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 60 11 15 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 61 15 20 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 62 20 33 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 63 25 29 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 64 29 32 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 65 32 19 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 66 19 12 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 67 12 8 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 68 8 5 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 69 5 4 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 70 4 6 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 71 6 14 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 72 14 25 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 73 23 26 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 74 26 31 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 75 31 17 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 76 17 9 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 77 9 7 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 78 7 2 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 79 2 1 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 80 1 3 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 81 3 10 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 82 10 23 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 83 25 26 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 84 26 32 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 85 33 29 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 86 29 39 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 87 43 35 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 88 35 46 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 89 48 44 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 90 44 50 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 91 4 2 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 92 2 8 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 93 11 5 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 94 5 16 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 95 21 13 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 96 13 27 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 97 36 22 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 98 22 41 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 99 23 14 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 100 14 33 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 101 33 34 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 102 34 48 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 103 31 19 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 104 19 39 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 105 39 38 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 106 38 50 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 107 7 12 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 108 12 16 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 109 16 30 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 110 30 41 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 111 1 6 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 112 6 11 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 113 11 24 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 114 24 36 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 115 3 14 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 116 14 15 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 117 15 34 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 118 34 40 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 119 9 19 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 120 19 18 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 121 18 38 1 11 -rho 0 -cMass 0 -doRayleigh 0 element truss 122 38 42 1 11 -rho 0 -cMass 0 -doRayleigh 0
#
#
recorder Node -file Node_displacements.out -time -nodeRange 1 50 -dof 1 2 3 disp recorder Node -file Node_rotations.out -time -nodeRange 1 50 -dof 4 5 6 disp recorder Node -file Node_forceReactions.out -time -nodeRange 1 50 -dof 1 2 3 reaction recorder Node -file Node_momentReactions.out -time -nodeRange 1 50 -dof 4 5 6 reaction recorder Element -file Truss_axialForce.out -time -ele 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 axialForce recorder Element -file Truss_deformations.out -time -ele 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 deformations
logFile "Rig1.log"
puts "" puts " " puts "/ .| \ | / \ ( | | ( " puts "\_)||/ | \_/|)(-| ))(-(-) || )|(-| | (|((-" puts " | " puts " v2.6.0" puts "Analysis summary" puts "" puts "Interval 1 : Static - [expr int(1+1)] steps" puts "" puts "----------------" puts "" set time_start [clock seconds] puts "Starting analysis at [clock format $time_start -format %H:%M:%S]\n"
#
#
puts "Running interval 1\n"
pattern Plain 100 Linear { load 36 0 1 0 load 37 0 1 0 load 40 0 1 0 load 41 0 1 0 load 42 0 1 0 load 45 0 1 0 load 47 0 1 0 load 48 0 1 0 load 49 0 1 0 load 50 0 1 0 }
record
system BandGeneral numberer RCM constraints Transformation integrator LoadControl 1 algorithm Linear analysis Static set committedSteps 1 for {set i 1} { $i <= 1 } {incr i 1} { set AnalOk [analyze 1] if {$AnalOk !=0} { break } else { set committedSteps [expr $committedSteps+1] } } if {$AnalOk == 0} { puts "\nAnalysis completed SUCCESSFULLY" puts "Committed steps : $committedSteps\n" } else { puts "\nAnalysis FAILED" puts "Committed steps : $committedSteps\n" }
set hour 0.0 set minute 0.0 set second 0.0 set time_end [clock seconds] set analysisTime [expr $time_end-$time_start]
puts "Analysis finished at [clock format $time_end -format %H:%M:%S]\n"
if {$analysisTime<60} { if {$analysisTime==0} { puts "Analysis time : less than one second" } elseif {$analysisTime==1} { puts "Analysis time : 1 second" } else { puts "Analysis time : $analysisTime seconds" }
} elseif {$analysisTime<3600} { set minutes [expr $analysisTime/60] set seconds [expr $analysisTime%60]
if {$minutes==1} {
puts -nonewline "Analysis time : 1 minute"
} else {
puts -nonewline "Analysis time : $minutes minutes"
}
if {$seconds==0} {
puts ""
} elseif {$seconds==1} {
puts " and 1 second"
} else {
puts " and $seconds seconds"
}
} else { set hours [expr $analysisTime/3600] set minutes [expr ($analysisTime%3600)/60] set seconds [expr ($analysisTime%3600)%60]
if {$hours==1} {
puts -nonewline "Analysis time : 1 hour"
} else {
puts -nonewline "Analysis time : $hours hours"
}
if {$minutes==0} {
} elseif {$minute==1} {
puts -nonewline ", 1 minute"
} else {
puts -nonewline ", $minutes minutes"
}
if {$seconds==0} {
puts ""
} elseif {$second==1} {
puts " and 1 second"
} else {
puts " and $seconds seconds"
}
}
#
#
Can you attach the whole GiD project as a zip file ? The file association for .tcl can be changed to e.g. notepad easily.
I see that there are no lines commented out in the script (# before). Of course it cannot run like this.
Please find the attachment herewith the required files
While posting here, the text of script with # got converted otherwise original file has comments
Your structure is ill-conditioned. Two trusses on the top are cut in two pieces, and a force is assigned in the middle, which suggests a mechanism. Consider also that ALL connections between truss elements are PINNED. Fix your model and report back.
Thank you so much for your replies and suggestions
I have made some changes in structure as you suggested. For this updated configuration I able to analyse structure in OpenSees. However, I am still getting the same error for reading the .tcl file in GiD interface. please find herewith the attached updated file
It's because it is still a mechanism. Try replacing the trusses with beams and will work right away.
with beam element also it is showing the error
even I tried the practice example given here and that also shows the same error
strange, try uninstalling the interface, delete the opensees.gid folder from problemtypes and install afresh again. Also assign notepad.exe to the .tcl extension.
Rig3.gid.zip has still truss elements assigned. Check again.
No reply whatsoever, so I consider this issue resolved.
Hi
Yes finally issue got resolved
Thanks for your cooperation
@vasudeochaudhari. I faced this problem on my laptop. I installed the software on my friend's laptop and the analysis was successful but on my laptop same error for all models. I hope you help me to fix this problem.
Dear Al-Haaj
For me, It was not a problem with GiD, but it was with opensees. Try to completely uninstall and reinstallation the latest version of Tcl/Tk. Initially, I also had some problems in my model, and however, as you mentioned, it is working on other systems so your model may be not be having those issues.
Regards Vasudeo Chaudhari
@vasudeochaudhari
Hey, the GID interface shows the same error when I'm trying to convert my model into a tcl script, Could you suggest me what changes should I make to OpenSees to resolve this issue? I'm using the OpenSees version 3.1.0 and Tcl/Tkl version 8.5 (in-case the version compatibility shows any issues)
Hi
For my problem, I have imported dxf file of 3d rig truss-structure. However, after performing all other steps when I am running the analysis, I am getting an error getting an error: invalid command name "model" while executing model BasicBuilder -ndm3 -ndf3.
it would be great if you can suggest me how can I fix the problem
Thanks Vasudeo