k-runner

 

     k-runner is a user-friendly feature packed application designed to start calculation processes in LS-DYNA and make them automatic. It runs both on local and remote PCs. This application allows to control the calculation process: start, stop, view, download results, and include them into the waiting list.

     k-runner consist of the following two programs: k-server and k-klient.

 

    

     k-server is installed on a computer or a server with LS-DYNA installed. 

     k-server allows to:

  1. Ensure communication with LS-DYNA license code.
  2. Start and stop solution processes in LS-DYNA.
  3. Enter additional parameters to start the program (number of CPUs, allocated memory, etc.).
  4. Set access levels for different users.

   

     k-klient is installed on a PC that will be used to control calculations.

     k-klient allows to:

  1. Receive/upload original k-files to be sent for calculation.
  2. Transfer k-files to the server and send them for calculation.
  3. Include k-files into the waiting list.
  4. Change the order of k-files sent for calculation.
  5. Display the solution process and the time of calculation completion on the screen.
  6. Control the calculation process: stop and start the selected k-file;
  7. Delete folders with calculations;
  8. Download files containing calculations from the server;
  9. Open k-files and calculation files using the postprocessor.

     k-runner has an intuitive easy-to-use interface.

     k-runner can run on: 

  1. k-server and k-klient – a single machine;
  2. k-server and k-klient – a few LAN-connected machines;
  3. k-server and k-klient – a few machines connected via the Internet.

     Operation via the Internet requires a static IP address (static IP v4 for a server, and it is possible to set the IP network when administering you network interface (card), in a pinch, you can use third-party software to set a static IP)

 

     How it works

     The original k-file designed for calculation in LS-DYNA is uploaded to k-klient. This program includes k-files into the waiting list. k-server is waiting for the command from k-klient. When it receives the command to send the file for calculation, k-klient sends the k-file to the server. k-sever takes the first in the queue k-file and carries out calculations in LS-DYNA. One can stop the task, change the order, etc. in k-klient.  After calculation completion all data can be sent back to k-klient. 

     One k-server can run with several k-klients installed on different machines.

     The flowchart of k-runner when files are sent for calculation is shown in Fig. 1. The flowchart of k-runner when calculation is complete is shown in Fig. 2.

Fig. 1. The flowchart of k-runner when files are sent for calculation via the Internet or LAN

Fig.2. The flowchart of k-runner when calculation is complete via the Internet or LAN

 

     k-runner specific features are as follows:

  • Possibility to include k-files into the waiting list and send them for calculation one by one.
  • Possibility to change the order of sending k-files for calculation.
  • Possibility to send files for calculation to a remote server via the Internet.
  • Possibility to use k-klient on a few machines when working with a single server.

 

     Basic elements of k-klient window:

  • top dropdown menu;
  • top toolbar;
  • main viewport;
  • bottom information line.

 

      Top dropdown menu includes the following items:

  • File – general item relating to the operation with files and settings.
  • Help – displaying of help information

 

     Top toolbar includes the following items:

 

  • Add – add k-file in the main viewport;
  • Copy – copy the k-file;
  • Paste – insert k-file;
  • Name and Description – the name of the calculation and description;
  • Pause – Pause in the calculation:
  • Run – run the calculation on the server:
  • Up – pick up line:
  • Down – pick down line;
  • Restart – to restart the calculation;
  • Delete – to remove the calculation;
  • Disconnect – to break the connection with the server;
  • Download – download the calculation results from the server;
  • Refresh – update information on the main viewport;
  • Pre – open the k-file in the preprocessor;
  • Post – open the plot files in the postprocessor;
  • Open Folder – open the folder with the calculation on the local computer;
  • Properties – settings k-klien.

 

     Settings k-klient:

  

  • Workdir – the location of the working directory to store the k-file and load calculation results from the server;
  • Host – IP address of the server
  • Port – port number;
  • Login – Username;
  • Password – administrator password;
  • Prepost – location for the preprocessor;
  • Text Editor – location for the text editor.

 

     Main viewport includes the following columns:

 

  • N – sequence number calculation;
  • User – Username (Login);
  • Job – k-file name;
  • State – location of the calculation results (locally / server);
  • Info – state of calculation (end time of the calculation):
    • run – the calculation is performed;
    • pause – the calculation is suspended;
    • waiting – k-file waiting for their turn;
    • normal termination – successful completion of the calculation;
    • error termination – calculation error;
    • unknown error – unknown error.

 

     K-server is installed on a computer or a server with LS-DYNA installed. 

     Settings k-server

      

  • LS-DYNA – location of the executable file LS-DYNA;
  • Options – command line configuration (size of allocated memory, number of processors, and others.);
  • Workdir – location of the working directory with the results calculation;
  • Host (IP) – IP address of the computer;
  • Port – port number;
  • Admin. Password - the administrator password;
  • Start/stop – start/stop servers.