Patches provided by Bruno Santos Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1861