Console Interface

The console interface is another way experienced users can use TESD, and is also suitable for repeated use. You can start TESD from a terminal, and then send commands via the keyboard to run simulations.

Running the console interface of TESD:

Open the terminal of your Operating System.
For Windows, the DOS window is reached by clicking on Start > All programs > Accessories >
Then go to the directory containing the .jar files (using cd the path of the directory). The command is :
If you do not enter -cmd , you will start the graphical interface of TESD.

The menu of the console interface:

The menu of TESD is then displayed as follows:

Procedures

        [1]-Start the GUI (Graphical User Interface)
        [2]-File data entry mode
        [3]-Run
        [4]-Exit

Enter your choice :

Clicking on 1 will start the graphical interface.

File data entry mode

The second item in the console interface menu is used to set the .para file containing the parameters of the simualtion:

What is the name of the input file?

gives the complete path of the .para file. After checking the .para to make sure that there are no errors, and to set the parameters to the simulation core of TESD, you have to enter the output file name:

What is the name of the output file?

The menu then changes to allow you to go to the following step (running) or to choose another .para file.

Running a simulation using the console interface

By entering 3 , you opt to run a simulation. Now enter the number of simulations you want to do (1 or several in a single shot).

Number of simulations :

Confirm whether you want to run the simulation(s) immediately (this can be useful if the simulation last a long time).

Would you want to start the thread (y/n)?

When the simulations are finished, the menu is displayed again, and the output files are created in the folder containing the .para file.