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/)
-   -   plotting residuals with foammonitor (https://www.cfd-online.com/Forums/openfoam-post-processing/239861-plotting-residuals-foammonitor.html)

_Revolution_ November 29, 2021 16:09

plotting residuals with foammonitor
 
Hello all,
I would like to plot the residuals of U, p_rgh and h with foammonitor.Currently I use the solverInfo function, which I specify in the controlDict. When I call foammonitor residuals.dat, the final residuals and the number of iterations are plotted as well as the initial residuals. Is there a way to plot only the initial residuals?

Code:

   

functions
{

    residuals
    {
            type                solverInfo;
            libs              ("libutilityFunctionObjects.so");
            region            fluid;
            fields              (p_rgh U h);
            writeResidualFields    yes;
    }
}

I hope someone can help me.


With kind regards

OYYO June 24, 2023 20:51

Hello,I have a similar question, have you solve this problem yet?


All times are GMT -4. The time now is 01:25.