Skip to main content

Fluid Stream Ontology

Fluid Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
FLOW ALGEBRA — FLUID STREAM ONTOLOGY
Version: 1.0
Date: 2026-11-16
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/fluid-engineering-entities/fluid-stream-ontology.html
Citation: Kireth Research, Fluid Stream Ontology (revised 04 August 2026).
Status: Newly generated semantic representation; not a verbatim extraction of embedded website code.

flow "FluidStreamOntology" v1.0

PURPOSE:
  Represent a fluid stream as a directed, measurable transport of fluid mass,
  momentum, energy and optionally chemical species through a defined boundary.
  Support classification, conservation reasoning, state transitions and validation.

ENTITY:
  id: FluidStream
  parent: FluidEngineeringEntity
  definition: A fluid flow identified by a directed path, transport boundary,
              material composition and time-dependent physical state.
  identity: [stream_id, system_id, upstream_boundary, downstream_boundary]

STATE_MODEL:
  S(t) = (I(t), R(t), B(t), K(t))
  I(t): measured or estimated fluid-stream properties at time t
  R(t): governing relationships and transformation rules
  B(t): physical boundaries, operating limits and conservation constraints
  K(t): context, provenance, fluid model and known system configuration

PROPERTIES:
  stream_id: unique identifier
  fluid_id: reference to fluid entity or mixture
  source: upstream port, reservoir or control volume
  destination: downstream port, reservoir or control volume
  direction: oriented transport vector
  phase: liquid | gas | multiphase | supercritical | unknown
  mass_flow_rate: kg/s
  volumetric_flow_rate: m^3/s
  density: kg/m^3
  velocity: m/s
  pressure: Pa (absolute unless specified)
  temperature: K
  cross_section_area: m^2
  specific_enthalpy: J/kg
  composition: optional species mass fractions
  timestamp: observation or simulation time
  quality: measured | calculated | estimated | unknown

RELATIONSHIPS:
  FluidStream IS_A FluidEngineeringEntity
  FluidStream TRANSPORTS Fluid
  FluidStream CONNECTS UpstreamBoundary TO DownstreamBoundary
  FluidStream PASSES_THROUGH FluidComponent
  FluidStream HAS_STATE FluidStreamState
  FluidStream HAS_FLOW_RATE MassFlowRate
  FluidStream HAS_PRESSURE Pressure
  FluidStream HAS_TEMPERATURE Temperature
  FluidStream MAY_SPLIT_INTO FluidStream[]
  FluidStream MAY_MERGE_WITH FluidStream[]
  FluidStream MAY_EXCHANGE Energy WITH Environment

PATHWAYS:
  observe -> normalise_units -> resolve_fluid_properties
          -> validate_boundaries -> apply_conservation
          -> infer_state -> assess_confidence -> publish_state
  split -> allocate_mass_and_species -> validate_conservation
  merge -> aggregate_mass_and_energy -> validate_conservation

GOVERNING_RELATIONS:
  mass_flow_rate = density * volumetric_flow_rate
  volumetric_flow_rate = mean_velocity * cross_section_area
  mass_flow_rate = density * mean_velocity * cross_section_area
  continuity_steady: sum(mass_flow_in) = sum(mass_flow_out)
  species_steady_no_reaction:
    sum(mass_flow_in * species_mass_fraction_in)
      = sum(mass_flow_out * species_mass_fraction_out)
  energy_steady:
    sum(m_in * (h_in + v_in^2/2 + g*z_in)) + heat_input + shaft_work_input
      = sum(m_out * (h_out + v_out^2/2 + g*z_out))
  notes:
    - These equations apply under their stated steady-state assumptions.
    - Account for accumulation, reactions, leaks and additional work terms when present.
    - Compressible, multiphase and transient flows require appropriate models.

INFERENCE_RULES:
  R01: IF density > 0 AND volumetric_flow_rate is known
       THEN infer mass_flow_rate = density * volumetric_flow_rate.
  R02: IF area > 0 AND volumetric_flow_rate is known
       THEN infer mean_velocity = volumetric_flow_rate / area.
  R03: IF mass_flow_rate < 0 relative to assigned orientation
       THEN mark reverse_flow; do not silently change sign.
  R04: IF steady_state AND no_sources_or_sinks AND inlet_mass != outlet_mass
       beyond tolerance THEN flag mass_balance_failure.
  R05: IF split AND steady_state AND no_leakage
       THEN parent_mass_flow = sum(child_mass_flows).
  R06: IF merge AND steady_state AND no_leakage
       THEN merged_mass_flow = sum(input_mass_flows).
  R07: IF sum(species_mass_fractions) differs from 1 beyond tolerance
       THEN flag invalid_composition.
  R08: IF pressure, temperature or fluid model missing
       THEN flag dependent_properties_as_unresolved.
  R09: IF flow regime is requested AND Reynolds inputs exist
       THEN calculate Reynolds_number = density * velocity * hydraulic_diameter / viscosity;
       classification requires geometry-appropriate thresholds.
  R10: IF conservation check fails THEN retain evidence and lower confidence;
       do not force an unsupported corrected state.

CONSTRAINTS:
  density > 0
  absolute_temperature > 0
  absolute_pressure >= 0
  cross_section_area > 0 when flow is through a defined section
  dynamic_viscosity > 0 when Reynolds number is computed
  each species_mass_fraction in [0,1]
  sum(species_mass_fractions) ~= 1 for fully specified composition
  stream source and destination must be traceable to system boundaries
  units must be dimensionally compatible before arithmetic

SEMANTIC_EQUIVALENCE:
  fluid stream ~= flowing fluid path (context-dependent)
  process stream ~= fluid stream in process-engineering context
  flow stream ~= fluid stream when a physical transport entity is intended
  NOT_EQUIVALENT:
    - fluid substance alone (material without directed transport)
    - streamline (geometric line tangent to instantaneous velocity field)
    - stream function (mathematical scalar representation)
    - river or watercourse unless explicitly modelled as a fluid stream

MINI_RECURSION_ENGINE:
  input: observations O(t), model M, context K(t)
  initialise S(t) from O(t), M, K(t)
  repeat:
    E(t) = expand(I(t), R(t))
    V(t) = {x in E(t) | satisfies(x, B(t))}
    choose x* = argmax_x P(x | I(t), R(t), B(t), K(t)) over V(t)
    update I(t+1) with x* and verified observations
    record provenance, residuals, uncertainty and rejected alternatives
  until stable_state OR iteration_limit OR insufficient_evidence
  output: validated stream state with uncertainty and evidence trail

CONFIDENCE:
  evidence_levels: direct_measurement > validated_simulation > inferred_estimate
  reduce confidence for missing boundaries, incompatible units,
  non-converged solutions, conservation residuals and uncertain fluid properties
  never interpret confidence as proof of physical correctness

VALIDATION:
  - verify unique stream identity and endpoint references
  - check physical units and sign conventions
  - verify positivity and composition constraints
  - test mass, species and energy balances under applicable assumptions
  - preserve timestamps, sensor provenance and model version
  - report unknown or contradictory values explicitly

UPDATE_MODEL:
  triggers: new_measurement | boundary_change | component_change |
            fluid_change | operating_condition_change | model_revision
  action: re-evaluate dependent relations and conservation checks
  preserve: prior state, evidence, version and change history

FLOW_HASH:
  policy: generate a deterministic hash from the canonicalised published
          flow text; no precomputed hash asserted in this document.

END FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ