Skip to content

Simple Volume

fullflow.SimpleVolume

Lumped fluid volume with mass conservation only.

SimpleVolume represents an internal fluid control volume whose pressure is solved from steady-state continuity. It is useful when the node pressure must be an iteration variable, but the node energy equation is handled elsewhere or intentionally neglected.

Parameters

Name Type Description
namestr

Component name

networkNetwork

Network that owns this component

pressureState

Internal volume pressure

volumefloat

Volume of the control volume

densityState, optional

Fluid density in the volume

temperatureState, optional

Fluid temperature in the volume

enthalpyState, optional

Fluid specific enthalpy in the volume

compositionComposition, optional

Current fluid composition in the volume

composition_inComposition, optional

Incoming fluid composition

mass_flow_inState, optional

Total mass flow rate entering the volume

mass_flow_outState, optional

Total mass flow rate leaving the volume

Iteration Variables

Name Type Description
pressureState

Internal volume pressure

Residuals

Name Type Description
mass_balancefloat

Enforces steady-state mass conservation.

mass_flow_in - mass_flow_out = 0