August 29, 2023 at 4:56 pm
Ansys Employee
There's no direct way. Two generic examples of an indirect way are below.
Method 1:
/post1
*get,ecount,elem,,count
emin=0
*do,iii,1,ecount,1
emin=elnext(emin)
!!! retrieve numerical value of EX for element emin as exval
detab,emin,EX_,exval
*enddo
pletab,EX_
2nd method based on temp-dep EX:
!
set,last
!
*get,ecnt,elem,,count
*get,emax,elem,,num,max
*del,emmm,,nopr
*dim,emmm,'ARRAY',emax
etab,etemp,'BFE','TEMP'
ei=0
*do,i,1,ecnt
ei=elnext(ei)
*get,emno,'ELEM',ei,'ATTR','MAT'
*get,itemp,'ELEM',ei,'ETAB',etemp
*get,emmm(ei),'EX',emno,'TEMP',itemp
*enddo
*vput,emmm(1),'ELEM',1,'ETAB',etemp
eplot
/triad,lbot
/VIEW,1,1,1,1
/ANG,1
/auto,1
!
/SHOW,PNG,,0
/GFILE,1200,
Plet,etemp
/SHOW,CLOSE