1
0
Fork 0
fgdata/Aircraft/c172p/dev/fdm/gerris/run_experiment.sh

18 lines
365 B
Bash
Raw Normal View History

#!/bin/bash
# Copyright (C) 2012 - 2015 Anders Gidenstam (anders(at)gidenstam.org)
# This file is licensed under the GPL license version 2 or later.
#
# Usage: run_experiment.sh <base dir> <name base>
# Setup paths for gerris.
. /opt/Gerris/setpaths.sh
BASEDIR=$1
BASE=$2
cd ${BASEDIR}
for dir in $BASE*; do
(cd ${dir}; rm f; gerris3D buoyancy3D.gfs)
done;