Package PyFoam :: Package Execution :: Module ConvergenceRunner :: Class ConvergenceRunner
[show private | hide private]
[frames | no frames]

Class ConvergenceRunner

BasicRunner --+    
              |    
 AnalyzedRunner --+
                  |
                 ConvergenceRunner


It is assumed that the provided solver is a steady state solver. After all the linear solvers have initial residuals below their limits the run is assumed to be convergent and the run is stopped by setting

stopAt nextWrite; writeInterval 1;

in the controlDict
Method Summary
  __init__(self, analyzer, argv, silent, logname)
See AnalyzedRunner
  lineHandle(self, line)
Not to be called: Stops the solver
  stopHandle(self)
Not to be called: Restores controlDict
    Inherited from AnalyzedRunner
  getDirname(self)
Get the name of the directory where the data is written to
  getTime(self)
Get the execution time
  reset(self)
reset the analyzer
    Inherited from BasicRunner
PyFoam.RunDictionary.SolutionDirectory getSolutionDirectory(self, archive)
Return the directory of the case
  logName(self)
Get the name of the logfiles
  start(self)
starts the command and stays with it till the end
  startHandle(self)
to be called before the program is started

Method Details

__init__(self, analyzer, argv=None, silent=False, logname='PyFoamSolve')
(Constructor)

See AnalyzedRunner
Overrides:
PyFoam.Execution.AnalyzedRunner.AnalyzedRunner.__init__

lineHandle(self, line)

Not to be called: Stops the solver
Overrides:
PyFoam.Execution.AnalyzedRunner.AnalyzedRunner.lineHandle

stopHandle(self)

Not to be called: Restores controlDict
Overrides:
PyFoam.Execution.BasicRunner.BasicRunner.stopHandle

Generated by Epydoc 2.1 on Fri Jan 13 15:23:08 2006 http://epydoc.sf.net