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/)
-   -   Residuals in RMS or MAX (https://www.cfd-online.com/Forums/openfoam-solving/237277-residuals-rms-max.html)

Fouch July 9, 2021 04:07

Residuals in RMS or MAX
 
Hi,

Could you tell me if residuals values are in RMS or Max values in OpenFoam ?

Thanks !

dlahaye July 9, 2021 05:39

RMS using gSumMag

The implementation of (gSumProd and) gSumMag can be found here: https://github.com/OpenFOAM/OpenFOAM...eldFunctions.H

Fouch July 9, 2021 06:14

Thank you for your feedback.
So this Max by default ?

dlahaye July 9, 2021 06:26

RMS (*not* MAX) by default.

RMS here as the Euclidean norm of a vector.

norm(v) = \sqrt( \sum_i (v_i)^2 )

Fouch July 9, 2021 08:55

Ok, that's clear for me now.

Thank you so much for your help.


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