~fluidity-core/fluidity/global_numbering

« back to all changes in this revision

Viewing changes to tests/circular_duct/circular_duct.xml

  • Committer: David Ham
  • Date: 2012-09-27 15:22:54 UTC
  • mfrom: (3475.1.599 fluidity)
  • Revision ID: david.ham@imperial.ac.uk-20120927152254-nr3ohx560wbg8s8n
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    <!-- 3D Circular duct test for p1dg-p2 with CDG viscosity -->
10
10
  </problem_definition>
11
11
  <variables>
 
12
    <variable name="solvers_converged" language="python">
 
13
import os
 
14
files = os.listdir("./")
 
15
solvers_converged = not "matrixdump" in files and not "matrixdump.info" in files
 
16
    </variable>
12
17
    <variable name="max_u_error" language="python">
13
18
from fluidity_tools import stat_parser
14
19
s = stat_parser("circular_duct.stat")
18
23
    </variable>
19
24
  </variables>
20
25
  <pass_tests>
 
26
    <test name="Solvers converged" language="python">
 
27
      assert(solvers_converged)
 
28
    </test>
21
29
    <test name="u error less than 0.03" language="python">
22
30
assert max_u_error &lt; 0.03
23
31
    </test>