KochHillDrag formulation

Submitted by JeppeMathDTUStudent on Thu, 03/10/2022 - 14:10

Hi,
I am looking at the KochHillDrag formulation and have experienced that a variable called "SMALL" is used. However, I have not yet found out what the value of the variable "SMALL" is? I would expect it is just a "small" number, but I am not able to find the exact value?

I hope someone can help me.

Cheers,
Jeppe

Daniel Queteschiner | Thu, 03/10/2022 - 17:00

SMALL is actually Foam::SMALL from OpenFOAM and is defined in src/OpenFOAM/primitives/Scalar/scalar/scalar.H
In the end this resolves to (in case of scalar == double) numeric_limits< double >::epsilon() of the standard c++ library which typically returns a value of 1e-9 or smaller