hydromodpy.solver.modflow6.gwt_mass_balance#

Parse the MODFLOW 6 GWT listing-file solute mass budget.

flopy’s Mf6ListBudget only reads the GWF volume budget, so the GWT mass budget (“MASS BUDGET FOR ENTIRE MODEL”) is parsed here directly. Each per-output block carries a CUMULATIVE column (mass, kg) and a RATES column (mass flux, kg/s on the SI seconds clock); we keep the RATES column, which matches the m3/s convention used for the GWF water budget.

Functions

find_gwt_listing(solver_output_dir)

Return the GWT .lst (the one with a solute mass budget), or None.

parse_gwt_mass_balance(lst_path)

Return one solute mass-balance record per GWT output time.