Implementation of the dynamic Smagorinsky model as proposed by Lilly (1992) for OpenFOAM