• InfoWorks ICM

Generating a 2D mesh

Generate a 2D mesh in a defined 2D zone, and understand the use of the mesh log.


Tutorial resources

These downloadable resources will be used to complete this tutorial:

Gen_2d_Mesh.icmt

Step-by-step guide

In this tutorial, a 2D mesh is generated in a 2D zone with previously defined 2D boundaries. An important part of this process is understanding the validation process and the mesh log.

  1. Open the 2D River Model network and 2D Ground Model on the GeoPlan.

With the 2D boundaries defined and set up, the 2D zone can be meshed.

  1. On the GeoPlan Tools toolbar, click the Select tool.
  2. On the GeoPlan, select the 2D zone.
  3. From the Model menu, select Meshing > Mesh 2D Zones.

The InfoWorks ICM interface with the 2D River Model and 2D Ground Model open on the GeoPlan, and in the Model menu, Meshing selected, and Mesh 2D zones selected in the flyout.

In the Mesh 2D Zones dialog, external files, layers, or polygons could be selected for use as voids, break lines, or walls within the mesh, but for this tutorial, keep all three of these options set to None.

  1. From the Database, drag the 2D Ground Model into the Mesh 2D Zones dialog and drop it into the Ground Model group box.

A red arrow showing the path of the 2D Ground Model from the Database to the Mesh 2D Zones dialog box, where it is being dropped into the Ground Model group box.

  1. Click OK to mesh the 2D zone.

Note that this process is similar to running a simulation.

  1. Click OK to create the job.

The Schedule Job(s) dialog box with OK selected, and in the background, the Mesh 2D Zone dialog box with the Ground Model group box populated.

Prior to mesh generation, the data used for creating the mesh is validated. The mesh log for the job contains any error messages, which must be corrected before the mesh can be generated.

It is possible to generate multiple meshes at the same time for different 2D zones. If any changes are made to objects within the 2D zone, a new mesh must be generated for changes to take effect and to simulate that version of the model.

  1. From the Window menu, select Job control window.

This displays the status of the mesh job. Once the 2D mesh is generated, the row turns green.

  1. In the Job Control window, in the Status column, click Mesh ready to open the Manage mesh results dialog.

In the Job Control window, the mesh job is listed and Mesh ready is being selected to open the Manage mesh results dialog box, which is open on the GeoPlan.

  1. With 2D Zone selected, click Show log to view details for the mesh, including any warnings, the minimum triangle area and the number of triangles and elements.

The mesh log showing details for the mesh job, including the minimum triangle area and the number of triangles and elements.

Errors may be generated if:

  • Mesh zones or roughness zones overlap.
  • All vertices of a mesh element lie within an undefined area of the ground model, which means that the ground level of the element cannot be determined.

If there are warnings:

  • Mesh is still created.
  • Mesh log contains output from meshing process and any validation warnings.
  • May be generated if polygon boundaries or walls intersect each other.
  • Resolve by editing object geometry, using polygon and polyline editing tools to snap and insert vertices.
  1. In the manage mesh results dialog, click Load Mesh.

The Manage mesh results dialog box with the 2D Zone mesh job selected, and Load mesh selected and highlighted in red.

  1. Click Close.

The mesh job is automatically removed from the Job control window and the 2D mesh is loaded into the model.

  1. Zoom into an area of the GeoPlan to see the 2D elements that are now generated.
  2. Select Network > Clear ground model to make the mesh easier to see.

The GeoPlan zoomed in to the meshed 2D Zone, currently obscured by the ground model, and the Network menu expanded with Clear ground model selected.

  1. Using the Select tool, double-click an area of the 2D zone.
  2. In the Multiple Selection popup, select the [element: ID] item.

The Multiple Selection dialog box with the element for this exercise selected and called out, and in the background, the meshed 2D zone with the ground model removed for a clear view of the 2D triangles making up the mesh.

  1. Click OK.

Information for the selected element appears. The ground level for a mesh element is calculated by sampling the ground model within the 2D triangles that make up the element, and then taking the average of the sample point levels. This is used to calculate a single elevation for each element.

The 2D Zone – Mesh Element dialog box with information for the selected element, including a table of Mesh element coordinates, Area, Ground level and Roughness.

  1. After viewing the information, click Close.
  2. Click the Validate tool to make sure there are no errors in the network.
  3. Click OK.
  4. Click Commit changes to database to save the changes.
  5. Add a comment, such as “2D mesh created”.
  6. Click OK.

In the Commit change to server popup, the comment “2D mesh created” entered and OK selected, the Message Log with a note that “2D mesh job(s) have ended” and in the GeoPlan, the meshed 2D zone.