CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [Other] Function object: Reynolds number (https://www.cfd-online.com/Forums/openfoam-community-contributions/229588-function-object-reynolds-number.html)

HPE August 15, 2020 16:04

Function object: Reynolds number
 
1 Attachment(s)
(No guarantee) It is a tiny work of a function object to compute Reynolds number.

Might be helpful to someone one day (though not sure).

A minimal example of usage:
Code:

ReynoldsNo1
{
    type            ReynoldsNo;
    libs            (fieldFunctionObjects);
    L              1.0;
    writeControl    writeTime;
}


NotOverUnderated November 26, 2021 02:31

Thank you for sharing that.

In the header file you have mentioned that 'calc' function is to calculate Mach number.

I have a question about the value of dynamic viscosity when the solver is compressible. I don't see in your code where exactly it uses mu instead of nu.

Thank you


All times are GMT -4. The time now is 08:29.