#!/bin/sh
cd ${0%/*} || exit 1    # run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

folder=`pwd`

mkdir $folder/0
mkdir  $folder/0/polyMesh
mkdir $folder/system
mv boundary1 $folder/0/polyMesh/boundary
mv cellZones1 $folder/0/polyMesh/cellZones
mv faces1 $folder/0/polyMesh/faces
mv neighbour1 $folder/0/polyMesh/neighbour
mv owner1 $folder/0/polyMesh/owner
mv points1 $folder/0/polyMesh/points
mv controlDict $folder/system/controlDict
mv fvSchemes $folder/system/fvSchemes
mv fvSolution $folder/system/fvSolution
mv probesDict $folder/system/probesDict
runApplication probeLocations > probeLocations.log
