Questions and Answers

0 Like 0 Dislike

Zhenlin Pei

Iterative procedure did not converge

Hi, I hope you are doing well. I encounter a problem from OOF2 now. When I load the script - 'OOF.Mesh.Solve(mesh='BinaryExample.JPG:skeleton:mesh', endtime=0.0)’, one error about converge happens. Actually, the solver worked before modifying the skeleton. Because the previous skeleton didn't match the image material geometry/edges well. I modified the skeleton, but after that the solver report the error about converge. I copy the message and traceback below. Thank you very much.

 

OOF2 Error
---------------------------------------------------------------------------------------------------------------------------------------

ERROR

ErrPyProgrammingError: Iterative procedure did not converge

ErrUserError: Script '*.log' raised an ErrPyProgrammingError exception

Traceback written to traceback_oof.515.
---------------------------------------------------------------------------------------------------------------------------------------
ErrPyProgrammingError: Iterative procedure did not converge
  File "/Users/zhenlinpei/OOF2/oof2-2.1.16/examples/myoof_BinaryExample_cooling_trial.log", line 163, in
    OOF.Mesh.Solve(mesh='BinaryExample.JPG:skeleton:mesh', endtime=0.0)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/IO/oofmenu.py", line 704, in __call__
    self.callWithArgdict(argdict)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/IO/oofmenu.py", line 754, in callWithArgdict
    self.hireWorker(argdict=argdict)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/IO/oofmenu.py", line 795, in hireWorker
    the_worker.start()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/worker.py", line 229, in start
    self.meanwhile()                # back in the main thread...
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/IO/GUI/workerGUI.py", line 37, in meanwhile
    self.join()              # waits for child thread to finish
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/worker.py", line 183, in run
    self.menuitem.callback(self, *self.args, **self.kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/IO/meshmenu.py", line 1558, in _solve
    evolve.evolve(meshctxt, endtime)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/evolve.py", line 78, in evolve
    prog)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/evolve.py", line 199, in initializeStaticFields
    subproblem.initializeStaticFields(linsysDict[subproblem])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/subproblemcontext.py", line 809, in initializeStaticFields
    self.computeStaticFields(linsys, unknowns)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/subproblemcontext.py", line 827, in computeStaticFields
    self.nonlinear_solver.computeStaticFields(self, linsys, unknowns)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/nonlinearsolver.py", line 46, in computeStaticFields
    return subprobctxt.computeStaticFieldsL(linsys, unknowns)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/subproblemcontext.py", line 868, in computeStaticFieldsL
    self.matrix_method(self.asymmetricK).solve(K00, rhs, u0)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/subproblemcontext.py", line 1167, in solve
    niters, residual = self.solver.solve(matrix, rhs, solution)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/matrixmethod.py", line 39, in solve
    return self.solveMatrix(matrix, rhs, solution)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/engine/matrixmethod.py", line 98, in solveMatrix
    "Iterative procedure did not converge")

----------


  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/worker.py", line 183, in run
    self.menuitem.callback(self, *self.args, **self.kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/oof2/ooflib/common/IO/mainmenu.py", line 165, in loadscript
    (filename, article, interp.error[0].__name__)

---------------------------------------------------------------------------------------------------------------------------------------

Python

 

Report abuse

1 Responses

  1. 0 Like 0 Dislike

    John Martin

    Nice Post

    Reply Report abuse

    Please login to answer the question.