diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/windshieldDefrost/system/controlDict b/tutorials/heatTransfer/chtMultiRegionFoam/windshieldDefrost/system/controlDict index 61de766e12..f67edeb57d 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/windshieldDefrost/system/controlDict +++ b/tutorials/heatTransfer/chtMultiRegionFoam/windshieldDefrost/system/controlDict @@ -55,7 +55,7 @@ functions { massFlux { - type faceSource; + type surfaceFieldValue; libs ("libfieldFunctionObjects.so"); enabled yes; writeControl timeStep; //writeTime; diff --git a/wmake/scripts/makeFiles b/wmake/scripts/makeFiles index 62f21baf93..8d5a2c76f3 100755 --- a/wmake/scripts/makeFiles +++ b/wmake/scripts/makeFiles @@ -62,8 +62,8 @@ echo >> Make/files for file in `find . -name "*.[cCylLfF]" -type f -print` do - fileName=`echo ${file##*/}` - pathName=`echo ${file%/*} | sed 's%^\.%%' | sed 's%^/%%' | $dirToString` + fileName=${file##*/} + pathName=`echo ${file%/*} | sed -e 's%^\.%%' -e 's%^/%%' | $dirToString` if [ -n "$pathName" ] then