CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   pyFoamPlotWatcher.py and coupled residual (https://www.cfd-online.com/Forums/openfoam-solving/204290-pyfoamplotwatcher-py-coupled-residual.html)

mykkujinu2201 July 19, 2018 03:44

pyFoamPlotWatcher.py and coupled residual
 
Dear all,

I have a question about pyFoamPlotWatcher.py to plot the residuals.
When I solve the velocity field with separated solver like PBiCG,
the residual is plotted very well with pyFoam.
However, when I solve with coupled solver like PBiCICG,
the velocity residuals are not plotted.
In this case, how can I plot the residuals?

Best regards,
Jun

gschaider July 19, 2018 20:28

Quote:

Originally Posted by mykkujinu2201 (Post 699760)
Dear all,

I have a question about pyFoamPlotWatcher.py to plot the residuals.
When I solve the velocity field with separated solver like PBiCG,
the residual is plotted very well with pyFoam.
However, when I solve with coupled solver like PBiCICG,
the velocity residuals are not plotted.
In this case, how can I plot the residuals?

Best regards,
Jun


What always works is having a customRegexp that picks up the residuals


PyFoam has support for the block-coupled solvers in foam-extend. But it is possible that a change in the output format broke that.


Could you please give me the OF-version and tutorial case to reproduce the problem


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