VM-R020-t3a 183 Input Listing


/COM,ANSYS MEDIA REL. 2024R2 (05/10/2024) REF. VERIF. MANUAL: REL. 2024R2
/verify,vmr020-t3a-183
/title,vmr020-t3a-183,Angle crack plate embedded in a plate (Uniaxial tension)
/com,
/com, Problem is taken from NAFEMS Publication
/com, "2D Test Cases in Linear Elastic Fracture Mechanics"
/com, Test case 3.1, crack angle = 22.5
/com,
/com, Reference: Rooke D P and Cartwright D J : Compendium
/com, of stress intensity factors, HMSO, London, England (1976)
/com,
/com, **********************************************************
/com, Stress Intensity Factor Calculation using Interaction
/com, Integral Approach
/prep7

e=207000		    !youngs modulus
nu=0.3			    !poissons ratio
sig=100			    !surface load
a=25			    !length of the crack
pi=3.141593

et,1,plane183,,,2	!plane183 elements, plane strain

mp,ex,1,e
mp,nuxy,1,nu

k,1,,,
k,2,40.433,,
k,3,100,,
k,4,100,62.5
k,5,50,62.5
k,6,40.433,39.404
k,7,50,62.5
k,8,,62.5
k,9,,125
k,10,59.567,125
k,11,59.567,85.596
k,12,100,125

l,1,2
l,2,6
l,6,7
l,7,8
l,8,1

al,1,2,3,4,5

l,2,3
l,3,4
l,4,5
l,5,6

al,6,7,8,9,2

l,4,12
l,12,10
l,10,11
l,11,5

al,10,11,12,13,8

l,10,9
l,9,8
l,7,11

al,14,15,4,16,12

kscon,6,5,1,8,0.75	! crack tip elements
kscon,11,5,1,8,0.75	! crack tip elements

esize,4
amesh,1
amesh,2
amesh,3
amesh,4
cskp,11,0,6,5,9
cskp,12,0,11,5,3
csys,0

/solu
autots,on
nsubst,10
outres,all,all
nsel,s,loc,y,0
nsel,r,loc,x,0,100
d,all,uy,0
nsel,r,loc,x,100
d,all,ux,0
nsel,all
lsel,s,line,,14
lsel,a,line,,11
sfl,all,press,-sig
lsel,all

nsel,s,loc,y,39.404
nsel,r,loc,x,40.433
cm,crack1,node     	! define the crack tip node component

nsel,s,loc,y,85.596
nsel,r,loc,x,59.567
cm,crack2,node     	! define the crack tip node component

cint,new,1
cint,type,sifs          ! calculate stress intensity factor
cint,ctnc,crack1      	! crack ID
cint,ncon,5          	! number of countours
cint,symm,off          	! symmetry off
cint,norm,12,2         
cint,list
allsel,all

cint,new,2
cint,type,sifs          ! calculate stress intensity factor
cint,ctnc,crack2      	! crack ID
cint,ncon,5           	! number of countours
cint,symm,off         	! symmetry off
cint,norm,11,2         
cint,list
allsel,all
solve
fini 

/out,scratch
/post1
prcint,2,,k1
csys,0
rsys,0
*get,k1_1,cint,2,ctip,node(59.567,85.596,0),,1,dtype,k1
*get,k1_2,cint,2,ctip,node(59.567,85.596,0),,2,dtype,k1
*get,k1_3,cint,2,ctip,node(59.567,85.596,0),,3,dtype,k1
*get,k1_4,cint,2,ctip,node(59.567,85.596,0),,4,dtype,k1
*get,k1_5,cint,2,ctip,node(59.567,85.596,0),,5,dtype,k1

con1 = ((pi*a)**0.5)
k1=(k1_2+k1_3+k1_4+k1_5)/4
*stat,k1
k0=(sig*con1)
norm_k1=k1/k0
*stat,norm_k1

prcint,2,,k2
*get,k2_1,cint,2,ctip,node(59.567,85.596,0),,1,dtype,k2
*get,k2_2,cint,2,ctip,node(59.567,85.596,0),,2,dtype,k2
*get,k2_3,cint,2,ctip,node(59.567,85.596,0),,3,dtype,k2
*get,k2_4,cint,2,ctip,node(59.567,85.596,0),,4,dtype,k2
*get,k2_5,cint,2,ctip,node(59.567,85.596,0),,5,dtype,k2

con1 = ((pi*a)**0.5)
k2=(k2_2+k2_3+k2_4+k2_5)/4
k0=(sig*con1)
norm_k2=k2/k0
*stat,norm_k2
/out,

*DIM,LABEL,CHAR,2,5
*DIM,VALUE,,2,3
LABEL(1,1) = 'KI','KII'
*VFILL,VALUE(1,1),DATA,0.19,0.405
*VFILL,VALUE(1,2),DATA,norm_k1,norm_k2
*VFILL,VALUE(1,3),DATA,ABS(norm_k1/0.190 ),ABS(norm_k2/0.405 )
SAVE,TABLE_1


/NOPR
/COM
/OUT,vmr020-t3a-183,vrt
/COM,------------------- vmr020-t3a-183 RESULTS COMPARISON ---------------------
/COM,
/COM,              |   TARGET   |   MECHANICAL APDL   |   RATIO
/COM,
RESUME,TABLE_1
/COM,USING STRESS INTENSITY FACTOR CALCULATION 
*VWRITE,LABEL(1,1),LABEL(1,2),VALUE(1,1),VALUE(1,2),VALUE(1,3)
(1X,A4,A4'   ',F10.3,'  ',F12.3,'   ',1F16.3)
/COM,
/COM,
/COM,-------------------------------------------------------------------------------
/OUT
FINISH
*list,vmr020-t3a-183,vrt