Patch provided by Daniel Jasinski Resolves feature request https://bugs.openfoam.org/view.php?id=3075