I tried to built up this model with workbench , and for more simpicilty I assumed only the Piezo sensor attached to the surface of cantilever plate 1 cm from the root
I added next APDL macro to the coupled field block :
nsel,r,loc,x,0.01,0.095 !dimensions and location of piezo sensor surface
then I added next APDL macro to the solution block (modal analysis) :
INPUTTAB(1,1) = 246 !node number at the tip of the cantilever
INPUTTAB(1,2) = 3
INPUTLAB(1) = ‘246_Uz’ !displacement of node 246 in the Z direction
outputTab(1,1) = 1
outputTab(1,2) = 3
outputLab(1) = ‘n1_volt'
unfortunately , I recieved the next error :
” The results file (file0.rst) is not available for the NSET option on *GET command. The requested *GET data cannot be retrieved.”
Could you please help me please with that error ?