Skip to content
LIBRARY
Components.Partial.PartialDistributedFlow.md

Components.Partial.PartialDistributedFlow

Partial base class for a steady-state distributed momentum balance over m cells.

Provides per-cell momentum-flow variables and the steady-state balance 0 = Ib_flows - Fs_p - Fs_fg. Extending components must declare the structural parameter m (number of momentum cells), bind pathLengths via an initial equation, and supply the pressure-force, friction-and-gravity, and boundary- momentum-flow contributions consistent with their discretisation. For a staggered grid m is typically one less than the number of mass/energy cells.

Usage

HVACComponents.Components.Partial.PartialDistributedFlow(pathLengths=missing, m_flow_start)

Parameters:

NameDescriptionUnitsDefault value
m_flow_startInitial mass flow rate [kg/s] (solver guess applied to every cell)kg/s

Variables

NameDescriptionUnits
m_flowsMass flow rate in each momentum cell [kg/s] (length m)kg/s
IsMomentum of fluid in each momentum cell [kg.m/s] (length m)
Fs_pPressure force on each momentum cell [N] (length m); extender supplies
Fs_fgFriction-plus-gravity force on each momentum cell [N] (length m); extender supplies
Ib_flowsMomentum flow across each cell boundary [N] (length m); extender supplies