diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 193900730..4703fee03 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -41,8 +41,7 @@ isTest() getNumberOfProcessors() { - foamDictionary -expand system/decomposeParDict \ - | sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p' + foamDictionary -entry numberOfSubdomains -value system/decomposeParDict } getApplication()