Volume velocity through the channel for a pressure difference.
- Parameters
-
| reed | Channel |
| difference | Mouth pressure minus bore pressure |
- Returns
- Zero from the closing pressure up, and for a channel with any non-positive or non-finite field
Definition at line 25 of file Reed.cpp.
26{
27 if (!channel_valid(reed)) {
28 return 0.0;
29 }
30
32 if (opening <= 0.0) {
33 return 0.0;
34 }
35 return std::copysign(
reed_flow_coefficient(reed) * opening * std::sqrt(std::abs(difference)), difference);
36}
double reed_flow_coefficient(const ReedChannel &reed) noexcept
w H sqrt(2 / rho), the flow per unit of (1 - d / pM) sign(d) sqrt|d|.
References reed_flow_coefficient().
Referenced by reed_mouth_step().