Esempio n. 1
0
 def test_k_value_reduction_from_very_large_pipe_turbulent(self):
     self.assertAlmostEqualQuantity(
         k.k_value_reduction(pipe.OD(400 * u.inch), pipe.OD(4 * u.inch),
                             4 * u.L / u.s), 222469.482 * u.dimensionless,
         2)
Esempio n. 2
0
 def test_k_value_reduction_laminar(self):
     self.assertAlmostEqualQuantity(
         k.k_value_reduction(pipe.OD(1 * u.inch), pipe.OD(0.5 * u.inch),
                             0.1 * u.L / u.s),
         2.2100363820127233 * u.dimensionless)
Esempio n. 3
0
 def test_k_value_reduction_square_turbulent(self):
     self.assertAlmostEqualQuantity(
         k.k_value_reduction(pipe.OD(4 * u.inch), pipe.OD(2 * u.inch),
                             4 * u.L / u.s),
         5.689246477984541 * u.dimensionless)
Esempio n. 4
0
 def test_k_value_reduction_from_very_large_pipe_turbulent(self):
     self.assertAlmostEqual(
         k.k_value_reduction(pipe.OD(400), pipe.OD(4), 4 * u.L / u.s),
         105560.31724275621)
Esempio n. 5
0
 def test_k_value_reduction_laminar(self):
     self.assertAlmostEqual(
         k.k_value_reduction(pipe.OD(1), pipe.OD(0.5), 0.1 * u.L / u.s),
         2.1802730749680945)
Esempio n. 6
0
 def test_k_value_reduction_square_turbulent(self):
     self.assertAlmostEqual(
         k.k_value_reduction(pipe.OD(4), pipe.OD(2), 4 * u.L / u.s),
         5.6677039356929662)