17 description="""
18 Runs a OpenFoam Utility and analyzes the output. Needs a regular
19 expression to look for. The next 3 arguments are the usual OpenFoam
20 argumens (<solver> <directory> <case>) and passes them on (plus
21 additional arguments). Output is sent to stdout and a logfile inside
22 the case directory (PyFoamUtility.logfile). The Directory
23 PyFoamUtility.analyzed contains a file test with the information of
24 the regexp (the pattern groups).
25 """
26
27 PyFoamApplication.__init__(self,description=description)
28
30 self.parser.add_option("-r","--regexp",type="string",dest="regexp",help="The regular expression to look for")
31 self.parser.add_option("-n","--name",type="string",dest="name",default="test",help="The name for the resulting file")
32 self.parser.add_option("--echo",action="store_true",dest="echo",default=False,help="Echo the result file after the run")
33 self.parser.add_option("--silent",action="store_true",dest="silent",default=False,help="Don't print the output of the utility to the console")
34 self.parser.add_option("--foamVersion",dest="foamVersion",default=None,help="Change the OpenFOAM-version that is to be used")
35