1
<?xml version='1.0' encoding='utf-8'?>
3
<name>Checks that velocity is divergence free with CG pressure and the continuity tested with the CV dual functions</name>
4
<owner userid="btollit"/>
6
<problem_definition length="short" nprocs="1">
8
fluidity divergence_free_velocity_press_cg_test_cty_cv_p0p1_3d.flml
12
<variable name="MaxControlVolumeDivergence_p0p1_3d" language="python">
13
from fluidity_tools import stat_parser as stat
14
MaxControlVolumeDivergence_p0p1_3d = max(abs(stat("divergence_free_velocity_press_cg_test_cty_cv_p0p1_3d.stat")['water']['ControlVolumeDivergence']['max'][-1]),
15
abs(stat("divergence_free_velocity_press_cg_test_cty_cv_p0p1_3d.stat")['water']['ControlVolumeDivergence']['min'][-1]))
19
<test name="MaxControlVolumeDivergence_p0p1_3d lower than tolerance 1.0e-10" language="python">
20
assert(MaxControlVolumeDivergence_p0p1_3d < 1.0e-10)