- 积分
- 1
- 注册时间
- 2004-1-26
- 仿真币
-
- 最后登录
- 1970-1-1
|
ansys8.0 new add piezoresistive analysis ...
What is analysis doing ??
help in the ansys driver one sample and as below:
L=180 ! length of the beam, um
W=120 ! width of the beam, um
a=100 ! length of piezoresistors, um
b=20 ! width of piezoresistors, um
d=10 ! distance from the edge, um
nu=0.25
rho= 7.8e-8
p11=6.5E-5
p12=-1.1E-5
p44=138.1E-5
p=1
Vs=5
/PREP7
ET,1,PLANE223,101 ! piezoresistive element type
ET,2,PLANE82 ! structural element type
! Specify material orientation:
LOCAL,11
LOCAL,12,,,,,45 ! X-axis along <110> direction
MP,EX,1,E ! elastic properties
MP,NUXY,1,nu
MP,RSVX,1,rho ! resistivity
TB,PZRS,1 ! piezoresistive stress matrix
TBDATA,1,p11,p12,p12
TBDATA,7,p12,p11,p12
TBDATA,13,p12,p12,p11
TBDATA,22,p44
CSYS,11
RECT,-L/2,L/2,-W/2,W/2 ! define beam
RECT,-(L/2-d),-(L/2-d-b),-a/2,a/2 ! Resistor 1
RECT,-a/2,a/2,W/2-d-b,W/2-d ! Resistor 2
RECT,-a/2,a/2,-(W/2-d),-(W/2-d-b) ! Resistor 3
RECT,L/2-d-b,L/2-d,-a/2,a/2 ! Resistor 4
AOVLAP,ALL ! mesh areas
ESYS,12
TYPE,1
ESIZE,b/3
AMESH,2,5 ! mesh resistor areas
TYPE,2
MSHAP,1,2-D
ESIZE,b/2
AMESH,6 ! mesh rest of the beam
! Apply electrical BC:
LSEL,S,LINE,,5 ! define supply voltage contact
LSEL,A,LINE,,16
NSLL,S,1
CP,1,VOLT,ALL
*GET,ns,NODE,0,NUM,MIN
D,NS,VOLT,Vs
LSEL,S,LINE,,10 ! define ground contact
LSEL,A,LINE,,19
NSLL,S,1
CP,2,VOLT,ALL
*GET,ng,NODE,0,NUM,MIN
D,NG,VOLT,0
LSEL,S,LINE,,7 ! define first output contact
LSEL,A,LINE,,12
NSLL,S,1
CP,3,VOLT,ALL
*GET,no1,NODE,0,NUM,MIN
LSEL,S,LINE,,14 ! define second output contact
LSEL,A,LINE,,17
NSLL,S,1
CP,4,VOLT,ALL
*GET,no2,NODE,0,NUM,MIN
NSEL,ALL
LSEL,ALL
! Apply structural BC
NSEL,S,LOC,X,-L/2
D,ALL,UX,0
NSEL,R,LOC,Y,-W/2
D,ALL,UY,0
NSEL,S,LOC,X,L/2
SF,ALL,PRES,-p ! pressure load
NSEL,ALL
/PBC,u,,1
/PBC,volt,,1
/PBC,cp,,1
/PNUM,TYPE,1
/NUMBER,1
EPLOT
FINI
/SOLU ! Solution
ANTYPE,STATIC
CNVTOL,AMPS,1,1.E-3
SOLVE
FINI
but not see !! |
|