RES to RES: Difference between revisions

Content deleted Content added
 
(2 intermediate revisions by 2 users not shown)
Line 37:
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, iei.e. specify -t99999.<br>
<u>Examples</u><br>
<ol>
Line 173:
* Ensight results as either per node or per element depending on the input file.
'''This conversion is in its beta stage of development. This utility can currently only process 2D results. 1D channel result are currently not supported.<br>
Any feedback regarding this utility function is welcome and can be sent to [mailto:support@tuflow.com support@tuflow.com].<br>
<u>Example</u><br>
<ol>
Line 204:
|"-type<output type>"|| Converts the specified output type in an xmdf file. Output types should be specified as per the output type in the .tcf e.g. h (water level), v (velocity), q (unit flow) or d (depth). Output types other than h, v, q and d are not predefined with the -type switch and should be called with -v and/or -s switch.
|-
|"-s<output id(integer)>"|| Converts the specified scalar dataset in an xmdf file. For example, <tt>-s1</tt> will convert the first scalar dataset. A list of the available datasets is listed within the DOSconsole window when RES_to_RES is preprocessing results. Check <u>[[RES_to_RES#XMDF_Dataset_Example | XMDF Dataset Example]]</u>. To keep the DOSconsole window open write "pause" at the end of the processing batch file and remove -b switch.
|-
|"-v<output id(integer)>"|| Converts the specified vector dataset in an xmdf file. For example, <tt>-v1</tt> will convert the first vector dataset. A list of the available datasets is listed within the DOSconsole window when RES_to_RES is preprocessing results. Check <u>[[RES_to_RES#XMDF_Dataset_Example | XMDF Dataset Example]]</u>. To keep the DOSconsole window open write "pause" at the end of the processing batch file and remove -b switch.
|-
|"-Folder<Folder Name>"|| Converts all datasets within a particular xmdf file. For example, <tt>-Folder"Maximums"</tt> will convert all datasets in the \Maximums\ folder.
Line 216:
 
==XMDF Dataset Example==
Display the datasets available within an XMDF file in a DOSconsole window by starting any operation. <br>
To keep the DOSconsole window open write "pause" at the end of the processing batch file and ensure -b switch is not included. <br>
The list of available datasets will be displayed towards the start of the DOSconsole window. <br><br>
 
<u>Examples</u><br>
<tt>res_to_res.exe -xnfo results.xmdf<br>
pause</tt><br><br>
Displays the following DOSconsole window: <br>
[[File: xmdf_dataset_example.png]]<br>
<br>