def __init__(self, args=None): description = """\ Runs an OpenFoam solver. Needs the usual 3 arguments (<solver> <directory> <case>) and passes them on (plus additional arguments). Output is sent to stdout and a logfile inside the case directory (PyFoamSolver.logfile) The Directory PyFoamSolver.analyzed contains this information: a) Residuals and other information of the linear solvers b Execution time c) continuity information d) bounding of variables """ CommonPlotLines.__init__(self) PyFoamApplication.__init__(self, exactNr=False, args=args, description=description)
def __init__(self,args=None): description="""\ Runs an OpenFoam solver needs the usual 3 arguments (<solver> <directory> <case>) and passes them on (plus additional arguments). Output is sent to stdout and a logfile inside the case directory (PyFoamSolver.logfile) Information about the residuals is output as graphs If the directory contains a file customRegexp this is automatically read and the regular expressions in it are displayed """ CommonPlotOptions.__init__(self,persist=True) CommonPlotLines.__init__(self) PyFoamApplication.__init__(self, exactNr=False, args=args, description=description)
def __init__(self,args=None): description="""\ Gets the name of a logfile which is assumed to be the output of a OpenFOAM-solver. Parses the logfile for information about the convergence of the solver and generates gnuplot-graphs. Watches the file until interrupted. """ CommonPlotOptions.__init__(self,persist=False) CommonPlotLines.__init__(self) PyFoamApplication.__init__(self, args=args, description=description, usage="%prog [options] <logfile>", changeVersion=False, interspersed=True, nr=1)
def __init__(self,args=None): description="""\ Runs an OpenFoam steady solver. Needs the usual 3 arguments (<solver> <directory> <case>) and passes them on (plus additional arguments) Output is sent to stdout and a logfile inside the case directory (PyFoamSolver.logfile). The Directory PyFoamSolver.analyzed contains this information a) Residuals and other information of the linear solvers b) Execution time c) continuity information d) bounding of variables If the solver has converged (linear solvers below threshold) it is stopped and the last simulation state is written to disk """ CommonPlotLines.__init__(self) PyFoamApplication.__init__(self, args=args, description=description)