Jump to content
TUFLOW FV
Sign in to follow this  
Phillip.Ryan@bmtwbm.com.au

Extracting point output

Recommended Posts

Question:

Is there a way to post-process the point outputs after running a simulation.  Is it also possible to extract velocity direction?

 

Answer:

To extract data at point locations, you have two options:

  1. Define points prior to the simulation.  A output points file is defined which, this contains 3 columns (x coordinate, y coordinate and point ID).  In the example below, the water levels (h), velocity (v) and depth (d) were output at every 10 seconds.  For the velocity output, both the x direction and y direction components are output .  The point output allows you to extract results more frequently than the map output if desired.  This is the preferred approach.

output == points

  output points file == ..\geo\Calib_points_v2.csv

  output parameters == h,v,d

  output interval == 10.

end output

 

2.    After the model has been simulated, it is possible to use SMS to extract the results at points.  However, you are limited to the 2D map output interval, for file size reasons, this may be less frequent than you would like, however, it can be done! To do this you will need to load the results into SMS and then create (or convert the points) into a map layer.  There is a bit more work in extracting the data once the model has been simulated, to do this follow the instructions below:

Right click on the “Map Data” and choose, “New Coverage”.

post-4-0-38274600-1396829110_thumb.jpg

 

Set the type to “Observation”

post-4-0-46873200-1396829125_thumb.jpg

 

Select “Create Feature Point”

post-4-0-01752500-1396829126_thumb.jpg

 

Digitise the points in the map window.

post-4-0-61709600-1396829126_thumb.jpg

 

To extract the information, select Display >> Plot Wizard.

post-4-0-47446300-1396829127_thumb.jpg

 

Choose timeseries.

post-4-0-07403400-1396829128_thumb.jpg

 

Select the points and the datasets you wish to view:

post-4-0-55343100-1396829129_thumb.jpg

 

To export the data you can right click on the chart and choose “Export/Print”.

post-4-0-28359700-1396829134_thumb.jpg

 

Export to text / data and set a file name, the extension can be either .dat or .txt.

post-4-0-18393000-1396829135_thumb.jpg

 

You have numerous options, for exporting to tables or lists and also on the delimiter.  You can set these to your preferred option.  If you choose comma delimited, the file extension can be changed from .txt to .csv.

If you want to extract the velocity directions, you will need to convert this dataset, before extracting the charts.  To do this: select the velocity results and then select “Data >> Data Set Toolbox”.

post-4-0-70341200-1396829135_thumb.jpg

 

You can set if you would like to convert to x and y or magnitude and direction.

post-4-0-49120100-1396829137_thumb.jpg

 

This will give two new datasets:

post-4-0-27134400-1396829138_thumb.jpg

 

You can now plot / extract timeseries for these in the same method outlined above.

post-4-0-79550500-1396829139_thumb.jpg
 

 

 

 

 

 


 
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...