ANSYS桩土分析命令流FINISH/CLEAR/COM,ANSYSRELEASERelease16.0BUILD16.0UP2014120323:43:23/input,start160,ans,'F:\ansys16.0\ANSYSInc\v160\ANSYS\apdl\'/FILENAME,PY/TITLE,PYFORSANDCYCLCIC!定义环境荷载参数*SET,DWATER,25!水深*SET,HWAVE,4!波高*SET,TWAVE,10.4!波周期!定义管桩常数*SET,OD,1.0!外径*SET,TW,0.14!壁厚*SET,CD,1.0*SET,CM,2.0/prep7ET,1,PIPE16!定义泥面以下单元类型ET,2,PIPE59!定义泥面以上单元类型ET,3,COMBIN39!定义弹簧单元R,1,OD,TW!定义PIPE16实常数R,2,OD,TW,CD,CM,1030,0!定义PIPE59单元类型!以下定义3~23号实常数,针对COMBIN39单元R,3,0,0,0.001,7.63,0.002,12,92!一次只能定义三组数据,再多定义需要RMORE命令RMORE,0.003,15.74,0.004,17.03,0.005,17.58,RMORE,0.006,17.81,0.007,17.90,0.008,17.94RMORE,0.009,17.96,0.02,17.97,0.5,17.97R,4,0,0,0.001,15.61,0.002,27.89!一次只能定义三组数据,再多定义需要RMORE命令RMORE,0.003,35.83,0.004,40.35,0.005,42.74RMORE,0.006,43.95,0.007,44.54,0.008,44.84RMORE,0.009,44.98,0.02,45.12,0.5,45.12R,5,0,0,0.001,23.72,0.002,43.73RMORE,0.003,58.33,0.004,67.89,0.005,73.72RMORE,0.006,77.11,0.007,79.04,0.008,80.12RMORE,0.009,80.72,0.02,81.45,0.5,45.12R,6,0,0,0.001,31.87,0.002,59.97RMORE,0.003,82.11,0.004,98.06,0.005,108.83RMORE,0.006,115.79,0.007,120.16,0.008,122.85RMORE,0.009,124.49,0.02,126.96,0.5,126.96R,7,0,0,0.001,40.04,0.002,76.37RMORE,0.003,106.55,0.004,129.81,0.005,146.74RMORE,0.006,158.56,0.007,166.56,0.008,171.88RMORE,0.009,175.35,0.02,181.63,0.5,181.63R,8,0,0,0.001,48.22,0.002,92.86RMORE,0.003,131.32,0.004,162.48,0.005,186.47RMORE,0.006,204.24,0.007,217.02,0.008,226.02RMORE,0.009,232.26,0.02,245.40,0.5,245.40R,9,0,0,0.001,56.39,0.002,109.36RMORE,0.003,156.27,0.004,196.68,0.005,227.36RMORE,0.006,251.94,0.007,270.49,0.008,284.19RMORE,0.009,294.15,0.020,318.15,0.5,318.15R,10,0,0,0.001,64.57,0.002,125.87RMORE,0.003,181.28,0.004,229.16,0.005,268.97RMORE,0.006,301.01,0.007,326.14,0.008,345.45RMORE,0.009,360.05,0.020,399.70,0.5,399.70R,11,0,0,0.001,72.74,0.002,142.38RMORE,0.003,206.31,0.004,262.78,0.005,311RMORE,0.006,350.99,0.007,383.35,0.008,409.04RMORE,0.009,429.11,0.02,489.8,0.5,489.8R,12,0,0,0.001,80.91,0.002,158.87RMORE,0.003,231.32,0.004,26.46,0.005,353.27RMORE,0.006,401.54,0.007,441.65,0.008,474.35RMORE,0.009,500.62,0.020,588.12,0.5,588.12!设置材料参数MP,EX,1,3.084e10MP,PRXY,1,0.3MP,DENS,1,900!设置环境荷载参数!定义波流荷载TBDE,WATE,1TB,WATE,1,,,0TBMODIF,1,1,2!斯托克斯五阶波TBMODIF,1,2,0!波流耦合方式TBMODIF,1,3,DWATER!水深TBMODIF,1,4,1030!海水密度TBMODIF,1,5,0!波浪作用方向TBMODIF,14,1,HWAVE!波高TBMODIF,14,2,TWAVE!周期TBMODIF,14,3,0!相位角!建立几何模型N,1,0,0,5N,26,0,0,-20FILL!泥面以上1m一个单元N,36,0,0,-25!泥面以下0.5m一个单元FILLN,37,1,0,-20.5N,46,1,0,-25FILL!泥面以下0.5m一个单元!分配PIPE59TYPE,2REAL,2MAT,1*DO,I,1,26,1E,I,I+1*ENDDO!泥面以上设置为PIPE59单元TYPE,1REAL,1MAT,1*DO,I,27,35,1E,I,I+1*ENDDO!泥面以下采用PIPE16TYPE,3*DO,I,3,12,1REAL,IE,I+24,I+34*ENDDO!设置弹簧单元NSEL,S,NODE,,36,46,1D,ALL,ALLALLSELD,1,UY,,,36,,UZ,ROTX,ROTZ!约束管单元除了UX方向和ROTY以外所有自由度ALLSELACEL,,,9.8FINISH/SOLANTYPE,MODAL!模态分析MODOPT,LANB,6MXPAND,6SOLVEFINISH/POST1SET,FIRSTSET,NEXTPLDISP,1