PyFoam.Execution.ConvergenceRunner module

Stop solver at convergence

class PyFoam.Execution.ConvergenceRunner.ConvergenceRunner(analyzer, argv=None, silent=False, splitThres=2048, split_fraction_unchanged=0.2, logname='PyFoamSolve', server=False, lam=None, restart=False, compressLog=False, noLog=False, logTail=None, remark=None, parameters=None, jobId=None, echoCommandLine=None)[source]

Bases: PyFoam.Execution.AnalyzedRunner.AnalyzedRunner

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

lineHandle(line)[source]

Not to be called: Stops the solver