VM203 Input Listing


/COM,ANSYS MEDIA REL. 2024R2 (05/10/2024) REF. VERIF. MANUAL: REL. 2024R2
/VERIFY,VM203   
/PREP7
/TITLE, VM203, DYNAMIC LOAD EFFECT ON SIMPLY-SUPPORTED THICK SQUARE PLATE
/COM REFERENCE: NAFEMS FORCED VIBRATION BENCHMARKS, TEST 21R
C***          USING SHELL281 ELEMENTS
ET,1,SHELL281	           ! DEFINE ELEMENT TYPE
SECTYPE,1,SHELL
SECDATA,1,1,0,5		     ! THICKNESS
MP,EX,1,200E9                ! DEFINE MATERIAL PROPERTIES
MP,NUXY,1,0.3
MP,ALPX,1,0.1E-5
MP,DENS,1,8000
N,1,0,0,0                    ! DEFINE MODEL
N,9,0,10,0
FILL
NGEN,5,40,1,9,1,2.5
N,21,1.25,0,0
N,29,1.25,10,0
FILL,21,29,3
NGEN,4,40,21,29,2,2.5
EN,1,1,41,43,3,21,42,23,2
EGEN,4,2,1
EGEN,4,40,1,4
FINISH
/SOLU
ANTYPE,MODAL                 ! DEFINE ANALYSIS TYPE AS MODAL VIBRATION
MODOPT,LANPCG,2
MXPAND,2,,,YES
SFE,ALL,,PRES,,-1E6          ! PRESS LOAD OF 1000,000 N/M**2
D,ALL,UX,0,,,,UY,ROTZ        ! APPLY CONSTRAINTS
D,1,UZ,0,0,9,1,ROTX
D,161,UZ,0,0,169,1,ROTX
D,1,UZ,0,0,161,20,ROTY
D,9,UZ,0,0,169,20,ROTY
SOLVE
*GET,F,MODE,1,FREQ
FINISH
/SOLU
/TITLE, VM203, RANDOM VIBRATION , RESPONSE TO UNIFORM PSD FORCE
ANTYPE,SPECTR                 ! DEFINE ANALYSIS TYPE
SPOPT,PSD,2,ON                ! USE FIRST 2 MODES, CALC ELEM. STRESSES
PSDUNIT,1,PRES                ! DEFINE TYPE OF PSD AS A PRESSURE SPECTRUM 
DMPRAT,0.02
PSDFRQ,1,1,1.0,80.0
PSDVAL,1,1.0,1.0              ! IN (N/m**2)**2/HZ
SFEDELE,ALL,,PRES,,
LVSCALE,1                     ! USE AND SCALE THE LOAD VECTOR GENERATED AT MODAL ANALYSIS
PFACT,1,NODE
PSDRES,DISP,REL
PSDCOM
SOLVE
FINISH
/POST1
SET,3,1                       ! ONE SIGMA DISPLACEMENT SOLUTION RESULTS
/VIEW,1,2,3,4
PLNSOL,U,Z
PRNSOL,U,Z
L2=NODE(2,8,0)  
*GET,SIGEL2,NODE,L2,S,EQV   
NSEL,,NODE,,L2
PRNSOL,S,COMP
NSEL,ALL
FINISH
/POST26
STORE,PSD,2
NSOL,2,85,U,Z
RPSD,3,2,,1,2,RPSD_UZ
PRVAR,2,3
EXTREM,2,3
*GET,P,VARI,3,EXTREM,VMAX
/AXLAB,Y,RPSD  (M^2/HZ)
/XRANGE,0,80
/GRID,OFF
/SHOW,,PNG
PLVAR,3
/SHOW,CLOSE
FINISH
*DIM,LABEL,CHAR,2,2
*DIM,VALUE,,2,3
LABEL(1,1) = 'f ','RPSD '
LABEL(1,2) = 'Hz','m^2/Hz'
*VFILL,VALUE(1,1),DATA,45.9,3.4018E-3
*VFILL,VALUE(1,2),DATA,F,P
*VFILL,VALUE(1,3),DATA,ABS(F/45.9),ABS(P/(3.4018E-3))
FINISH
SAVE,TABLE_1
/NOPR
/COM
/OUT,vm203,vrt
/COM,------------------- VM203 RESULTS COMPARISON --------------
/COM,
/COM,                 |   TARGET   |   Mechanical APDL   |   RATIO
/COM,
/COM, SHELL281
/COM,
*VWRITE,LABEL(1,1),LABEL(1,2),VALUE(1,1),VALUE(1,2),VALUE(1,3)
(1X,A8,A8,'   ',F11.6,'  ',F15.6,'   ',1F16.3)
/COM,
/COM,
/COM,-----------------------------------------------------------
/COM,
/OUT
FINISH
*LIST,vm203,vrt
/DELETE,TABLE_1