1 #------------------------------------------------------------------------------
2 # Query database for Foam Log extraction.
3 # Each line stands for one query:
5 # name '/' line selector '/' column selector
8 # kMin/bounding k,/min:
10 # The extraction will select a line using 'bounding k,' and in the line
11 # takes the word following 'min:' as the value.
13 # A special entry is the 'Separator' entry which delimits one iteration
16 #------------------------------------------------------------------------------
18 #- String to recognize new iteration by (usually same as 'Time')
19 ^\s*(?P<Separator>\b)Time\s*=
22 ^s\*Time\s*=\s*(?P<Time>\S+)
25 ^\s*time step continuity errors : sum local = (?P<contLocal>\S+), global = (?P<contGlobal>\S+), cumulative = (?P<contCumulative>\s+)
27 #- Special for combustion code:
28 min\(bprog\)\s*=\s*(?P<minBprog>\S+)
31 ^\s*ExecutionTime\s*=\s*(?P<executionTime>\S+)
34 ^\s*Courant Number mean:\s*(?P<CourantMean>\S+)\s+max:\s*(?P<CourantMax>\S+)
37 ^\s*bounding k, min:\s*(?P<kMin>\S+)\s+max:\s*(?P<kMax>\S+)\s*average:\s*(?P<kAvg>\S+)
40 ^\s*bounding epsilon, min:\s*(?P<kMin>\S+)\s+max:\s*(?P<kMax>\S+)\s*average:\s*(?P<kAvg>\S+)
43 Min\(alpha1?\)\s*=\s*(?P<alphaMin>\S+)\s+Max\(alpha1?\)\s*=\s*(?P<alphaMax>\S+)