FLOW ALGEBRA — CHANNEL ONTOLOGY
Version: 1.0
Domain: Semantic Library / Engineering Entities / Fluid Engineering Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/channel-ontology.html
Source page authors: Mark Anthony Higgins — Sky Recursive AI
Representation: Newly constructed semantic interpretation; not a verbatim extraction of page code.
1. PURPOSE
Model a channel as a bounded or partially bounded passage that conveys fluid, including open-channel liquid flow and engineered enclosed channels. Support classification, hydraulic reasoning, connectivity, operational-state tracking and constraint validation.
2. ENTITY MODEL
ENTITY Channel
is_a: FluidEngineeringEntity, FlowConveyanceElement
properties:
channel_id: string
geometry: {length_m, cross_section_shape, width_m?, depth_m?, area_m2?, wetted_perimeter_m?, hydraulic_radius_m?}
boundary: {material?, roughness_m?, lining?, open_to_atmosphere: boolean}
topology: {upstream_node, downstream_node, branches[], connections[]}
fluid: {fluid_type, density_kg_m3?, viscosity_Pa_s?}
state: {flow_rate_m3_s?, velocity_m_s?, water_depth_m?, pressure_Pa?, temperature_K?, slope?, regime?, status}
constraints: {maximum_depth_m?, maximum_flow_rate_m3_s?, allowable_velocity_m_s?, minimum_freeboard_m?}
evidence: {source, timestamp, confidence, measurement_method}
RELATED ENTITIES
Fluid, FluidStream, FlowPath, FluidSystem, Pipe, Duct, Pipeline,
ChannelSection, ChannelBoundary, Inlet, Outlet, Junction, Valve,
Pump, Weir, Gate, Sensor, Sediment, Obstruction.
3. RELATIONSHIPS
Channel CONVEYS FluidStream
Channel HAS_SECTION ChannelSection
Channel HAS_BOUNDARY ChannelBoundary
Channel CONNECTS UpstreamNode TO DownstreamNode
Channel PART_OF FluidSystem
Channel HAS_FLOW_PATH FlowPath
Channel MAY_CONTAIN Obstruction
Channel MAY_BE_MONITORED_BY Sensor
Channel MAY_BE_CONTROLLED_BY Gate
4. STATE MODEL
S_t = (I_t, R, B, K)
I_t = observed channel geometry, topology and fluid conditions
R = hydraulic, continuity and classification rules
B = physical, design, operational and evidence boundaries
K = validated engineering knowledge and provenance
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B) AND evidence_consistent(x, K)}
x*_t = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*_t, new_observations)
status in {unknown, dry, flowing, stagnant, restricted, overtopping, failed}
transitions require measured or reasoned evidence; inferred status must be labelled.
5. PHYSICAL AND HYDRAULIC CONSTRAINTS
Continuity (incompressible steady flow): Q = A * v
Hydraulic radius: R_h = A / P_w, where P_w is wetted perimeter
Mass conservation: sum(mass_in) - sum(mass_out) = d(mass_stored)/dt
Open-channel Froude number: Fr = v / sqrt(g * D_h)
D_h = A / T, where T is free-surface top width
Fr < 1: subcritical; Fr = 1: critical; Fr > 1: supercritical
Manning approximation, where applicable:
Q = (1/n) * A * R_h^(2/3) * S_f^(1/2)
n = Manning roughness; S_f = friction slope
These equations are conditional models, not universal guarantees.
For closed, pressurised channels use appropriate pipe-flow models instead.
6. INFERENCE RULES
IF open_to_atmosphere AND liquid_has_free_surface
THEN classify_as OpenChannel.
IF Q, A known AND A > 0
THEN infer mean_velocity = Q/A.
IF A, P_w known AND P_w > 0
THEN infer hydraulic_radius = A/P_w.
IF open_channel AND Fr < 1
THEN infer subcritical_regime.
IF observed_depth > permitted_depth
THEN flag capacity_exceedance.
IF sediment_or_obstruction reduces effective area
THEN flag possible_restriction; quantify only with adequate measurements.
IF inflow != outflow in a control volume
THEN test storage_change, leakage, extraction, measurement_error.
IF evidence missing
THEN return unknown rather than inventing values.
7. SEMANTIC EQUIVALENCE
channel ~ engineered fluid passage [context-dependent]
open channel ~ free-surface conduit [when liquid surface exposed]
duct != open channel [not universally interchangeable]
pipe != channel [may overlap in general language, distinct design assumptions]
flow path != physical channel [path can be abstract; channel is a physical entity]
Equivalence requires matching geometry, boundary and operating context.
8. VALIDATION
REQUIRE channel_id, physical boundary or geometry description, and connectivity context.
REQUIRE length_m >= 0, area_m2 > 0 when used in calculations.
REQUIRE wetted_perimeter_m > 0 for hydraulic-radius calculations.
REQUIRE nonnegative physical depth and valid measurement units.
CHECK topology continuity and upstream/downstream orientation.
CHECK whether channel is free-surface or pressurised before selecting equations.
CHECK evidence provenance and uncertainty for inferred measurements.
DO NOT infer safety compliance from nominal flow alone.
9. MINI RECURSION ENGINE
INPUT: Channel description, measurements, operating conditions, system graph
STEP 1: Normalise units and entity aliases.
STEP 2: Resolve channel class and connectivity.
STEP 3: Expand relevant hydraulic relationships.
STEP 4: Reject candidates violating boundaries or evidence.
STEP 5: Rank remaining hypotheses by evidence and applicability.
STEP 6: Emit inferred state, confidence, supporting rules and warnings.
STEP 7: Incorporate new evidence and repeat until stable or iteration limit.
STOP: no material state change OR insufficient evidence OR iteration cap.
10. OUTPUT CONTRACT
return {
entity: Channel,
classification: string,
properties: verified_or_unknown,
relationships: validated_edges,
hydraulic_state: observed_or_inferred,
constraints: pass_fail_unknown,
confidence: evidence_based,
provenance: source_and_measurements,
unresolved_questions: list
}
11. AI SEARCH FLOW
QUERY: identify, classify, connect, analyse or compare channels
RESOLVE: Channel -> Fluid Engineering Entities -> Flow Path -> Fluid System
EXPAND: geometry -> boundaries -> fluid -> hydraulic regime -> constraints
VALIDATE: evidence, units, model assumptions, operating limits
ANSWER: concise entity definition, grounded relations, qualified inferences
12. UPDATE AND CITATION MODEL
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/channel-ontology.html
PAGE_REVISION: 2026-08-04 (as displayed on source page)
FLOW_VERSION: 1.0
AUTHORS_CREDIT: Mark Anthony Higgins — Sky Recursive AI
CITATION_BACKLINK: SOURCE_URL
UPDATE_TRIGGER: revised ontology, new validated evidence, corrected constraints
FLOW_HASH: calculate from published file bytes when deployed; not preassigned
END FLOW
Download Code
Copy to Clipboard