AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA — FLUID JUNCTION ONTOLOGY
Version: 1.0
Generated: 2026-11-16
Authors of source ontology: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/fluid-junction-ontology.html
Status: Newly generated semantic interpretation; not a verbatim extraction of embedded page code.
FLOW "FluidJunctionOntology" v1.0
AUTHORS:
SOURCE_AUTHORS: ["Mark Anthony Higgins", "Sky Recursive AI"]
REPRESENTATION: "Semantic Library Flow Algebra"
CITATION_BACKLINK: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/fluid-junction-ontology.html"
PURPOSE:
Model a fluid junction as a connected location in a fluid network where
two or more fluid paths meet and mass, momentum, pressure and energy
interactions can be evaluated under explicit physical assumptions.
ENTITY:
id: fluid_junction
class: FluidEngineeringEntity
parent: FluidSystemComponent
definition: "A network node connecting fluid paths through one or more ports."
subtypes: [tee_junction, wye_junction, cross_junction, header_junction, mixing_junction, splitting_junction]
ENTITIES:
FluidJunction: {properties: [junction_id, geometry, position, status]}
Port: {properties: [port_id, area_m2, orientation, connected_path_id]}
FluidStream: {properties: [density_kg_m3, pressure_Pa, temperature_K, mass_flow_kg_s, velocity_m_s]}
FlowPath: {properties: [path_id, hydraulic_diameter_m, roughness_m, length_m]}
Connection: {properties: [upstream_id, downstream_id, seal_state]}
Sensor: {properties: [sensor_id, measurement_type, value, timestamp]}
BoundaryCondition: {properties: [specified_pressure, specified_flow, ambient_temperature]}
RELATIONSHIPS:
FluidJunction HAS_PORT Port
Port CONNECTS_TO FlowPath
FlowPath TRANSPORTS FluidStream
FluidJunction SUBJECT_TO BoundaryCondition
Sensor MEASURES FluidJunction
FluidJunction MAY_SPLIT FluidStream
FluidJunction MAY_MIX FluidStream
STATE_MODEL:
S_t = (I_t, R, B, K)
I_t: observed or inferred junction state
R: governing physical and semantic rules
B: boundary conditions and safety limits
K: engineering knowledge and connection topology
state_variables:
- port_pressure_Pa
- port_mass_flow_kg_s
- port_temperature_K
- flow_direction
- leak_rate_kg_s
- junction_integrity
lifecycle: [specified, installed, commissioned, operating, isolated, degraded, failed, repaired]
FLOW_DIRECTIONS:
convention: "Positive signed mass flow enters the junction; negative signed mass flow leaves."
infer_from: [measured_flow_sign, pressure_gradient, pump_or_valve_state]
caution: "Pressure gradient alone may not determine flow in active networks."
PHYSICAL_CONSTRAINTS:
mass_balance:
equation: "sum_i(m_dot_i) = d(m_stored)/dt + m_dot_leak"
steady_no_storage_no_leak: "sum_i(m_dot_i) = 0"
assumptions: "Signed port flows, consistent units, defined control volume."
volumetric_flow:
equation: "Q_i = A_i * v_normal_i"
note: "For compressible fluids, use mass flow for conservation across differing densities."
energy_balance:
equation: "dE_cv/dt = sum_in(m_dot*h_total) - sum_out(m_dot*h_total) + Q_dot - W_dot"
note: "Include kinetic/potential terms, heat transfer and work where relevant."
pressure_loss:
relation: "delta_p_loss = K_j * rho * v_ref^2 / 2"
note: "K_j depends on geometry, branch flow ratio, Reynolds number and chosen reference velocity."
mixing:
relation: "For adiabatic steady mixing with negligible work: sum_in(m_dot*h_in) = sum_out(m_dot*h_out)"
note: "Temperature averaging requires compatible fluid properties and assumptions."
operating_limits:
- "pressure <= rated_maximum_pressure"
- "temperature within material and seal ratings"
- "flow and erosion velocities within design limits"
- "junction seals and connections satisfy integrity requirements"
INFERENCE_RULES:
R1: IF number_of_connected_ports >= 2 THEN classify_as fluid_junction.
R2: IF one_inlet AND multiple_outlets THEN classify_flow_role splitting.
R3: IF multiple_inlets AND one_outlet THEN classify_flow_role mixing.
R4: IF abs(mass_balance_residual) > tolerance THEN flag possible_leak_or_sensor_error_or_transient_storage.
R5: IF measured_pressure > rated_maximum_pressure THEN flag overpressure.
R6: IF branch_flow_reverses THEN update flow_role and port_direction.
R7: IF seal_integrity = failed THEN flag leakage_risk and require_inspection.
R8: IF pressure_drop_increases_at_comparable_flow THEN investigate blockage_or_fouling_or_configuration_change.
R9: IF temperature_outside_rating THEN flag thermal_limit_violation.
R10: IF no_connected_flow_paths THEN mark junction isolated_or_unconfigured.
SEMANTIC_EQUIVALENCE:
exact_or_contextual: [fluid_network_junction, hydraulic_junction, piping_junction, flow_network_node]
related_not_equivalent: [manifold, tee_fitting, pipe, valve, reservoir, mixing_chamber]
disambiguation: "A junction is a network connectivity and fluid-interaction entity; a manifold is a particular distribution or collection component."
PATHWAYS:
identify -> enumerate_ports -> resolve_connections -> read_boundary_conditions
-> measure_or_estimate_state -> enforce_conservation -> evaluate_losses
-> validate_limits -> infer_operating_role -> record_result
MINI_RECURSION_ENGINE:
input: "Current junction state and network observations"
expand: "Generate candidate states from topology, sensor evidence and governing rules"
filter: "Reject candidates violating hard connectivity or physical constraints"
rank: "Prefer candidates consistent with measurements, uncertainty and operating context"
update: "Set I_(t+1) to selected state; retain provenance and residuals"
stop: "Converged within tolerances, evidence exhausted, or iteration limit reached"
output: "Validated or uncertainty-labelled junction state"
VALIDATION:
- "Unique junction and port identifiers"
- "At least two ports for a connected junction"
- "Consistent SI units and sign convention"
- "Every connected port references a valid flow path"
- "Mass-balance residual assessed against sensor uncertainty and transient conditions"
- "Pressure, temperature and material limits checked"
- "No unsupported inference of leakage from imbalance alone"
- "Record model assumptions, timestamps and data provenance"
CONFIDENCE:
high: "Calibrated measurements, verified topology and conservation agreement"
medium: "Partial measurements with physically consistent inferred state"
low: "Unknown topology, uncertain fluid properties or conflicting observations"
UPDATE_MODEL:
trigger: [topology_change, valve_change, new_measurement, maintenance_event, leak_alarm, operating_point_change]
action: "Re-evaluate port directions, conservation, losses, constraints and confidence."
FLOW_HASH:
method: "SHA-256 over canonicalised flow content when published"
value: "Not assigned"
END FLOW