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/)
-   -   Plot the residuals over all the domain (https://www.cfd-online.com/Forums/openfoam-post-processing/189811-plot-residuals-over-all-domain.html)

Douglas June 27, 2017 16:01

Plot the residuals over all the domain
 
Hello.
Is it possible with OpenFOAM 4.0 plot the residual field?
I want to plot the residual field to see where in the domain my simulation does not show good convergence.

I tried this in controlDict:

functions
{
residuals
{
type residuals;
libs ( "libutilityFunctionObjects.so" );
executeControl writeTime;
writeControl timeStep;
fields ( p_rgh h );
writeInterval 1;
}
}

This function plot only the largest value of the residual for the p_rgh and h fields but not the residuals fields over the domain.
I'm using the solver buoyantSimpleFoam.

Thanks


All times are GMT -4. The time now is 18:16.