User:Jcreer/SMS:3D Bridge: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Version SMS 13.1}}
{{Version SMS 13.1}}
[[File:3dbridge.png|thumb|400 px|3D bridge example]]
[[File:3dbridge.png|thumb|400 px|3D bridge example]]
A 3D bridge can be modeled on an existing model using components. To model a 3D bridge, the following is needed:
The 3D bridge component can be used to for multiple purposes in a model. These include:
* Area Property coverage
# The bridge component can be used to generate a 3D UGrid to visualize a bridge in the graphics window. Use the '''Export 3D Bridge''' button in the ''Bridge'' dialog described below to generate this UGrid.
* Two arcs on the Area Property coverage defining the upstream and downstream sides of the bridge
# The bridge component can be included in an observation plot. (See [[SMS:Observation_Profile_Plot|Observation Profile Plot]] for more information.)
# One or more bridge components can be used to generate a "ceiling elevation" dataset. This dataset represents the maximum water surface that can be reached at each point in the mesh. Nodes that have no ceiling elevation have an "inactive" value in this dataset. An upcoming version of SRH-2D will be able to utilize this dataset instead as an option to represent pressure zones.
 
To create a 3D bridge component, the following is needed:
* 3D bridge coverage containing two arcs.  These arcs define the upstream and downstream sides of the bridge
* Top, upstream, and downstream profiles
* Top, upstream, and downstream profiles
Also, having an existing mesh, scatter set, or grid of the site is typically helpful.
Also, having an existing mesh, scatter set, or grid of the site is typically helpful.


==Steps to Model a 3D Bridge==
==Steps to Defining a 3D Bridge==
To build a 3D bridge, do the following:
To build a 3D bridge, do the following:
# Create an Area Property coverage.
# Create an 3D bridge coverage.
# Create arcs representing the upstream and downstream side of the bridge location.
# Create arcs representing the upstream and downstream side of the bridge location.
# Right-click in the Project Explorer and select ''New General Component'' | '''Bridge'''.
# Right-click on the 3D bridge coverage and select '''Edit Bridge'''.
# Link the Area Property Coverage to the component in the Project Explorer.
# Right-click on the component item and select '''Edit Bridge'''.
# In the ''Bridge'' dialog, define the top profile, upstream profile, and downstream profile.
# In the ''Bridge'' dialog, define the top profile, upstream profile, and downstream profile.
# Export the 3D bridge and save out the XMUGRID file.
# Export the 3D bridge and save out the XMUGRID file.
Line 20: Line 22:


==3D Bridge Modeling Tips==
==3D Bridge Modeling Tips==
* The first arc drawn on the Area Properties coverage will be made the upstream arc by default. Use the '''Swap Arcs''' button in the ''Bridge'' dialog to change this.
* The first arc drawn on the 3D bridge coverage will be made the upstream arc by default. Use the '''Swap Arcs''' button in the ''Bridge'' dialog to change this.
* The bridge will use the same units as set in the project's projection.
* The bridge will use the same units as set in the project's projection.
* Multiple bridges can be modeled by creating addition components.
* Multiple bridges can be modeled by creating addition components.
* When exporting the bridge, the XMUGRID file is created as well as a PRJ file containing the bridge's projection. These files should be kept together.
* When exporting the bridge, the XMUGRID file is created as well as a PRJ file containing the bridge's projection. These files should be kept together.


==Bridge Component==
==3D Bridge Coverage==
A new bridge component is created by right-clicking in the Project Explorer and select ''New General Component'' | '''Bridge'''. In the Project Explorer, a "Component Data" folder and a "Bridge" component item will appear.
The 3D Bridge coverage is used like any other map coverage. Generally, it should have the arcs that define the upstream and downstream side of each bridge. In the Project Explorer, right-clicking on the 3D bridge coverage brings up the standard coverage right-click menu with the addition of the following command:
 
*'''Edit Bridge''' – Brings up the ''Bridge'' dialog for defining the bridge profiles.
The "Component Data" folder will contain all components in the project. Right-clicking on this item has the following commands:
*'''Turn on Visibility of All Components'''
*'''Turn off Visibility of All Components'''
*'''Delete All'''
 
The "Bridge" component item can be right-clicked on to access the following commands:
*'''Rename'''
*'''Duplicate'''
*'''Delete'''
*'''Lock'''
*'''Edit Bridge'''
*'''Properties'''


==Bridge Dialog==
==Bridge Dialog==
Line 59: Line 49:
**''Elevation'' – Elevation of the given distance.
**''Elevation'' – Elevation of the given distance.
*Preview area – Displays a preview of the profile.
*Preview area – Displays a preview of the profile.
[[File:3dbridge-xyseries.png|thumb|none|600 px|Example of the bridge ''XY Series Editor'']]




{{Navbox SMS}}
{{Navbox SMS}}
[[Category:SMS General Information]]
[[Category:SMS General Information]]

Latest revision as of 20:19, 1 June 2020

3D bridge example

The 3D bridge component can be used to for multiple purposes in a model. These include:

  1. The bridge component can be used to generate a 3D UGrid to visualize a bridge in the graphics window. Use the Export 3D Bridge button in the Bridge dialog described below to generate this UGrid.
  2. The bridge component can be included in an observation plot. (See Observation Profile Plot for more information.)
  3. One or more bridge components can be used to generate a "ceiling elevation" dataset. This dataset represents the maximum water surface that can be reached at each point in the mesh. Nodes that have no ceiling elevation have an "inactive" value in this dataset. An upcoming version of SRH-2D will be able to utilize this dataset instead as an option to represent pressure zones.

To create a 3D bridge component, the following is needed:

  • 3D bridge coverage containing two arcs. These arcs define the upstream and downstream sides of the bridge
  • Top, upstream, and downstream profiles

Also, having an existing mesh, scatter set, or grid of the site is typically helpful.

Steps to Defining a 3D Bridge

To build a 3D bridge, do the following:

  1. Create an 3D bridge coverage.
  2. Create arcs representing the upstream and downstream side of the bridge location.
  3. Right-click on the 3D bridge coverage and select Edit Bridge.
  4. In the Bridge dialog, define the top profile, upstream profile, and downstream profile.
  5. Export the 3D bridge and save out the XMUGRID file.
  6. Import the XMUGRID file.

3D Bridge Modeling Tips

  • The first arc drawn on the 3D bridge coverage will be made the upstream arc by default. Use the Swap Arcs button in the Bridge dialog to change this.
  • The bridge will use the same units as set in the project's projection.
  • Multiple bridges can be modeled by creating addition components.
  • When exporting the bridge, the XMUGRID file is created as well as a PRJ file containing the bridge's projection. These files should be kept together.

3D Bridge Coverage

The 3D Bridge coverage is used like any other map coverage. Generally, it should have the arcs that define the upstream and downstream side of each bridge. In the Project Explorer, right-clicking on the 3D bridge coverage brings up the standard coverage right-click menu with the addition of the following command:

  • Edit Bridge – Brings up the Bridge dialog for defining the bridge profiles.

Bridge Dialog

The Bridge dialog

The Bridge dialog is reached by right-clicking on a bridge component and selecting the Edit Bridge command. The dialog contains the following options:

  • Swap Arcs – Changes which arc is the upstream arc and which is the downstream arc.
  • Export 3D Bridge – Brings up a Save dialog where the bridge can be saved as a ugrid.
  • Top Profile – Defines the highest points of the bridge.
    • Edit – Launches the XY Series Editor for the bridge profiles.
  • Upstream Profile – Defines the elevations on the underside of the bridge on the upstream end side.
    • Edit – Launches the XY Series Editor for the bridge profiles.
  • Downstream Profile – Defines the elevations on the underside of the bridge on the downstream end side.
    • Edit – Launches the XY Series Editor for the bridge profiles.

XY Series Editor

This dialog is reached through the Bridge dialog. The dialog contains the following:

  • Number of Rows – Defines the number of rows available in the spreadsheet.
  • Spreadsheet – Contains values for the profile distance and elevation.
    • Distance – Location along the arc. The distance starts at the first node in the arc and moves in the same direction as the arc.
    • Elevation – Elevation of the given distance.
  • Preview area – Displays a preview of the profile.
Example of the bridge XY Series Editor