Run TUFLOW From UltraEdit

From Tuflow
Revision as of 08:49, 7 October 2011 by tuflow>Par
Jump to navigation Jump to search

The majority of users run single TUFLOW simulations from UltraEdit (and use a Batch-file for multiple simulations in succession). The benefits of running TUFLOW from UltraEdit is that it provides an environment where the .tcf and other control files can be edited, simulations started and text file output be viewed. There is also no need to close the .tcf file (or other control and output files) to run TUFLOW.

The best way to set up TUFLOW to run from UltraEdit is described below. This will initiate TUFLOW in low priority, therefore the simulation does not dominate the computer’s CPU allowing other processes (eg. MapInfo, SMS, Word, etc) to perform as usual. Low priority will not slow down the TUFLOW simulation whilst no other CPU intensive processes are underway. For multiple core computers the "/low" priority switch can be omitted.

To set up UltraEdit to run TUFLOW on low priority go to Advanced, Tool Configuration:
UltraEdit Config 01.png

This will open the following dialogue:
UltraEdit Config 02.png

Under the Command Tab, give the menu item a name. Up to 10 different tools can be configured. "Run 2010-10-iSP w32" has been used to designate the single precision, 32 bit version of the 2010-10 TUFLOW release.

The recommended command line argument is:

start "TUFLOW" /low "C:\TUFLOW\Releases\2010-10\w32\TUFLOW_iSP_w32.exe"  "%f"

This starts a new window (start) with the title "TUFLOW" ("TUFLOW") with low priority (/low) the next argument is path the the TUFLOW executable and the file argument "%f" uses the currently open file as the TUFLOW control file. Depending on the location of the executable the above command line will need to be modified.

In the "Options" tab, set the check boxes as follows:
UltraEdit Config 03.png

In the "Output" tab, set the check boxes as follows:
UltraEdit Config 04.png

This should create an option in the "Tools" menu of Ultraedit to "Run 2010-10-iSP w32" (or the name you gave you the menu item!). To run TUFLOW, simply have the .tcf file open and active in UltraEdit and select "Run 2010-10-iSP w32".
UltraEdit Config 05.png