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