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

parameters

parent 43da6601
Branches
No related tags found
No related merge requests found
N 1;
inVelocity 10;
inVelocity 2e-1;
Tinf 300;
Tw 310;
Pr_t 1;
Tw 400;
Pr_t 1.0;
thickness 1;
radius 1;
end_Time 100;
......@@ -28,14 +28,14 @@ stopAt endTime;
/* endTime 1000; */
endTime $end_Time; // hoping that steady state or regular fluctuation is reached
deltaT 1;
deltaT 0.01;
adjustTimeStep yes;
maxCo 1;
maxCo 1; // according to some forum, this does not destroy stability but accuracy
writeControl runTime;
writeInterval 2;
writeInterval 0.1;
purgeWrite 0;
......
#! /usr/bin/env sh
set -e
top="${pwd}"
for n in 1 2
do
for logu in -1 0 1 2
do
new="freeCylinderFlow-N${n}-u${logu}"
cp -r freeCylinderFlow ${new}
cd "${new}"
sed -i 's#^inVelocity .*;$#inVelocity 2e'"${logu}"';' parameters
grep --quiet "2e${logu}" parameters # should crash script if grep does not find it
./run.sh $n
done
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment