FMA Challenge 1 (1D-2D linked): Difference between revisions

Content deleted Content added
Rachel (talk | contribs)
No edit summary
Line 53:
To test the effect of different resolutions, simulations were made using grid resolutions of 5, 10, 15, 20 and 40 ft (Noted that only the 10 and 15ft are presented in this example).
 
To run the model with varying cell sizes from a single TCF, the use of scenarios was implemented with either '10ft' or '15ft' entered in the batch file using the -s command. Importantly, if the -s batch commandswitch is not used, the model will assume a default model scenario of 10ft as specified by the line <font color="blue"><tt>Model Scenario </tt></font> <font color="red"><tt>==</tt></font> <tt> 10ft </tt> within the TCF.
 
Within this example the 2D cell size,the 2D timestep and log output frequency haveare beenvariables setdependent on the 2D Cell asSize scenario. dependentThe variables are specified through an external read file (.trf). The .tfr file is called from the TCF: <font color="blue"><tt>Read File </tt></font> <font color="red"><tt>==</tt></font> <tt> FMA_T1_CellSize_Commands_001.trd </tt><br>
 
When the model is initialised, the scenario value determines the 2D_CELL_SIZE, 2D_Timestep and LogInt variables. which,The variables are set using the 'Set Variable' command in the trf. Each variable is then replaced in the TCF and TGC using the << >> syntax, for example for the -s 10ft scenario:
Each variable is then placed in the TCF and TGC using the << >> syntax. For example for the 10ft scenario:
 
*Within the TCF, <<2D_Timestep>> is replaced with 1 and <<logInt>> is replaced with 30; and