Message 10042

TUFLOW FV
Available since version: 2026.2.0
ERROR 10042 - NaN detected in density field in cell <2d_cell_id>

Description

A NaN (not-a-number) value was detected in the computed density field at the 2D cell shown. This indicates a numerical issue in the equation of state calculation, typically caused by invalid temperature or salinity values being used as inputs.

Suggestions

Check the temperature and salinity map outputs, boundary conditions and initial conditions near the reported cell for unrealistic or missing values. The cell location can be identified in the GIS messages output file. If temperature is enabled with atmospheric heat exchange, check that input meterological data is reasonable and does not contain non-physical values.