划分单元
- !定义单元性质和材料
- ET,1,SOLID95
- MP,EX,1,1E7
- MP,NUXY,1,0.25
- MP,DENS,1,23 !坝体容重
- MP,ALPX,1,0.7E-5
- MP,REFT,1,0
- MP,EX,2,0.8E7
- MP,NUXY,2,0.21
- MP,ALPX,2,0.0
- MP,REFT,2,0
- !坝体单元划分
- CMSEL,S,DAM
- CMSEL,U,ZHADUN
- ASLV,S
- LSLA,S
- *AFUN,DEG
- PX1=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,1))
- PX2=ARCH_RAD(1,1)*SIN(ARCH_ANGLE(1,2))
- PX3=ARCH_RAD(LAYER_NUM,2)*SIN(ARCH_ANGLE(LAYER_NUM,1))
- PX4=ARCH_RAD(LAYER_NUM,2)*SIN(ARCH_ANGLE(LAYER_NUM,2))
- LSEL,U,LOC,X,PX3,PX1
- LSEL,U,LOC,X,PX4,PX2
- LSEL,U,LOC,X,0
- LSEL,U,LOC,Z,ELEVATION(1),ELEVATION(2)
- LESIZE,ALL, , ,20,
- CM,LTEMP1,LINE
- CSYS,0
- CMSEL,S,DAM
- ASLV,S
- LSLA,S
- CMSEL,U,LTEMP1
- CM,LTEMP2,LINE
- LSEL,U,LENGTH,,T_ARCH(LAYER_NUM)+0.1,1000
- LSEL,R,TAN1,Z
- CSYS,11
- LSEL,U,LOC,X,ARCH_RAD(1,1)
- LSEL,U,LOC,X,ARCH_RAD(1,1)-T_ARCH(1)
- LSEL,U,LOC,X,ARCH_RAD(1,1)-T_ARCH(2)
- CSYS,0
- CM,LTEMP3,LINE
- LESIZE,ALL, , ,5,
- ALLSEL
- CMSEL,S,LTEMP2
- CMSEL,U,LTEMP3
- LSEL,U,TAN1,Z
- CM,LTEMP4,LINE
- LESIZE,ALL, , ,3,
- CMSEL,S,DAM
- CMSEL,U,ZHADUN
- ASLV,S
- LSLA,S
- LSEL,R,LOC,Z,ELEVATION(1),ELEVATION(2)
- CSYS,11
- LSEL,U,LOC,Y,-SITTA1/2-1,SITTA1/2+1
- LSEL,U,LENGTH,,0,T_ARCH(1)+0.1
- CSYS,0
- CMSEL,U,LTEMP3
- CMSEL,U,LTEMP4
- LESIZE,ALL, , ,10,
- CM,LTEMP5,LINE
- CMSEL,S,DAM
- CMSEL,U,ZHADUN
- ASLV,S
- LSLA,S
- LSEL,R,LOC,Z,ELEVATION(1),ELEVATION(2)
- CMSEL,U,LTEMP3
- CMSEL,U,LTEMP4
- CMSEL,U,LTEMP5
- LSEL,U,LENGTH,,0,3
- CM,LTEMP6,LINE
- LESIZE,ALL, , ,4,
- CSYS,0
- ALLSEL
- MSHAPE,0
- CMSEL,S,DAM
- VSWEEP,ALL
- SAVE
- !坝基单元划分
- CMSEL,S,BEDROCK
- ASLV,S
- LSLA,S
- LSEL,U,TAN1,X
- LSEL,U,LOC,X,PX2,PX1
- CM,LTEMP7,LINE
- LESIZE,ALL, , ,5,, , , ,1
- CMSEL,S,BEDROCK
- ASLV,S
- LSLA,S
- LSEL,U,TAN1,Y
- PY4=RAD_CEN(LAYER_NUM)-ARCH_RAD(LAYER_NUM,2)*COS(ARCH_ANGLE(LAYER_NUM,2))+20
- LSEL,U,LOC,Y,-10,PY4
- CM,LTEMP8,LINE
- LESIZE,ALL, , ,6,4, , , ,1
- CMSEL,S,BEDROCK
- ASLV,S
- LSLA,S
- LSEL,U,TAN1,Z
- LSEL,R,LOC,Z,ELEVATION(LAYER_NUM),ELEVATION(LAYER_NUM)-200
- LESIZE,ALL, , ,5,5, , , ,1
- CMSEL,S,BEDROCK
- ASLV,S
- LSLA,S
- LSEL,U,TAN1,Z
- LSEL,R,LOC,Z,ELEVATION(1),ELEVATION(LAYER_NUM)
- LESIZE,ALL, , ,3,
- CMSEL,S,BEDROCK
- ASLV,S
- LSLA,S
- LSEL,R,LOC,Z,-50,-1000
- LSEL,R,LOC,Y,-10,PY4
- CSYS,11
- LSEL,U,LOC,X,ARCH_RAD(1,1)
- LSEL,U,LOC,X,ARCH_RAD(1,1)-T_ARCH(LAYER_NUM)
- CSYS,0
- LSEL,R,LENGTH,,T_ARCH(LAYER_NUM)-5,T_ARCH(LAYER_NUM)+3,
- LESIZE,ALL, , ,5,
- CSYS,0
- CMSEL,S,BEDROCK
- ASLV,S
- LSLA,S
- LSEL,R,LOC,Z,ELEVATION(LAYER_NUM)-50,ELEVATION(LAYER_NUM)-1000
- LSEL,R,LOC,X,PX2,PX1
- LESIZE,ALL, , ,20,
- CMSEL,S,BEDROCK
- MAT,2
- VMESH,ALL
- !单元划分完毕
- ALLSEL
- NUMMRG,ALL
- NUMCMP,ALL
- SAVE
复制代码 |