How to Run a Script in Ansys Lumerical
Lumerical – Run – Script Command
Prior to toggling the run script in Ansys Lumerical, first, launch/run the simulation.
All simulation data will be stored to the active simulation file once the experiment is complete.
From here, the GUI will then reload the modified simulation file.
For Run Command Scripts in Lumerical FDTD,
Remember, before hitting the run script in Ansys Lumerical, first, start the simulation.
Syntax  Description 

run; 
Launch the simulation using the resource manager’s parallel mode settings. There is no data returned by this function. 
run(option1); 
Option1 (default: 3) can be:

Syntax  Description 

run; 
Start the simulation. The settings from the first active resource in the resource manager will be used to execute the simulation. Note, there is no data returned by this function. 
Practical run Lumerical Command Script Example
Create and run a new simulation in FDTD.
newproject; # create a new simulation file addfdtd; # add the FDTD simulation region adddipole; # add a diopole source run; # run the simulation in parallel mode
Ansys Lumerical Products
Designers can model interacting optical, electrical, and thermal effects thanks to tools that seamlessly integrate device and system level functionality. A variety of processes that combine device multiphysics and photonic circuit simulation with external design automation and productivity tools are made possible by flexible interoperability between products.
Ansys Lumerical MODE
Optical Waveguide & Coupler Solver
Engineers can reliably predict waveguide and coupler performance using MODE. Large planar structures and extended propagation lengths are no problem for MODE, which combines bidirectional Eigenmode expansion, varFDTD, and finite difference eigenmode solvers to deliver accurate spatial field, modal frequency, and overlap evaluations.
 Overlap Analysis
 Bend Loss Analysis
 Helical Waveguides
 2.5D varFDTD Solver
 Anisotropic Materials
 Advanced Conformal Mesh
 Eigenmode Expansion Solver
 Spatially Varying Temperature
 Charge Density Profile Imports
 Finite Difference Eigenmode Solver
 Magnetooptical Waveguide Analysis
Advanced Bend Loss Analysis
Advanced bend loss analysis is offered by Lumerical MODE employing spectrally and spatially resolved imaging.
Rapid Overlap Calculation/Analysis’
To determine the differences and similarities between two or more databases or collections as well as the degree of overlap between resources, overlap calculation and analysis are simple to perform.
Modal Area Analysis
Multiple stages of analysis throughout the simulation process are necessary to get a reliable final design. With modal area analysis, Lumerical MODE accomplishes this feat.
Variational FDTD Solver
Enjoy the 3D FDTD accuracy while using 2D simulation times. The 2.5D varFDTD solver in Lumerical MODE can accurately and quickly model massive planar waveguides.
Bidirectional Eigenmode Expansion
To mimic electromagnetic propagation for long propagation lengths in waveguide or fiber devices, use the Lumerical MODE. Device length and periodicity are automatically surveyed by the software.
Ansys Lumerical FDTD
Simulation of Nanophotonic Devices
This expertly refined FDTD method (also known as Yee’s Method) offers bestinclass solver performance across a wide range of applications. The integrated design environment offers advanced postprocessing, optimization, and scripting capabilities, allowing you to concentrate on your design while leaving the rest to Lumerical FDTD.
 Qfactor Analysis
 Band Structure Analysis
 Flexible Material Plugins
 Cloud and HPC Capability
 2D or 3D Model Simulation
 Full Vectoral Customization
 Farfield Projection Analysis
 Spatially Varying Anisotropy
 Custom Surfaces and Volumes
 Advanced Conformal Meshing
 High NA Broadband Beam Sources
 Automated Sparameter Extraction
 Scripting and Optimization Routines
Photonic Inverse Design
 Automatically find the optimal geometries and designs for a specific design goal. Find counterintuitive geometries that enhance manufacturability, reduce area, and optimize performance.
Robust PostProcessing Analysis
 Farfield projection, band structure analysis, development of the bidirectional scattering distribution function (BSDF), Qfactor analysis, and charge production rate are only a few of the robust postprocessing techniques available.
Anisotropy and Nonlinearity
 Simulate devices made from nonlinear or anisotropic materials that fluctuate spatially. Select from a variety of gain, negative index, and nonlinear models. Leverage adaptable material plugins, and define new material models.
Multicoefficient Models
 Deploy multicoefficient models to accurately simulate materials over a wide range of wavelengths. Source sample data (API configurability) to automatically develop models, or create your own procedures.
3D ComputerAided Design Framework
 For both 2D and 3D models, FDTD’s CAD environment and parameterizable simulation components enable quick model iterations for engineers.
Lumerical INTERCONNECT
Photonic Integrated Circuit Simulator
The photonic integrated circuit simulator from Lumerical, INTERCONNECT, explores and evaluates multimode, bidirectional, and multichannel PICs (Photonic Integrated Circuit). Engineer’s can use INTERCONNECT’s extensive library of primitive elements and foundryspecific PDK (Process Development Kit) elements when creating projects in the hierarchical schematic editor to conduct statistical analysis in the time or frequency domain.
 Transient Block Analysis
 Frequency Domain Analysis
 GUI and Lumerical Scripting
 Mixed Signal Representation
 Travelling Wave Laser Model
 Automatic Parameter Sweeps
 MultiVariant Statistical Analysis
 Import Compact Libraries Models
 ElectronicPhotonic CoSimulation
 Transient Sample Model Simulator
 Multimode and Multichannel Support
Design and Simulation of PICs
 Use INTERCONNECT to create and simulate photonic integrated circuits using its hierarchical schematic editor.
 Frequency domain analysis, transient sample mode simulation, and transient block mode simulation are all included in INTERCONNECT.
 With support for parameter sweeps and design optimization, the software comes with comprehensive visualization and data analysis capabilities.
PDA and EDA Interoperability
 Use wellknown EDA design tools and workflows to simulate and optimize your designs to shorten design cycles and increase reliability.
 PDA employs a twolevel strategy that combines proactive, highlevel system and product robustness assessments with rulebased “drilldown” probing to automatically gather comprehensive designrelated data.
Variant Annotation & Statistical Analysis Solutions
 Use corner analysis to simulate how process variation affects the functionality of the circuit.
 Assess circuit performance and yield using Monte Carlo analysis while taking process variability into consideration.
PIC Element Libraries
 INTERCONNECT has a vast photonic integrated circuit (PIC) library. The library includes passive and active optoelectrical building components allowing users to customize their simulations.
CML Development and Dissemination
 INTERCONNECT offers an infrastructure that facilitates the creation and distribution of compact model libraries (CMLs) for PIC simulation and design, in addition to Ansys Lumerical’s device level tools.
Ansys Lumerical CHARGE
3D Charge Transport Solver
The engineering tools for detailed charge transport simulation of active photonic and optoelectronic semiconductor devices are readily available in Lumerical CHARGE. The set of equations defining electrostatic potential (Poisson’s equations) and density of free carriers is selfconsistently solved by CHARGE (driftdiffusion equations). StateoftheArt simulation tools for automatic and guided mesh refining are leveraged by engineers to maximize accuracy while requiring the least amount of computational work.
 Scriptable Material Properties
 Automatic Finite Element Meshing
 Electrical/Thermal Material Models
 Parameterizable Simulation Objects
 GeometryLinked Sources/Monitors
 Comprehensive SoC Material Models
 Small Signal Alternating Current analysis’
 Isothermal, NonIsothermal, ElectroThermal
Steadystate, Transient, PoleZero & SmallSignal AC simulation
Transient Analysis
A userspecified time interval is used to compute the transient output variables in Lumerical CHARGE transient analysis section. A DC analysis can automatically determine the beginning conditions. All sources (such as power supply) that are not timedependent are set to their DC value. Initial conditions are assumed at the start of the analysis rather than the outcome of the DC operating point analysis if Josephson junctions are present or if the UIC option is specified. All sources should start with zero output in Josephson junctions. The transient simulation can be run at each point over a variety of bias settings by combining transient analysis with a DC sweep.
Transfer Function Analysis
The AC small signal transfer function, input impedance, and output impedance of a network are calculated by Lumerical HEAT’s transfer analysis section. The DC operating point for AC analysis is automatically calculated using an operating point analysis. Moreover, the transfer function can be estimated at each point over a variety of bias circumstances by combining the transfer analysis with a DC sweep.
PoleZero Analysis
The poles and/or zeros in the smallsignal AC transfer function are computed by the polezero analysis section of Lumerical CHARGE. All of the nonlinear components in the circuit’s linearized, smallsignal models are then determined after the DC operating point has been calculated. The poles and zeros are then determined using this circuit. The transfer functions (output voltage)/(input voltage) and/or (output voltage)/(input current) are readily accessible for engineers to employ.
The poles and zeros of functions like input/output impedance and voltage gain can be found using these two forms of transfer functions, which cover all circumstances. With resistors, capacitors, inductors, linearcontrolled sources, independent sources, BJTs, MOSFETs, JFETs, and diodes, the polezero analysis can be applied.
Small Signal AC Simulation
The AC output variables are calculated as a function of frequency by the AC smallsignal section of Lumerical HEAT. The program initially calculates the circuit’s DC operating point before determining linearized, smallsignal models for each of the circuit’s nonlinear components. The resulting linear circuit is next examined across a userspecified frequency range. Typically, a transfer function is the desired result of an AC smallsignal analysis (voltage gain, transimpedance, etc). If there is just one AC input in the circuit, it is practical to set it to unity and zero phase such that the output variables have the same value as their transfer function to the input. A DC sweep and AC analysis can then be used in tandem to perform an alternating current analysis at each position under various bias conditions.
Ansys Lumerical HEAT
3D Heat Transport Solver
Deploy Lumerical HEAT to reliably, and systematically, address your engineer’s needs for heat simulation. A finiteelement heat transfer and Joule heating solver are included in the 3D heat transfer simulation to emulate the thermal conductive, convective, and radiative effects on the optical properties of your device.
 Joule (J) Heating Solver
 Flexible Materials Database
 Automatic Mesh Refinement
 FiniteElement Meshing Automation
 FiniteElement Heat Transport Solver
 SteadyState and Transient Simulation
 Rapid Transition from 2D & 3D Solvers
 SelfConsistent Heat/Charge Transport
 Conductive, Convection & Radiative Effects
Heat Transport Solver Simulations
For steadystate and transient simulation, Lumerical HEAT provides a 2D/3D finite element heat transfer solver.
 Automatic mesh refinement
 Joule heating via electrical conduction
 Comprehensive models for thermal materials
 Heat flux, convection and radiation analysis
 Automatic Programming Interface transfer for heat profiles
Highly Integrated Interoperable Solvers
Selfconsistent charge and heat transport simulation is offered by Lumerical HEAT. HEAT can be used in tandem with other Lumerical solutions to conduct multiphysics simulations:
 Photovoltaic (FDTD/DGTD, CHARGE & HEAT)
 Optothermal (FDTD/DGTD & HEAT)
 Plasmonics (DGTD & HEAT)
SelfConsistent Charge/Heat Modeling
Flexible implementation capable of capturing thermal optical and electrooptical effects.
 Selfheating effects and propertybased variations
 Highcurrent electronic, photonics and optical devices
FE Interactive Design Engineering
Automatic mesh refinement catered to Finite Element IDE, based on geometry, materials, doping, refractive index, and optical or heat generation.
 Dual 2D & 3D modeling
 Import STL, GDSII, and STEP
 Parameterizable simulation components
 Geometrylinked sources and monitors for presets
 Domain partitioned solids for seamless property definition
Comprehensive Material Models
With more than 500 adjustable electronic and thermal properties, the material database enables precise modeling of complicated effects, and scriptable material properties, Lumerical HEAT offers a flexible visual database.
Ansys Lumerical DGTD
3D Electromagnetic (EM) Simulator
The core engineering framework of 3D electromagnetic simulations in Lumerical DGTD are accuracy and performance. A finite element Maxwell’s solution based on the discontinuous Galerkin time domain approach is deployed to handle the most difficult classes of nanophotonic simulations. The powerful solvers offered by DGTD (Discontinuous Galerkin Time Domain) can be used to model and optimize new designs in a variety of fields, such as magnetooptics, augmented reality, microLEDs, and lasers.
 Highly Interoperable
 ObjectConformal Mesh
 MaterialAdaptive Mesh
 Gaussian Vector Beams
 Automation and Scripting
 Bloch Boundary Conditions
 Automatic Mesh Refinement
 High Order Mesh Polynomials
 Transitional 2D & 3D Modeling
 Farfield and Grating Projections
Gaussian Beam Propagation
 In many laser optics applications, the laser beam is taken to be Gaussian with an optimal Gaussian distribution for the irradiance profile.
 For this reason, Lumerical DGTD has incorporated equations and other parameters that engineers will need to calculate the laser’s divergence from perfect Gaussian behavior.
 The M2 factor, also known as the beam quality factor, contrasts a real laser beam’s performance with a diffractionlimited Gaussian beam.
 Custom Gaussian irradiance profiles can be created using DGTD, enabling symmetry analyses around COB distances to measure directional propagation increases.
Bloch Boundary Conditions (BC’s)
 Lumerical DGTD enables seamless phase correction when simulating a plane wave propagating at a specified angle.
 Bloch boundary conditions are employed in a number of settings, but they are most frequently used in simulations of periodic structures illuminated by an angled plane wave source.
 When determining the inplane wavevector is important, Bloch Boundary Conditions (BCs) are crucial in contextualizing results. For instance, they are routinely utilized by photonics engineers in Bandstructure computations.
Interoperable with Multiphysics Solvers
Several multiphysics simulations are offered by Ansys Lumerical DGTD in addition to other Lumerical solutions:
 Photovoltaic (FDTD/DGTD, CHARGE & HEAT)
 Electrooptic (CHARGE & FDTD/DGTD/FDE)
 Optothermal (FDTD/DGTD & HEAT)
 Plasmonics (DGTD & HEAT)]
Optical Phase Change Materials with Broadband Transparency
 Designers frequently assume that isoelectronic substitution will tend to widen the optical bandgap, which will reduce the nearinfrared interband absorption.
 One of the main embedded solutions with Lumerical DGTD is the impact of replacement, which determines the optical loss in the midinfrared.
 Engineers can discover impressive lowloss performance advantages from blueshifted interband transitions and minimum FCA through proper deployment, which is supported by linked firstprinciple modeling and experimental characterization.
 Utilizing the exceptional optical features of this innovative solution provided by DGTD, record low losses in nonvolatile photonic circuits and electrical pixelated switching can be identified.
 In addition, Lumerical DGTD offers a flexible visual database, with multicoefficient broadband optical material models and scriptable material properties.
Ansys Lumerical FEEM
Finite Element Waveguide Simulation
Lumerical FEEM’s finite element Maxwell’s solver, which is based on the Eigenmode expansion algorithm, offers superior accuracy and performance scaling. Seamlessly calculate and analyze the modes that the 2D crosssection of waveguides or fibers can support in the frequency range.
 Frequency Domain Reflectometry
 HigherOrder Polynomial Functions
 Parallel Curved Meshing Simulation
 Spatially Varying Index Perturbations
 Determine Effective Refractive Index’
 Fourier analysis for Signal Processing
 Materialadaptive Mesh Embedment
 ElectroOptic/ThermoOptic Modeling
 Waveguide Thermal Sensitivity Tuning
Frequency Domain Reflectometry (FDR)
Optically propagate a signal through a metal tine or another wave path in Ansys FEEM by seamlessly deploying oscillators. To gauge soil moisture, the difference in frequency between the output wave and the return wave is monitored.
Traditional time domain reflectometry (TDR), which is best suited for locating open and short circuit situations in conductors, may not be as sensitive to cable degradation as the FDR method due to its inherent benefits.
Because there are filtering and noisereducing techniques in the frequency domain, for instance, FDR is less vulnerable to electrical noise and interference. Increased sensitivity and accuracy may result from this.
Additionally, since TDR pulses may have trouble moving forward after numerous noteworthy reflections, FDR analysis in FEEM is better suited for locating and describing a series of multiple deterioration episodes in lengthy cables.
Fourier Analysis for Signal Processing
In Ansys FEEM, The Fourier Transform and Plot/Modify Input Signal dialog boxes allow engineers to set several different functions for the x and y axes, apply different FFT windowing techniques, and set various output options.
Acting as a tool for signal decomposition for further filtration, engineers can visualize the material separation of the various signal components. This process of bridging the gap between these two worlds (time and frequency domain) is paramount to RF engineers.
Engineers can easily apply the various Discrete Fourier Transform calculation methods using FEEM, starting with the application of the Fourier Transform, moving on to the simplified calculation technique, and concluding with the CooleyTukey method of the Fast Fourier Transform.
Spatially Varying Index Perturbations
Engineers can use the (n,k) Material import object in Ansys FEEM to transform spatially variable stress or strain into a spatially variable refractive index profile.
It is crucial to distinguish between circumstances that will cause diagonal anisotropy and those that won’t when introducing the spatially variable refractive index owing to stress or strain. Using a nk import material, which is accessible in Ansys FEEM, FDTD, and MODE, it is simple to address the diagonal anisotropy that is the focus of this example.
It will be essential to diagonalize the permittivity tensor and perform a matrix transformation to add the influence of the strain if the stress or strain produces a permittivity tensor with offdiagonal elements. Matrix transformation makes it simple to set up the matrix transform grid properties and specific stress inputs while also providing engineers with visual assistance to help them choose the best application.
Ansys Lumerical MQW
Quantum Well Gain Simulation
Band structure, gain, and spontaneous emission across multiquantum well architectures can be quantitatively characterized by simulating quantum mechanical activity in atomically thin semiconductor layers. To enable the construction of lasers, SOAs, electroabsorption modulators, and other gaindriven active devices, MQW couples to Lumerical CHARGE, MODE, and INTERCONNECT.
 Wavefunction Calculation
 Band Diagram Calculation
 PhysicsBased Photonics Solver
 Quantum Mechanical Analysis
 Conduction Electron Scattering
 Gain and Spontaneous Emission
 Comprehensive Material Models
 Characterization of Band Structures
 Temperature, Field and Strain Effects
 MultiQuantum Well Stacks Simulator
 Establish Controllable Quantum States
 Mesoscopic Superconductivity Analysis
MQW Gain
Engineers can effectively measure band structure, gain, and spontaneous emission in multiquantum well devices thanks to Ansys Lumerical MQW, which simulates quantum mechanical activity in atomically thin semiconductor layers.
Additionally, MQW offers a fullycoupled k.p approach calculation of the quantum mechanical band structure.
Dynamic Laser Simulation & Modeling
Produce dynamic laser models that incorporate tuning and outside feedback effects into account, simulate and extract important TWLM (Travelling Wave Laser Model) parameters, and analyze steadystate and transient laser performance.
The design and manufacture of MQW lasers are typically complex and expensive; hence, simulations can speed up development and provide information on design factors.
Additionally, when the parameters are changed, measured curves and simulated power curves can be contrasted. It is possible to closely analyze issues like nonradiative recombination and selfheating that affect how well the simulated laser works.
Mesoscopic Superconductivity
Engineers utilizing MQW can use the timedependent GinzburgLandau equations to numerically solve the mesoscopic superconducting ring constructions (through finiteelement analysis).
Mimic the dynamic behavior of complex magnetic vortices in the semiconductor for a given applied magnetic field.
Users can also look into the many vortex configurations, pinpoint the best vortex states using the two stable vortex shells in the mesoscopic superconducting ring. And finally, assess the improved photonic surface superconductivity.
Ansys Lumerical STACK
Optical ThinFilm Simulation
With Lumerical STACK, thin film stacks can be designed quickly. STACK is faster than direct simulations of the Maxwell’s equations since it makes use of analytical techniques. Interference and microactivity effects are accurately captured by the various thin film, photonic modeling software features under both planewave and dipole illumination.
 PlaneWave Illumination
 Capture Interference Effects
 Capture Microactivity Effects
 Optical ThinFilm Application
 Dipole/Dipole OffAxis Illumination
 Simulate Thin Film Multilayer Stacks
STACK Analytic Solver
In comparison to a direct simulation of Maxwell’s equations, the STACK Analytic solver is quicker. It has functionality for both planewave and dipole illumination and is excellent for rapid prototyping for thin film applications. Interference and microcavity effects are captured by the solver.
Scriptingbased interoperability
Through the Automation API, Python and MATLAB APIs, as well as the Lumerical scripting language, Lumerical STACK products are flexible and easy to integrate into workflows.
Dipole/Dipole OffAxis Illumination
Seamless transition between onaxis and offaxis illumination is available for engineers in Ansys STACK who often toggle between multiple resolutions and proximity corrections.
One of the three main resolutionenhancement technologies, offaxis illumination (OAI), has allowed optical lithography to push the practical resolution limitations well beyond what was previously thought to be conceivable (the others being phase shifting masks and optical proximity corrections). Offaxis lighting must be properly sized and shaped for the particular mask pattern being printed in order to be used efficiently for engineers in this line of work.