Control files, such as the .ecf, .tcf, .tbc and .tgc files, are command or keyword driven text files. The commands are entered free form, based on the rules described below. Comments may be entered at any line or after a command. The commands are listed in the index in Appendix F.
An example of a command is:
Start Time == 10. ! Simulation starts at 10:00am on 2/9/1962
which sets the simulation start time to 10 hours. The text to the right of the “!” is treated as a comment and not used by TUFLOW when interpreting the line.
If using UltraEdit, refer to Section 3.19 for automatic colour coding of files for easy viewing.
The style of input is totally flexible bar a few rules. Commands are not case sensitive and can be repeated as often as needed. This offers significant flexibility and effectiveness when modelling, particularly in building 1D and 2D model topography. Note that a repeat occurrence of a command may overwrite the effect of previous occurrences of the same command.
The rules are:
-
A few characters are reserved for special purposes as described in Table 4 .4.
-
Only one command can occur on a single line.
-
A few commands rely on another command being previously specified. These are documented where appropriate.
Dostları ilə paylaş: |