This components allows to model the mass flow rate through a pipe from a pressure difference at boundaries and the pressure loss coefficient ksi.
Compared with a static pipe, the following assumptions are performed:
ksi expresses how many dynamic pressure is lost. It is assumed to be constant and therefore independent of the flow regime.
The mass flow rate relation derives:
Where:
dp is the pressure difference between port_a.p and
port_b.pksi is the pressure loss coefficientd is the upstream densityVel is fluid velocitym_flow is the mass flow rate through the pipeA is cross section of the pipeTo avoid infinite derivative at dp=0, The square root is replaced by the function regRoot2 of the MSL that replace the square root by a polynomial expression to insure a finite derivative. The threshold to switch between the polynom and the square root is abs(dp≤0.1) Pa
| Name | Description |
|---|---|
|
|