Returns the pressure drop associated with a supply duct with a branch.  The branch can be at any angle and the ducts have circular cross-section.  The pressure drop should be applied to the flow in the main duct.  The function calls the K_supply_main function from the minor loss library.


DELTAP = DuctSupplyMain_CL(F$, m_dot_3, m_dot_2, T, P, A_3)



F$:  fluid string identifier

m_dot_3:  mass flow rate in main duct upstream of branch (kg/s, lbm/hr)

m_dot_2:  mass flow rate in main duct downstream of branch (kg/s, lbm/hr)

T:  inlet temperature (K, C, F, or R)

P:  inlet pressure (bar, atm, Pa, kPa, or MPa)

A_3:  upstream duct area (m^2 or ft^2)



DELTAP:  pressure drop (bar, atm, Pa kPa, or MPa)



$UnitSystem SI Mass J K Pa Degree

$Load Component Library

$VarInfo DP units=Pa


m_dot_3 = 0.5 [kg/s]

m_dot_2 = 0.1 [kg/s]

T = 300 [K]

P = 100e3 [Pa]

A_3 = 0.1 [m^2]

F$ = 'Air'

DP = ductsupplymain_cl(F$, m_dot_3, m_dot_2, T, P, A_3)



DP = 2.384 [Pa]}