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

Content deleted Content added
Line 55:
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. If the -s command 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.
 
Here,Within this example the 2D cell size, 2D timestep and log output frequency have been set as scenario dependent through an external read file 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 isdetermines passedthe 2D_CELL_SIZE, 2D_Timestep and LogInt variables which, are set using the 'Set Variable' command in the trf. This results in scenario dependent values of 2D_CELL_SIZE, 2D_Timestep and LogInt values. Using the << >> syntax, values within the tcf and tgc files substituted. For example for the -s 10ft scenario:
 
*Within the TCF, <<2D_Timestep>> is replaced with 1 and <<logInt>> is replaced with 30; and