Hello,

I would like to create an APDL command that would create a table with 32rows, 16 columns and 1 plane that would store node "location" once on the first line; and for every time step add a new row of values of deformation amplitude at each node with the corresponding time at the begining of each line .

This table would allow me to plot deformation amplitude vs length at any given step.

I have defined a Path with construction geometry along the line where I am leading my study so I have access to the length vs amplitude of deformation, but only at a random step.

Also, I am doing this simulation with Harmonic Response which allows me to visualise the deformation at a given frequency. I can see the whole "cycle" of deformation so I know we can get that information but I do not know how to access and store length vs amplitude of deformation for every "time step" of the simulated deformation (the whole cycle).

Here are the commands I tried to use :

\POST1

*dim,narray,array,33,14     ! define a matrix

*dim,node_vmask,array,ncount        !define mask vector ncount is node count. You can use *get command to retrieve that

!select the nodes for which you need the result

*vget,node_vmask(1),node,,nsel

nsel,s,node,,1,ncount

*vmask,node_vmask(1)

*vget,narray(1,1),node,,nlist !column 1 has node list

*vget,narray(1,2),node,,loc,x !column 2 has node location X

*do,i,1,tset                   !use *do loop to retrieve uy at all result sets. tset is total time set. you will need a *get to retrieve that value

set,,,,,,,i

*vmask,node_vmask(1)

*vget,narray(1,i+2),node,,u,y        !get Y direction displacement

*enddo

*vmask,node_vmask(1)

*mwrite,narray,my_output,txt       !writes out a 2D matrix

(F10.0,TL1,13(F20.8))

But I only get a table of zeros.

Further more I'd like to to the same Matrix but with the directionnal velocity instead of the directionnal displacment(deformation).

PS : I am simulating a simplified ultrasonic piezo transducer that is based on a 2D model with an axisymmetry around the Y axis. The analysis is still in 2D.

More Mackenzie Pandaleon's questions See All
Similar questions and discussions