Running the Simulation Using Ansys Lumerical CHARGE — Lesson 3

Pre-run Diagnostics

CHARGE offers some pre-run diagnostic tools that can be used to perform diagnostics before running the simulation which can reduce the chance of erroneous simulation.

Partitioned volume mode

Partitioned volume mode can be used to make sure the structure and simulation objects are set as intended and everything is in the right place. This mode can generate a partitioned volume of the simulation region composed of different domains and surfaces, and represents exactly what a solver can see during simulation.

Error check tool

The check button available under the Simulation section of the CHARGE tab opens the Error Checking and Diagnostics window, which contains information as well as any errors or warnings related to the setup of your simulation. This can be used to address any issues regarding the simulation setup before running the simulation.

Mesh and view doping

Before running the simulation, it is always a good idea to make sure that the mesh grid is refined enough to resolve the structure to be simulated and that the doping profile is defined as intended. This can be done by meshing the structure using the “mesh” button under the Simulation section of the CHARGE tab. After meshing the structure, to view the mesh and doping profile, right-click on the CHARGE solver object and select visualize>grid. The N attribute in the visualizer window represents the net doping value within the simulation region and can be seen in the window when opened. To view the mesh grid, simply click on the show/hide chart settings button and select “mesh only” from the show category of the settings. You might need to zoom in using the mouse wheel to be able to see the mesh grid clearly.


Once you set up the simulation, it is important to perform the pre-run diagnostics to check partitioned volumes, dopings, etc. In this video, we will demonstrate how to check various settings using the pre-diagnostics and run the simulation.

Alternate video link.