Commit e405c69c authored by Henry Weller's avatar Henry Weller
Browse files

tutorials/incompressible/icoFoam: Simplified the handling of the wall BCs in cavityClipped

parent 0315d654
...@@ -79,11 +79,6 @@ do ...@@ -79,11 +79,6 @@ do
cavityClipped) cavityClipped)
cp -r $caseName/0 $caseName/0.5 cp -r $caseName/0 $caseName/0.5
runMapFields cavity $caseName runMapFields cavity $caseName
if [ ".`grep nonuniform $caseName/0.5/U`" != "." ]
then
sed -f resetFixedWallsScr $caseName/0.5/U > $caseName/0.5/U.temp
mv $caseName/0.5/U.temp $caseName/0.5/U
fi
;; ;;
esac esac
......
/fixedWalls/,/}/{
/fixedWalls/p
/{/p
/type fixedValue;/p
s/value[ \t]*nonuniform[ \t]*List<vector>[ \t]*/value uniform (0 0 0);/p
/}/p
d
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment