By default OnScale calculates the velocity arrays for a simulation. You must explicitly request any other results that you're interested in. You do this by adding outputs.
Let's add two outputs:
- A time history of the acoustic pressure on top of the PZT disk
- The maximum pressure array
Note: Plotting acoustic pressure is a great way of visualizing the shape of the acoustic beam produced by the device. In this example we can see some high pressure peaks, which is typical in the near field of an acoustic source.
Adding the Time History of Acoustic Pressure
- In the Model Tree, beside Outputs, click . A new output is added and, by default, its Output Type is Time History and its Array Type is Acoustic Pressure. That's what we want, so all we need to do now is specify a location (the top of the PZT disk).
- In the Properties window, expand Location (mm) and, for Y, type 6. A circle shows at this point on your model, representing the output.
Adding the Maximum Pressure Array
- In the Model Tree, beside Outputs, click .
- In the Properties window, for Output Type, select Field Data.
- For Array Type, select Displacement.
- For Array Component, select Y.
- For Field Type, select Maximum.
We've finished the model! Now let's run the simulation.