def test_laminar():
    for Re in [1, 10, 100, 1000]:
        assert_approx_equal(friction_factor(Re, 1), 64.0 / Re, significant=2)
Beispiel #2
0
def test_laminar():
    for Re in [1, 10, 100, 1000]:
        assert_approx_equal(friction_factor(Re, 1), 64. / Re, significant=2)
def test_f_vs_efunda():
    assert_approx_equal(friction_factor(reynolds_number(U, D, nu), D), 0.0263, significant=2)
Beispiel #4
0
def test_f_vs_efunda():
    assert_approx_equal(friction_factor(reynolds_number(U, D, nu), D),
                        0.0263,
                        significant=2)