solve !solve load step 2
!boundary conditions for load step 3
!60° clockwise rotation at node 1 about x-axis (from load step 1)
d,1,rotx,-pi/6.0
!y-component of 90° counterclockwise rotation at node 1 about local z-axis (from load step 2)
!and y-component of 90° counterclockwise rotation at node 1 about local x-axis
d,1,roty,(pi/2.0)*sin(pi/6.0)+(pi/2.0)*cos(pi/6.0)
!z-component of 90° counterclockwise rotation at node 1 about local z-axis (from load step 2)
!and z-component of 90° counterclockwise rotation at node 1 about local x-axis
d,1,rotz,(pi/2.0)*cos(pi/6.0)-(pi/2.0)*sin(pi/6.0)
time,3.0! time at the end of load step 3
nsub,10,100,10
outres,all,all
solve !solve load step 3
finish
/post26 !time-history postprocessor
nsol,2,1,rot,x,rotx1 !store results for rotation about x-axis at node 1
nsol,3,1,rot,y,roty1 !store results for rotation about y-axis at node 1
nsol,4,1,rot,z,rotz1 !store results for rotation about z-axis at node 1
nsol,5,2,u,x,ux2 !store results for x-displacement at node 2
nsol,6,2,u,y,uy2 !store results for y-displacement at node 2
nsol,7,2,u,z,uz2 !store results for z-displacement at node 2
prvar,2,3,4 !print results
prvar,5,6,7
finish
The following input illustrat es compound rotational velocities imposed over multiple load steps with
each component applied sequentially. The difference between imposing rotations and rotational velo-
cities should be noted.
Example 2: Sequentially Applied Rotational Velocities
/prep7
!parameters
pi=3.1415926536
!element type definitions
et,1,188 !beam element
!node definitions
n,1,0.,0.,0.
n,2,0.,0.,0.6
!material properties
mp,ex,1,2.01e11 !young's modulus for steel
mp,nuxy,1,0.3 !poisson's ratio
!section properties
sectype,1,beam,rect
secdata,0.1,0.2 !beam cross-section
!element definitions
type,1
mat,1
real,1
secnum,1
en,1,1,2
finish
/solu !solution
nlgeom,on !geometrically nonlinear analysis
kbc,1 !step applied load/boundary condition
!boundary conditions for load step 1
d,1,ux,0.0 !displacement at node 1 fixed in x-direction
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
Sample Inputs for Imposed Rotations