by mapping '-' to '_' in the generation of the code name. Resolves bug-report https://bugs.openfoam.org/view.php?id=3744