HEC-RAS 2D: Cell Size, Breaklines and Time Steps

Build meshes around hydraulic controls and assess cell size, breaklines, time steps, stability and sensitivity together.

Back to the knowledge base

HEC-RAS 2D: Cell Size, Breaklines and Time Steps
October 4, 2026HEC-RASUpdated:
Introduction

In a two-dimensional model the cells form the numerical representation of the area where flow is computed. Using very small cells does not by itself mean a more accurate model; wrong terrain, an unsuitable boundary or a badly aligned control line can still spoil the result. The project owner should not judge model quality by the number of cells alone. The engineer arranges the mesh around the physical features that control the movement of water and checks it together with the time step. The aim is not to produce the heaviest computation file but to answer the study question reliably at sufficient resolution.

Relating cell size to physical scales

Computational mesh with fine cells along the stream and coarse cells on the floodplain; red breaklines on the road embankment and the channel banks
Fine cells aligned with the flow along the stream and larger cells on the floodplain. The red lines are breaklines on the channel banks and the road embankment.

Narrow flow routes, bank transitions and road embankments affect the cell size. Splitting coarse data into fine cells creates no unmeasured detail.

What affects cell size?

  • Narrow flow routeFaces must be aligned
  • Wide regular areaA coarser mesh may do
  • Critical controlMay need local refinement
  • Terrain dataIts real detail is assessed
Open the details

When the cell size is chosen, narrow flow routes, bank transitions, road embankments and level changes near structures are taken into account. A coarser mesh may be enough in a wide, regular area, while local refinement may be needed around a critical control. The sub-grid properties that HEC-RAS derives from the terrain do not remove the need to place the mesh correctly on the physical controls. Aligning the important faces of a narrow channel correctly can be more effective than making the whole area equally fine. The real information content of the source terrain is also assessed; splitting coarse data into fine cells does not by itself reveal detail that was never measured on site.

What a breakline provides

Plan: faces cutting across an embankment may let water pass too early; a breakline places the faces on the crest Faces not alignedWith a breaklineFaces cut the crest:water may pass earlyFaces lie on the crest:the control holdsRoad embankment or levee
Drawing the line is not enough; the faces and crossings of the mesh are reviewed.

A control line in the wrong place inside a cell can let water pass early or in the wrong direction. A breakline neither corrects a wrong level nor creates a missing culvert.

Open the details

A breakline aligns cell faces with a bank crest, a road, a levee or another control line. Whether water can cross a face depends on the terrain and hydraulic properties along that face. A control line left in the wrong place inside a cell can contribute to flow passing too early or being routed the wrong way. The position of the breakline and the cell spacing around it are checked against real measurements. Drawing the line is not enough; the faces and crossings of the generated mesh are reviewed. A breakline does not correct a wrong elevation or create a missing culvert. These elements have to be defined separately through suitable terrain or structure geometry.

Time step and Courant considerations

With a short time step water stays within a cell in one step, with a long one it skips several cells; C = V × Δt / Δx Short time stepIn one step the water stays in the cellLong time stepIn one step the water skips several cellsΔx: cell sizeC = V × Δt / Δx
C reads velocity, time step and cell size together. The suitable assessment depends on the equations and solver (USACE HEC-RAS 2D manual).

The time step is judged together with velocity, wave propagation and cell scale. The period around the peak and sudden flow changes get special checks.

Open the details

The time step represents numerically how flow and waves move between cells. Roughly, the Courant approach looks at the relation between velocity, wave propagation, time step and cell scale. The suitable assessment depends on the equations and solver used; no single time step or Courant threshold can be recommended for all models. Keeping the same time step without thought while making the cells smaller can affect how the computation behaves. The period around the peak and sudden changes in flow are checked in particular. If an automatic time step is used, its minimum, maximum and target settings are recorded; the software default does not replace a check specific to the project.

Stability differs from accuracy

Schematic: an unstable oscillating result against a smooth, stable result that is far from the observations Unstable: oscillationStable, but far from observationsObservationTime →
Every numerical setting that smooths a result needs a physical justification.

A finished run with few warnings does not show physical accuracy. Volume balance, water surface, velocity directions and time series are examined together.

Examined together

  • Volume balanceIn, out and stored
  • Water surfaceContinuity
  • Velocity directionsAny unexpected direction?
  • Time seriesAt critical check points
Open the details

That a computation finishes, or shows few warnings, does not by itself show that the physical results are correct. Volume balance, continuity of the water surface, velocity directions and time series at critical check points are examined together. Sudden oscillations, unexpected local peaks or concentrated results near a boundary are investigated. Refining the mesh sometimes makes a geometry problem visible; badly shaped cells or unsuitable transitions can create other problems. Every numerical setting used to smooth the result is judged by its physical justification. A smooth-looking map does not make independent checks of the data and the solution unnecessary; stability is necessary but is not sufficient for acceptance.

Mesh and time-step sensitivity checks

Sensitivity test: base model, local refinement, time step change, comparison and investigation of a remaining difference Separate trials 1. Base modelBase mesh and time step 2. Refine the mesh locallySame inflow and boundaries 3. Change the time stepIn a separate run 4. Compare resultsLevel, velocity, volume 5. If differences remainCheck terrain, alignment, others
Testing one variable at a time makes the cause of a difference easier to trace.

Mesh and time step are changed in separate runs and critical points are compared. If an important difference remains, its cause is investigated before calling it sufficient.

Open the details

The base model and a locally refined mesh are compared under the same discharge and boundary conditions. Then the time step is changed and the level, velocity and volume results at critical points are assessed. If the variables are checked in separate trials, the cause of a difference is easier to trace. If important results are still changing, one does not conclude at once that the mesh or time resolution is sufficient. It is investigated whether the difference comes from the terrain, the control alignment or another element of the model. The delivery package contains the distribution of cell sizes, the breakline information, the time settings and a comparison table; stating only the total number of cells is not enough to explain model quality.

Delivering a reproducible model

Delivery package of a hydraulic model: software version, terrain, geometry, flow files, computation plan, output settings; coordinate system, vertical reference and units Delivery packageSoftware versionTerrain usedGeometryFlow filesComputation planOutput settingsCoordinate system, vertical reference, unitsScreenshots alone are not enough:the model cannot be rerun
Each scenario’s name, data source and changed parameters should be traceable.

The delivery holds the files and settings needed to run the model again. The total cell count alone does not describe model quality.

During review

  • Volume balanceAnd computation warnings
  • Time seriesLevel and flow at key sections
  • Physical meaningResults are read together
  • Stated limitsData gaps, processes not modelled
Open the details

A hydraulic-model delivery package should include the software version, terrain, geometry, flow files, computation plan and output settings. Screenshots alone do not allow the model to be rerun or later project revisions to be assessed. Define the coordinate system, elevation reference and units clearly in the report. Each scenario's name, data source and changed parameters should be traceable. This allows the design team to identify the calculation conditions associated with every map.

Review volume balance, computation warnings, water-level and flow time series at important locations, and the physical meaning of the results together. A run that finishes without errors is not, by itself, engineering verification. Explain areas with insufficient data and processes the model cannot represent. For the owner, the delivery scope can be defined through the required maps, technical report, model files and any alternative-design comparisons. Sharing the study boundary and available surveys with ArchSu helps describe the modelling requirements realistically.

Sources and related articles

Let's discuss your project's data requirements and reporting scope.

Request a project quote

Flood analysis with HEC-RAS service