expreccs.utils.mapboundaries module#
Map regional pore volume, pressure, and flux data to site boundaries.
The module locates regional cells surrounding the site, constructs pressure stencils, applies vertical pressure corrections, and interpolates boundary data onto the site schedule. It supports pore-volume, flux, pressure, and two-point pressure boundary formulations.
- porv_regional_segmentation(dic)[source]#
Assign regional cells to pore-volume projection regions.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.
- porv_projections(dic)[source]#
Compute site-side pore volumes from regional projection regions.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.
- aquaflux(dic, iteration='')[source]#
Read regional restart data and prepare site boundary values.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.
- iterationAny, optional
Iteration suffix or index.
- handle_pressure_correction(dic)[source]#
Correct mapped boundary pressures for vertical offsets.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.
- cache_grid_coordinates(dic)[source]#
Cache centers for regional cells used by boundary stencils.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.
- handle_stencil(dic, i)[source]#
Interpolate regional cell values onto site boundary faces.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.
- iAny
Index of the current quantity, boundary, or report step.
- temporal_interpolation_pressure(dic)[source]#
Interpolate mapped boundary pressures onto the site schedule.
- Parameters:
- dicAny
Shared mutable expreccs configuration and runtime data.