hydromodpy.physics.flow.initial_conditions#

Flow Initial Condition Models#

Typed initial-condition structures for the flow process.

This module defines:

  • FlowICTop, FlowICTopOffset, FlowICBottom, FlowICCustom, FlowICSteadyState: the five discriminated variants describing how head values are initialized.

  • FlowInitialCondition: discriminated union (on the type field) over the five variants above.

  • FlowInitialConditions: the runtime container currently exposing the h initial condition consumed by the flow process and solver adapters.

The flow process currently exposes one initial-condition variable (h) used to initialize hydraulic heads before solver assembly.

Raw [flow.ic] configuration payloads are normalized separately in initial_conditions_config.py before being validated against these models.

Module attributes

FlowInitialCondition

Discriminated union of flow initial-condition variants.