How to run computational modules outside of GUI ?

Miscellaneous ››
Parent Previous Next

How to run computational modules outside of GUI ?


Computational modules (e.g., h2d_calc.exe, h2d_clci.exe, h3d_calc.exe) can be run either directly from GUI or by clicking on any of them in the folder, in which HYDRUS is installed. When these modules are run from GUI, GUI will send them as a parameter the path to the folder, in which the input and output files are located (the working folder, the path to which is displayed in the Project Information dialog). When the program does not receive a path as a parameter, it will look for the text file called Level_01.dir that needs to be located in the same folder as the computational module. This file can be written using any text editor, such as Notepad. This file must have one line, which provides the path to the folder, in which the input and output files are located.

Example of the “Level_01.dir” file:

c:\program files\pc-progress\hydrus3d\mydirect\run1

For the input files to be available in the Working Folder, the Working Folder needs to be either 'Permanent' (see the Project Information dialog window) or the HYDRUS GUI needs to be opened when the Working Folder is 'Temporary'. In each case the text input files need to be created by the menu command File->Export->Export Data for HYDRUS Solver in Text Format.