Getting Started With OpenSees - Summary of Model-Building Input File - OpenSeesWiki
Getting Started With OpenSees - Summary of Model-Building Input File - OpenSeesWiki
The following is a compilation of all the commands necessary to build the model:
# bondary conditions:
fix 1 1 1 1
fix 2 1 1 1
fix 3 0 0 0
fix 4 0 0 0
# nodal masses:
mass 3 5.18 0. 0.
mass 4 5.18 0. 0.
# transformation:
geomTransf Linear 1
# element connectivity:
element elasticBeamColumn 1 1 3 3600 4227 1080000 1
element elasticBeamColumn 2 2 4 3600 4227 1080000 1
element elasticBeamColumn 3 3 4 5760 4227 4423680 1
# recorders
recorder Node -file Node3.out -time -node 3 -dof 1 2 disp
recorder Element -file Element1.out -time -ele 1 force
The above commands can be input line by line at the OpenSees command prompt:
Otherwise, they can be saved into an input file called example.tcl. This file can then be sourced in from the OpenSees command line:
https://opensees.berkeley.edu/wiki/index.php?title=Getting_Started_with_OpenSees_--_Summary_of_Model-Building_Input_File 1/2
1/9/25, 1:52 PM Getting Started with OpenSees -- Summary of Model-Building Input File - OpenSeesWiki
https://opensees.berkeley.edu/wiki/index.php?title=Getting_Started_with_OpenSees_--_Summary_of_Model-Building_Input_File 2/2