Running Computational Modules in a Batch

Miscellaneous ››
Parent Previous Next

 

Running Computational Modules in a Batch


To run several projects sequentially is more complex. One needs to prepare a batch file (e.g., run.bat) and files describing paths (e.g., path1, path2, etc) to Working Folders (to be run) in advance. One needs to copy these files into the program folder (e.g., c:\program files\ussl\hydrus3d). Additionally, the check box "Hit Enter at the End?" in the Output (Print) Information window has to be unchecked for all projects to be run sequentially.


Example of the “run.bat” file:

copy path1 level_01.dir

h2d_calc

copy path2 level_01.dir

h2d_calc

 

Example of the “Path1” file:

c:\program files\ussl\hydrus3d\mydirect\run1


Example of the “Path2” file:

c:\program files\ussl\hydrus3d\mydirect\run2

 

For the input files to be available in the Working Folder, the Working Folder needs to be either 'Permanent' (see the Project Information dialog) 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.