CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   The Number of Iterations of a Solver (https://www.cfd-online.com/Forums/openfoam-post-processing/214168-number-iterations-solver.html)

maksjood January 22, 2019 05:44

The Number of Iterations of a Solver
 
Hi,

After solving an equation, How can I access the number of iterations used?
I tried
Code:

data.solverPerformance.myField.nIterations()
but it does not work and returns the following error
Code:

expected primary-expression before '.' token


All times are GMT -4. The time now is 17:30.