This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/finiteArea/liquidFilmFoam/calcFrictionFactor.H

8 lines
257 B
C
Raw Normal View History

{
// Stabilisation of friction factor calculation
// Friction factor is defined with standard gravity
frictionFactor.internalField() =
mag(2*9.81*sqr(manningField.internalField())/
pow(mag(h.internalField()) + 1e-7, 1.0/3.0));
}