Skip to content
Snippets Groups Projects
Commit 12231072 authored by Felix's avatar Felix
Browse files

script for continuing

parent eaadf34c
No related branches found
No related tags found
No related merge requests found
wrong_velocities wrong_velocities
freeCylinderFlow-N*
*.archive
*.log
#! /usr/bin/env sh
set -e
echo "" >> runmany.archive
touch runmany.log
cat runmany.log >> runmany.archive 2> /dev/null
echo "" > runmany.log
endTime=$1
echo "continue until ${endTime}"
top="$(pwd)"
for n in 1 2
do
for logu in -2 -1 0 1
do
cd "${top}"
new="freeCylinderFlow-N${n}-u${logu}"
if test -d "${new}"
then
echo "continue ${new}" >> runmany.log
cd "${new}"
sed -i 's#^end_time .*;$#end_time '"${end_Time}"';#' parameters
./continue.sh $n
else
echo "could not continue ${new} because nonexistent"
fi
done
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment