Creating 2D Meshes

A 2D mesh of elements can be generated in areas for which more detailed analysis is required. The created mesh is used to model 2D flows.

Modelling 2D flows is much more computationally intensive than modelling 1D flows, therefore mesh generation should be limited to areas of particular interest.

During a 2D simulation, for each mesh element, depth, velocity and direction of flow will be calculated. Flooding from the collection system to the mesh is modelled at 2D node locations; surcharging of the 2D flooding manhole results in an inflow to the 2D mesh element in which it resides.

For details on setting up 2D zones and related objects prior to generating a mesh, see the 2D Mesh Generation Methodology topic.

Create a 2D mesh

  1. Select the 2D zones to be meshed. All other zones, such as roughness zones or mesh zones, within the selected 2D zones will be included automatically.
  2. Select Mesh 2D zones from the Model | Meshing menu. The InfoWorks or SWMM Mesh 2D Zones dialog will be displayed.
  1. Optionally select the polygon and polyline objects representing voids, break lines and wall data. The options for each feature are:
  2. Note:Porous walls, and for InfoWorks networks only Base linear structures (2D), will always be used when creating the 2D mesh, regardless of dialog settings.

Note

If specifying data sources for break lines and walls (polyline types), both data sources must be either from GIS (files or layers) or from network polylines.

  1. For InfoWorks networks only:

    Check the Lower 2D mesh element ground levels higher than adjacent bank levels option, to automatically adjust the ground level of mesh elements adjoining a bank section that is lower than the ground level calculated from the ground model. The ground level of the mesh element will be adjusted to match that of the bank.

    If this option is not selected, then the simulation engine automatically raises any portion of any bank that is below the adjoining mesh element ground level to the same level as the mesh element.

  2. Select a ground model to be used to calculate the heights of mesh element vertices. Click to browse for a ground model file, or drag and drop a ground model item from the Explorer Window into the selection box.
  3. Click OK.

A mesh job will be created for each zone selected for meshing, and the Schedule Job(s) dialog is displayed to allow you to select where and when to run the jobs.

The progress of the mesh jobs is displayed in the Job Control window, showing the network, zone and scenario that are being meshed and the current status of the job. Mesh jobs are queued along with simulation jobs and can be reordered, rescheduled or cancelled in exactly the same way.

Mesh results are not loaded into the zone(s) in the network immediately on completion of the job (a popup message will be displayed briefly when mesh results are ready to be imported). To view the mesh log for a job, click in the Status cell of the mesh job in the Job Control window or select Meshing | Load mesh job results from the Model menu to display the Manage Mesh Results dialog.

Manage mesh results

The Manage Mesh Results dialog is used to mange mesh results. It can be used to view the log for a mesh job, or to load successfully completed mesh jobs to a 2D zone(s).

To display the dialog, click in the Status cell of the mesh job in the Job Control window or select Meshing | Load mesh job results from the Model menu.

To load mesh results to a 2D zone, select the mesh job from the Manage Mesh Results dialog and click Load mesh. The mesh will be loaded to the network. Summary information from the mesh log will be written to the Mesh summary field of the 2D zone.

Mesh 2D zones log

To view the mesh log for a mesh job prior to loading results to the network, select the mesh job from the Manage Mesh Results dialog and click Show log.

For each mesh job, immediately prior to generation of the mesh, the data used for creating the mesh will be validated. If there are any errors in the data, meshing will not take place. The mesh log for the job will contain error messages.

Errors may be generated if:

It is necessary to correct the errors before the mesh can be generated.

If there are warnings, the mesh will be created successfully and the mesh log will contain output from the mesh process listing the 2D Zones meshed. For each 2D Zone, this includes:

And for InfoWorks networks only:

Validation warnings will also be listed. Warnings may be generated if polygon boundaries or walls intersect each other:

And for InfoWorks networks only:

In order to resolve these warnings, edit the geometry of objects using the polygon and polyline editing tools to snap and insert vertices.

For InfoWorks networks, the Diagnostic Polygons Tool can also be used to investigate errors further.

2D Mesh Generation Methodology

2D Zones

Mesh 2D Zones Dialog (InfoWorks)

Mesh 2D Zones Dialog (SWMM)

Manage Mesh Results Dialog