Transient-Strucutral 2D - Apply Sine Voltage on a Piezoceramik
I simulate a piezo transducer with the "Piezo and MEMES" toolbox in Workbench. I want to investigate the transient response of the transducer with a 2D Transient Strucural Analysis. For this purpose I have to apply a sine wave voltage at a certain frequency to the ceramics. My first attempt was the following one using an APDL code:
tabvolt(1) = 0,5.877,9.5,9.5,5.877,0,-5.877,-9.5,-9.5,-5.877,0,5.877,9.5,9.5,5.877,0,-5.877,-9.5,-9.5,-5.877,0 ! VOLTAGE
tabvolt(1,0) = 0.01,0.012,0.014,0.016,0.018,0.020,0.022,0.024,0.026,0.028,0.03,0.032,0.032,0.034,0.036,0.038,0.04,0.042,0.044,0.046,0.048,0.05 ! TIME
! Apply time varying voltage
Only the voltage is kept constant at -9.5V from t=0.04s6 until the end of the simulation.
I still apply a normal force and have specified a beta-damping.
My hoped-for goal is to have a loop which can ideally be operated by parameters such as number of oscillations, operating frequency, voltage amplitude, sampling of the sine (in the example above, the sine is applied over 10 points) and an offset for applying the normal force (approx. 0.01s, then the sine can be applied).
From the structure of the transients I would say it would be good to apply the normal force in the first step and to have a new step for each harmonic or fundamental.
I would like to control the simulation with Matlab and define the variables there.
For the beginning it would be very good, if I can bring for example a sine wave 5 periods on the ceramics at the frequency of 65000Hz with 10 points per sine wave and an amplitude of 10V. Currently it only works at 1.5 periods and a frequency of 50Hz.
I hope I have described my problem sufficiently for now.
Many thanks in advance!