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

Class ConvergenceRunner

source code

                   object --+        
                            |        
AnalyzedCommon.AnalyzedCommon --+    
                                |    
                   object --+   |    
                            |   |    
      BasicRunner.BasicRunner --+    
                                |    
    AnalyzedRunner.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

Instance Methods [hide private]
  __init__(self, analyzer, argv=None, silent=False, logname="PyFoamSolve", server=False, lam=None, restart=False)
See AnalyzedRunner
  lineHandle(self, line)
Not to be called: Stops the solver

Inherited from AnalyzedCommon.AnalyzedCommon: addAnalyzer, addTrigger, getAnalyzer, getDirname, getTime, listAnalyzers, reset, tearDown

Inherited from BasicRunner.BasicRunner: addEndTrigger, getSolutionDirectory, logName, runOK, start, startHandle, stopGracefully, stopHandle, writeResults

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, analyzer, argv=None, silent=False, logname="PyFoamSolve", server=False, lam=None, restart=False)
(Constructor)

source code 
See AnalyzedRunner
Overrides: AnalyzedRunner.AnalyzedRunner.__init__

lineHandle(self, line)

source code 
Not to be called: Stops the solver
Overrides: AnalyzedRunner.AnalyzedRunner.lineHandle