Good afternoon, i am trying to solve 2D problem of crack propagation in a plate. I have a code that used to work in previous versions of ANSYS but later it started to fail with the problem: "Requested data is not stored for node 6.

Line= *GET, SIGMA, node, num, s, y

The *GET command is ignored. "

The code is shown bellow.

finish

/clear,start

/filname,crack

/prep7

*dim,length,array,500

*dim,time,array,500

*dim,vel,array,50

*dim,timv,array,50

sig=-18.5e6

rectng,0,0.05,0,0.05

mptemp,1

mpdata,ex,1,,3.5e9

mpdata,prxy,1,,.05

mpdata,dens,1,,1.2e3

et,1,plane42,,,3,

r,1,0.004

aesize,1,0.002

amesh,all

finish

/solu

antype,trans

trnopt,full

lsel,s,line,,3,

nsll,s,1

sf,all,pres,sig

lsel,all

nsel,all

nsel,s,node,,1

nsel,a,node,,2,26

d,all,uy

nsel,all

d,52,ux

d,27,ux

outres,all,all

kbc,1

timeint,on

time,100

rescon,define,none

solve

nsel,s,node,,1

nsel,a,node,,3,5

ddele,all,uy

nsel,all

kbc,1

timeint,on

time,100+9e-7

rescon,define,none

solve

ii=1

jj=0

pp=1

SIGMA=100000

num=6

*dowhile,pp

*get,SIGMA,node,num,s,y

jj=jj+1

*if,SIGMA,gt,60e6,then

ddele,num,uy

num=num+1

vel(num-5)=0.0021/(jj*9e-7)

timv(num-5)=ii*9e-7

jj=0

*endif

stress=SIGMA*1e-6

*status,stress

*status,num

length(ii)=(num-2)*0.002

time(ii)=9e-7+ii*9e-7

time,100+9e-7+ii*9e-7

kbc,1

solve

ii=ii+1

*status,ii

*if,num,gt,26,*exit

*enddo

finish

*mwrite,length(1),leng,txt

(f9.6)

*mwrite,time(1),tim,txt

(f9.7)

*mwrite,vel(1),vel,txt

(f14.6)

*mwrite,timv(1),timv,txt

(f9.7)

More Vasily Lutsek's questions See All
Similar questions and discussions