Adding Outputs

Follow

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

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.

0 out of 0 found this helpful

4 comments

  • Hi, Gavin ... In this case, how to assign the setting to obtain the "time history of field data" such as for pressure or velocity field?

    Comment actions Permalink
  • Hi James,

    The above is describing how to add an acoustic pressure time history from the field data. To plot the whole field data you would set Output Type as field data.

    Best Regards,
    Chloe.

    Comment actions Permalink
  • Hi, Chloe

    I know how to plot field data. However, I don't see any setting to plot "time-dependent field data", which will be used to generate animation of the field data. Could you advise?

    Thanks,

    James

    Comment actions Permalink
  • Hi James,

    Sorry I misunderstood your question, currently you cannot get time-dependent field data from Designer. However in Analyst you can get the time dependent field data using the command data hist.

    Best Regards,
    Chloe.

    Comment actions Permalink

Please sign in to leave a comment.