声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 8506|回复: 24

[前后处理] [求助]ANSYS拱坝建模命令流

[复制链接]
发表于 2006-4-18 21:32 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
请问哪位朋友有ANSYS拱坝建模命令流,谢谢!!!!!!!!!!!

本帖被以下淘专辑推荐:

回复
分享到:

使用道具 举报

发表于 2006-4-19 07:21 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

某砌石拱坝位于U型河谷中,坝高55.5m,为单曲等厚拱坝,顶宽5m,底宽16m,坝顶弧长115.65m,弧高比2.1。首先输入基本参数,自底向上生成坝体。

  1. !坐标系原点位于拱坝轴线与拱坝参考面的交点在坝基的投影,X轴指向右岸,Y轴指向下游,Z轴铅直向上
  2. !单位:长度-M,力-KN,加速度-M/S,密度-KN/M3
  3. !
  4. !
  5. FINI
  6. /CLEAR,START
  7. /FILNAME,ARCHDAM,1
  8. /PLOPTS,DATE,0
  9. /TRIAD,LBOT
  10. /VIEW,1,1,1,1
  11. /VUP,1,Z
  12. *AFUN,DEG
  13. Z_UP=53 !上游水位
  14. Z_DOWN=0 !下游水位
  15. Z_SAND=38 !泥沙淤积水位
  16. DENS_SAND=0.6 !淤积泥沙浮容重
  17. ANG_FRI=16 !淤积泥沙内摩擦角
  18. LAYER_NUM=8 ! 定义拱层数
  19. *DIM,ELEVATION,ARRAY,LAYER_NUM !定义拱圈高程
  20. *DIM,T_ARCH,ARRAY,LAYER_NUM !定义拱厚
  21. *DIM,ARCH_RAD,ARRAY,LAYER_NUM,2 !定义圆弧半径,上下游
  22. *DIM,RAD_CEN,ARRAY,LAYER_NUM !定义圆弧中心Y值
  23. *DIM,ARCH_ANGLE,ARRAY,LAYER_NUM,2 !定义圆弧左右中心角
  24. ELEVATION(1)=55.5,47,39,29,24,19,9,0 !拱圈高程
  25. H_DAM=ELEVATION(1)-ELEVATION(LAYER_NUM) !坝高
  26. T_ARCH(1)=5.00,6.68,8.27,10.25,11.24,12.23,14.22,16.00 !拱厚
  27. ARCH_RAD(1,1)=68.00,68.00,68.00,68.00,68.00,68.00,68.00,68.00 !外半径
  28. *VOPER,ARCH_RAD(1,2),ARCH_RAD(1,1),SUB,T_ARCH(1) !计算内半径
  29. RAD_CEN(1)=68.00,68.00,68.00,68.00,68.00,68.00,68.00,68.00 !圆心位置,Y坐标
  30. ARCH_ANGLE(1,1)=-47.72,-46.36,-45.06,-43.36,-41.88,-40.38,-37.32,-34.48 !左中心角
  31. ARCH_ANGLE(1,2)=49.73,47.13,44.68,41.57,40.44,39.29,36.92,35.72 !右中心角
  32. W_DAM1=-ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,1)) !坝顶左弦长
  33. W_DAM2=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,2)) !坝顶右弦长
  34. LOCAL,11,1,0,RAD_CEN(1),ELEVATION(1),-90 !局部柱面坐标,原点位于顶拱圆心,X轴为拱坝中心线,指向上游,Y轴为中心角

  35. !为查值计算坝体温度,重新定义一套数组
  36. *DIM,TEMPUP,TABLE,LAYER_NUM !上游面温度
  37. *DIM,TEMPDOWN,TABLE,LAYER_NUM !下游面温度
  38. *DIM,T2_ARCH,TABLE,LAYER_NUM !拱厚
  39. *DIM,Y_RAD,TABLE,LAYER_NUM !圆心到坝轴线距离
  40. *DIM,RADUP,TABLE,LAYER_NUM !外半径
  41. TEMPUP(1)=-8.84,-7.30,-5.66,-4.94,-4.99,-5.17,-5.73,-6.25
  42. TEMPUP(1,0)=0,6,14,24,29,34,44,53
  43. TEMPDOWN(1)=-8.84,-8.21,-7.36,-6.32,-5.86,-5.45,-4.72,-6.71
  44. TEMPDOWN(1,0)=0,6,14,24,29,34,44,53
  45. T2_ARCH(1)=5.00,6.68,8.27,10.25,11.24,12.23,14.22,16.00
  46. T2_ARCH(1,0)=0,6,14,24,29,34,44,53
  47. Y_RAD(1)=68.00,68.00,68.00,68.00,68.00,68.00,68.00,68.00
  48. Y_RAD(1,0)=0,6,14,24,29,34,44,53
  49. RADUP(1)=68.00,68.00,68.00,68.00,68.00,68.00,68.00,68.00
  50. RADUP(1,0)=0,6,14,24,29,34,44,53

  51. CSYS,0
  52. !/PNUM,KP,1
  53. !/PNUM,LINE,1
  54. /PREP7
  55. KNN=0
  56. *DO,II,1,LAYER_NUM !生成拱坝控制关键点,每层6个点,上下游个三个点
  57. PX1=ARCH_RAD(II,1)*SIN(ARCH_ANGLE(II,1))
  58. PY1=RAD_CEN(II)-ARCH_RAD(II,1)*COS(ARCH_ANGLE(II,1))
  59. PX2=ARCH_RAD(II,1)*SIN(ARCH_ANGLE(II,2))
  60. PY2=RAD_CEN(II)-ARCH_RAD(II,1)*COS(ARCH_ANGLE(II,2))
  61. K,KNN+1,PX1, PY1,ELEVATION(II)
  62. K,KNN+2,0,RAD_CEN(II)-ARCH_RAD(II,1),ELEVATION(II)
  63. K,KNN+3,PX2, PY2,ELEVATION(II)

  64. PX3=ARCH_RAD(II,2)*SIN(ARCH_ANGLE(II,1))
  65. PY3=RAD_CEN(II)-ARCH_RAD(II,2)*COS(ARCH_ANGLE(II,1))
  66. PX4=ARCH_RAD(II,2)*SIN(ARCH_ANGLE(II,2))
  67. PY4=RAD_CEN(II)-ARCH_RAD(II,2)*COS(ARCH_ANGLE(II,2))
  68. K,KNN+4,PX3, PY3,ELEVATION(II)
  69. K,KNN+5,0,RAD_CEN(II)-ARCH_RAD(II,2),ELEVATION(II)
  70. K,KNN+6,PX4, PY4,ELEVATION(II)
  71. KNN=6*II
  72. *ENDDO
  73. LARC,1,3,2 !生成拱圈线
  74. *REPEAT,LAYER_NUM*2,3,3,3
  75. L,1,4
  76. *REPEAT,LAYER_NUM,6,6
  77. L,3,6
  78. *REPEAT,LAYER_NUM,6,6

  79. ASKIN,1,3,5,7,9,11,13,15 !生成上游面
  80. ASKIN,2,4,6,8,10,12,14,16 !生成下游面
  81. ASKIN,17,18,19,20,21,22,23,24 !生成侧面
  82. ASKIN,25,26,27,28,29,30,31,32
  83. AL,1,17,2,25
  84. AL,15,24,16,32
  85. VA,6,1,3,2,4,5
复制代码
ayZkHhkv.gif
发表于 2006-4-19 07:22 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

拉伸坝体侧面、底面,并进行切割,生成坝基

  1. !拉伸生成坝基
  2. ASEL,S,AREA,,4 !选择右侧面
  3. VEXT,ALL,,,4*H_DAM !拉伸成基岩
  4. ASEL,S,AREA,,3 !选择左侧面
  5. VEXT,ALL,,,-4*H_DAM !拉伸成基岩
  6. ALLSEL
  7. ASEL,S,LOC,Z,ELEVATION(LAYER_NUM)-1,ELEVATION(LAYER_NUM)+1 !选择底面
  8. VEXT,ALL,,,,,-NINT(H_DAM /10)*10
  9. ASEL,S,AREA,,10,20,5
  10. ASEL,A,AREA,,23,27,4
  11. VEXT,ALL,,,,4*H_DAM
  12. ASEL,S,AREA,,8,18,5
  13. ASEL,A,AREA,,25,29,4
  14. VEXT,ALL,,,,-4*H_DAM
  15. ALLSEL,ALL
  16. SAVE

  17. WPROTA,,90
  18. WPOFFS,,,NINT(H_DAM*1.5/10)*10
  19. VSBW,ALL,,DELETE
  20. VSEL,S,LOC,Y,-200,-H_DAM*1.4
  21. VDEL,ALL,,,1
  22. VSEL,ALL
  23. WPOFFS,,,-NINT(H_DAM*3.5/10)*10
  24. VSBW,ALL,,DELETE
  25. VSEL,S,LOC,Y,NINT(H_DAM*2/10)*10,NINT(H_DAM*2/10)*100
  26. VDEL,ALL,,,1
  27. VSEL,ALL

  28. WPCSYS,,0
  29. WPROTA,,,90
  30. WPOFFS,,,NINT((W_DAM2+H_DAM)/10)*10
  31. VSBW,ALL,,DELETE
  32. VSEL,S,LOC,X,NINT((W_DAM2+H_DAM)/10)*10,NINT((W_DAM2+H_DAM)/10)*50
  33. VDEL,ALL,,,1
  34. VSEL,ALL
  35. WPOFFS,,,-NINT((W_DAM2+W_DAM1+2*H_DAM)/10)*10
  36. VSBW,ALL,,DELETE
  37. VSEL,S,LOC,X,-NINT((W_DAM1+H_DAM)/10)*50,-NINT((W_DAM1+H_DAM)/10)*10
  38. VDEL,ALL,,,1
  39. WPCSYS,,0
  40. VSEL,ALL
  41. SAVE
复制代码
b3ePQNuK.gif
发表于 2006-4-19 07:22 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

用各控制高程切割整个模型,便于划分单元及计算成果和拱梁法比较

  1. *DO,II,LAYER_NUM,3,-1
  2. WPOFFS,,,ELEVATION(II-1)-ELEVATION(II)
  3. VSBW,ALL,,DELETE
  4. *ENDDO
  5. WPCSYS,,0
  6. ALLSEL
  7. WPROTA,,,90
  8. VSBW,ALL,,DELETE
  9. WPCSYS,,0
  10. NUMMRG,ALL
  11. NUMCMP,ALL
  12. PX1=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,1))
  13. PX2=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,2))
  14. VSEL,S,LOC,X,PX1,PX2
  15. VSEL,R,LOC,Z,ELEVATION(LAYER_NUM),ELEVATION(1)
  16. CM,DAM,VOLU
  17. VSEL,INVE
  18. CM,BEDROCK,VOLU
  19. ALLSEL
复制代码
pxx6xze7.gif
发表于 2006-4-19 07:23 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

生成溢流堰

  1. CMSEL,S,DAM
  2. VSEL,R,LOC,Z,ELEVATION(1)-0.1,ELEVATION(2)+0.1
  3. /VIEW,1,1,1,1
  4. VPLOT

  5. !生成溢流堰,为便于建模和施加荷载,与实际不太相符,根据圣维南原理,对大坝的总体应力不会有太大影响
  6. W_WEIR=8 !溢流堰单孔宽(坝轴线处)
  7. NUM_WEIR=5 !溢流堰孔数
  8. W_WALL=2.5 !溢流堰闸墩宽(坝轴线处)
  9. WPOFFS,,,ELEVATION(1)-ELEVATION(LAYER_NUM)
  10. WPOFFS,,RAD_CEN(1)
  11. WPROTA,,,90
  12. *AFUN,RAD
  13. PI=2*ACOS(0)
  14. SITTA1=(W_WEIR*NUM_WEIR+W_WALL*(NUM_WEIR+1))/68*180/PI !溢流堰总中心角
  15. SITTA2=W_WEIR/ARCH_RAD(1,1)*180/PI !溢流堰单孔中心角
  16. SITTA3=W_WALL/ARCH_RAD(1,1)*180/PI !溢流堰单个闸墩中心角
  17. WPROTA,,-SITTA1/2
  18. VSBW,ALL,,DELETE
  19. *DO,II,1,NUM_WEIR
  20. WPROTA,,SITTA3
  21. VSBW,ALL,,DELETE
  22. WPROTA,,SITTA2
  23. VSBW,ALL,,DELETE
  24. *ENDDO
  25. WPROTA,,SITTA3
  26. VSBW,ALL,,DELETE
  27. SAVE

  28. CMSEL,S,BEDROCK
  29. VSEL,INVE
  30. VSEL,R,LOC,Z,ELEVATION(1),ELEVATION(2)
  31. CSYS,11
  32. VSEL,R,LOC,Y,-SITTA1/2,SITTA1/2
  33. CM,YLYY,VOLU
  34. *DO,II,1,NUM_WEIR
  35. CMSEL,S,YLYY
  36. VSEL,R,LOC,Y,-SITTA1/2+II*SITTA3+(II-1)*SITTA2,-SITTA1/2+II*SITTA3+II*SITTA2
  37. VDEL,ALL,,,1,,,1
  38. *ENDDO
  39. CSYS,0

  40. CMSEL,S,BEDROCK
  41. VSEL,INVE
  42. CM,DAM,VOLU
  43. CMSEL,S,DAM
  44. VSEL,R,LOC,Z,ELEVATION(1),ELEVATION(2)
  45. CSYS,11
  46. VSEL,R,LOC,Y,-SITTA1/2,SITTA1/2,
  47. CM,ZHADUN,VOLU
  48. CSYS,0
  49. WPCSYS,,0
  50. VSEL,ALL
  51. NUMMRG,ALL
  52. NUMCMP,ALL
  53. SAVE
复制代码
zcdca7US.gif
发表于 2006-4-19 07:23 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

划分单元
  1. !定义单元性质和材料
  2. ET,1,SOLID95
  3. MP,EX,1,1E7
  4. MP,NUXY,1,0.25
  5. MP,DENS,1,23 !坝体容重
  6. MP,ALPX,1,0.7E-5
  7. MP,REFT,1,0
  8. MP,EX,2,0.8E7
  9. MP,NUXY,2,0.21
  10. MP,ALPX,2,0.0
  11. MP,REFT,2,0

  12. !坝体单元划分
  13. CMSEL,S,DAM
  14. CMSEL,U,ZHADUN
  15. ASLV,S
  16. LSLA,S
  17. *AFUN,DEG
  18. PX1=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,1))
  19. PX2=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,2))
  20. PX3=ARCH_RAD(LAYER_NUM,2)*SIN(ARCH_ANGLE(LAYER_NUM,1))
  21. PX4=ARCH_RAD(LAYER_NUM,2)*SIN(ARCH_ANGLE(LAYER_NUM,2))
  22. LSEL,U,LOC,X,PX3,PX1
  23. LSEL,U,LOC,X,PX4,PX2
  24. LSEL,U,LOC,X,0
  25. LSEL,U,LOC,Z,ELEVATION(1),ELEVATION(2)
  26. LESIZE,ALL, , ,20,
  27. CM,LTEMP1,LINE

  28. CSYS,0
  29. CMSEL,S,DAM
  30. ASLV,S
  31. LSLA,S
  32. CMSEL,U,LTEMP1
  33. CM,LTEMP2,LINE
  34. LSEL,U,LENGTH,,T_ARCH(LAYER_NUM)+0.1,1000
  35. LSEL,R,TAN1,Z
  36. CSYS,11
  37. LSEL,U,LOC,X,ARCH_RAD(1,1)
  38. LSEL,U,LOC,X,ARCH_RAD(1,1)-T_ARCH(1)
  39. LSEL,U,LOC,X,ARCH_RAD(1,1)-T_ARCH(2)
  40. CSYS,0
  41. CM,LTEMP3,LINE
  42. LESIZE,ALL, , ,5,

  43. ALLSEL
  44. CMSEL,S,LTEMP2
  45. CMSEL,U,LTEMP3
  46. LSEL,U,TAN1,Z
  47. CM,LTEMP4,LINE
  48. LESIZE,ALL, , ,3,

  49. CMSEL,S,DAM
  50. CMSEL,U,ZHADUN
  51. ASLV,S
  52. LSLA,S
  53. LSEL,R,LOC,Z,ELEVATION(1),ELEVATION(2)
  54. CSYS,11
  55. LSEL,U,LOC,Y,-SITTA1/2-1,SITTA1/2+1
  56. LSEL,U,LENGTH,,0,T_ARCH(1)+0.1
  57. CSYS,0
  58. CMSEL,U,LTEMP3
  59. CMSEL,U,LTEMP4
  60. LESIZE,ALL, , ,10,
  61. CM,LTEMP5,LINE

  62. CMSEL,S,DAM
  63. CMSEL,U,ZHADUN
  64. ASLV,S
  65. LSLA,S
  66. LSEL,R,LOC,Z,ELEVATION(1),ELEVATION(2)
  67. CMSEL,U,LTEMP3
  68. CMSEL,U,LTEMP4
  69. CMSEL,U,LTEMP5
  70. LSEL,U,LENGTH,,0,3
  71. CM,LTEMP6,LINE
  72. LESIZE,ALL, , ,4,
  73. CSYS,0

  74. ALLSEL
  75. MSHAPE,0
  76. CMSEL,S,DAM
  77. VSWEEP,ALL
  78. SAVE

  79. !坝基单元划分
  80. CMSEL,S,BEDROCK
  81. ASLV,S
  82. LSLA,S
  83. LSEL,U,TAN1,X
  84. LSEL,U,LOC,X,PX2,PX1
  85. CM,LTEMP7,LINE
  86. LESIZE,ALL, , ,5,, , , ,1

  87. CMSEL,S,BEDROCK
  88. ASLV,S
  89. LSLA,S
  90. LSEL,U,TAN1,Y
  91. PY4=RAD_CEN(LAYER_NUM)-ARCH_RAD(LAYER_NUM,2)*COS(ARCH_ANGLE(LAYER_NUM,2))+20
  92. LSEL,U,LOC,Y,-10,PY4
  93. CM,LTEMP8,LINE
  94. LESIZE,ALL, , ,6,4, , , ,1

  95. CMSEL,S,BEDROCK
  96. ASLV,S
  97. LSLA,S
  98. LSEL,U,TAN1,Z
  99. LSEL,R,LOC,Z,ELEVATION(LAYER_NUM),ELEVATION(LAYER_NUM)-200
  100. LESIZE,ALL, , ,5,5, , , ,1

  101. CMSEL,S,BEDROCK
  102. ASLV,S
  103. LSLA,S
  104. LSEL,U,TAN1,Z
  105. LSEL,R,LOC,Z,ELEVATION(1),ELEVATION(LAYER_NUM)
  106. LESIZE,ALL, , ,3,

  107. CMSEL,S,BEDROCK
  108. ASLV,S
  109. LSLA,S
  110. LSEL,R,LOC,Z,-50,-1000
  111. LSEL,R,LOC,Y,-10,PY4
  112. CSYS,11
  113. LSEL,U,LOC,X,ARCH_RAD(1,1)
  114. LSEL,U,LOC,X,ARCH_RAD(1,1)-T_ARCH(LAYER_NUM)
  115. CSYS,0
  116. LSEL,R,LENGTH,,T_ARCH(LAYER_NUM)-5,T_ARCH(LAYER_NUM)+3,
  117. LESIZE,ALL, , ,5,

  118. CSYS,0
  119. CMSEL,S,BEDROCK
  120. ASLV,S
  121. LSLA,S
  122. LSEL,R,LOC,Z,ELEVATION(LAYER_NUM)-50,ELEVATION(LAYER_NUM)-1000
  123. LSEL,R,LOC,X,PX2,PX1
  124. LESIZE,ALL, , ,20,

  125. CMSEL,S,BEDROCK
  126. MAT,2
  127. VMESH,ALL
  128. !单元划分完毕

  129. ALLSEL
  130. NUMMRG,ALL
  131. NUMCMP,ALL
  132. SAVE
复制代码
eluGsmKZ.gif
发表于 2006-4-19 07:23 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

定义边界条件,顺河向约束Y向位移,横河向约束X向位移,底面约束竖向Z位移

  1. FINI
  2. /SOLU
  3. !边界位移条件
  4. *GET,NXMAX,NODE,,MXLOC,X
  5. *GET,NXMIN,NODE,,MNLOC,X
  6. *GET,NYMAX,NODE,,MXLOC,Y
  7. *GET,NYMIN,NODE,,MNLOC,Y
  8. *GET,NZMIN,NODE,,MNLOC,Z
  9. NSEL,S,LOC,X,NXMAX
  10. NSEL,A,LOC,X,NXMIN
  11. D,ALL,UX,0 !约束上下游边界X向位移
  12. NSEL,S,LOC,Y,NYMAX
  13. NSEL,A,LOC,Y,NYMIN
  14. D,ALL,UY,0 !约束左右边界Y向位移
  15. NSEL,S,LOC,Z,NZMIN
  16. D,ALL,ALL,0 !约束底面边界Z向位移
  17. NSEL,ALL
复制代码
9w8CyUPf.gif
发表于 2006-4-19 07:24 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

施加水荷载,淤沙压力,坝体自重
  1. !大坝荷载
  2. ALLSEL
  3. CMSEL,S,DAM
  4. CMSEL,U,ZHADUN
  5. ASLV,S
  6. CSYS,11
  7. ASEL,R,LOC,X,ARCH_RAD(1,1)-0.1,ARCH_RAD(1,1)+0.1
  8. NSLA,S,1
  9. CM,N_DAMUP,NODE !定义大坝上游面节点
  10. CSYS,0

  11. ALLSEL
  12. CMSEL,S,DAM
  13. ASLV,S
  14. ASEL,R,EXT
  15. LSLA,S
  16. LSEL,R,LOC,X,0
  17. LSEL,U,LOC,Y,-0.1,0.1
  18. LSEL,U,LOC,Z,ELEVATION(2)
  19. LSEL,U,LOC,Z,ELEVATION(LAYER_NUM)
  20. ASLL,S
  21. ASEL,U,LOC,X,0
  22. LSLA,S
  23. NSLA,S,1
  24. CM,N_DAMDOWN,NODE !定义大坝下游面节点

  25. ALLSEL
  26. CMSEL,S,YLYY
  27. ASLV,S
  28. CSYS,11
  29. ASEL,R,LOC,X,ARCH_RAD(1,1)-0.1,ARCH_RAD(1,1)+0.1
  30. ASEL,U,,,291,326,326-291
  31. NSLA,S,1
  32. CM,N_ZHADUN1,NODE !定义溢流坝中墩节点
  33. ASEL,S,,,291,326,326-291
  34. NSLA,S,1
  35. CM,N_ZHADUN2,NODE !定义溢流坝边墩节点

  36. CSYS,0
  37. *IF,Z_UP,NE,ELEVATION(LAYER_NUM),THEN
  38. CMSEL,S,N_DAMUP
  39. NSEL,R,LOC,Z,0,Z_UP
  40. /PSF,PRES,NORM,2,0.1
  41. SFGRAD, PRES, 0, Z, 0,-9.81
  42. SF,ALL,PRESS,Z_UP*9.81 !施加大坝上游面水压力
  43. *ENDIF

  44. *IF,Z_UP,GT,ELEVATION(2),THEN
  45. CMSEL,S,N_ZHADUN1
  46. NSEL,R,LOC,Z,ELEVATION(2),Z_UP
  47. SFGRAD, PRES, 0, Z, 0,-(W_WEIR+W_WALL)/W_WALL*9.81
  48. SF,ALL,PRESS,Z_UP*(W_WEIR+W_WALL)/W_WALL*9.81 !施加中墩水压力,包含闸门传递的水压力
  49. CMSEL,S,N_ZHADUN2
  50. NSEL,R,LOC,Z,ELEVATION(2),Z_UP
  51. SFGRAD, PRES, 0, Z, 0,-(W_WEIR/2+W_WALL)/W_WALL*9.81
  52. SF,ALL,PRESS,Z_UP*(W_WEIR/2+W_WALL)/W_WALL*9.81 !施加边墩水压力,包含闸门传递的水压力
  53. *ENDIF

  54. *IF,Z_SAND,GT,ELEVATION(LAYER_NUM),THEN
  55. SFCUM,PRES,ADD !荷载为累加方式
  56. CMSEL,S,N_DAMUP
  57. NSEL,R,LOC,Z,0,Z_SAND
  58. *AFUN,DEG
  59. SAND_GRADS=DENS_SAND*(TAN(45-ANG_FRI/2))**2*9.81 !计算淤沙压力梯度
  60. SFGRAD, PRES, 0, Z, 0,-SAND_GRADS
  61. SF,ALL,PRESS,Z_SAND*SAND_GRADS !施加淤沙压力
  62. SFCUM,PRES,REPL !荷载为替代方式
  63. *ENDIF

  64. ALLSEL
  65. *IF,Z_DOWN,NE,ELEVATION(LAYER_NUM),THEN
  66. CMSEL,S,N_DAMDOWN
  67. NSEL,R,LOC,Z,0,Z_DOWN
  68. SFGRAD, PRES, 0, Z, 0,-9.81
  69. SF,ALL,PRESS,Z_DOWN*9.81 !施加大坝下游面水压力
  70. *ENDIF

  71. ALLSEL
  72. ACEL,0,0,1 !施加大坝自重荷载
  73. SAVE
复制代码
rII8H9qH.gif
发表于 2006-4-19 07:24 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

施加温度体荷载

  1. !施加大坝温度荷载
  2. CMSEL,S,DAM
  3. NSLV,S,1
  4. *GET,NCOUNT_DAM, NODE,, COUNT
  5. *GET,NMIN_DAM, NODE,,NUM,MIN
  6. TUNIF,0,
  7. TREF,0,
  8. NTT=NMIN_DAM
  9. *DO,II,1,NCOUNT_DAM
  10. Z_NTT=NZ(NTT) !Z
  11. Z_TEMP=ELEVATION(1)-Z_NTT !到坝基高度
  12. TL_ARCH=T2_ARCH(Z_TEMP) !拱厚
  13. CSYS,11
  14. X_NTT=NX(NTT) !X:距顶拱圆心距离
  15. CSYS,0
  16. RAD0=Y_RAD(Z_TEMP) !圆心到坝轴线距离
  17. RAD1=RADUP(Z_TEMP) !外半径
  18. LXUP=RAD_CEN(1)-RAD0+RAD1-X_NTT
  19. TTT1=TEMPUP(Z_TEMP)
  20. TTT2=TEMPDOWN(Z_TEMP)
  21. TTT=TTT1+(TTT2-TTT1)/TL_ARCH*LXUP
  22. BF,NTT,TEMP,TTT
  23. *IF,II,LT,NCOUNT_DAM,THEN
  24. NTT=NDNEXT(NTT)
  25. *ENDIF
  26. *ENDDO
复制代码
ILNqHn5U.gif
发表于 2006-4-19 07:25 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

计算求解,采用PCG求解器
ALLSEL
SAVE
EQSLV,PCG,1E-8
SOLVE
SAVE
FINI

最大变形2cm,位于拱冠梁顶,与拱梁分载法一致。
RUaKaeEX.gif

评分

2

查看全部评分

 楼主| 发表于 2006-4-19 09:22 | 显示全部楼层
感谢AaronSpark的大力帮助!!!

请问您有没有双曲拱坝的命令流呀??

谢谢!!!!
发表于 2006-4-21 01:51 | 显示全部楼层

回复:(johhan)[求助]ANSYS拱坝建模命令流

这个我没有,不过听说抛物线双曲拱坝采用浙江大学的拱坝程序不错
发表于 2006-6-13 19:37 | 显示全部楼层
本帖最后由 wdhd 于 2016-3-2 10:55 编辑

  

如何考虑地震动水压力?
发表于 2007-3-30 02:07 | 显示全部楼层
:lol from okok.org精华贴
发表于 2008-7-7 23:45 | 显示全部楼层
谢谢啊,浙大的拱坝优化程序的确很牛啊
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-5 15:55 , Processed in 0.076836 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表