14
19
stats["UConstant"]=s["Water"]["Velocity%magnitude"]["max"][-1]-s["Water"]["Velocity%magnitude"]["min"][-1]</variable>
17
25
<test name="VelocityIsConstant" language="python">assert(stats["UConstant"]<2.5e-3)<comment>Check that the velocity in the domain is constant. This is part of the check that no drag is introduced ad the domain edges.</comment></test>
18
26
<test name="NoCrossStreamVelocity" language="python">assert(stats["UCrossMax"]<6.e-4)<comment>Check that the velocity in the cross-stream direction is really zero. This checks that the boundaries are really leak-proof.</comment></test>
19
27
<test name="VelocityMagnitude" language="python">assert(abs(stats["UL2"]-2.0)<1.e-2)<comment>Check that the L2Norm of the velocity is correct. This is another check that there is no drag imposed.</comment></test>