Adding Outputs

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

our-outputs.png

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

  1. 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).
  2. In the Properties window, expand Location (mm) and, for Y, type 6. A circle shows at this point on your model, representing the output.

output.png

Tip: Another way of adding a time history is as follows:

  1. In the Model Graphics tab of the ribbon, click Point.
  2. In the model, hover over the point where the time history should go so that a yellow cross appears. Click to select this point.
  3. Right-click anywhere in the model and select Attach Time History.

Adding the Maximum Pressure Array

  1. In the Model Tree, beside Outputs, click .
  2. In the Properties window, for Output Type, select Field Data.
  3. For Array Type, select Displacement.
  4. For Array Component, select Y.
  5. For Field Type, select Maximum.

What Next?

We've finished the model! Now let's run the simulation.