Fire Diagnostics and Output
Flame diagnostics
Computed every fire step on burned cells (\(\phi < 0\)) and zero elsewhere:
Byram fireline intensity \(I_B = h\, w_0\, R\) [kW/m], with \(h\) the heat content [kJ/kg], \(w_0\) the fuel load the front consumes [kg/m²] (the cell’s initial load) and \(R\) the rate of spread, on burning cells; it is zero once the cell’s remaining load falls below 1 % of \(w_0\) (burned out). It drives ember lofting, crown-fire initiation and the flame diagnostics below. \(w_0\) is the whole load, dead and live, so on heavy fuels the intensity is above Byram’s \(I_R t_r R / 60\) of the flaming front alone (BehavePlus): for Anderson 10 the 100-h class is 0.23 lb/ft² of the 0.55 lb/ft² load, so the crown criterion and ember launch trigger more readily there than BehavePlus would. Until October 2026 it was \(h\,(w_0 - w)\, R\), zero on the cell the front had just reached and largest far behind it; that form is kept as the plotfile variable
fire_heat_release.Byram (1959) flame length \(L = 0.0775\, I_B^{0.46}\) [m], the SI form of \(0.45\, I_B^{0.46}\) ft with \(I_B\) in BTU/ft/s.
Flame temperature, by
erf.fire.flame_temp_method:"byram_radiant"(default) \(T = T_a + 800\,(I_B/1000)^{0.25}\);"mcalpine_heat", the adiabatic estimate of McAlpine and Xanthopoulos (1989) from the heat content and moisture, clipped to \(T_a + 100 < T < 1500\) K. \(T_a\) iserf.fire.flame_temp_T_amb[K]. A third method,"nelson_emissivity", was removed in November 2026: it put the fireline intensity [W/m] into the Stefan-Boltzmann law as a flux [W/m²].Flame tilt from vertical, \(\arctan(U / v_b)\) in degrees, from the effective wind speed and the buoyancy velocity \(v_b = (g I_B / (\rho c_p T_a))^{1/3}\) with
erf.fire.flame_tilt_rho_airanderf.fire.flame_tilt_T_amb[K]. Off unlesserf.fire.compute_flame_tiltis set; a diagnostic only.
Fire plotfiles
The fire grid has its own plotfile stream, separate from the atmospheric
plotfiles, written to erf.fire.plot_file (default plt_fire_) every
erf.fire.plot_int steps or every erf.fire.plot_per seconds. Each is
a single-level AMReX plotfile on the fire grid, whose domain is the region
the fire grid covers (the refined region when the fire runs on a finer level),
with a small JSON sidecar giving the grid ratio, the atmospheric level of the
fire grid and the variable count. Variables appear in this fixed
order; the optional blocks are present only when their feature is on:
Variable |
Unit |
Present when |
|---|---|---|
|
always |
|
|
m/s |
always |
|
m/s |
always |
|
m/s |
always |
|
m |
always |
|
always |
|
|
fraction |
always |
|
K, 0-1 |
always |
|
W/m² |
always |
|
kg/m² |
always |
|
kW/m, m |
always |
|
s |
always |
|
kW/m |
always (\(h\,(w_0 - w)\, R\), the intensity’s form before 2026-10) |
|
fraction |
live moisture components present (BEHAVE path) |
|
m, -, m, - |
|
|
deg |
|
|
-, kg/m², - |
|
|
K |
|
|
a spatial fuel map is loaded |
|
|
0-1 |
|
|
m |
|
|
0/1 |
structures, |
|
-, J/m², kW/m, - |
|
|
-, s, W/m² |
|
|
mm/hr |
dynamic dead-fuel moisture with |
|
-1/0/1 |
|
|
0-1 |
|
|
|
Fire statistics CSV
When erf.fire.write_fire_stats_csv is true (default) one line per
fire step is appended to erf.fire.fire_stats_csv_file (default
fire_stats.csv) with the columns
step, time_s, burned_area_ha, perimeter_km, active_front_cells, head_ros_ms,
major_axis_m, minor_axis_m, heat_flux_max_Wm2, spot_fires_this_step,
max_spot_dist_m, edge_band_cells, edge_contact_time_s, precip_max_mm_hr.
Burned area and perimeter come from the arrival-time field, the head rate is
the maximum rate of spread over burning cells, and the axes are those of the
burned region’s bounding ellipse. The spotting columns are zero unless
spotting is on. The last two are the boundary guard of
The edge of the fire grid: the number of burning cells within
erf.fire.boundary_guard_cells of a non-periodic edge of the fire grid
on this step, and the time the fire first entered that band, \(-1\)
until it does. Both are zero and \(-1\) with
erf.fire.boundary_guard_action = "none".
Arrival-time probes
erf.fire.probes = x1 y1 x2 y2 ... [m] lists points at which the
arrival time is reported. Each probe prints one line,
[FIRE PROBE] n x= y= cell=(i,j) arrival_time_s=, on the fire step its
cell first burns, and nothing afterwards; a probe outside the domain is
reported once and ignored. The obstacle regression suite uses these to
tabulate arrival at building faces.
Structure exposure
With erf.fire.exposure.enable (which needs
erf.fire.structures.enable) the fire layer reports what each building
experienced. At initialisation the points of the structure heightmap above
erf.fire.structures.min_height are grouped into connected footprints
(4-connected on the file’s grid, numbered in scan order) and each fire cell
takes the id of its nearest point, the same sampling as the mask, so
fire_structure_id is nonzero exactly where the mask holds a structure.
Three accumulators run on the fire grid: the heat load
\(\int Q\,dt\) [J/m²] of every cell, the running maximum of the Byram
fireline intensity [kW/m], and the number of embers that landed on each
masked cell (brands the spotting model drops there instead of igniting).
Every erf.fire.exposure.interval fire steps one line per structure is
appended to erf.fire.exposure.file (default fire_exposure.csv),
evaluated over the wall band: the burnable cells within
erf.fire.exposure.ring fire cells of the footprint (a cell between
two footprints counts for both). The columns are
time_s, structure_id, x_m, y_m, height_m, footprint_cells, wall_cells,
wall_burned_frac, t_first_s, t_last_s, residence_s, peak_intensity_kWm,
heat_load_mean_MJm2, heat_load_max_MJm2, embers:
the footprint centroid and sampled height, the size of the footprint and
of its band, the fraction of the band burned, the earliest and latest
arrival of the front in the band and their difference (how long the front
spent passing the structure; both are -1 until it arrives), the largest
peak intensity in the band, the mean and largest heat load there in MJ/m²,
and the embers on the footprint. The first time a structure’s band burns a
line [FIRE EXPOSURE] structure n x= y= reached_at_s= is printed, and
every row set ends with a summary of how many structures have been reached
and the largest peak intensity and heat load among them. A restarted run
appends to an existing file and writes the header only into a new one.
The four fields are added to the fire plotfile as fire_structure_id,
fire_heat_load, fire_peak_intensity and fire_ember_landings, and
the three accumulators are checkpointed as FireHeatLoad,
FirePeakIntensity and FireEmberLandings. The heat load is the
fire’s own release at the ground next to the wall, not a radiant flux onto
the wall; a view-factor model of the wall flux from the flame length and
tilt of the band cells is the natural next step. Exec/RegTests/FireExposure
runs the obstacle scenario with and without immersed-forcing buildings and
with spotting, and FireRestart checks that the CSV resumes exactly.
With erf.fire.structures.ignition.enable the structures ignite from
these accumulators, burn and load their neighbours (Structure Ignition and House-to-House Spread).
The CSV then gains state, t_ignition_s, cause, structure_flux_Wm2,
incident_flux_max_Wm2 (the columns are absent when the option is off), the
plotfile fire_structure_state, fire_structure_ignition_time and
fire_structure_rad_flux, and the checkpoint FireStructureState.
Models in use
Every run prints, once at start-up and before the first step, the model or
option it uses for each piece of fire physics, whatever
erf.fire.fire_debug says: the rate-of-spread model and its options,
the front propagation and its directional options, the wind (interpolation,
height, sampling, wind adjustment factor, terrain factors), the fuel, burnout
and moisture models, the coupling to the atmosphere, the flame temperature,
and whether acceleration, spotting, crown fire, threshold ignition, smoke,
structures and suppression are on, with the ignition sources. Each line gives
the erf.fire key, the value the run uses, and whether the inputs set it or
it is the default; a value the code forced says so. An excerpt:
[FIRE] Models (erf.fire key = value; set in the inputs, or the default):
[FIRE] Rate of spread ros_model = rothermel (set)
[FIRE] Rothermel reaction velocity reaction_velocity_formula = albini (default)
[FIRE] midflame wind limit use_wind_limit = true (default)
[FIRE] wind limit form wind_limit = rothermel (default)
[FIRE] Front propagation propagation_method = levelset (set)
An option is listed only when it acts in the run: a model’s own options only
when that model is in use (the Cheney-Gould pasture with ros_model =
cheney_gould, the level-set gradient with propagation_method = levelset),
the heat-injection options only when heat reaches the atmosphere, the wind
interpolation only when the wind is not prescribed.
FARSITE and FlamMap gridded winds
With erf.fire.farsite_winds.interval > 0 the fire layer writes its
reference wind as gridded winds for FARSITE and FlamMap. The layout is the
one WindNinja writes (farsiteAtm.cpp and ascii_grid.cpp in
firelab/windninja), so the files
load in the same way as WindNinja output. In erf.fire.farsite_winds.dir:
<prefix>_<step>_vel.asc: the wind speed, 2 decimals.<prefix>_<step>_ang.asc: the direction the wind blows from, in degrees clockwise from north, 0 decimals. A wind toward the north is 180.<prefix>_<step>_vel.prjand_ang.prj: copies oferf.fire.farsite_winds.prj_file, when it is given.<prefix>.atm: the atmosphere file that lists the grids by date and time:
WINDS
ENGLISH
12 30 1100 flare_000001_vel.asc flare_000001_ang.asc
12 30 1101 flare_000061_vel.asc flare_000061_ang.asc
The grids are ESRI ASCII with a tab-separated header (ncols, nrows,
xllcorner, yllcorner, cellsize, NODATA_value = -9999) and the
northern row first. Cells that no fire box covers hold NODATA_value.
Which wind. The grids hold fire_wind_ref: \(u\) and \(v\)
at the reference height above ground, before the wind adjustment factor and
FLARE’s parametric terrain correction (erf.fire.use_terrain_wind). The
ERF wind itself already includes the resolved terrain, as a WindNinja field
does. This is the open wind that FARSITE expects as input. With lagged or
passive coupling the wind is the one at the step’s start time; with
synchronous coupling it is extracted after the dynamics, and is stamped at
the step’s end.
The speed and direction are
where \(u\) is the east component [m/s], \(v\) the north component
[m/s], and \(c\) = 3600/1609.344 (mph) or 3.6 (km/h). The fire grid’s x
is taken as east and y as north. With erf.fire.farsite_winds.coarsen
= \(n\), each output cell is the mean of \(u\) and \(v\) over
\(n \times n\) fire cells, and the speed and direction come from that
mean vector. The speed of a mean vector is at most the mean speed. For a block
whose directions spread by 30 deg the written speed is about 2 % lower,
and for 90 deg about 16 % lower.
Units fix the height. In a .atm file, ENGLISH means mph at 20 ft
above the vegetation, and METRIC means km/h at 10 m. The run therefore
aborts unless the reference height matches the units: 6.096 m for
english (erf.fire.wind_ref_ht = 6.096, or
erf.fire.use_per_fuel_wind_ht), or 10 m for metric. The default
wind_ref_ht of 6.1 m is within the 1 cm tolerance of 20 ft.
Dates. The .atm lines carry month, day and HHMM in UTC. They are
taken from the top-level start_datetime plus the simulated time,
rounded to the nearest minute. The run aborts without start_datetime,
also with init_type WRFInput or Metgrid, which otherwise take the date
from the file,
and an interval below 60 s also aborts.
When. A step whose start time is at or past the next multiple of the
interval writes the wind it extracted at that start time. A run that starts
at \(t\) = 0 therefore writes at 0, \(\Delta\), \(2\Delta\), and
so on, each stamped with its step’s start time, which lags the multiple by
less than one time step. A time step longer than the interval skips grids
(a warning is printed once). Two lines in the same minute would break
FARSITE’s time order, so the run aborts when that happens: keep the time step
below the interval minus 30 s. The write times follow from the simulated time alone, so a restart
needs nothing from the checkpoint. A restart appends to the .atm file it
finds, after dropping the lines of steps at or after its own (a restart from
an older checkpoint); a file with the other unit line aborts the run. A run
that starts at \(t\) = 0 begins a new file.
Every write gathers the output grid onto one rank (with coarsen > 1 the
block means are taken first, on the ranks that own the fire grid). For a
large fire grid, use coarsen to keep that grid small. A non-finite wind
is written as NODATA_value.
Map position. erf.fire.farsite_winds.xllcorner and
yllcorner place the grids on the FARSITE landscape (the landscape’s
lower-left corner, in its projected coordinates). Without them, the fire
grid’s own prob_lo is written. The fire cells must be square.
Other formats. Exec/Tools/farsite_winds_convert.py reads the
.atm file (or one _vel.asc) and writes VTK (standard library only),
shapefile wind arrows (pyshp), Google Earth KMZ (pyproj and a projection),
a PDF map (matplotlib), or a geospatial PDF of the speed (GDAL):
python3 Exec/Tools/farsite_winds_convert.py farsite_winds/flare.atm --to vtk shp kmz --stride 4
The regression case Exec/RegTests/FireFarsiteWinds checks the files
against a prescribed wind in closed form and against the fire plotfile.
Debug output
erf.fire.fire_debug prints, every step, the wind extraction range,
the rate-of-spread maximum and mean over burning cells, the number of
subcycles, the count of active fire cells, the flux and intensity maxima,
and, where relevant, the hybrid weight summary and the coupling tendency
check. The regression scripts parse these lines, so their formats are
stable.
Checkpoint and restart
The atmospheric checkpoint carries the fire state: fields under the
Level_<lev> directory of the level the fire grid refines, and the text
files FireState and FireSuppression at the top of the checkpoint.
The fire engine writes its own fields and the
coupling layer (Fire-Atmosphere Coupling) writes the lagged flux buffers
FireQAtmPrev and FireQLatAtmPrev that the next step injects. The
native engine writes:
always:
FirePhi,FireArrivalTime,FireHeatFlux,FireFlameLength,FireFuelLoad,FireFuelMC,FireDispAccum,FireCrownFractionBurnedand the text fileFireState(the step and level-set subcycle counters, the heat-flux partition factor, the boundary guard’s contact time and reach flag, the start of the next ignition window, the anchor level and the corner of the fire region, and the already reported probes and structures);with crown fire,
FireCrownActive,FireCrownLoadandFireCrownRosActive; with the stick moisture model,FireStickMC; witherf.fire.precip_source = atmosphere,FirePrecipAccumPrev; with exposure,FireHeatLoad,FirePeakIntensityandFireEmberLandings; with structure ignition,FireStructureState; with spotting,FireAlbiniData; with the temporal acceleration model,FireAccelState;with suppression, the four fields
FireSuppressionMask,FireSuppressionFactor,FireSuppressionProgressandFireSuppressionFailedwith the action state inFireSuppression(Suppression).
On restart the fire engine is initialised from the inputs first, so a
spatial fuel map, firebreaks, a hybrid weight, a structure mask or a
suppression action file must still be available, and the checkpointed fields
are then read over the initial ones: the engine’s first, then the lagged
fluxes. A field missing from an older checkpoint keeps its initial value, and
a checkpoint that holds the fire on another level or region than the run’s
aborts. Diagnostics not in these lists are recomputed on the first step. A
fire run restarts on the level-0 boxes it was written with: a restart that
re-makes them (erf.regrid_level_0_on_restart, or more ranks than the
checkpoint has level-0 boxes) stops with a message saying so.
References
Byram, G. M. (1959). Combustion of forest fuels. In: Forest Fire: Control and Use, McGraw-Hill, 61-89.
McAlpine, R. S. and Xanthopoulos, G. (1989). Predicted vs. observed fire spread rates in Ponderosa pine fuel beds. Proceedings of the 10th Conference on Fire and Forest Meteorology.