TUFLOW Output Discussion: Difference between revisions
Content deleted Content added
Chris Huxley (talk | contribs) Created page with "= Why are grid outputs (ASC, FLT) slightly different from mesh outputs (XMDF, DAT)? == Slight differences are expected between the result grids (ASC or FLT) and mesh results (..." |
Teegan.Burke (talk | contribs) |
||
(31 intermediate revisions by 7 users not shown) | |||
Line 1:
= Common Questions Answered (FAQ)=
== Why are grid outputs (ASC, FLT) slightly different from mesh outputs (XMDF, DAT)? ==
Slight differences are expected between the result grids (ASC or FLT) and mesh results (XMDF or DAT) due to small differences in the interpolation method.
* When outputting directly to FLT or ASC using the <font color="blue"><tt>Map Output Format</tt></font> command, the output grid results are derived from both the cell centres and cell corners and the final results has those values interpolated to the centres of half cells (by default).
Line 7 ⟶ 8:
== Why are grids processed with TUFLOW_to_GIS different from TUFLOW grids? ==
Slight differences are expected between the result grids (ASC or FLT) produced directly from TUFLOW and post-processed from the TUFLOW_to_GIS utility from XMDF or DAT due to differences in the interpolation approach.
Check <u>[[
When ASC/FLT results are sampled from the XMDF files with the TUFLOW_to_GIS utility, it uses less data points than when the grids are written directly from TUFLOW.
Line 20 ⟶ 21:
The maximum velocity and maximum depth doesn’t necessarily occur at the same time. The Z0 hazard written directly from TUFLOW has the depth x velocity calculated every timestep and at the end outputs the maximums of all the timesteps. When using the velocity and depth grids the maximum velocity is always used with maximum depth. <br>
Outputting the Z0 hazard grid directly from TUFLOW is more accurate, however, if this is not an option, manual creation is an acceptable workaround. The general recommendation is to choose one method and keep it consistent for the length of the project.<br>
When calculating the Z0 hazard from the velocity and depth, the grids have already been interpolated by TUFLOW before the raster calculation (less data is used for the calculation), whereas the TUFLOW Z0 output is interpolated from the calculated data directly. Please also refer to the above question for more information <u>[[
== Why does hazard output (Z1, Z2, ...) show float values and not just integers? ==
Line 31 ⟶ 32:
** The POMM.csv tracks maximums of PO features at every computational timestep.<br>
* Map output:
** The temporal XMDF (or DAT) results are tracked every <font color="blue"><tt>Map Output Interval</tt></font> and interpolated to the cell corners.
** The maximum XMDF map output records the value at every computational timestep, however the final maximum map output is also being interpolated to the cell corners.<br>
** The extraction tools in GIS packages use interpolated data for the plot creation, e.g. less data than the TUFLOW direct plot output.
Line 42 ⟶ 43:
The general recommendation is to use a lot of 2d_po features with reasonably small <font color="blue"><tt>Time Series Output Interval</tt></font> to achieve better accuracy, they won't slow the simulation down. In case of flux lines, the 2d_po lines are using the actual computed fluxes across each cell face and will be an exact representation of the flow being calculated by the 2D solver. Post-processed fluxes should only be located in areas of little topographic change and even then, used as a rough guide.<br>
== Why are my TIF raster outputs not updated after a model rerun? ==
The GeoTIFF raster output is supported from the 2023-03 Release and onwards. It is considered an image by File Explorer and for some users, the 'Date' in file explorer defaults to show the 'Date Created' rather than the 'Date Modified'. If it appears that your results in the 'Results' folder (e.g. XMDF) are being updated however the results in the 'Results/grid' folder (e.g. TIF) aren't, this may be the reason. <br><br>
To confirm, turn on both 'Date Created' and 'Date Modified':<br>
[[File:TIF Date 01.png | 500px]]<br><br>
The 'Date Modified' column will show the date of the last model run:<br>
[[File:TIF Date 02.png | 500px]]<br>
<br>
== How do I apply high resolution (HR) output and what are the options? ==
See the <u>[[TUFLOW_HR_Output | TUFLOW HR Output]]</u> Wiki page for details.<br>
<br>
== Why are there differences between high resolution grid from TUFLOW and remapped outputs generated by the asc_to_asc utility? ==
Differences are expected between the direct HR output and the <u>[[ASC_to_ASC#Remap | remap function]]</u> in the asc_to_asc utility due to the different steps involved in the interpolation of water level results. <br>
The direct HR output is based on a triangulation of the water levels at the cell centres and corners. In comparison, the remap function involves two interpolation steps. The first is the interpolation from the cell centres and corners to the grid map output locations (by default, half the cell size). Then, the asc_to_asc utility interpolates the water level output to the target DEM grids with fine resolution: <br>
[[File:High-res-interpolation.jpg|600px]]<br>
The direct HR output tends to have better resolution in comparison to the remapped results. Due to the additional stages of interpolation involved with the remapped output, there is potential to lose definition in the results particularly in areas with steep slopes.
==How to create a maximum grid for datasets without direct maximum output from a TUFLOW run?==
For cumulative datasets without direct maximum output (e.g., cumulative infiltration, cumulative rainfall etc), the map output interval in the TCF needs to match the simulation end time in seconds. The end time output is when the maximum occurs for cumulative datasets, as it represents the cumulative results over the entire simulation duration.
For non-cumulative datasets without direct maximum output (e.g., Froude number, rainfall rate etc):
*Adjust the <font color="blue"><tt>Map Output Interval</tt></font> in the TCF to a small value to ensure temporal variations are captured.
*Specify XMDF for <font color="blue"><tt>Map Output Format</tt></font>.
*Identify the output ID number of the desired dataset within the .xmdf file:
<pre>"C:\TUFLOW\Releases\res_to_res\res_to_res_w64.exe" -xnfo results.xmdf</pre>
*Extract maximum values using the <u>[[RES_to_RES#Introduction | RES to RES]]</u> utility.
*Confirm the dataset's output ID number in the resulting (maxmax).xmdf file:
<pre>"C:\TUFLOW\Releases\res_to_res\res_to_res_w64.exe" -xnfo (maxmax).xmdf</pre>
*Convert the resulting dataset to a preferred grid format for GIS use using the <u>[[TUFLOW_to_GIS#Introduction | TUFLOW to GIS]]</u> utility.
:Note: For non-cumulative datasets, this method does not capture the true maximum, however can be close enough with a fine map output interval.
== Why are the values of the mapped water level results (h_max) lower than the terrain elevations (DEM_Z)? ==
As at TUFLOW Build 25.1.1, there is a current limitation for result outputs at shallow sheet flow cells on steeper terrain in sub-grid-scale (SGS) enabled models. Direct rainfall models are particularly prone to result in substantial extents of shallow sheet flow.
In TUFLOW HPC, the cell averaged depth is used computationally and by default in the depth outputs (see below).
Water level outputs, however, assume that water fills from the bottom of the SGS cell’s storage curve. This water level result is recorded at the cell centre, interpolated to the cell corners, and then the gridded outputs are triangulated from these points (orange line). In sheet flow situations when the volume in that cell is small, the cell-centered water level may sit below the terrain (blue dot on diagram) if the cell is steep enough. This can result in a water level results sitting below the DEM_Z, even when there is a positive depth result. Note this does not affect the simulation computationally, only how the water level results are output. <br>
[[File:SGS_Sheetflow_Waterlevel.jpg|600px]]<br>
== Why the high resolution (HR) mapped results have a significantly smaller extent than the standard (non-HR) grid outputs for a sub-grid-scale (SGS) enabled direct rainfall HPC model? ==
The high resolution (HR) outputs are based on <u>[[TUFLOW_HR_Output | intersecting]]</u> the standard water level output results with the HR DEM_Z. Due to the <u>[[TUFLOW_Output_Discussion#Why_are_the_values_of_the_mapped_water_level_results_.28h_max.29_lower_than_the_terrain_elevations_.28DEM_Z.29.3F | output limitation]]</u> for sub-grid-scale (SGS) enabled models with shallow sheet flow (particularly direct rainfall models) on sufficiently steep terrain, water levels can be output lower than the DEM_Z terrain elevations. This is due to the assumption (for output purposes) that water fills the SGS cell’s storage curve from the bottom, which differs from the approach of cell-average depth used computationally in TUFLOW HPC and by default in depth outputs. When the HR water level results are processed, the full extent of the water level results are intersected with the HR DEM_Z and any water level results that are lower than the HR DEM_Z elevations due to the above effect are trimmed. The extent of the HR water level results are then used to trim the HR depth outputs.
{{Tips Navigation
|uplink=[[TUFLOW_Modelling_Guidance | Back to TUFLOW Modelling Guidance]]
}}
|