D.6 Execution

Once the binaries and simulation files have been downloaded and paths altered as above (and altered files saved), a TUFLOW CATCH simulation can be executed as follows:

  • Open a command prompt and navigate to the TUFLOW CATCH runs folder:

cd C:\TUFLOW\Demonstration\TUFLOWCATCH\Modelling\TUFLOWCATCH\runs
C:

  • Ensure the path to the TUFLOW CATCH executable has been set in run_simulations.bat, and that at least one simulation has been uncommented
  • Type the following in the command prompt and hit enter, and TUFLOW CATCH will execute:

run_simulations

Some notes on executing the demonstration simulations:

  • Although not mandatory, it is suggested that the simulations be run one at a time, and in order, and results reviewed after each execution
  • Demonstration_005.tcc must be run prior to Demonstration_006.tcc because the former generates boundary conditions for the latter.
  • To ensure that Demonstration_006.tcc can access these boundaries generated by Demonstration_005.tcc, either:
    • Manually make a copy of Demonstration_005_catchment_hydraulic.fvcatchbc and rename it as Demonstration_006_catchment_hydraulic.fvcatchbc in the same location, or
    • Uncomment the line beginning ‘copy…’ in the run_simulations.bat file provided with the demonstration model (third line below)

REM Receiving model calibration: TUFLOW FV simulation with preserved inflows
REM Use case: Catchment hydraulic and pollutant modelling complete (or largely so) and TUFLOW FV is to be calibrated without rerunning catchment model
copy ..\bc_dbase\Demonstration_005_catchment_hydraulic.fvcatchbc ..\bc_dbase\Demonstration_006_catchment_hydraulic.fvcatchbc
%exe% Demonstration_006.tcc