Using script provided by Bruno Santos See https://bugs.openfoam.org/view.php?id=2919
Scripts contributed by Bruno Santos Resolves request https://bugs.openfoam.org/view.php?id=2692#c8735
to simplify construction of dimensionedScalar properties and avoid the duplication of the name string in the constructor call.