Merge pull request #2567 from JoePfeiffer/fix-2543
Remove Prandtl-Glauert correction factor
This commit is contained in:
commit
4f80d28bec
@ -63,11 +63,6 @@ public abstract class TubeCalc extends RocketComponentCalc {
|
|||||||
// friction coefficient using Swamee-Jain equation
|
// friction coefficient using Swamee-Jain equation
|
||||||
double f = 0.25 / MathUtil.pow2(Math.log10((epsilon / (3.7 * diameter) + 5.74 / Math.pow(Re, 0.9))));
|
double f = 0.25 / MathUtil.pow2(Math.log10((epsilon / (3.7 * diameter) + 5.74 / Math.pow(Re, 0.9))));
|
||||||
|
|
||||||
// If we're supersonic, apply a correction
|
|
||||||
if (conditions.getMach() > 1) {
|
|
||||||
f = f / conditions.getBeta();
|
|
||||||
}
|
|
||||||
|
|
||||||
// pressure drop using Darcy-Weissbach equation
|
// pressure drop using Darcy-Weissbach equation
|
||||||
deltap = f * (length * rho * MathUtil.pow2(v)) / (2 * diameter);
|
deltap = f * (length * rho * MathUtil.pow2(v)) / (2 * diameter);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user