vIDEs – Quick start guide

To run the vIDEs code, on the command window, just type:


Do not forget to set the PATH variable as explained in the installation page.

If  instead of running the IDE, you want just run a script that you have already created (let’s call it, then from the command line you can write:

vIDEs -run

Let’s now have a look at the IDE tool, focusing on the menu options at the top of the window.

Screen Shot 2015-07-14 at 1.57.56 PM


You can find 6 menus:

File, Edit, Debug, Run, Plot and Devices.



Screen Shot 2015-07-14 at 2.00.53 PM

Actually this menu is the same as any other program file menu, where you can create new files, open existing ones and save them. Shortcuts are indicated on the right of the command.
Let’s focus on the setting sub-menu.

Screen Shot 2015-07-14 at 2.07.53 PM

In the “python version” field, put the version of the python language installed on your computer. For example, if you want to use
python3.3, just put in the field 3.3

You can also run simulations in parallel, given that mpich2 is installed on your computer.
In this case, everytime you open vIDEs, be sure to set the variables in the second and in the third available field.
For example, if you want to run simulations in parallel on 8 cores of node0 and 12 cores of node1 of your cluster, in the second field just


In the third field, instead specify the command you want to use to run the simulation in parallel. If, for example, in your hpc cluster you use mpirun, then type


Do not forget to press the Set! button at the end, in order to make the changes/setting effective.



Edit menu is like any other edit menu where you can use the copy/paste/cut etc. options

Screen Shot 2015-07-14 at 2.18.10 PM




Script can be debugged given that ipdb is installed on your machine. Have a look at the ipdb debugger for further reference.

Screen Shot 2015-07-14 at 3.07.11 PM




The defined script can be run using the run menu. Simulations can be run in parallel using the Run MPI option, given that parallel simulations settings have been defined, as explained above. Simulations can be easily killed through the kill command.

Screen Shot 2015-07-14 at 3.12.38 PM



Screen Shot 2015-07-14 at 3.32.08 PM


Through the plot menu, you can analyse the obtained results.
With x-y plot option, you are asked to enter an ASCII file with two columns: the first column represent the x
value, while the second column the y value. An example of the output is shown below.

Screen Shot 2015-07-14 at 11.21.47 AM







With Plot 2D, you can instead plot electrical quantities defined on 2D grids. In order to do this, you first have to load the files containing the grid along the x and y axis (Load gridx and Load gridy options), which obviously have to be previously saved while running the simulation, as well as the file containing the quantity you want to plot (Load File option). Once you have done this, select the Plot 2D option and window as the one shown below will pop up.

Screen Shot 2015-07-14 at 3.39.30 PM







Pressing the plot2D button, you will plot a 2D picture of the loaded electrical quantity (which you can rotate, zoom etc.), while pressing the plot2D colormap button, the colormap will be displayed. An example is shown below, where both the 2D plot and the colormap of the electrostatic potential in a MoS2 FET are depicted.

Screen Shot 2015-07-14 at 11.21.37 AM Screen Shot 2015-07-14 at 11.21.55 AM








One can also make a cut along the x and y direction. In this case, the coordinate of the cut has to be specified in the open field, and the
plot x-cut or the plot y-cut has to be pressed. A cut of the potential for x=0 nm is shown below

Screen Shot 2015-07-14 at 3.46.15 PM








While running Carbon Nanotubes or Graphene Nanoribbon FET simulations, the domain of reference is not 2D as in the case of two-dimensional material, but 3D. In order to
post-process such results, you need to use the Plot3D option.

Screen Shot 2015-07-14 at 3.59.50 PM






In this case you can perform cut along the x, y and z plane, specifying, as in the previous case, the coordinate at which you want to perform the cut. In the 3D case, also the grid along the z-axis has to be loaded through the Load gridz option. 2D plot and colormap can be displayed pressing the button plot! and plot colormap!, respectively.

Some examples of cuts on different planes are shown below.

Screen Shot 2015-07-14 at 4.07.06 PM



In the Device Menu, different device template are present, which can be used to easily define the input deck for the NanoTCAD ViDES simulator.
In particular, input and output characteristics can be defined for Bilayer graphene, Carbon Nanotubes, Graphene Nanoribbon with both Schottky and ohmic contacts,
graphene and Transition Metal Dichalcogenides FETs.

Screen Shot 2015-07-14 at 4.14.16 PM

Once chosen the device to be simulated, a window will pop up, as the one shown below, for the case of Transition Metal Dichalcogenides.

Screen Shot 2015-07-14 at 11.21.26 AM




















The GUI is pretty much self-explicative and easy to use. In this particular case, we want to underline that four different materials can be simulated (MoS2, MoSe2, MoTe2 and WS2), and other 2D materials can be included under specific contract with Quantavis s.r.l.

Parallelization of the simulations can be performed, given that the parallelization flag is set to “yes” and
the setting parameters have been inizialized in the setting section of the file menu.

Comments are closed.