hydromodpy.physics.flow.boundary_conditions#

Flow Boundary Condition Models#

Typed boundary-condition schema used by the flow process.

This module defines: - allowed application domains, - canonical Dirichlet identifiers, - the normalized Pydantic model used across config and runtime parsing.

Mini schema#

Input key (Dirichlet) -> Canonical application domain ocean, stream -> top north_side -> north side south_side -> south side east_side -> east side west_side -> west side

Validation flow: [flow.bc.*] payload -> FlowBoundaryConditionConfig -> runtime Flow.boundary_conditions

Module attributes

ALLOWED_BC_APPLICATION_DOMAINS

Supported target domains for boundary-condition application.

DIRICHLET_BC_CANONICAL_DOMAINS

Mapping from canonical Dirichlet identifiers to their implied domain.

SIDE_DIRICHLET_BC_IDS

Dirichlet ids eligible for launcher-managed transient forcing.

FlowBoundaryForcingConfig

Discriminated union of boundary-forcing payloads selected by the mode tag.