Вы находитесь на странице: 1из 7

http://www.paper.edu.

cn

ANSYS
*
210098

ANSYS10.0
APDL

ANSYSAPDL
TB12

the engineering vibration analysis based on the secondary


development of ANSYS
Liu Yang
( Engineering mechanics of hohai university, Nanjing 210098)
Abstract: The seismic analysis of concrete gravity is an important content of the Safety Assessment.In
my paper, taking the aseismic analysis of Nonglin hydropower station dams which is in Dehong of
Yunnan Province as the engineering background,combining the secondary development of ANSYS10.0
to achieve the visualization of seismic analysis and compiling order flow to realize the the parametric
modeling,the automatic division of the grid,the additional of hydrodynamic pressure and the spectral
analysis based on APDL.
Key words: Engineering Mechanics;ANSYS; APDL;Additional Quality Law;Spectral Analysis

0
ANSYS

ANSYS
ANSYS ANSYS
ANSYS ANSYS
ANSYS

1985. E-mail:
liuyang1229@gmail.com

-1-

http://www.paper.edu.cn

Housner
ALE

ANSYS
,

DL 5073-2000
Westergard

w=

7
ak w hy
8

w h ah
w
b,h1h2
m =b

h1
h2

7
w
8

h1
7
wb
h2
8

7
wb
8

hy dh
hy dh

7
=
wb
12

2 32
h
3

h1

h2

3
3

h h 2 2 h1 2

n 3-46

APDL
a=h/n

*dim,zzl,,n

*dim,mf,array,n,2

*dim,last,,n+1

*dim,w1,,n
*dim,w2,,n

-2-

http://www.paper.edu.cn

*dim,l1,,n
*dim,l2,,n
*do,i,1,n,1

zzl(i)=(7/12)*1000*((h-(i-1)*a)**1.5-(h-i*a)**1.5)*22/9

w1(i)=(7/8)*0.19*9.8*1000*(h*(i-1)*a)**0.5
w2(i)=(7/8)*0.19*9.8*1000*(h*i*a)**0.5
l1(i)=(w2(i)+2*w1(i))/(3*(w1(i)+w2(i)))
l2(i)=1-(w2(i)+2*w1(i))/(3*(w1(i)+w2(i)))

mf(i,1)=zzl(i)*l1(i)
mf(i,2)=zzl(i)*l2(i)
*enddo

*do,p,1,n,1
last(p)=mf(p,1)
*enddo
*do,j,2,n+1,1
last(j)=last(j)+mf(j-1,2)
*enddo

APDL
*dim,freq,,36
*dim,sv,,36
*do,i,1,16,1
freq(i)=1/(3-(3-Tg)*(i-1)/15)
sv(i)=Av*Bmax*(Tg/(3-(3-Tg)*(i-1)/15))**0.9
*enddo
freq(17)=10
freq(18)=1000
sv(17)=Av*Bmax
-3-

http://www.paper.edu.cn

sv(18)=Av
*do,j,1,16,1
freq(i+18)=1/(3-(3-Tg)*(i-1)/15)
sv(i+18)=2*Av/3*Bmax*(Tg/(3-(3-Tg)*(i-1)/15))**0.9
*enddo
freq(35)=10
freq(36)=1000
sv(35)=2*Av/3*Bmax
sv(36)=2*Av/3
/SOLU
ANTYPE,2

MODOPT,LANB,20

!LANB 20

EXPASS,off

! on

LUMPM,1
PSTRES,off
SOLVE
FINISH

!LUMPM=0

/SOLUTION
ANTYPE,8
SPOPT,SPRS,20,yes

!
!SPRS 20

SVTYP,2

!2

SED,1,0,0

! x

FREQ,freq(1),freq(2),freq(3),freq(4),freq(5),freq(6),freq(7),freq(8)

FREQ,freq(9),freq(10),freq(11),freq(12),freq(13),freq(14),freq(15),freq(16)

FREQ,freq(11),freq(12)

SV,0.05,sv(1),sv(2),sv(3),sv(4),sv(5),sv(6),sv(7),sv(8)
!
SV,0.05,sv(9),sv(10),sv(11),sv(12),sv(13),sv(14),sv(15),sv(16)
SV,0.05,sv(17),sv(18)
SOLVE
FINISH

3
ANSYS

3.1

ANSYS *ASK

18

*ASK,PAR,QUERY,DVAL
PAR QUERY
54 DVAL

-4-


3.2

http://www.paper.edu.cn

MULTIPRO

10 UIDL
*CSET
MULTIPRO,START,PROMPT_NUM
*CSET,STRT_LOC,END_LOC,PARAM_NAME,PROMPT_STRING,DEF_VALUE
MULTIPRO,END
START MULTIPRO PROMPT_NUM
MULTIPRO *CSET
*CSET DEF_VALUE DEF_VALUE 0
STRT_LOC,END_LOC
*CSET STRT_LOC 1END_LOC STRT_LOC+2
*CSET STRT_LOC 1
PARAM_NAME
PROMPT_STRING 32
END MULTIPRO

_BUTTON=0 OK
_BUTTON=1 CANCEL

*ABBR :
C:\Program Files\Ansys Inc\v100\ANSYS\apdl\start100

/psearch,d:\ANSYS

*ABBR,etype,Ketype
*ABBR,MP,Kmp
*ABBR,Model,KMODEL
*ABBR, response,Kresponse
ANSYS10.0 ANSYS ANSYStoolbar

-5-

http://www.paper.edu.cn

4
90.5m 7m
10m, 63.35m 1.5 1.5

1 49
1.751010Pa 0.18 24000N/m3
2 49
2.21010Pa 0.18 24000N/m3
3

1.231010Pa 0.29

30%
8 0.19g
0.30s
2

-6-

http://www.paper.edu.cn

[] (References)
[1]
[2]
[3]
[4]

.[J]..2004,1:1-3.
.APDL [M].:,2004.
.ANSYS [M].:,2006.
.ANSYS [J].().2002,21(1):44-46.

-7-