/PREP7/TITLE,HARMONICRESPONSEOFASPRING-MASSSYSTEMANTYPE,MODAL!定义分析类型MODOPT,REDUC,2,,,2!打印前两阶模态形状ET,1,COMBIN40,,,2!定义单元R,1,6,,2!定义实常数R,2,16,,2!定义实常数N,1N,2,0,1N,3,0,2REAL,1E,1,2REAL,2E,2,3M,1,UY,2!定义主自由度OUTPR,,ALLD,3,ALLFINISH/SOLUSOLVEFINISH/SOLUANTYPE,HARMIC!谐响应分析HROPT,MSUP,2!模态叠加法HARFRQ,0.1,1.0!频率变化范围为0.1~1.0F,1,FY,50KBC,1!阶跃边界和载荷NSUBST,50OUTPR,,NONEOUTRES,,1SOLVEFINISH/POST26FILE,,rfrq!读入数据文件NSOL,2,1,U,Y,UY1NSOL,3,2,U,Y,UY2/GRID,1/AXLAB,Y,DISPPLVAR,2,3!显示变量PRVAR,2,3FINISH