Exemplo n.º 1
0
def test_frontal_area_report():
    test_utils.assert_report(DEMO_ID, 'Frontal Area', 0.002692)
Exemplo n.º 2
0
def test_time_report_des():
    test_utils.assert_report(_grid_des(), 'Time', 0.5, tolerance=0.0,
                             relative=False)
Exemplo n.º 3
0
def test_cfl_avg_report_des():
    test_utils.assert_report(_grid_des(), 'CFL_avg', 0.2,
                             tolerance=0.1, relative=False)
Exemplo n.º 4
0
def test_frontal_area_report():
    test_utils.assert_report(DEMO_ID, 'Frontal Area', 0.216328)
Exemplo n.º 5
0
def test_report():
    test_utils.assert_report(DEMO_ID, 'P_in', 0.0016,
                             tolerance=0.05, relative=True)
Exemplo n.º 6
0
def test_cfl_max_report():
    test_utils.assert_report(DEMO_ID,
                             'CFL_max',
                             8.0,
                             tolerance=0.7,
                             relative=False)
Exemplo n.º 7
0
def test_cd_report():
    test_utils.assert_report(DEMO_ID, 'C_d', 0.190)
Exemplo n.º 8
0
def test_fy_report():
    test_utils.assert_report(DEMO_ID, 'Fy', 0.0, tolerance=1.5e-3)
Exemplo n.º 9
0
def test_report():
    test_utils.assert_report(DEMO_ID, 'Temperature', 42.702)
Exemplo n.º 10
0
def test_report():
    test_utils.assert_report(DEMO_ID,
                             'P_in',
                             0.0016,
                             tolerance=0.05,
                             relative=True)
Exemplo n.º 11
0
def test_cfl_avg_report():
    test_utils.assert_report(DEMO_ID, 'CFL_avg', 0.577062)
Exemplo n.º 12
0
def test_fy_report():
    test_utils.assert_report(DEMO_ID, 'Fy', 0.0, tolerance=1.5e-3)
Exemplo n.º 13
0
def test_cfl_max_report():
    test_utils.assert_report(DEMO_ID,
                             'CFL_max',
                             8.5,
                             tolerance=0.1,
                             relative=True)
Exemplo n.º 14
0
def test_cfl_avg_report():
    test_utils.assert_report(DEMO_ID, 'CFL_avg', 0.577062)
Exemplo n.º 15
0
def test_cfl_avg_report():
    test_utils.assert_report(DEMO_ID, 'CFL_avg', 0.011,
                             tolerance=0.001, relative=False)
Exemplo n.º 16
0
def test_upper_area_report():
    test_utils.assert_report(DEMO_ID, 'Upper Area', 0.956046)
Exemplo n.º 17
0
def test_time_report():
    test_utils.assert_report(DEMO_ID, 'Time', 8.0, tolerance=0, relative=False)
Exemplo n.º 18
0
def test_cd_report():
    test_utils.assert_report(DEMO_ID, 'C_d', 0.190)
Exemplo n.º 19
0
def test_cl_report():
    test_utils.assert_report(DEMO_ID,
                             'C_l',
                             0.35,
                             tolerance=0.01,
                             relative=False)
Exemplo n.º 20
0
def test_cl_report():
    test_utils.assert_report(DEMO_ID, 'C_l', 0.3562)
Exemplo n.º 21
0
def test_cl_report():
    test_utils.assert_report(DEMO_ID, 'C_l', 0.3562)
Exemplo n.º 22
0
def test_cfl_avg_report():
    test_utils.assert_report(DEMO_ID,
                             'CFL_avg',
                             0.011,
                             tolerance=0.001,
                             relative=False)
Exemplo n.º 23
0
def test_upper_area_report():
    test_utils.assert_report(DEMO_ID, 'Upper Area', 0.956046)
Exemplo n.º 24
0
def test_time_report():
    test_utils.assert_report(DEMO_ID, 'Time', 8.0, tolerance=0, relative=False)
Exemplo n.º 25
0
def test_report():
    test_utils.assert_report(DEMO_ID, 'Pressure Inlet', 3.845553)
Exemplo n.º 26
0
def test_motion_reports():
    test_utils.assert_report(DEMO_ID, 'MotionDispl', 0.0)
    test_utils.assert_report(DEMO_ID, 'MotionVel', 0.0)
Exemplo n.º 27
0
def test_pressure_drop_report_ss():
    test_utils.assert_report(_grid_ss(), 'Pressure Drop', 8.1,
                             tolerance=0.1, relative=False)
Exemplo n.º 28
0
def test_cfl_max_report_des():
    test_utils.assert_report(_grid_des(), 'CFL_max', 1.6,
                             tolerance=0.50, relative=False)
Exemplo n.º 29
0
def test_cfl_max_report_des():
    test_utils.assert_report(_grid_des(), 'CFL_max', 2.25,
                             tolerance=0.50, relative=False)
Exemplo n.º 30
0
def test_time_report_des():
    test_utils.assert_report(_grid_des(), 'Time', 0.3, tolerance=0.0,
                             relative=False)
Exemplo n.º 31
0
def test_cl_report():
    test_utils.assert_report(DEMO_ID, 'C_l', 0.35,
                             tolerance=0.01, relative=False)
Exemplo n.º 32
0
def test_pressure_drop_report_ss():
    test_utils.assert_report(_grid_ss(), 'Pressure Drop', 8.1,
                             tolerance=0.1, relative=False)
Exemplo n.º 33
0
def test_cfl_max_report():
    test_utils.assert_report(DEMO_ID, 'CFL_max', 0.032,
                             tolerance=0.005, relative=False)
Exemplo n.º 34
0
def test_cfl_avg_report_des():
    test_utils.assert_report(_grid_des(), 'CFL_avg', 0.2,
                             tolerance=0.1, relative=False)
Exemplo n.º 35
0
def test_motion_reports():
    test_utils.assert_report(DEMO_ID, 'MotionDispl', 0.0)
    test_utils.assert_report(DEMO_ID, 'MotionVel', 0.0)
Exemplo n.º 36
0
def test_pressure_drop_report_ss():
    test_utils.assert_report(_grid_ss(), 'Pressure Drop', 8.0329)