1
<?xml version='1.0' encoding='utf-8'?>
3
<name>viscous_fs_zhong</name>
4
<owner userid="cwilson"/>
6
<problem_definition length="medium" nprocs="1">
7
<command_line>mpiexec -np 3 ../../bin/flredecomp -i 1 -o 3 viscous_fs_zhong_A viscous_fs_zhong_A_parallel; mpiexec -np 3 ../../bin/flredecomp -i 1 -o 3 viscous_fs_zhong_B viscous_fs_zhong_B_parallel; mpiexec -np 3 ../../bin/fluidity -v2 -l viscous_fs_zhong_A_parallel.flml ; mpiexec -np 3 ../../bin/fluidity -v2 -l viscous_fs_zhong_B_parallel.flml</command_line>
10
<variable name="finish_time_a" language="python">from fluidity_tools import stat_parser as stat
12
file1 = "viscous_fs_zhong_A.stat"
14
finish_time_a = stat(file1)["ElapsedTime"]["value"][-1]</variable>
15
<variable name="ab_convergence_fs" language="python">import calculate_order_zhong_spatial as calculate_order
17
file1 = "viscous_fs_zhong_A.stat"
18
file2 = "viscous_fs_zhong_B.stat"
20
ab_convergence_fs = calculate_order.report_convergence(file1, file2)</variable>
21
<variable name="finish_time_b" language="python">from fluidity_tools import stat_parser as stat
23
file1 = "viscous_fs_zhong_B.stat"
25
finish_time_b = stat(file1)["ElapsedTime"]["value"][-1]</variable>
28
<test name="afinish" language="python">assert(finish_time_a>64.0)</test>
29
<test name="bfinish" language="python">assert(finish_time_b>64.0)</test>
30
<test name="abtop" language="python">assert(ab_convergence_fs[0]>1.95)</test>
31
<test name="abbot" language="python">assert(ab_convergence_fs[1]>1.95)</test>