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

Class ConvergenceRunner

AnalyzedCommon --+    
                 |    
   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, server)
See AnalyzedRunner
  lineHandle(self, line)
Not to be called: Stops the solver
  stopHandle(self)
Not to be called: Restores controlDict
    Inherited from AnalyzedCommon
  addAnalyzer(self, name, analyzer)
  getAnalyzer(self, name)
  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
  tearDown(self)
    Inherited from BasicRunner
PyFoam.RunDictionary.SolutionDirectory getSolutionDirectory(self, archive)
Return the directory of the case
  logName(self)
Get the name of the logfiles
  runOK(self)
checks whether the run was successful
  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', server=False)
(Constructor)

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

lineHandle(self, line)

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

stopHandle(self)

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

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net