Tutorial update

This commit is contained in:
Hrvoje Jasak 2010-10-13 12:39:54 +01:00
parent 7f631ac3c6
commit ebaaefa484
2 changed files with 21 additions and 5 deletions

View file

@ -55,7 +55,7 @@ cleanTimeDirectories ()
zeros=`printf %0${nZeros}d 0` zeros=`printf %0${nZeros}d 0`
nZeros=$(($nZeros + 1)) nZeros=$(($nZeros + 1))
done done
rm -rf ./{[1-9]*,-[1-9]*,log,log.*,log-*,logSummary.*,.fxLock,*.xml,ParaView*,paraFoam*,*.OpenFOAM} > /dev/null 2>&1 rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./log-* ./logSummary.* ./.fxLock ./*.xml ./ParaView* ./paraFoam* ./*.OpenFOAM > /dev/null 2>&1
} }
cleanCase () cleanCase ()
@ -66,10 +66,20 @@ cleanCase ()
rm -rf forces* > /dev/null 2>&1 rm -rf forces* > /dev/null 2>&1
rm -rf system/machines \ rm -rf system/machines \
constant/polyMesh/{allOwner*,cell*,face*,meshModifiers*} \ constant/polyMesh/allOwner* \
constant/polyMesh/{owner*,neighbour*,point*,edge*} \ constant/polyMesh/cell* \
constant/polyMesh/{cellLevel*,pointLevel*,refinementHistory*,surfaceIndex*} \ constant/polyMesh/face* \
constant/{cellToRegion,cellLevel*,pointLevel*} \ constant/polyMesh/meshModifiers* \
constant/polyMesh/owner* \
constant/polyMesh/neighbour* \
constant/polyMesh/point* \
constant/polyMesh/edge* \
constant/polyMesh/zoneToPatchName \
constant/polyMesh/cellLevel* \
constant/polyMesh/pointLevel* \
constant/polyMesh/refinementHistory*, \
constant/polyMesh/surfaceIndex* \
constant/cellToRegion \
constant/polyMesh/sets/ \ constant/polyMesh/sets/ \
VTK \ VTK \
> /dev/null 2>&1 > /dev/null 2>&1

View file

@ -65,6 +65,12 @@ compileApplication ()
wmake $1 wmake $1
} }
compileLibrary ()
{
echo "Compiling $1 application"
wmake libso $1
}
cloneCase () cloneCase ()
{ {
if [ -d $2 ] ; then if [ -d $2 ] ; then