*HEADING TEST OF *BOUNDARY OPTIONS IN MULTIPLE NONLINEAR STEPS XBCTYPE THE VALUES OF THE PRESCRIBED BOUNDARY CONDITIONS ARE TO BE CHECKED FROM THIS ANALYSIS TO VERIFY THE USE OF *BOUNDARY IN MULTIPLE STEPS. *NODE 1 , 0. , 0. 10 ,100. , 0. *NGEN,NSET=ALL 1 , 10 *ELEMENT,TYPE=B21 1 , 1 , 2 *ELGEN,ELSET=BEAMS 1 , 9 *BEAM SECTION,SECTION=RECT,ELSET=BEAMS,MATERIAL=MBEAM 1. , 2. *MATERIAL,NAME=MBEAM *ELASTIC 30.E6, *DENSITY 7.5E-4, ** SPECIFY SINUSOIDAL AMPLITUDE FUNCTIONS [f(t)=3.0 + 2.0 COS (5t)] ** FIRST IS BASED ON STEP TIME, SECOND IS BASED ON TOTAL ACCUMULATED TIME *AMPLITUDE,TIME=TOTAL,NAME=AMPTOTAL,DEFINITION=PERIODIC 1,5.,0.,3. 2., *AMPLITUDE,TIME=STEP,NAME=AMPSTEP,DEFINITION=PERIODIC 1,5.,0.,3. 2., *NSET,NSET=FIXEND 10, ** SET BOUNDARY CONDITIONS IN MODEL DATA *BOUNDARY FIXEND,ENCASTRE ** DEFINE INITIAL VELOCITIES *INITIAL CONDITIONS,TYPE=VELOCITY 6,1,-100.0 6,2, 100.0 7,1, 50.0 ** DEFINE USER SUBROUTINE -- DISP ************************************************************************ ************************************************************************ ** ** DESCRIPTIONS OF THE INDIVIDUAL BOUNDARY CONDITION SPECIFICATIONS AND ** WHAT THEY ARE SET UP TO TEST: ** ** NODE 1,DOF 1: CONSTANT VELOCITY IN STEP 1, RAMPED LINEARLY IN STEP 2, ** VARIES WITH USER DEFINED AMPLITUDE IN STEP 3. ** NODE 1,DOF 2: CONSTANT ACCELERATION IN STEP 1, RAMPED LINEARLY IN STEP 2, ** VARIES WITH USER DEFINED AMPLITUDE IN STEP 3. ** NODE 1,DOF 6: CONSTANT ACCELERATION IN STEP 1, RAMPED LINEARLY IN STEP 2, ** VARIES WITH USER DEFINED AMPLITUDE IN STEP 3. ** NODE 2,DOF 1: LINEAR DISPLACEMENT IN STEP 1, RAMPED LINEARLY IN STEP 2, ** VARIES WITH USER DEFINED AMPLITUDE IN STEP 3. ** NODE 2,DOF 2: UNRESTRAINED IN STEP 1, VELOCITY RAMPED LINEARLY IN STEP 2 ** FROM VALUE AT END OF STEP 1, CONSTANT IN STEP 3. ** NODE 2,DOF 6: LINEAR DISPLACEMENT IN STEP 1, RAMPED LINEARLY IN STEP 2, ** VARIES WITH USER DEFINED AMPLITUDE IN STEP 3. ** NODE 3,DOF 1: UNRESTRAINED IN STEP 1, ACCELERATION RAMPED LINEARLY IN ** STEP 2 FROM VALUE AT END OF STEP 1, CONSTANT IN STEP 3. ** NODE 3,DOF 2: LINEAR DISPLACEMENT IN STEP 1, VELOCITY RAMPED LINEARLY IN ** STEP 2 FROM VALUE AT END OF STEP 1, ACCELERATION ** VARIES WITH USER AMPLITUDE IN STEP 3. ** NODE 3,DOF 6: LINEAR DISPLACEMENT IN STEP 1, VELOCITY RAMPED LINEARLY IN ** STEP 2 FROM VALUE AT END OF STEP 1, ACCELERATION ** VARIES WITH USER AMPLITUDE IN STEP 3. ** NODE 4,DOF 1: CONSTANT VELOCITY IN STEP 1, ACCELERATION VARIES WITH ** USER AMPLITUDE IN STEP 2, DISPLACEMENT RAMPED LINEARLY IN ** STEP 3. ** NODE 4,DOF 2: ACCELERATION VARIES WITH USER AMPLITUDE IN STEP 1, ** DISPLACEMENT FIXED IN STEP 2, VELOCITY RAMPED LINEARLY IN ** STEP 3. ** NODE 5,DOF 1: UNRESTRAINED IN STEP 1, DISPLACEMENT FIXED IN STEP 2, ** ACCELERATION VARIES WITH USER AMPLITUDE IN STEP 3. ** NODE 5,DOF 2: ACCELERATION VARIES WITH USER AMPLITUDE IN STEP 1, ** NOT REDEFINED IN STEPS 2 OR 3, SHOULD MAINTAIN USER AMPLITUDE ** VARIATION. ** NODE 6,DOF 1: UNRESTRAINED IN STEP 1 (INITIAL VELOCITY), USER SUBROUTINE ** DEFINED IN STEP 2, DISPLACEMENT FIXED IN STEP 3. ** NODE 6,DOF 2: ACCELERATION CONSTANT IN STEP 1 (ALSO INITIAL VELOCITY), ** VELOCITY RAMPED LINEARLY IN STEP 2, USER SUBROUTINE IN STEP 3. ** NODE 7,DOF 1: USER SUBROUTINE IN STEP 1 (CHECKS IF INITIAL VELOCITIES ** ARE INCORPORATED), NOT REDEFINED IN STEPS 2 AND 3. ** NODE 7,DOF 2: USER SUB AND USER AMPLITUDE SPECIFIED IN STEP 1. IT IS NOT ** REDEFINED IN STEPS 2 OR 3. IT SHOULD MAINTAIN USER ** SUBROUTINE VARIATION. ** NODE 8, ALL : UNRESTRAINED IN STEPS 1 AND 2 AND FIXED IN STEP 3. ** NODE 9,DOF 1: LINEAR DISPLACEMENT IN STEP 1, LINEAR VELOCITY IN STEP 2. ** FIXED IN STEP 3. ** NODE 9,REST : UNRESTRAINED IN STEPS 1 AND 2. FIXED IN STEP 3. ** NODE 13,ALL : ENCASTRE IN MODEL DEFINITIONS. ** ** ** ************************************************************************ ************************************************************************ ** ** FIRST STEP WILL USE THE DEFAULT AMPLITUDE DEFINITIONS ** ************************************************************************ *STEP,INC=20 STEP 1 *DYNAMIC 0.1,.6 *BOUNDARY,TYPE=VELOCITY 1,1,1,6. *BOUNDARY,TYPE=ACCELERATION 1,2,2,60. *BOUNDARY,TYPE=ACCELERATION 1,6,6,60. *BOUNDARY 2,1,1,.6 *BOUNDARY 2,6,6,.6 *BOUNDARY,TYPE=DISP 3,2,2,5. *BOUNDARY,TYPE=DISP 3,6,6,5. *BOUNDARY,TYPE=VELOCITY 4,1,1,15. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 4,2,2,10. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPTOTAL 5,2,2,10. *BOUNDARY,TYPE=ACCELERATION 6,2,2,0. *BOUNDARY,USER 7,1,1,20. *BOUNDARY,USER,AMP=AMPTOTAL 7,2,2,20. *BOUNDARY,TYPE=DISP 9,1,1,5. *EL PRINT,FREQ=0 *PRINT,RESIDUAL=NO *NODE PRINT,FREQ=10 U,V,A *NODE FILE,FREQ=3,NSET=ALL U,V,A *END STEP ************************************************************************ ** ** SECOND STEP WILL USE THE AMP=RAMP DEFINITION ** ************************************************************************ *STEP,AMP=RAMP,INC=20 STEP 2 *DYNAMIC 0.1,1. *BOUNDARY,TYPE=VELOCITY 1,1,1,-20. *BOUNDARY,TYPE=ACCELERATION 1,2,2,100. *BOUNDARY,TYPE=ACCELERATION 1,6,6,100. *BOUNDARY 2,1,1,1. *BOUNDARY,TYPE=VELOCITY 2,2,2,1.E4 *BOUNDARY 2,6,6,1. *BOUNDARY,TYPE=ACCELERATION 3,1,1,-150. *BOUNDARY,TYPE=VELOCITY 3,2,2,10. *BOUNDARY,TYPE=VELOCITY 3,6,6,10. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 4,1,1,10. *BOUNDARY,FIXED 4,2,2,99. *BOUNDARY,FIXED 5,1,1 *BOUNDARY,USER 6,1,1,200. *BOUNDARY,TYPE=VELOCITY 6,2,2,0. *BOUNDARY,TYPE=VELOCITY 9,1,1,10. *END STEP ************************************************************************ ** ** THIRD STEP WILL USE THE AMP=RAMP DEFINITION ** ************************************************************************ *STEP,AMP=RAMP,INC=20 STEP 3 *DYNAMIC 0.1,1.4 *BOUNDARY,TYPE=VELOCITY,AMP=AMPSTEP 1,1,1,-10. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 1,2,2,5. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 1,6,6,5. *BOUNDARY,AMP=AMPSTEP 2,1,1,.2 *BOUNDARY,AMP=AMPSTEP 2,6,6,.2 *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 3,2,2,-1. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 3,6,6,-1. *BOUNDARY,TYPE=DISPLACEMENT 4,1,1,10. *BOUNDARY,TYPE=VELOCITY 4,2,2,50. *BOUNDARY,TYPE=ACCELERATION,AMP=AMPSTEP 5,1,1,2. *BOUNDARY,FIXED 6,1,1,2. *BOUNDARY,USER 6,2,2,10. *BOUNDARY 8,1,6 9,1,6 *END STEP