Skip to content

Commit

Permalink
v2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vpapanik committed Jul 3, 2018
1 parent c2964ba commit ed4cf8a
Show file tree
Hide file tree
Showing 39 changed files with 2,417 additions and 1,556 deletions.
90 changes: 76 additions & 14 deletions OpenSees.bas
@@ -1,11 +1,9 @@
#
# _____ _______ _____ _____ _____ _ __
# | __ (_) _ \ _ | _ | / ___| |_ _| | | / _|
# | | \/_| | | |_| |_| | | |_ __ ___ _ __ \ `--. ___ ___ ___ | | _ __ | |_ ___ _ __| |_ __ _ ___ ___
# | | __| | | | |_ _| | | | '_ \ / _ \ '_ \ `--. \/ _ \/ _ \/ __| | || '_ \| __/ _ \ '__| _/ _` |/ __/ _ \
# | |_\ \ | |/ / |_| \ \_/ / |_) | __/ | | /\__/ / __/ __/\__ \ _| || | | | || __/ | | || (_| | (_| __/
# \____/_|___/ \___/| .__/ \___|_| |_\____/ \___|\___||___/ \___/_| |_|\__\___|_| |_| \__,_|\___\___|
# | |
# ____ _ ____ ___ ____ ___ _ __
# / ___(_) _ \ _ / _ \ _ __ ___ _ __ / ___| ___ ___ ___ |_ _|_ __ | |_ ___ _ __ / _| __ _ ___ ___
# | | _| | | | |_| |_| | | | '_ \ / _ \ '_ \\___ \ / _ \/ _ \/ __| | || '_ \| __/ _ \ '__| |_ / _` |/ __/ _ \
# | |_| | | |_| |_ _| |_| | |_) | __/ | | |___) | __/ __/\__ \ | || | | | || __/ | | _| (_| | (_| __/
# \____|_|____/ |_| \___/| .__/ \___|_| |_|____/ \___|\___||___/ |___|_| |_|\__\___|_| |_| \__,_|\___\___|
# |_|
#
# GiD + OpenSees Interface - An Integrated FEA Platform
Expand Down Expand Up @@ -310,9 +308,14 @@ model BasicBuilder -ndm *ndime -ndf *currentDOF

*tcl(LogFile)

puts "\n--------------------------------------------------------------------------------------------------------"
puts "\nGiD+OpenSees Interface *tcl(OpenSees::GetVersion)"
puts "\nAnalysis summary\n"
puts ""
puts " __ __ __ __ _ "
puts "/ _ .| \\ _|_ / \\ _ _ _ (_ _ _ _ | _ |_ _ _(_ _ _ _"
puts "\\__)||__/ | \\__/|_)(-| )__)(-(-_) || )|_(-| | (_|(_(-"
puts " | "
puts " *tcl(OpenSees::GetVersion)"
puts "Analysis summary"
puts ""
*set var IntvNum=0
*loop intervals
*set var IntvNum=operation(IntvNum+1)
Expand All @@ -335,6 +338,8 @@ puts "Interval *IntvNum : *IntvData(Analysis_type) - *\
*endif
*end intervals
puts ""
puts "----------------"
puts ""
set time_start [clock seconds]
puts "Starting analysis at [clock format $time_start -format %H:%M:%S]\n"
*set var IntvNum=0
Expand All @@ -348,14 +353,14 @@ puts "Starting analysis at [clock format $time_start -format %H:%M:%S]\n"
#
# --------------------------------------------------------------------------------------------------------------

puts "Running interval *IntvNum ...\n"
puts "Running interval *IntvNum\n"
*include bas\Actions\Loads.bas
*include bas\Analysis\UpdateMaterialStage.bas
*include bas\Analysis\UpdateParameters.bas

# recording the initial status

record;
record

*include bas\Analysis\Analyze.bas
*if(IntvData(Keep_this_loading_active_until_the_end_of_analysis,int)==1)
Expand All @@ -381,11 +386,68 @@ setTime *IntvData(Time_to_be_set,real)

# --------------------------------------------------------------------------------------------------------------

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"
puts "Analysis time : $analysisTime seconds"

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"
}
}
*#
*# Metadata
*#
*include bas\Model\Meta.bas
*include bas\Model\Meta.bas
9 changes: 4 additions & 5 deletions OpenSees.cnd
Expand Up @@ -223,10 +223,10 @@ QUESTION: Uniform_load_acting_in_local_y_direction#UNITS#
VALUE: 0.0 kN/m
QUESTION: Uniform_load_acting_in_local_z_direction#UNITS#
VALUE: 0.0 kN/m
QUESTION: _#CB#(Hover_mouse_for_local_axes_info)
VALUE: Hover for local axes info
STATE: DISABLED
HELP: LOCAL AXES INFO\n\nThe local-x longitudinal axis is always specified by the positive element direction (View -> Normals -> Lines)\n\nIN A 2D PROBLEM :\n\nLocal-x axis coincides with the element positive direction\nLocal-z axis coincides with the global Z axis direction\nLocal-y axis is found by the right hand rule\n\nIN A 3D PROBLEM :\n\nVERTICAL axis is user-specified (Y or Z) in Modeling Options\n\nFor a horizontal element :\nLocal-x axis coincides with the element positive direction\nLocal-z coincides with the direction of the defined VERTICAL axis (global Y or Z)\nLocal-y axis is found by the right hand rule\n\nFor a vertical element :\nLocal-x axis coincides with the element positive direction\nLocal-z positive direction coincides with the global X axis negative direction\nLocal-y axis is found by the right hand rule\n\nFor an oblique element :\nVector Vecxz has the direction of the defined VERTICAL axis (global Y or Z)\nLocal-x axis direction (Vx) coincides with the element positive direction\nLocal-y axis direction (Vy) is found by the cross product Vy = Vecxz x Vx\nLocal-z axis direction (Vz) is found by the cross product Vz = Vx x Vy
QUESTION: _#CB#(_)
VALUE:
STATE: HIDDEN
TKWIDGET: TK_LocalAxesInfo
QUESTION: __#CB#(_)
VALUE:
STATE: HIDDEN
Expand Down Expand Up @@ -310,7 +310,6 @@ END CONDITION
BOOK: Constraints



CONDITION: Point_Equal_constraint_master_node
CONDTYPE: over points
CONDMESHTYPE: over nodes
Expand Down
41 changes: 21 additions & 20 deletions OpenSees.mat
Expand Up @@ -298,6 +298,7 @@ QUESTION: Initial_hardening
VALUE: 0.4
QUESTION: Pinching_factor_for_the_cyclic_slip_vs_bar_response
VALUE: 0.5
TKWIDGET: TK_MaterialWikiInfo
END MATERIAL


Expand Down Expand Up @@ -1197,10 +1198,10 @@ STATE: HIDDEN
QUESTION: Shear_modulus_G#UNITS#
VALUE: 11.66666667 GPa
TITLE: Section_properties
QUESTION: _#CB#(Hover_for_local_axes_info)
VALUE: Hover for local axes info
STATE: DISABLED
HELP: LOCAL AXES INFO\n\nThe local-x longitudinal axis is always specified by the positive element direction (View -> Normals -> Lines)\nShown in figure are the element transverse local-y and local-z axes\n\nIN A 2D PROBLEM :\n\nHeight refers to the local-y axis\nWidth refers to the local-z axis\n\nLocal-x axis coincides with the element positive direction\nLocal-z axis coincides with the global Z axis direction\nLocal-y axis is found by the right hand rule\n\nIN A 3D PROBLEM :\n\nVERTICAL axis is user-specified (Y or Z) in Modeling Options\n\nHeight refers to the local-z axis\nWidth refers to the local-y axis\n\nFor a horizontal element :\nLocal-x axis coincides with the element positive direction\nLocal-z coincides with the direction of the defined VERTICAL axis (global Y or Z)\nLocal-y axis is found by the right hand rule\n\nFor a vertical element :\nLocal-x axis coincides with the element positive direction\nLocal-z positive direction coincides with the global X axis negative direction\nLocal-y axis is found by the right hand rule\n\nFor an oblique element :\nVector Vecxz has the direction of the defined VERTICAL axis (global Y or Z)\nLocal-x axis direction (Vx) coincides with the element positive direction\nLocal-y axis direction (Vy) is found by the cross product Vy = Vecxz x Vx\nLocal-z axis direction (Vz) is found by the cross product Vz = Vx x Vy
QUESTION: _#CB#(_)
VALUE:
STATE: HIDDEN
TKWIDGET: TK_LocalAxesInfo
QUESTION: Cross_section#CB#(Rectangular,Tee,Circular,General)
VALUE: Rectangular
DEPENDENCIES: (Rectangular,RESTORE,Height_h,#CURRENT#,RESTORE,Width_B,#CURRENT#,HIDE,Diameter_d,#CURRENT#,HIDE,Height_hf,#CURRENT#,HIDE,Width_bf,#CURRENT#,HIDE,Width_bw,#CURRENT#,HIDE,Area_A,#CURRENT#,HIDE,Moment_of_inertia_about_local-y_Iyy,#CURRENT#,HIDE,Moment_of_inertia_about_local-z_Izz,#CURRENT#,HIDE,Torsional_moment_of_inertia_Iyz,#CURRENT#)
Expand Down Expand Up @@ -1263,10 +1264,10 @@ QUESTION: Compatible_materials:#CB#(_)
VALUE: Concrete uniaxial materials/InitStrain/InitStress/Steel uniaxial materials
TKWIDGET: TK_SectionWikiInfo
TITLE: Section_properties
QUESTION: _#CB#(Hover_for_local_axes_info)
VALUE: Hover for local axes info
STATE: DISABLED
HELP: LOCAL AXES INFO\n\nThe local-x longitudinal axis is always specified by the positive element direction (View -> Normals -> Lines)\nShown in figure are the element transverse local-y and local-z axes\n\nIN A 2D PROBLEM :\n\nHeight refers to the local-y axis\nWidth refers to the local-z axis\n\nLocal-x axis coincides with the element positive direction\nLocal-z axis coincides with the global Z axis direction\nLocal-y axis is found by the right hand rule\n\nIN A 3D PROBLEM :\n\nVERTICAL axis is user-specified (Y or Z) in Modeling Options\n\nHeight refers to the local-z axis\nWidth refers to the local-y axis\n\nFor a horizontal element :\nLocal-x axis coincides with the element positive direction\nLocal-z coincides with the direction of the defined VERTICAL axis (global Y or Z)\nLocal-y axis is found by the right hand rule\n\nFor a vertical element :\nLocal-x axis coincides with the element positive direction\nLocal-z positive direction coincides with the global X axis negative direction\nLocal-y axis is found by the right hand rule\n\nFor an oblique element :\nVector Vecxz has the direction of the defined VERTICAL axis (global Y or Z)\nLocal-x axis direction (Vx) coincides with the element positive direction\nLocal-y axis direction (Vy) is found by the cross product Vy = Vecxz x Vx\nLocal-z axis direction (Vz) is found by the cross product Vz = Vx x Vy
QUESTION: _#CB#(_)
VALUE:
STATE: HIDDEN
TKWIDGET: TK_LocalAxesInfo
QUESTION: Cross_section#CB#(Rectangular_Column,Rectangular_Beam,Tee_Beam,Circular_Column,Bridge_Deck)
VALUE: Rectangular_Column
DEPENDENCIES: (Rectangular_Column,RESTORE,Core_material,#CURRENT#,RESTORE,Cover_material,#CURRENT#,RESTORE,Reinforcing_bar_material,#CURRENT#,HIDE,Width_bf,#CURRENT#,HIDE,Bottom_beam_bar_area,#CURRENT#,HIDE,Bottom_beam_bar_size,#CURRENT#,HIDE,Bottom_beam_bars,#CURRENT#,HIDE,Slab_bar_area,#CURRENT#,HIDE,Top_beam_bar_area,#CURRENT#,HIDE,Web_width_bw,#CURRENT#,HIDE,Slab_thickness_hf,#CURRENT#,HIDE,Top_beam_bars,#CURRENT#,HIDE,Slab_bars,#CURRENT#,HIDE,Slab_bar_size,#CURRENT#,HIDE,Top_beam_bar_size,#CURRENT#,HIDE,Top_bars,#CURRENT#,HIDE,Bottom_bars,#CURRENT#,HIDE,Top_bar_size,#CURRENT#,HIDE,Bottom_bar_size,#CURRENT#,HIDE,Top_bar_area,#CURRENT#,HIDE,Bottom_bar_area,#CURRENT#,HIDE,Bar_area,#CURRENT#,RESTORE,Height_h,#CURRENT#,RESTORE,Width_b,#CURRENT#,HIDE,Diameter_d,#CURRENT#,HIDE,Bars_along_arc,#CURRENT#,HIDE,Bar_size,#CURRENT#,HIDE,Fibers_in_the_circumferential_direction,#CURRENT#,HIDE,Fibers_in_the_radial_direction,#CURRENT#,RESTORE,Bars_along_z_axis_face,#CURRENT#,RESTORE,Bars_along_y_axis_face,#CURRENT#,RESTORE,Corner_bar_size,#CURRENT#,RESTORE,Middle_bar_size,#CURRENT#,RESTORE,Corner_bar_area,#CURRENT#,RESTORE,Middle_bar_area,#CURRENT#,RESTORE,Fibers_in_local_z_direction,#CURRENT#,RESTORE,Fibers_in_local_y_direction,#CURRENT#,HIDE,Top_slab_width_wt,#CURRENT#,HIDE,Bottom_slab_width_wb,#CURRENT#,HIDE,Top_slab_thickness_ts1,#CURRENT#,HIDE,Bottom_slab_thickness_ts2,#CURRENT#,HIDE,Height_hv,#CURRENT#,HIDE,External_web_thickness_tw,#CURRENT#,HIDE,Include_additional_part,#CURRENT#,HIDE,Solid_Section,#CURRENT#,HIDE,Bars_on_top_layer_of_top_slab,#CURRENT#,HIDE,Bars_on_bottom_layer_of_top_slab,#CURRENT#,HIDE,Bars_on_top_layer_of_bottom_slab,#CURRENT#,HIDE,Bars_on_bottom_layer_of_bottom_slab,#CURRENT#,HIDE,Bars_along_beam_height,#CURRENT#,HIDE,Bars_along_beam_width,#CURRENT#,HIDE,Top_slab_bar_size,#CURRENT#,HIDE,Bottom_slab_bar_size,#CURRENT#,HIDE,Top_slab_bar_area,#CURRENT#,HIDE,Bottom_slab_bar_area,#CURRENT#,HIDE,Fibers_along_top_slab_width,#CURRENT#,HIDE,Fibers_along_top_slab_thickness,#CURRENT#,HIDE,Fibers_along_bottom_slab_width,#CURRENT#,HIDE,Fibers_along_bottom_slab_thickness,#CURRENT#,HIDE,Fibers_along_external_web_thickness,#CURRENT#,HIDE,Fibers_along_internal_web_thickness,#CURRENT#,HIDE,Fibers_along_web_height,#CURRENT#,HIDE,Main_section_material,#CURRENT#,HIDE,Top_slab_reinforcing_bar_material,#CURRENT#,HIDE,Bottom_slab_reinforcing_bar_material,#CURRENT#)
Expand Down Expand Up @@ -1572,10 +1573,10 @@ QUESTION: Compatible_materials:#CB#(_)
VALUE: Concrete uniaxial materials/InitStrain/InitStress/Steel uniaxial materials
TKWIDGET: TK_SectionWikiInfo
TITLE: Section_properties
QUESTION: _#CB#(Hover_for_local_axes_info)
VALUE: Hover for local axes info
STATE: DISABLED
HELP: LOCAL AXES INFO\n\nThe local-x longitudinal axis is always specified by the positive element direction (View -> Normals -> Lines)\nShown in figure are the element transverse local-y and local-z axes\n\nIN A 2D PROBLEM :\n\nHeight refers to the local-y axis\nWidth refers to the local-z axis\n\nLocal-x axis coincides with the element positive direction\nLocal-z axis coincides with the global Z axis direction\nLocal-y axis is found by the right hand rule\n\nIN A 3D PROBLEM :\n\nVERTICAL axis is user-specified (Y or Z) in Modeling Options\n\nHeight refers to the local-z axis\nWidth refers to the local-y axis\n\nFor a horizontal element :\nLocal-x axis coincides with the element positive direction\nLocal-z coincides with the direction of the defined VERTICAL axis (global Y or Z)\nLocal-y axis is found by the right hand rule\n\nFor a vertical element :\nLocal-x axis coincides with the element positive direction\nLocal-z positive direction coincides with the global X axis negative direction\nLocal-y axis is found by the right hand rule\n\nFor an oblique element :\nVector Vecxz has the direction of the defined VERTICAL axis (global Y or Z)\nLocal-x axis direction (Vx) coincides with the element positive direction\nLocal-y axis direction (Vy) is found by the cross product Vy = Vecxz x Vx\nLocal-z axis direction (Vz) is found by the cross product Vz = Vx x Vy
QUESTION: _#CB#(_)
VALUE:
STATE: HIDDEN
TKWIDGET: TK_LocalAxesInfo
QUESTION: Left_subsection(-y_direction):#CB#(_)
VALUE:
TKWIDGET: FiberInt::CheckFieldValues
Expand Down Expand Up @@ -1774,10 +1775,10 @@ QUESTION: Material#MAT#(Multidimensional_(nD)_Materials)
VALUE: Elastic_Isotropic
TKWIDGET: EBC::CheckMaterial
TITLE: Section_properties
QUESTION: _#CB#(Hover_for_local_axes_info)
VALUE: Hover for local axes info
STATE: DISABLED
HELP: LOCAL AXES INFO\n\nThe local-x longitudinal axis is always specified by the positive element direction (View -> Normals -> Lines)\nShown in figure are the element transverse local-y and local-z axes\n\nIN A 2D PROBLEM :\n\nHeight refers to the local-y axis\nWidth refers to the local-z axis\n\nLocal-x axis coincides with the element positive direction\nLocal-z axis coincides with the global Z axis direction\nLocal-y axis is found by the right hand rule\n\nIN A 3D PROBLEM :\n\nVERTICAL axis is user-specified (Y or Z) in Modeling Options\n\nHeight refers to the local-z axis\nWidth refers to the local-y axis\n\nFor a horizontal element :\nLocal-x axis coincides with the element positive direction\nLocal-z coincides with the direction of the defined VERTICAL axis (global Y or Z)\nLocal-y axis is found by the right hand rule\n\nFor a vertical element :\nLocal-x axis coincides with the element positive direction\nLocal-z positive direction coincides with the global X axis negative direction\nLocal-y axis is found by the right hand rule\n\nFor an oblique element :\nVector Vecxz has the direction of the defined VERTICAL axis (global Y or Z)\nLocal-x axis direction (Vx) coincides with the element positive direction\nLocal-y axis direction (Vy) is found by the cross product Vy = Vecxz x Vx\nLocal-z axis direction (Vz) is found by the cross product Vz = Vx x Vy
QUESTION: _#CB#(_)
VALUE:
STATE: HIDDEN
TKWIDGET: TK_LocalAxesInfo
QUESTION: Cross_section#CB#(Rectangular,Tee,Circular,General)
VALUE: Rectangular
DEPENDENCIES: (Rectangular,RESTORE,Height_h,#CURRENT#,RESTORE,Width_B,#CURRENT#,HIDE,Diameter_d,#CURRENT#,HIDE,Height_hf,#CURRENT#,HIDE,Width_bf,#CURRENT#,HIDE,Width_bw,#CURRENT#,HIDE,Area_A,#CURRENT#,HIDE,Moment_of_inertia_about_local-y_Iyy,#CURRENT#,HIDE,Moment_of_inertia_about_local-z_Izz,#CURRENT#,HIDE,Torsional_moment_of_inertia_Iyz,#CURRENT#)
Expand Down Expand Up @@ -1843,10 +1844,10 @@ QUESTION: Material#MAT#(Multidimensional_(nD)_Materials)
VALUE: Elastic_Isotropic
TKWIDGET: EBC::CheckMaterial
TITLE: Section_properties
QUESTION: _#CB#(Hover_for_local_axes_info)
VALUE: Hover for local axes info
STATE: DISABLED
HELP: LOCAL AXES INFO\n\nThe local-x longitudinal axis is always specified by the positive element direction (View -> Normals -> Lines)\nShown in figure are the element transverse local-y and local-z axes\n\nIN A 2D PROBLEM :\n\nHeight refers to the local-y axis\nWidth refers to the local-z axis\n\nLocal-x axis coincides with the element positive direction\nLocal-z axis coincides with the global Z axis direction\nLocal-y axis is found by the right hand rule\n\nIN A 3D PROBLEM :\n\nVERTICAL axis is user-specified (Y or Z) in Modeling Options\n\nHeight refers to the local-z axis\nWidth refers to the local-y axis\n\nFor a horizontal element :\nLocal-x axis coincides with the element positive direction\nLocal-z coincides with the direction of the defined VERTICAL axis (global Y or Z)\nLocal-y axis is found by the right hand rule\n\nFor a vertical element :\nLocal-x axis coincides with the element positive direction\nLocal-z positive direction coincides with the global X axis negative direction\nLocal-y axis is found by the right hand rule\n\nFor an oblique element :\nVector Vecxz has the direction of the defined VERTICAL axis (global Y or Z)\nLocal-x axis direction (Vx) coincides with the element positive direction\nLocal-y axis direction (Vy) is found by the cross product Vy = Vecxz x Vx\nLocal-z axis direction (Vz) is found by the cross product Vz = Vx x Vy
QUESTION: _#CB#(_)
VALUE:
STATE: HIDDEN
TKWIDGET: TK_LocalAxesInfo
QUESTION: Cross_section#CB#(Rectangular,Tee,Circular,General)
VALUE: Rectangular
DEPENDENCIES: (Rectangular,RESTORE,Height_h,#CURRENT#,RESTORE,Width_B,#CURRENT#,HIDE,Diameter_d,#CURRENT#,HIDE,Height_hf,#CURRENT#,HIDE,Width_bf,#CURRENT#,HIDE,Width_bw,#CURRENT#,HIDE,Area_A,#CURRENT#,HIDE,Moment_of_inertia_about_local-y_Iyy,#CURRENT#,HIDE,Moment_of_inertia_about_local-z_Izz,#CURRENT#,HIDE,Torsional_moment_of_inertia_Iyz,#CURRENT#)
Expand Down

0 comments on commit ed4cf8a

Please sign in to comment.