RES to RES: Difference between revisions

Content deleted Content added
Line 32:
A special wet/dry algorithm is used. If water level results are not specified (_h.dat or -typeH), the algorithm opens these files, as well as opens the .2dm file associated with the results files, and uses the water levels and ZH Zpt values (for 2D cells) and elevations at the WLL triangle corners to determine whether a node (corner of a mesh element) is wet or dry. This allows two special values to be output in the event that a node is dry in one results file and wet in the other or vice versa. A value of -99 is used to indicate that a node is dry in the first results file, but is flooded in the second results file, while +99 indicates that the node was wet in the first results file but is dry in the second results file. Specifying -nowetdry does not carry out a wet/dry check using the water level results.
<br>
The -t option can be used to carry out the difference at a particular time (rather than all times). The most common time is to take the difference at the flood peak, ie. specify -t99999.<br>
<u>Examples</u><br>
<li><tt>res_to_res.exe -dif results_developed_h-typeH results_developed.datxmdf results_existing_hresults_existing.datxmdf</tt></li>
Extracts the difference in water level, the output is results_developed_hresults_developed -minus results_existing_hresults_existing for all timesteps.
<li><tt>res_to_res.exe -dif -typeH -t99999 -nowetdry results_developed.xmdf results_existing.xmdf</tt></li>
Extracts the difference in water level for the maximum water level and suppresses the wet/dry check described above.