This is a modelling guide to help you get started simulating phased arrays in OnScale. In this initial example you will be shown how to get the beam profile of a basic 2D phased array model created using the symbol language.
What is symbol?: Check out these articles to get more familiar with OnScale's scripting language symbol.
Phased arrays are ultrasonic devices which are made up of multiple elements which transmit and receive signals that are pulsed from each element in such a way that causes the sound waves to combine to form a single wave front propagating in a direction. The direction of the beam can be controlled by adding delays to the firing of each element (a.k.a. delay laws). This 2D phased array consists of 16 elements which is focused using an angle and a radius.
Download and Open the Model
Download: Phased Array 2D Model
OnScale Input Files have the file extension *.flxinp. To open the downloaded file:
- Open OnScale
- Select Analyst Mode
- Select the Menu button in the top left of the application
- Select Open
Preview model is used to view the geometry dimensions and material assignment of a model to ensure the script is correct. To preview a model, select the Preview Model icon in the Home tab of the application ribbon.
Note: Preview model will display data from any grph commands that come before the prcs command. If you have more than one grph command, you can cycle through the graphics by continuously selecting Preview Model. To close the preview, select Stop Preview.
Run Model on Cloud
To run the model on the cloud, select the Run on Cloud button in the Home tab of the application and follow these steps:
- Click Select and open the file you wish to run (2D_Phased_Array.flxinp)
- Select Estimate
- Select Run
- From the Home tab, select the Storage icon
- Select the Refresh icon to refresh storage
- Select the Job Name from the dropdown menu
- Select the Download button
- Select Download All
Choose a directory to download the results to. These results will be stored in the folder: 2D_Phased_Array-YYYYMMDD-HHMMSS\1 where YYYYMMDD-HHMMSS is the current date and time.
Switch to Post Processor
Post Processor is a suite of tools used to visualize and analyse output data generated from OnScale simulations. Switch to Post Post Processor.
What kind of analysis can I do in Post Processor? Find out here.
To see the beam profile of the phased array, follow these steps:
- In File Explorer, navigate to the download directory and double click the file '2D_Phased_Array.flxdato' to open it
- In Results Manager, double click the data array 'pmax' to plot it
- In Plot Controls, tick the User defined data range box
- Set Max to 6e4
Perform a parametric sweep using this model
Get more familiar with OnScale's 3 Modes and their capabilities