diff --git a/bin/foamNewBC b/bin/foamNewBC index 61e093d7a3..26ac4fcc91 100755 --- a/bin/foamNewBC +++ b/bin/foamNewBC @@ -175,7 +175,7 @@ do -e '/refValue/d' \ -e '/refGrad/d' \ -e '/valueFraction/d' \ - -e '/phip/,/lookupPatchField/d' \ + -e '/const scalarField\& phip/,/);/d' \ ${NAME}/${NEWFILE} ;; mixed)