示例#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)