声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2115|回复: 1

[综合讨论] 关于ansys边坡程序

[复制链接]
发表于 2016-11-8 11:11 | 显示全部楼层 |阅读模式

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

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

x
  1.   /prep7

  2.   et,1,plane42

  3.   keypot,1,3,2

  4.   mp,ex,1,20e9 !岩体参数

  5.   mp,prxy,1,0.22

  6.   mp,dens,1,2600

  7.   mp,ex,2,3e9 !滑体参数

  8.   mp,prxy,2,0.35

  9.   mp,dens,2,2140

  10.   mp,ex,3,2.7e9 !35%饱和度

  11.   mp,prxy,3,0.35

  12.   mp,dens,3,2180

  13.   mp,ex,4,2.4e9 !50%饱和度

  14.   mp,prxy,4,0.35

  15.   mp,dens,4,2210

  16.   mp,ex,5,2.1e9 !65%饱和度

  17.   mp,prxy,5,0.35

  18.   mp,dens,5,2240

  19.   mp,ex,6,1.8e9 !80%饱和度

  20.   mp,prxy,6,0.35

  21.   mp,dens,6,2270

  22.   mp,ex,7,1.5e9 !100%饱和度

  23.   mp,prxy,7,0.35

  24.   mp,dens,7,2300

  25.   save

  26.   k,1,0,0,0

  27.   k,2,0,505,0

  28.   k,3,562,505,0

  29.   k,,621,459,0

  30.   k,,658,433,0

  31.   k,,693,393,0

  32.   k,,802,313,0

  33.   k,,850,303,0

  34.   k,,892,273,0

  35.   k,,913,253,0

  36.   k,,930,243,0

  37.   k,,1034,233,0

  38.   k,,1186,228,0

  39.   k,,1216,223,0

  40.   k,,1232,208,0

  41.   *do,i,1,14

  42.   l,i,i+1

  43.   *enddo

  44.   k,16,660,387,0

  45.   k,,770,248,0

  46.   k,,827,230,0

  47.   k,,888,217,0

  48.   k,,930,216,0

  49.   k,,1034,213,0

  50.   k,,1186,209,0

  51.   l,4,16

  52.   l,16,17

  53.   l,17,18

  54.   l,18,19

  55.   l,19,20

  56.   l,20,21

  57.   l,21,22

  58.   l,22,15

  59.   nummrg,all

  60.   numcmp,all

  61.   k,23,1243,198,0

  62.   k,,612,380,0

  63.   k,,745,214,0

  64.   k,,884,181,0

  65.   k,,1242,174,0

  66.   l,3,24

  67.   l,24,25

  68.   l,25,26

  69.   l,26,27

  70.   l,27,23

  71.   l,23,15

  72.   nummrg,all

  73.   numcmp,all

  74.   k,28,1610,198,0

  75.   k,,1610,0,0

  76.   k,,1243,0,0

  77.   k,,884,0,0

  78.   k,,745,0,0

  79.   k,,612,0,0

  80.   l,6,16

  81.   l,7,17

  82.   l,8,18

  83.   l,9,19

  84.   l,11,20

  85.   l,13,22

  86.   l,16,24

  87.   l,17,25

  88.   l,19,26

  89.   l,24,33

  90.   l,25,32

  91.   l,26,31

  92.   l,27,30

  93.   l,1,33

  94.   l,30,31

  95.   l,31,32

  96.   l,32,33

  97.   l,23,28

  98.   l,28,29

  99.   l,29,30

  100.   save

  101.   al,4,5,15,29

  102.   al,29,6,16,30

  103.   al,7,17,30,31

  104.   al,8,18,31,32

  105.   al,9,10,19,32,33

  106.   al,11,12,20,21,33,34

  107.   al,13,14,22,34

  108.   al,3,15,35,23

  109.   al,35,16,24,36

  110.   al,36,17,18,37,25

  111.   al,19,20,21,22,26,27,28,37

  112.   al,1,2,23,38,42

  113.   al,38,39,24,45

  114.   al,39,40,25,44

  115.   al,40,41,26,43

  116.   al,46,47,48,27,41

  117.   allsel,all !选择所有元素

  118.   type,1

  119.   mat,1

  120.   mshape,1,2d

  121.   mshkey,0 !设置划分方式,自由划分

  122.   esize,10,0

  123.   amesh,1,11,1

  124.   esize,,,

  125.   allsel,all

  126.   amesh,12,16,1

  127.   save

  128.   finish

  129.   !施加边界条件,并进行求解设置

  130.   /solu

  131.   eplot

  132.   save

  133.   nsubst,20 !指定荷载子步

  134.   nlgeom,on

  135.   nropt,full

  136.   pred,on

  137.   lnsrch,on

  138.   outres,all,last

  139.   !施加约束条件

  140.   nsel,s,loc,x,0

  141.   d,all,ux

  142.   nsel,s,loc,x,1610

  143.   d,all,ux

  144.   nsel,s,loc,y,0

  145.   d,all,all

  146.   allsel,all

  147.   acel,0,10,0

  148.   allsel,all

  149.   save

  150.   finish

  151.   !求解自重应力场

  152.   /solu

  153.   time,1

  154.   asel,s,,,1,7,1

  155.   esla,s

  156.   mpchg,2,all

  157.   allsel,all

  158.   solve

  159.   save

  160.   finish

  161.   !求解不同饱和度下的应力场

  162.   !35%饱和度

  163.   /solu

  164.   antype,,rest

  165.   time,2

  166.   asel,s,,,1,7,1

  167.   esla,s

  168.   mpchg,3,all

  169.   allsel,all

  170.   solve

  171.   save

  172.   finish

  173.   !50%饱和度

  174.   /solu

  175.   antype,,rest

  176.   time,3

  177.   asel,s,,,1,7,1

  178.   esla,s

  179.   mpchg,4,all

  180.   allsel,all

  181.   solve

  182.   save

  183.   finish

  184.   !65%饱和度

  185.   /solu

  186.   antype,,rest

  187.   time,4

  188.   asel,s,,,1,7,1

  189.   esla,s

  190.   mpchg,5,all

  191.   allsel,all

  192.   solve

  193.   save

  194.   finish

  195.   !80%饱和度

  196.   /solu

  197.   antype,,rest

  198.   time,5

  199.   asel,s,,,1,7,1

  200.   esla,s

  201.   mpchg,6,all

  202.   allsel,all

  203.   solve

  204.   save

  205.   finish

  206.   !100%饱和度

  207.   /solu

  208.   antype,,rest

  209.   time,6

  210.   asel,s,,,1,7,1

  211.   esla,s

  212.   mpchg,7,all

  213.   allsel,all

  214.   solve

  215.   save

  216.   finish

  217.   !初始状态下边坡稳定分析

  218.   /post1

  219.   set,1

  220.   plnsol,s,y,0,1 !初始状态下自重应力场

  221.   plnsol,u,y,0,1 !初始状态下位移场

  222.   plnsol,s,xy,0,1 !初始状态下剪应力

  223.   plnsol,epto,xy,0,1 !初始状态下剪应变

  224.   !荷载工况

  225.   /post1

  226.   lcdef,1,1, !将第一个计算步定义为工况1

  227.   lcdef,2,6, !将第六个计算步定义为工况2

  228.   lcase,2, !读入荷载工况2

  229.   lcoper,sub,1,,, !将荷载工况2减去工况1

  230.   !绘制位移、剪力、剪应变增量图

  231.   plnsol,u,y,0,1 !初始状态下位移场

  232.   plnsol,s,xy,0,1 !初始状态下剪应力

  233.   plnsol,epto,xy,0,1 !初始状态下剪应变

  234.   !采用mohr-column准则对饱水状态下的塑性区分布进行计算,C=50kPa,内摩擦角30度

  235.   /post1

  236.   asel,s,,,1,7,1

  237.   esla,s

  238.   etable,s1_1,s,1 !将所选单元的第1,3主应力定义为单元表

  239.   etable,s3_1,s,3

  240.   sadd,s1,s3_1,,-1.00,1

  241.   sadd,s3,s1_1,,-1.00,1

  242.   sadd,smf_over,s1,s3,1.00,-1.00

  243.   cos_fai=cos(30/180*3.1415926) !计算内摩擦角的余弦

  244.   sin_fai=sin(30/180*3.1415926)

  245.   constant=2*50000*cos_fai

  246.   sadd,s1_s3,s1,s3,1,1

  247.   sexp,s1_s3,s1_s3,,1

  248.   sadd,smf_down,s1_s3,,sin_fai,,constant

  249.   sexp,s_m_f,smf_over,smf_down,1,-1

  250.   esel,all

  251.   /contour

  252.   pletab,s_m_f,avg !绘制屈服单元的云图
复制代码

转自:http://mp.weixin.qq.com/s?__biz= ... fMOPM6i08CW23SWF#rd
回复
分享到:

使用道具 举报

发表于 2016-11-8 13:40 | 显示全部楼层
多谢分享  一会我试试
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-11-25 00:53 , Processed in 0.063974 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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