ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
FireFluxes Struct Reference

The fluxes a fire engine hands to the atmosphere after its step. More...

#include <ERF_FireEngine.H>

Collaboration diagram for FireFluxes:

Public Attributes

const amrex::MultiFab * sensible = nullptr
 Sensible heat flux into the air [W/m2]; nullptr = none this step. More...
 
const amrex::MultiFab * latent = nullptr
 
std::string debug_note
 

Detailed Description

The fluxes a fire engine hands to the atmosphere after its step.

Both fields live on the fire grid (FireGrid::ba, FireGrid::dm), per unit ground area, and are positive into the atmosphere. Each is the time mean over exactly the interval of the last advance(), [forcing.time, forcing.time + forcing.dt], whatever steps the engine takes inside it: an engine that subcycles accumulates its fluxes over its substeps and divides by forcing.dt. The coupling averages them onto the atmospheric columns and injects them, unchanged, at every stage of the next ERF step of the fire grid's level (the one-step lag of WRF-Fire; erf.fire.coupling_type = synchronous only changes the wind the engine saw).

The latent flux is the energy of the water vapour released, so the vapour mass flux is latent / L_v [kg/m2/s] with L_v of ERF_Constants.H; an engine that computes a mass flux multiplies by that same L_v. The pointers stay valid until the engine's next advance(). Sensible and latent pointers are independently optional: nullptr means no flux for that channel on this step, without suppressing a valid flux from the other channel.

Member Data Documentation

◆ debug_note

std::string FireFluxes::debug_note

With erf.fire.fire_debug: text the coupling appends to its debug line of the sensible flux (for example how the engine split its heat)

Referenced by FireCoupler::update_flux_buffer().

◆ latent

const amrex::MultiFab* FireFluxes::latent = nullptr

Latent heat flux into the air [W/m2]; nullptr = no water released

Referenced by FireCoupler::update_flux_buffer().

◆ sensible

const amrex::MultiFab* FireFluxes::sensible = nullptr

Sensible heat flux into the air [W/m2]; nullptr = none this step.

Referenced by FireCoupler::update_flux_buffer().


The documentation for this struct was generated from the following file: