Patches provided by Timm Severin Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1764