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