Você está na página 1de 11

FINISH

/CLEAR
/title, STIFFENED PLATE PZT-5H
/PREP7
ET,1,SOLID45
!KEYOPT,1,2,3
!ELEMENT TYPE 1
MP,EX,1,70E9 ! Young's modulus (Material 1)
MP,PRXY,1,0.33 ! Poisson's ratio (Material 1)
MP,DENS,1,2700
ET,2,TARGE170
R,1,
ET,3,CONTA173
KEYOPT,3,4,3
!KEYOPT,3,2,2
KEYOPT,3,2,0
!!KEYOPT,3,5,1
KEYOPT,3,9,1
!KEYOPT,3,12,4
KEYOPT,3,12,0

!linear analysis
!non_linear analysis
!linear analysis
!non_linear analysis

!***********pzt mat & elm STRT************


ET,4,SOLID5,3
! 3-D COUPLED-FIELD SOLID, PIEZO OPTION
MP,DENS,2,7500
! DENSITY
MP,PERX,2,1700
MP,PERY,2,1700
MP,PERZ,2,1470

! PERMITTIVITY (X DIRECTION)
! PERMITTIVITY (y DIRECTION)
! PERMITTIVITY (Z DIRECTION)

TB,PIEZ,2
TBDATA,16,17
TBDATA,14,17
TBDATA,3,-6.5
TBDATA,6,-6.5
TBDATA,9,23.3

!
!
!
!
!
!

DEFINE PIEZ. TABLE


E61 PIEZOELECTRIC CONSTANT
E52 PIEZOELECTRIC CONSTANT
E13 PIEZOELECTRIC CONSTANT
E23 PIEZOELECTRIC CONSTANT
E33 PIEZOELECTRIC CONSTANT

TB,ANEL,2
! DEFINE STRUCTURAL TABLE INPUT [C] MATRIX
TBDATA,1,12.6E10,7.95E10,8.41E10 ! c11 c12 c13
TBDATA,7,12.6E10,8.41E10
! c22 c23
TBDATA,12,11.7E10
! c33
TBDATA,16,2.3E10
! c44
TBDATA,19,2.3E10
! c55
TBDATA,21,2.325E10
! c66
!***********pzt mat & elm END************
!Element Size can be treated as a variable
!Here element size has been conSidered as a factor of plate dimensions
Es=2E-3
!Element edge length
l=0.532
!Length of the plate
b=0.532
!Width of the plate
thick=2E-3
!Thickness of the plate
stf1=0.252
!Starting position of stiffener 1.
MM=l/Es+1
!Number of nodes in Y direction(length)
NN=b/Es+1
!Number of nodes in X direction(Width)
!dela1=0.152
!delamination Length of stiffener1
!delstx1=0.300 !Starting position of delamination in the first stiffener
stwid1=0.026
!Width of stiffener 1
stfthck=2E-3
!Thickness of the stiffeners' flange

webthck=2E-3
web1=0.264
webht=0.024
R=5
delawid=0.026
delst=0.252
delyst=0.214
delength=0.102

!Thickness of the web


!Starting position of the web in X-Y plane
!Height of the web excluding flange thickness
!Width of delamination in x direction
!Along X direction starting x-cord of delamination
!Along y direction starting y-cord of delamination
!Length of delamination in z direction

ox1=0.150
oy1=0.266
dmx1=0.020
dmy1=0.020
dmz1=0.00025

!X-cordinate of the centre of PZT1(divisible by 'Es')


!Y-cordinate of the centre of PZT1(divisible by 'Es')
!length along X-direction of PZT1(divisible by 'Es')
!length along Y-direction of PZT1(divisible by 'Es')
!length of PZT1 along (+)Z-direction

ox2=0.150
oy2=0.266
dmx2=0.020
dmy2=0.020
dmz2=0.00025

!X-cordinate of the centre of PZT2(divisible by 'Es')


!Y-cordinate of the centre of PZT2(divisible by 'Es')
!length along X-direction of PZT2(divisible by 'Es')
!length along Y-direction of PZT2(divisible by 'Es')
!length of PZT2 along (-)Z-direction

!****************Node generation of the plate***********************************


*****
N,1,0,0,0
N,MM,l,0,0
Fill,1,MM
layer=thick/Es+1
NGEN,layer,MM,1,MM,,0,0,Es
lastnode=MM*layer
!lastnode at X-Y plane in the thickness direction at
the right-upper corner.
!**********************Node generation completes here***************************
*****
!*********Node generation of the flange*****************************************
******
N,lastnode+1,stf1,0,thick+Es
N,lastnode+1+stwid1/Es,stf1+stwid1,0,thick+Es
Fill,lastnode+1,lastnode+1+stwid1/Es
NGEN,stfthck/Es,stwid1/Es+1,lastnode+1,lastnode+1+stwid1/Es,,0,0,Es
flglstnd=(stwid1/Es+1)*(stfthck/Es)+lastnode
!*********Node generation ends here*********************************************
******
!*********Node generation at the web********************************************
*****
N,flglstnd+1,web1,0,thick+Es+stfthck
N,flglstnd+1+webthck/Es,web1+webthck,0,thick+Es+stfthck
Fill,flglstnd+1,flglstnd+1+webthck/Es
NGEN,webht/Es,webthck/Es+1,flglstnd+1,flglstnd+1+webthck/Es,,0,0,Es
webstnd=(webthck/Es+1)*(webht/Es)+flglstnd
!*********Node generation ends here*********************************************
*****
NiY=webstnd
NGEN,(b/Es+1),NiY,1,webstnd,,0,Es,0
!*******Node generation ends in z direction*************************************
*****

cndnod=webstnd+NiY*(b/Es)+1
h1=cndnod
endnod=delawid/Es+cndnod
g1=endnod
NiYdel=delawid/Es+1
!Increment in node number in Z direction in case of
delamination
*DO,FF,1,(delength/Es+1)
N,cndnod,delst,delyst+Es*(FF-1),thick
N,endnod,delawid+delst,delyst+Es*(FF-1),thick
Fill,cndnod,endnod
cndnod=cndnod+NiYdel
endnod=endnod+NiYdel
*ENDDO
!*******************************************************************************
******
!**************************PZT1 nodes*******************************************
******
!*******************************************************************************
******
pz1n1=MM*(thick/Es)+1+(ox1-dmx1*0.5)/Es+NiY*(oy1-dmy1*0.5)/Es
surface first node

!PZT1 bottom

lstnddm=NiY*(b/Es+1)+NiYdel*(delength/Es+1)
the delamination i.e. highest numbered node of the plate

!last node of

N,lstnddm+1,ox1-dmx1*0.5,oy1-dmy1*0.5,thick+dmz1
rface node of PZT1
N,lstnddm+1+dmx1/Es,ox1+dmx1*0.5,oy1-dmy1*0.5,thick+dmz1
Fill,lstnddm+1,lstnddm+1+dmx1/Es
NGEN,dmy1/Es+1,dmx1/Es+1,lstnddm+1,lstnddm+1+dmx1/Es,,0,Es,0
nodes have been created
lstndpzt1=lstnddm+(dmy1/Es+1)*(dmx1/Es+1)
de

!first top su

!top surface
!PZT1 last no

!**************************PZT2 nodes*******************************************
******
pz2n1=1+(ox2-dmx2*0.5)/Es+NiY*(oy2-dmy2*0.5)/Es
surface first node

!PZT2 bottom

N,lstndpzt1+1,ox2-dmx2*0.5,oy2-dmy2*0.5,-dmz2
urface node of PZT2
N,lstndpzt1+1+dmx2/Es,ox2+dmx2*0.5,oy2-dmy2*0.5,-dmz2
Fill,lstndpzt1+1,lstndpzt1+1+dmx2/Es
NGEN,dmy2/Es+1,dmx2/Es+1,lstndpzt1+1,lstndpzt1+1+dmx2/Es,,0,Es,0
nodes have been created
lstndpzt2=lstndpzt1+(dmy2/Es+1)*(dmx2/Es+1)

!first top s

!top surface

!*******************************************************************************
*************************************
!**************after the solution get results at the following nodes************
*************************************
!*******************************************************************************
*************************************
radis=0.005
w=12
!for w=12 i.e. @ 30 degree apart pzts arranged in a circular
fashion

PI=4*ATAN(1)
zzz=PI/w
zzz1=COS(2*PI/w)
*DO,n,1,w
xnp1=ox1+radis*COS(zzz1*(n-1))
ynp1=oy1+radis*SIN(zzz1*(n-1))
recvrT=MM*(thick/Es)+1+NINT(xnp1/Es)+(NINT(ynp1/Es))*NiY
!top surface recei
vers NINT
recvrB=1+NINT(xnp1/Es)+(NINT(ynp1/Es))*NiY
!botm surface rece
ivers
*ENDDO
!*******************************nod id for the corresponding circular pzts ends*
*************************************
!*******************************************************************************
*************************************
!*******************************************************************************
******
!********Node generation ends here**********************************************
******
!*******************************************************************************
******
TYPE,1
E,1,2,NiY+2,NiY+1,MM+1,MM+2,MM+2+NiY,MM+1+NiY
EGEN,l/Es,1,ALL,,,,,,,,Es,0,0
EGEN,thick/Es,MM,ALL,,,,,,,,0,0,Es
EGEN,(b/Es),NiY,ALL,,,,,,,,0,Es,0
totpltelm=(l/Es)*(b/Es)*(thick/Es)
stpostf=1+(stf1/Es)+(thick/Es)*MM
E,stpostf,stpostf+1,stpostf+1+NiY,stpostf+NiY,lastnode+1,lastnode+2,lastnode+2+N
iY,lastnode+1+NiY
EGEN,stwid1/Es,1,totpltelm+1,,,,,,,,Es,0,0
x1=lastnode+1
*IF,(stfthck/Es),GT,1,THEN
*DO,kk,1,(stfthck/Es-1)
E,x1,x1+1,x1+1+NiY,x1+NiY,x1+stwid1/Es+1,x1+1+stwid1/Es+1,x1+1+stwid1/Es+1+NiY,x
1+stwid1/Es+1+NiY
EGEN,stwid1/Es,1,totpltelm+(stwid1/Es)*kk+1,,,,,,,,Es,0,0
x1=x1+stwid1/Es+1
*ENDDO
*ENDIF
EGEN,delyst/Es,NiY,totpltelm+1,totpltelm+(stwid1/Es)*(stfthck/Es),,,,,,,0,Es,0
lftelmdel=totpltelm+(stwid1/Es)*(stfthck/Es)*(delyst/Es)
!*******************************************************************************
******************************
*IF,(delst-stf1),GT,0,THEN
d1=stpostf+(delyst/Es)*NiY
E,d1,d1+1,d1+1+NiY,d1+NiY,lastnode+1+(delyst/Es)*NiY,lastnode+2+(delyst/Es)*NiY,
lastnode+2+(delyst/Es)*NiY+NiY,lastnode+1+(delyst/Es)*NiY+NiY
EGEN,(delst-stf1)/Es,1,lftelmdel+1,lftelmdel+(delst-stf1)/Es,,,,,,,Es,0,0
x2=lastnode+1+(delyst/Es)*NiY
*IF,(stfthck/Es),GT,1,THEN

*DO,kk,1,(stfthck/Es-1)
E,x2,x2+1,x2+1+NiY,x2+NiY,x2+stwid1/Es+1,x2+1+stwid1/Es+1,x2+1+stwid1/Es+1+NiY,x
2+stwid1/Es+1+NiY
EGEN,(delst-stf1)/Es,1,lftelmdel+((delst-stf1)/Es)*kk+1,,,,,,,,Es,0,0
x2=x2+stwid1/Es+1
*ENDDO
*ENDIF
EGEN,(b-delyst)/Es,NiY,lftelmdel+1,lftelmdel+(delst-stf1)/Es*(stfthck/Es),,,,,,,
0,Es,0
*ENDIF
!*******************************************************************************
*******************************
s1=lastnode+1+(delst-stf1)/Es+NiY*delyst/Es
t1=s1
delaelmfst=lftelmdel+(delst-stf1)/Es*(stfthck/Es)*(b-delyst)/Es
E,h1,h1+1,h1+1+NiYdel,h1+NiYdel,s1,s1+1,s1+1+NiY,s1+NiY
EGEN,delawid/Es,1,delaelmfst+1,,,,,,,,Es,0,0
*IF,(stfthck/Es),GT,1,THEN
*DO,kk,1,(stfthck/Es-1)
E,s1,s1+1,s1+1+NiY,s1+NiY,s1+stwid1/Es+1,s1+1+stwid1/Es+1,s1+1+stwid1/Es+1+NiY,s
1+stwid1/Es+1+NiY
EGEN,delawid/Es,1,delaelmfst+(delawid/Es)*kk+1,,,,,,,,Es,0,0
s1=s1+stwid1/Es+1
*ENDDO
*ENDIF
j1=delaelmfst+(stfthck/Es)*(delawid/Es)
*DO,kk,1,(delength/Es-1)
E,h1+NiYdel*kk,h1+NiYdel*kk+1,h1+NiYdel+1+NiYdel*kk,h1+NiYdel+NiYdel*kk,t1+NiY*k
k,t1+1+NiY*kk,t1+1+NiY+NiY*kk,t1+NiY+NiY*kk
EGEN,delawid/Es,1,j1+1+(delawid/Es)*(kk-1),,,,,,,,Es,0,0
*ENDDO
*IF,(stfthck/Es),GT,1,THEN
EGEN,delength/Es,NiY,delaelmfst+(delawid/Es)+1,delaelmfst+(stfthck/Es)*(delawid/
Es),,,,,,,0,Es,0
*ENDIF
totdelaelm=delaelmfst+(stfthck/Es)*(delawid/Es)*(delength/Es)
m1=1+delst/Es+MM*(thick/Es)+NiY*(delyst+delength)/Es
l1=lastnode+1+(delst-stf1)/Es+NiY*(delyst+delength)/Es
E,m1,m1+1,m1+1+NiY,m1+NiY,l1,l1+1,l1+1+NiY,l1+NiY
EGEN,(delawid/Es),1,totdelaelm+1,,,,,,,,Es,0,0
*IF,stfthck/Es,GT,1,THEN
*DO,kk,1,stfthck/Es-1
z1=l1+(kk-1)*(stwid1/Es+1)
E,z1,z1+1,z1+1+NiY,z1+NiY,z1+1+(stwid1/Es),z1+1+(stwid1/Es)+1,z1+1+(stwid1/Es)+1
+NiY,z1+1+(stwid1/Es)+NiY
EGEN,(delawid/Es),1,totdelaelm+(delawid/Es)*kk+1,,,,,,,Es,0,0
*ENDDO
*ENDIF
lastelm=totdelaelm+(delawid/Es)*(stfthck/Es)
EGEN,(b-delyst-delength)/Es,NiY,totdelaelm+1,lastelm,,,,,,,0,Es,0

q1=1+(delst+delawid)/Es+MM*(thick/Es)+NiY*delyst/Es
r1=lastnode+1+(delst-stf1+delawid)/Es+NiY*delyst/Es
lastm=totdelaelm+(delawid/Es)*(stfthck/Es)*(b-delyst-delength)/Es
!*******************************************************************************
*************************
*IF,(stwid1-(delst-stf1)-delawid),GT,0,THEN
E,q1,q1+1,q1+1+NiY,q1+NiY,r1,r1+1,r1+1+NiY,r1+NiY
EGEN,(stwid1-(delst-stf1)-delawid)/Es,1,lastm+1,,,,,,,,Es,0,0
*IF,stfthck/Es,GT,1,THEN
*DO,kk,1,stfthck/Es-1
y1=r1+(stwid1/Es+1)*(kk-1)
E,y1,y1+1,y1+1+NiY,y1+NiY,y1+stwid1/Es+1,y1+1+stwid1/Es+1,y1+1+stwid1/Es+1+NiY,y
1+stwid1/Es+1+NiY
EGEN,(stwid1-(delst-stf1)-delawid)/Es,1,lastm+(stwid1-(delst-stf1)-delawid)/Es*k
k+1,,,,,,,Es,0,0
*ENDDO
*ENDIF
lol=lastm+(stwid1-(delst-stf1)-delawid)/Es*(stfthck/Es)
EGEN,(b-delyst)/Es,NiY,lastm+1,lol,,,,,,,0,Es,0
*ENDIF
!*******************************************************************************
************************
f91=totpltelm+(stwid1/Es)*(b/Es)*(stfthck/Es)
w1=lastnode+1+(stwid1/Es+1)*(stfthck/Es-1)+(web1-stf1)/Es
E,w1,w1+1,w1+1+NiY,w1+NiY,flglstnd+1,flglstnd+2,flglstnd+2+NiY,flglstnd+1+NiY
EGEN,webthck/Es,1,f91+1,,,,,,,,Es,0,0
v1=(webthck/Es+1)
*IF,webht/Es,GT,1,THEN
*DO,kk,1,(webht/Es-1)
E,flglstnd+1+(kk-1)*v1,flglstnd+2+(kk-1)*v1,flglstnd+2+(kk-1)*v1+NiY,flglstnd+1+
(kk-1)*v1+NiY,flglstnd+1+kk*v1,flglstnd+2+kk*v1,flglstnd+2+kk*v1+NiY,flglstnd+1+
kk*v1+NiY
EGEN,webthck/Es,1,f91+1+kk*(webthck/Es),,,,,,,,Es,0,0
*ENDDO
*ENDIF
EGEN,b/Es,NiY,f91+1,f91+(webthck/Es)*(webht/Es),,,,,,,0,Es,0
!*******************************************************************************
**************************
!*****************Contact Modelling starts here*********************************
**************************
TYPE,2
REAL,1
u1=1+delst/Es+MM*(thick/Es)+NiY*(delyst/Es)
NSEL,S,NODE,,u1,u1+delawid/Es
*DO,kk,1,delength/Es
NSEL,A,NODE,,u1+kk*NiY,u1+delawid/Es+kk*NiY
*ENDDO

ESURF
NSEL,ALL
TYPE,3
REAL,1
NSEL,S,NODE,,h1,h1+delawid/Es
*DO,kk,1,delength/Es
NSEL,A,NODE,,h1+kk*NiYdel,h1+delawid/Es+kk*NiYdel
*ENDDO
ESURF
NSEL,ALL
!*******************************contact modelling ends**************************
************
!*******************************PZT1 modelling starts***************************
************
!*******************************************************************************
************
TYPE,4 $ MAT,2
lstelmdm=f91+(webthck/Es)*(webht/Es)*(b/Es)+2*(delength/Es)*(delawid/Es)
!last element of the delamination zone
pzn=dmx1/Es+1
*DO,kk,1,dmy1/Es
E,pz1n1+(kk-1)*NiY,pz1n1+1+(kk-1)*NiY,pz1n1+1+NiY+(kk-1)*NiY,pz1n1+NiY+(kk-1)*Ni
Y,lstnddm+1+(kk-1)*pzn,lstnddm+2+(kk-1)*pzn,lstnddm+2+pzn+(kk-1)*pzn,lstnddm+1+p
zn+(kk-1)*pzn
EGEN,dmx1/Es,1,lstelmdm+1+(kk-1)*(dmx1/Es),,,,,,,,Es,0,0
*ENDDO
!***creating coupled nodes in Volt d.o.f************
NSEL,S,NODE,,pz1n1,pz1n1+dmx1/Es
*DO,kk,1,dmy1/Es
ending to the previously selected nodes
NSEL,A,NODE,,pz1n1+kk*NiY,pz1n1+dmx1/Es+kk*NiY
*ENDDO

!for ap

CP,1,VOLT,ALL
*GET,N1_bot,NODE,0,NUM,MIN
D,N1_bot,VOLT,0
NSEL,S,NODE,,lstnddm+1,lstndpzt1
CP,2,VOLT,ALL
*GET,N1_top,NODE,0,NUM,MIN
!*******************************PZT2 modelling starts***************************
************
!*******************************************************************************
************
lstelmpzt1=f91+(webthck/Es)*(webht/Es)*(b/Es)+2*(delength/Es)*(delawid/Es)+(dmx1
/Es)*(dmy1/Es)
!last element of PZT1
pzn2=dmx2/Es+1
*DO,kk,1,dmy2/Es

E,pz2n1+(kk-1)*NiY,pz2n1+1+(kk-1)*NiY,pz2n1+1+NiY+(kk-1)*NiY,pz2n1+NiY+(kk-1)*Ni
Y,lstndpzt1+1+(kk-1)*pzn2,lstndpzt1+2+(kk-1)*pzn2,lstndpzt1+2+pzn2+(kk-1)*pzn2,l
stndpzt1+1+pzn2+(kk-1)*pzn2
EGEN,dmx2/Es,1,lstelmpzt1+1+(kk-1)*(dmx2/Es),,,,,,,,Es,0,0
*ENDDO
!***creating coupled nodes in Volt d.o.f PZT2************
NSEL,S,NODE,,pz2n1,pz2n1+dmx2/Es
*DO,kk,1,dmy2/Es
ending to the previously selected nodes
NSEL,A,NODE,,pz2n1+kk*NiY,pz2n1+dmx2/Es+kk*NiY
*ENDDO

!for ap

CP,3,VOLT,ALL
*GET,N2_bot,NODE,0,NUM,MIN
D,N2_bot,VOLT,0
NSEL,S,NODE,,lstndpzt1+1,lstndpzt2
CP,4,VOLT,ALL
*GET,N2_top,NODE,0,NUM,MIN
!*******************************PZT2 modelling ends*****************************
*****************
!*******************************boundary condition starts***********************
*****************
!*DO,ii,1,(thick/Es+1)
!*DO,jj,1,l/Es+1
!H=jj+MM*(ii-1)
!D,H,ALL
!*ENDDO
!*ENDDO
!*DO,ii,1,(thick/Es+1)
!*DO,jj,1,l/Es+1
!H=jj+NiZ*(b/Es)+MM*(ii-1)
!D,H,ALL
!*ENDDO
!*ENDDO
!*DO,ii,1,(thick/Es+1)
!*DO,jj,2,b/Es
!H=1+(ii-1)*MM+NiY*(jj-1)
!D,H,ALL
!*ENDDO
!*ENDDO
!*DO,ii,1,(thick/Es+1)
!*DO,jj,2,b/Es
!H=1+(ii-1)*MM+NiY*(jj-1)+l/Es
!D,H,ALL
!*ENDDO
!*ENDDO
!*******************BC ends for the plate***************************************
**************
NSEL,S,LOC,Y,0,0
NSEL,A,LOC,Y,b,b
!NSEL,A,LOC,X,0,0
!NSEL,A,LOC,X,l,l

D,ALL,ALL
!******************BC ends for the plate with stiffeners (this is optional)*****
**************
FINISH
SAVE
!************Use this block for transient dynamic analyis (data not stored in fi
les)**********
!********************Look at the GUI command prompt for reviving data***********
**************
/CONFIG,NRES,1000000
/SOLU
ANTYPE,TRANS
NROPT,FULL
TRNOPT,FULL
*DIM,FORCE1,TABLE,1076,1
*DIM,FORCE2,TABLE,1076,1
*TREAD,FORCE1,'D:\nonlin_pzt2016\150_20khZalpaPt5\150_20khz_15cyPt5alf_hn1',DAT
*TREAD,FORCE2,'D:\nonlin_pzt2016\150_20khZalpaPt5\mins150_20khz_15cyPt5alf_hn2',
DAT
TINTP,,0.25,0.5,0.5
SIS

! INTEGRATION PARAMETERS FOR A PIEZOELECTRIC ANALY

OUTRES,ALL,ALL,
! save all substep results
!OUTRES,NSOL,ALL,
TIMINT,ON,ALL
TM_START=1E-12
! Starting time (must be > 0)
TM_END=0.00143333333
! Ending time of the transient
TM_INCR=0.000001333333
DELTIM,0.000001333333
*DO,TM,TM_START,TM_END,TM_INCR
! Do for TM from TM_START to TM_END in steps
of TM_INCR
TIME,TM
! Time value
D,N1_top,VOLT,FORCE1(TM)
D,N2_top,VOLT,FORCE2(TM)
!F,75341,FY,FORCE1(TM)
!F,470086,FY,FORCE1(TM)
!F,470076,FY,FORCE1(TM)
!F,470066,FY,FORCE2(TM)
!F,570076,FY,FORCE2(TM)

! Time-varying force (at node Subs, FY)

NSEL,ALL
SOLVE
DELTIM,0.000001333333
*ENDDO
FINISH

! Activate all nodes


! Initiate solution calculations

!*******************Transient Analysis ends here********************************


****************
!**************Modal Analysis Starts Here***************************************
****************

!FINISH
!/SOLU
!ANTYPE,MODAL
!MODOPT,SUBSP,%R%
!EQSLV,FRONT
!MXPAND,%R%
!SOLVE

!PREPROCESSOR ENDS

!fstnde=1+(thick/Es)*MM
!n=1
!noddw=(l/Es+1)*(b/Es+1)
!*DIM,YDISP,ARRAY,%noddw%,%R%
!/POST1
!*DO,zz,1,R,1
!*IF,zz,EQ,1,THEN
!SET,FIRST
!*ELSE
!SET,NEXT
!*ENDIF
!n=1
!*DO,ii,1,(b/Es+1)
!d2=fstnde+NiY*(ii-1)
!*DO,jj,1,(l/Es+1)
!d1=d2+jj-1
!YDISP(n,zz)=UY(d1)
!n=n+1
!*ENDDO
!*ENDDO
!*ENDDO
!*MWRITE,YDISP,'E:\debashis(24.01.15)\2orthogonal_fixed\Tstiff-2fulWidDel(214-31
6)\214-316Fl-dl_orth_DISPINY_%noddw%',txt
!(5F15.11)
!FINISH
!SAVE
!*************Modal Analysis ends here******************************************
****************
!*************Harmonic Analysis starts here*************************************
****************
!/SOLU
!ANTYPE,3
!F,17073,FY,1
!HARFRQ,50,55,
! Frequency range
!NSUBST,5,
! Number of frequency steps
!KBC,1
!SOLVE
!/POST26
!K=(1+(thick/Es)*MM+(8E-3)/Es+NiY*((8E-3)/Es))
!T=K
!The first node of the sensor gr
id at the top left in X-Z plane.
!P=1
!psudoEs=3*Es
!l1=l-8E-3-8E-3
!b1=b-8E-3-8E-3
!m1=(l1/psudoEs+1)*(b1/psudoEs+1)
!*DIM,YDISP,ARRAY,5,%m1%
!*DO,HH,1,(b1/psudoEs+1),1

!*DO,JJ,1,(l1/psudoEs+1),1
!NSOL,2,K,U,Y,UY_2
!VGET,YDISP(1,P),2,,0
!K=K+3
!P=P+1
!*ENDDO
!K=T+NiY*(HH*3)
!*ENDDO
!*MWRITE,YDISP,'E:\debashis(24.01.15)\DISPINY_1000',txt
!(1936F12.9)
!FINISH
!SAVE
!**************Harmonic Analysis COmpletes here*********************************
****************
!!hool

Você também pode gostar