-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel-template-3d.tcl
71 lines (51 loc) · 1.03 KB
/
model-template-3d.tcl
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
# Programatically generated file.
#
# Units:
# - dimension: metre
# - force: newton
#
# Dimension order is
# - x: longitudinal
# - y: vertical
# - z: transverse
wipe
model basic -ndm 3 -ndf 6
<<DECK_NODES>>
<<SUPPORT_NODES>>
<<FIX_DECK>>
<<FIX_SUPPORTS>>
<<DECK_SECTIONS>>
<<PIER_SECTIONS>>
<<DECK_ELEMENTS>>
<<PIER_ELEMENTS>>
<<SUPPORTS>>
timeSeries Linear 1
pattern Plain 1 1 {
<<LOAD>>
<<THERMAL_AXIAL_LOAD_DECK>>
<<THERMAL_MOMENT_LOAD_DECK>>
<<SELF_WEIGHT>>
}
<<FORCES>>
<<TRANS_RECORDERS>>
<<STRAIN_RECORDERS>>
system BandGeneral
numberer RCM
constraints Plain
<<INTEGRATOR>>
<<ALGORITHM>>
<<TEST>>
analysis Static
analyze 1
# Array of each element's ID.
set l [list <<ELEM_IDS>>]
# Write internal forces to file.
set outfile [open "<<FORCES_OUT_FILE>>" w]
foreach i $l {
# https://opensees.berkeley.edu/community/viewtopic.php?f=2&t=64527&p=110182&hilit=shellMITC4#p110182
# [Nxx, Nyy, Nxy, Mxx, Myy, Mxy, Vxz, Vyz]
set internal_force [eleResponse $i stresses]
puts $outfile $internal_force
puts $outfile "\n"
}
close $outfile