From 612164005d3e0838c0988023a0c85da9d39ee582 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 19 Nov 2019 13:28:40 +0000 Subject: [PATCH] foamDictionary: Removed the -disableFunctionEntries option --- bin/tools/RunFunctions | 4 ++-- etc/config.sh/bash_completion | 2 +- .../heatTransfer/chtMultiRegionFoam/coolingSphere/Allrun | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index ac856e9754..842ee9e177 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -41,12 +41,12 @@ isTest() getNumberOfProcessors() { - foamDictionary -disableFunctionEntries -entry numberOfSubdomains -value system/decomposeParDict + foamDictionary -entry numberOfSubdomains -value system/decomposeParDict } getApplication() { - foamDictionary -disableFunctionEntries -entry application -value system/controlDict + foamDictionary -entry application -value system/controlDict } runApplication() diff --git a/etc/config.sh/bash_completion b/etc/config.sh/bash_completion index ed54eb5a3e..016565a074 100644 --- a/etc/config.sh/bash_completion +++ b/etc/config.sh/bash_completion @@ -1458,7 +1458,7 @@ _foamDictionary_ () local line=${COMP_LINE} local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ") - opts="-add -diff -disableFunctionEntries -doc -entry -expand -help -includes -keywords -remove -set -srcDoc -value" + opts="-add -diff -doc -entry -expand -help -includes -keywords -remove -set -srcDoc -value" for o in $used ; do opts="${opts/$o/}" ; done extra="-d -f" diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allrun index dbca7fcb06..0dd57558ab 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allrun @@ -8,8 +8,7 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication foamSetupCHT -foamDictionary -disableFunctionEntries \ - -entry internalField -set "uniform 348" 0/solid/T +foamDictionary -entry internalField -set "uniform 348" 0/solid/T runApplication decomposePar -allRegions -dict system/decomposeParDict