Straight Waveguide

This is a modelling guide to help you get started simulating optical waveguides in OnScale. In this initial example, the model is a simple straight waveguide built in Analyst using symbol. We will analyse the electromagnetic field output.

What is symbol?: Check out these articles to get more familiar with OnScale's scripting language symbol.

Model Description

This basic 3D optical wave guide has a core 1500 nm wide and 800 nm thick. 

straight_model.png

 

Download and Open the Model

Download:  Straight Waveguide

OnScale Input Files have the file extension *.flxinp. To open the downloaded file:

  1. Open OnScale 
  2. Select Analyst Mode
  3. Select the Menu button in the top left of the application
  4. Select Open
open.png

Preview Model

staight_model_dims_full.png 

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.

preview.png

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:

  1. Click Select and open the file you wish to run (straight_tcos.flxinp)
  2. Select Estimate
  3. Select Run
run_on_cloud.png

Download Results

  1. From the Home tab, select the Storage icon
  2. Select the Refresh icon to refresh storage
  3. Select the Job Name from the dropdown menu
  4. Select the Download button
  5. Select Download All
download_straight.png

Choose a directory to download the results to. These results will be stored in the folder: straight_tcos-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 visualise and analyse output data generated from OnScale simulations. Switch to Post Post Processor.

pp.png

What kind of analysis can I do in Post Processor? Find out here.

Analyse Results

To plot the electromagnetic field in Y, follow these steps:

  1. In File Explorer, navigate to the download directory and double click the file 'straight_tcos.flxdato' to open it
  2. In Results Manager, right click Time-30 > ey and select Plot Data Over Time
  3. In Plot Controls, select the play button to plot a video of the electromagnetic field (click and drag to rotate the model)

plot_straight.png

What's Next?

Bent Waveguide Monte Carlo Simulation

Get more familiar with OnScale's 3 Modes and their capabilities