Skip to content
Snippets Groups Projects
Commit f58a6652 authored by Henry Weller's avatar Henry Weller
Browse files

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

parent 6e80a6fc
Branches
Tags
1 merge request!33Merge foundation
......@@ -79,11 +79,6 @@ do
cavityClipped)
cp -r $caseName/0 $caseName/0.5
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
......
/fixedWalls/,/}/{
/fixedWalls/p
/{/p
/type fixedValue;/p
s/value[ \t]*nonuniform[ \t]*List<vector>[ \t]*/value uniform (0 0 0);/p
/}/p
d
}
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