Sie sind auf Seite 1von 4

/PREP7 ! ! Define problem parameters ! ! - Geometry ! L=10e-3 T1=1e-3 W=1e-3 ! ! - Loading ! V=100 E1=1.689e5 NU12=0.182 d33=.

02828

! Length, m ! One-layer thickness, m

! Electrode voltage, Volt ! Young's modulus, N/m^2 ! Poisson's ratio

block,0,L,T1,0,0,W block,0,L,-3*T1,0,0,W mp,EX,1,E1 mp,NUXY,1,NU12 mp,EX,2,50000 mp,NUXY,2,.3 et,1,solid45 et,2,solid5 tb,PIEZ,2 tbda,1,0,0,0, 0,0,0 tbda,7,0,0,d33, 0,0,0 tbda,13,0,0,0, 0,0,0 mat,1 vmesh,1 mat,2 vmesh,2 nummrg,all nsel,s,loc,y,0 cp,1,volt,all nsel,s,loc,x,0 d,all,ux,0,uy,0 nsel,s,loc,y,0 d,all,volt,0 nsel,s,loc,y,T1 d,all,volt,1000

solve

local,11 +Y local,12,,,,,180 Y csys,11 nsel,s,loc,x,L *get,ntip,node,0,num,min ! nelec = 10 *dim,ntop,array,nelec l1 = 0 l2 = L/nelec *do,i,1,nelec nsel,s,loc,y,T1 nsel,r,loc,x,l1,l2 cp,i,volt,all *get,ntop(i),node,0,num,min l1 = l2 + T1/10 l2 = l2 + L/nelec *enddo nsel,s,loc,y,0 d,all,volt,0 nsel,s,loc,x,0 d,all,ux,0,,,,uy nsel,all fini /SOLU antype,static *do,i,1,nelec d,ntop(i),volt,V *enddo solve

! Coord. system for lower layer: polar axis ! Coord. system for upper layer: polar axis ! Activate coord. system 11 ! Get master node at beam tip ! Number of electrodes on top surface ! Initialize electrode locations ! Define electrodes on top surface

! Get master node on top electrode ! Update electrode location ! Define bottom electrode ! Ground bottom electrode ! Clamp left end of bimorph

! Actuator simulation ! Static analysis ! Apply voltages to top electrodes

nsel,s,loc,y,0 cp,1,volt,all nsel,s,loc,y,T1 cp,2,volt,all nsel,s,loc,x,0 d,all,ux,0,uy,0 nsel,s,loc,y,0

d,all,volt,0 nsel,s,loc,y,T1 d,all,volt,V

nsel,s,loc,y,0 cp,1,volt,all d,all,volt,0 nsel,s,loc,x,0 d,all,ux,0,uy,0 fini /SOLU antype,static nsel,s,loc,y,T1 cp,2,volt,all d,all,volt,V Solve /SOLU

esel,s,elem,,111 nsle /pnu,node,1 /num,0 eplo

elist nlist

http://www.ansys.stuba.sk/html/com_55/chapter3/CS3-N.htm#NUMCMP

block,0,10e-3,0,2e-3,0,3e-3 block,7e-3,10e-3,0,2e-3,3e-3,13e-3 block,7e-3,0,0,2e-3,10e-3,13e-3 block,0,10e-3,2e-3,3e-3,0,3e-3 block,7e-3,10e-3,2e-3,3e-3,3e-3,13e-3 block,7e-3,0,2e-3,3e-3,10e-3,13e-3

block,

Das könnte Ihnen auch gefallen