Mesh Implementation
Objective - In this tutorial you will learn to apply the meshing approaches from the previous workshop to common river conditions like islands, expanding floodplains, and bridges.
Data Files
The data for this tutorial are provided below.
Pier Expansion Workshop.zip
These data are for demonstration purposes only and should not be used for engineering analysis.
Steps
Meshing Through Islands, Flow Splits, and Expansion/Contractions
Island Modeling
- Open Pier Expansion Workshop Files
IF you are not currently in the class (or need
You can download the zip file or download through the Development Window with the following Model ID
class/workshops/2_6_Mesh_Application
Select Development Tools
Go to Model Library navitage to Class→ Workshops and right click on 2_6_Mesh_Applications and select Open
- Look at the results from the 20,000 and 60,000 cfs simulations.

Your mesh needs to lay out cells around the flow split/island, accommodate the bridge piers, and account for the flow expansion.
- Right click on the Geometry, Duplicate and Rename to something like "Quad Trib"

- Click on your Conceptual Mesh
and select the Edit tool
to work on your conceptual mesh. - Digitize the outside of the channel, do not worry about the island for now.
- Define Quad cells in the channel and choose a resolution.
- Regenerate the mesh.


- Digitize the Island and select triangular cells with a 200 ft cell size for it.

This is pretty good, but the triangles spill into the channel.
How can you keep quads in the channel. - To keep quads in the channel you need to add six Arcs. First add Arcs in your bars, separating triangular ends on each side.
(Note: These triangles should be large enough that you can scale the cells in them up or down during a convergence analysis.) - Regenerate the mesh.


- Then separate the side channels with Arcs at the upstream and downstream separation points.
Make sure all of your channel and island regions have consistent Quad spacing and
Modeling a Floodplain Expansion/Contraction
- Next lets use Quads to model expansion and contraction in the left bank.
This will work better if you add an Arc where the left overbank region necks down.
- Make the thin northern left overbank region a 200Xsingle cell quad region.
- Now that the expanding/contracting part of your left overbank gas 4 (or more) Arcs you can use Quads to make your mesh.
Use Quads in this region with the same "Length" as you used in your channel.
What happens?
- You get a pretty smooth mesh, but you either have too many cells in the narrow region (which propagates into your single cell region) or too few cells in the wide region.
- Add one or more Arcs to capture the flow expansion in this zone.
- Give each arc the cell spacing you want, and Enforce Stricter Spacing.

Remember to try to make these cells perpendicular with flow.
Modeling Bridges and Piers
Modeling Piers on a Coarse Grid
Next we are going to work on the bridge crossing at the north end of your model.

First, Draw Arcs that follow the centerline of the road and bridge.
You can experiment with the satellite imagery and the opacity to see the road and terrain at the same time.


Regenerate the mesh.

The simplest way to align your mesh with your piers is to drop nodes in the middle of the piers.
Press "S" and double click (you can use Ctrl+Z to stop drawing and only leave the node.

This Conceptual Model Node forces a Computational Node in the footprint of the pier which tends to align the cell faces.
Next we are going to construct two more detailed bridge and pier models.
The first won't be super detailed, but more than the previous model.
For that, draw a 4 Arc region around the bridge.
Press the + on the Geometry to create a new geometry file and give it a name like "Detailed Bridge- Quad."


Draw a Bridge centerline across the region, following the road on either side.
This may change the aspect ratio of each of the smaller regions splitting creates, which means that the "Length" is no longer in the direction of the water.
You will likely need to switch the Length and Width sizes.

Place nodes in the center of each pier like we did above.
Regenerate the mesh.

Moderate Detail Pier Modeling
The simplest pier modeling approach above only works because the piers are not skewed. A more detailed model extends arcs along the piers.
Draw Two Arcs on each pier starting at the centerline (the center of the pier) and extending to the end of the full-width portion of the pier (not the tip)

Regenerate the mesh.

How does it look?
How could you make it better?Connect the ends of the piers with each other and with the bounding nodes to form 6 regions through the bridge.

Then you will want to give each of these interior bridge regions the same lateral cell spacing as the main channel but make them 1 cell thick in the longitudinal direction.
But because they are longer in the lateral dimension than the stream-wise dimension, you will need to make the "Length"=20ft and the "Width" = a count of 1.

With only 6 of these internal bridge regions, it is not a lot of work Now lets tag these Arcs so we can change them together.
You can edit multiple arcs at the same time and find them again later by tagging them.
This video illustrates the steps
Try to tag the stream-wise and transverse arcs separately.
Choose the "Fruit Ninja" tool and draw an S to select all nine transverse arcs that make up the bridge.

Make sure you have Arcs selected and Press the Add Tag button to tag these.

You can just give them all a consistent string or make the tag a T/F Boolean
Search by Tag, use Shift to select the search results, and change the cell spacing for all of the bridge face arcs together (Size=20)
Do the same for the streamwise arcs (Count = 1)
Regenerate the mesh.

Detailed Pier Modeling
Finally, let's build an extremely detailed model through the bridge (more detailed than you will probably ever need) to give you experience using blank cell types to simulate structures.
- Draw another small region around just the bridge.
- Press the + on the Geometry to create a new geometry file and give it a name like "Super Detailed Bridge- Triangle."

- Give it a cell size of 10.

- Press the + on the Geometry to create a new geometry file and give it a name like "Super Detailed Bridge- Triangle."
- Zoom into the pier. Digitize a region that is just inside the edge of the pier.

The blank cell does not have any wetted perimeter. Therefore, the wetted perimeter must come from the intersection of the terrain and
- Choose the blank cell type and regenerate the mesh.

Even though your region is blank, the Arc has a cell spacing...which is the default 100.
This was incompatible with the cell spacing of 10 and/or the length of the pier.
- Change the Arc cell size to 10 and regenerate the mesh.


- If you have time you can try another, finer, cell resolution

Solution Files:
Adding a Tributary
If you have extra time, try adding a tributary to these starting files.
- Open the Tributary Mesh Workshop file.
This model has a very coarse mesh. The main channel is aligned with flow but the tributary uses a coarse triangular mesh.
Your job here is to use quads to align this expanding tributary/floodplain with the flow direction.
- Right click on the Geometry, Duplicate and Rename to something like "Quad Trib"

- Click on your Conceptual Mesh
and select the Edit tool
to work on your conceptual mesh. - Press "S" to get the "Split" tool to start a new arc on the main channel, right-bank, arc.
If Start your Arc (e.g. place a Conceptual Mesh Node) at a "Mesh Node" (as pictured below) it will not change the location of the cells.
- Draw your arc along the southern (rights) bank of the tributary
- Draw another arc along the northern (left) bank of the tributary
- Regenerate the mesh.

Notice how the mesh cells realign so a mesh node falls on the computational mesh node.
The RAS2025 meshes have at least three components we call nodes.

1. On the conceptual mesh, we call the place where Arc join "Conceptual Mesh Nodes".
Users control the location of Conceptual Mesh Nodes.
2. Each location where cell faces intersect is a "Computational Mesh Node" or just "Mesh Node.
Users do not control these. They generate automatically in response to the conceptual mesh.
Nodes on the Conceptual mesh always enforce nodes on the computational mesh.
3. Arcs are also made of nodes.
These "Arc Nodes" are vertices when you are editing.While confusing, these names are consistent with the mesh and topology tradition and literature so we use them to reflect that literature and align with the theoretical tradition.
- Convert this tributary into a Quad region.
The cell faces are not very smooth. This is an artifact of using a coarse resolution with the Laplacian smoothing on large, curved cells.

If you increase the Laplacian Smoothing factor it will improve these faces. - This works if you are ok with the length of your main channel cells setting the width of your tributary cells. But lets say you want a detailed model of the tributary, so you want your cells to be 20ft wide and 40ft long.
Try setting up a mesh with detailed cells in the trib. - Duplicate and Rename your geometry.
- Select the tributary region and set the Width = 20 and the Length = 40.

- Regenerate the mesh.


- Draw Arcs connecting the Conceptual Mesh Nodes associated with the Tributary on the main channel left bank to the main channel right bank- perpendicular with flow.
- Select the Upstream Arc of the Tributary, and set the spacing to Count=5 and turn Stricter Cell Spacing on.
Also make sure that the downstream arc has stricter cell spacing on

- Regenerate the mesh.

Solution Files:
