This example shows how to set up the geometry of the structure shown in the Figure.
These commands are typically placed at the beginning of the input file, after the header remarks.
# construct model builder using the model Command
wipe; # clear data from past analysis
model basic -ndm 3 -ndf 6; # modelbuilder: basic, ndm= no. dimensions, ndf= no.
# Define nodes ------ frame is in X-Y plane (X-horizontal, Y-vertical) using the node Command
node 1 0. 0. 0.; # base of left column
node 2 360. 0. 0.; # base of right columnn
node 3 0. 120. 0.; # top of left column
node 4 360. 120. 0.; # top of right columnn
# Define Boundary Conditions and nodal mass using the fix Command ! 1: restrained, 0: released
fix 1 1 1 1 1 1 1;
fix 2 1 1 1 1 1 1;
fix 3 0 1 1 1 1 0 -mass [expr 2000/2/386.4] 0. 0. 0. 0. 0.
fix 4 0 1 1 1 1 0
# define mass at node 4 using the mass Command:
mass 4 [expr 2000/2/32.2/12] 0. 0. 0. 0. 0.
# NOTE: The second command assigning the mass of a specific node will override any previous mass assignments to that node.