Template Input Data file for Frame3DD - 3D structural frame analysis (N,mm,ton)

# this template indicates units of Newton, millimeter, and tonne
# other units may be specified as desired      


# node data ...

*npoin                 # number of nodes

#.node       X-coord  Y-coord  Z-coord  radius 
*set elems(all)
*loop nodes
*format "%5i%14.5e%14.5e%14.5e"
*NodesNum *NodesCoord(1) *NodesCoord(2) *NodesCoord(3)      0
*end nodes


# reaction data ...
*set Cond Fixed-Displacement *Nodes
*set var FD=CondNumEntities
*set Cond Prescribed-Displacement *Nodes
*set var ID=CondNumEntities
*operation(FD+ID)                           # number of nodes with reactions

#.node    X      Y      Z       XX      YY      ZZ       0:free, 1:fixed
*set Cond Fixed-Displacement *Nodes
*loop Nodes *OnlyInCond
*format "%5i%5i%5i%5i%5i%5i%5i"
*NodesNum *Cond(X-Fixed) *Cond(Y-Fixed) *Cond(Z-Fixed) *Cond(X-Rotation) *Cond(Y-Rotation) *Cond(Z-Rotation)
*end Nodes

*set Cond Prescribed-Displacement *Nodes
*loop Nodes *OnlyInCond
*for(i=1;i<=CondNumFields;i=i+1)
	*if(Cond(i,real)==0)
	*set var n_Pre_Disp(*i)=0
	*else
	*set var n_Pre_Disp(*i)=1
	*end
*end for
*format "%5i%5i%5i%5i%5i%5i%5i"
*NodesNum *n_Pre_Disp(1) *n_Pre_Disp(2) *n_Pre_Disp(3) *n_Pre_Disp(4) *n_Pre_Disp(5) 
*end nodes


# frame element data ...
*nelem                        # number of frame elements 
#.elmnt n1     n2    Ax     Asy     Asz     Jx     Iy     Iz     E     G     roll  density
#       .      .     mm^2   mm^2    mm^2    mm^4   mm^4   mm^4   MPa   MPa   deg   tonne/mm^3
*set elems(all)
*loop elems
*format "%5i%5i%5i%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e"
*ElemsNum *ElemsConec(1) *ElemsConec(2) *ElemsMatProp(1) *ElemsMatProp(2) *ElemsMatProp(3) *ElemsMatProp(4) *ElemsMatProp(5) *ElemsMatProp(6) *ElemsMatProp(7) *ElemsMatProp(8) *ElemsMatProp(9) *ElemsMatProp(10)
*end elems

*format "%5i"
*GenData(3)        	# 1=Do, 0=Don't include shear deformation effects
*format "%5i"
*GenData(4)        	# 1=Do, 0=Don't include geometric stiffness effects
*format "%5d"
*GenData(5)  		# exaggeration factor for static mesh deformations
*format "%5d"
*GenData(6)        	# zoom scale for 3D plotting
*format "%5d"
*GenData(7)        	# length of x-axis increment for frame element internal force data, mm
					# if dx is -1 then internal force calculations are skipped


# load data ...

*nintervals                        # number of static load cases,  1..30
*loop intervals
# Begin Static Load Case *loopvar

# gravitational acceleration for self-weight loading, mm/s^2 (global)
#   gX         gY         gZ
#   mm/s^2     mm/s^2     mm/s^2
*format "%5i%14.5e%5i"
*GenData(8)         *GenData(9)       *GenData(10)   

#Point-Load
*set Cond Nodal-Load *Nodes
*CondNumEntities                   # number of loaded nodes (global)
#.node  X-load   Y-load   Z-load   X-mom     Y-mom     Z-mom
#         N        N        N        N.mm      N.mm      N.mm
*loop Nodes *OnlyInCond  
*format "%5i%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e"
*NodesNum *Cond(1) *Cond(2) *Cond(3) *Cond(4) *Cond(5) *Cond(6)
*end nodes

#Distributed-Load
*set Cond Distributed-Load *elements
*CondNumEntities                   # number of uniformly-distributed element loads (local)
#.elmnt  X-load   Y-load   Z-load   uniform member loads in member coordinates
#         N/mm     N/mm     N/mm
*loop elems *OnlyInCond  
*format "%5i%14.5e%14.5e%14.5e"
*ElemsNum *Cond(1) *Cond(2) *Cond(3) 
*end elems

0                   # number of trapezoidally-distributed element loads (local)
#       start    stop     start    stop
#.elmnt loc'n    loc'n    load     load
#       mm       mm       N/mm     N/mm

0                   # number of concentrated interior point loads (local)
#.elmnt  X-load   Y-load   Z-load    x-loc'n  point loads in member coordinates 

#Thermal-Load
*set Cond Thermal-Load *elements
*CondNumEntities                     # number of frame elements with temperature changes (local)
#.elmnt   coef.  y-depth  z-depth  deltaTy+  deltaTy-  deltaTz+  deltaTz-
#         /deg.C  mm       mm       deg.C     deg.C     deg.C     deg.C
*loop elems *OnlyInCond  
*format "%5i%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e"
*ElemsNum *Cond(1) *Cond(2) *Cond(3) *Cond(4) *Cond(5) *Cond(6) *Cond(7) 
*end elems


#Prescribed-Displacement
*set Cond Prescribed-Displacement *Nodes
*CondNumEntities                   # number of prescribed displacements nD<=nR (global)
#.node   X-displ  Y-displ  Z-displ  X-rot'n   Y-rot'n   Z-rot'n
#         mm       mm       mm       radian    radian    radian
*loop Nodes *OnlyInCond  
*format "%5i%14.5e%14.5e%14.5e%14.5e%14.5e%14.5e"
*NodesNum *Cond(1) *Cond(2) *Cond(3) *Cond(4) *Cond(5) *Cond(6)
*end nodes

# End Static Load Case *loopvar

*end intervals

# repeat up to 30 static load cases


